public class Outliner
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Outliner.Branch
An outline entry with children.
|
static class |
Outliner.Entry |
static class |
Outliner.Leaf
An entry with no children.
|
| Constructor and Description |
|---|
Outliner() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Outliner.Entry> |
generate(Indexer idx,
java.lang.String abspath)
Create an outline for a file in the index.
|
java.util.List<Outliner.Entry> |
generate(Scope scope,
java.lang.String path)
Create an outline for a symbol table.
|
public java.util.List<Outliner.Entry> generate(Indexer idx, java.lang.String abspath) throws java.lang.Exception
idx - index holding the file scopeabspath - the file for which to build the outlinejava.lang.Exceptionpublic java.util.List<Outliner.Entry> generate(Scope scope, java.lang.String path)
scope - the file scopepath - the file for which we're building the outline