|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Visitor
xtc.parser.Transformer.Typer
public class Transformer.Typer
Visitor to deduce a production's type.
| Field Summary | |
|---|---|
protected java.util.List<Element> |
elements
The list of elements. |
protected Type |
type
The current type. |
| Constructor Summary | |
|---|---|
Transformer.Typer()
Create a new typer. |
|
| Method Summary | |
|---|---|
void |
visit(OrderedChoice c)
Visit the specified choice. |
void |
visit(Production p)
Visit the specified production. |
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 |
|---|
protected java.util.List<Element> elements
protected Type type
| Constructor Detail |
|---|
public Transformer.Typer()
| Method Detail |
|---|
public void visit(Production 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 | |||||||||