public class ListMaker extends Visitor
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
ListMaker(Runtime runtime,
Analyzer analyzer,
AST ast)
Create a new list maker.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
dispatch, equals, hashCode, iterate, map, mapInPlace, unableToVisit, visitpublic 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
public void visit(Module m)
public void visit(FullProduction p)
public void visit(OrderedChoice c)
public void visit(Sequence s)
Copyright © 2014. All Rights Reserved.