|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Visitor
xtc.parser.ListMaker
public class ListMaker
Visitor to add lists as semantic values.
| Field Summary | |
|---|---|
protected Analyzer |
analyzer
The analyzer. |
protected AST |
ast
The type operations. |
protected Type |
element
The current production's element type. |
protected java.util.List<Element> |
elements
The list of elements. |
static java.lang.String |
MARKER
The marker for synthetic variables. |
protected Runtime |
runtime
The runtime. |
| Constructor Summary | |
|---|---|
ListMaker(Runtime runtime,
Analyzer analyzer,
AST ast)
Create a new list maker. |
|
| Method Summary | |
|---|---|
void |
visit(FullProduction p)
Visit the specified full production. |
void |
visit(Module m)
Visit the specified module. |
void |
visit(OrderedChoice c)
Visit the specified choice. |
void |
visit(Sequence s)
Visit the specified sequence. |
| Methods inherited from class xtc.tree.Visitor |
|---|
dispatch, equals, hashCode, iterate, map, mapInPlace, unableToVisit, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MARKER
protected final Runtime runtime
protected final Analyzer analyzer
protected final AST ast
protected Type element
protected java.util.List<Element> elements
| Constructor Detail |
|---|
public ListMaker(Runtime runtime,
Analyzer analyzer,
AST ast)
runtime - The runtime.analyzer - The analyzer.ast - The type operations.| Method Detail |
|---|
public void visit(Module m)
public void visit(FullProduction p)
public void visit(OrderedChoice c)
public void visit(Sequence s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||