|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Visitor
xtc.parser.ReachabilityChecker
public class ReachabilityChecker
Visitor to ensure that every alternative is reachable.
| Field Summary | |
|---|---|
protected Analyzer |
analyzer
The analyzer. |
protected Runtime |
runtime
The runtime. |
| Constructor Summary | |
|---|---|
ReachabilityChecker(Runtime runtime,
Analyzer analyzer)
Create a new reachability checker. |
|
| Method Summary | |
|---|---|
void |
visit(CharSwitch s)
Visit the specified character switch. |
void |
visit(Element e)
Visit the specified element. |
void |
visit(FullProduction p)
Visit the specified full production. |
void |
visit(Grammar g)
Visit the specified grammar. |
void |
visit(Module m)
Visit the specified module. |
void |
visit(OrderedChoice c)
Visit the specified choice. |
void |
visit(Sequence s)
Visit the specified sequence. |
void |
visit(UnaryOperator op)
Visit the specified unary operator. |
| 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 Runtime runtime
protected Analyzer analyzer
| Constructor Detail |
|---|
public ReachabilityChecker(Runtime runtime,
Analyzer analyzer)
runtime - The runtime.analyzer - The analyzer.| Method Detail |
|---|
public void visit(Grammar g)
public void visit(Module m)
public void visit(FullProduction p)
public void visit(OrderedChoice c)
public void visit(Sequence s)
public void visit(UnaryOperator op)
public void visit(CharSwitch s)
public void visit(Element e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||