| Modifier and Type | Field and Description |
|---|---|
| protected List | |
| public Grammar | |
| public CompositeGrammarTree | parent
Who is the parent node of this node; if null, implies node is root |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public void | |
| public CompositeGrammarTree | |
| public CompositeGrammarTree | |
| public Object | |
| public List | |
| public List | |
| public Rule | |
| public void |
| children | back to summary |
|---|---|
| protected List<CompositeGrammarTree> children | |
| grammar | back to summary |
|---|---|
| public Grammar grammar | |
| parent | back to summary |
|---|---|
| public CompositeGrammarTree parent Who is the parent node of this node; if null, implies node is root | |
| CompositeGrammarTree | back to summary |
|---|---|
| public CompositeGrammarTree(Grammar g) | |
| _getPostOrderedGrammarList | back to summary |
|---|---|
| protected void _getPostOrderedGrammarList(List<Grammar> grammars) work for getPostOrderedGrammarList | |
| _getPreOrderedGrammarList | back to summary |
|---|---|
| protected void _getPreOrderedGrammarList(List<Grammar> grammars) | |
| addChild | back to summary |
|---|---|
| public void addChild(CompositeGrammarTree t) | |
| findNode | back to summary |
|---|---|
| public CompositeGrammarTree findNode(Grammar g) | |
| findNode | back to summary |
|---|---|
| public CompositeGrammarTree findNode(String grammarName) | |
| getOption | back to summary |
|---|---|
| public Object getOption(String key) Find an option by looking up towards the root grammar rather than down | |
| getPostOrderedGrammarList | back to summary |
|---|---|
| public List Return a postorder list of grammars; root is last in list | |
| getPreOrderedGrammarList | back to summary |
|---|---|
| public List Return a preorder list of grammars; root is first in list | |
| getRule | back to summary |
|---|---|
| public Rule getRule(String ruleName) Find a rule by looking in current grammar then down towards the delegate grammars. | |
| trimLexerImportsIntoCombined | back to summary |
|---|---|
| public void trimLexerImportsIntoCombined() | |