public class LeftRecurser extends Visitor
have been marked as such.| Modifier and Type | Field and Description |
|---|---|
protected Analyzer |
analyzer
The analyzer utility.
|
protected Runtime |
runtime
The runtime.
|
protected boolean |
terminated
The flag for whether we have seen a terminal.
|
| Constructor and Description |
|---|
LeftRecurser(Runtime runtime,
Analyzer analyzer)
Create a new left-recurser.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<NonTerminal> |
recursive()
Get the set of nonterminals corresponding to left-recursive
productions.
|
void |
visit(Binding b)
Visit the specified binding.
|
void |
visit(Element e)
Visit the specified element.
|
void |
visit(FullProduction p)
Visit the specified production.
|
void |
visit(Grammar g)
Visit the specified grammar.
|
void |
visit(Module m)
Visit the specified self-contained module.
|
void |
visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
visit(OrderedChoice c)
Visit the specified ordered choice.
|
void |
visit(ParserAction pa)
Visit the specified parser action.
|
void |
visit(Repetition r)
Visit the specified repetition.
|
void |
visit(Sequence s)
Visit the specified sequence.
|
void |
visit(StringMatch m)
Visit the specified string match.
|
void |
visit(Terminal t)
Visit the specified terminal.
|
void |
visit(UnaryOperator op)
Visit the specified unary operator.
|
void |
visit(VoidedElement v)
Visit the specified voided element.
|
dispatch, equals, hashCode, iterate, map, mapInPlace, unableToVisit, visitprotected final Runtime runtime
protected final Analyzer analyzer
protected boolean terminated
public java.util.Set<NonTerminal> recursive()
public void visit(Grammar g)
public void visit(Module m)
public void visit(FullProduction p)
public void visit(OrderedChoice c)
public void visit(Repetition r)
public void visit(Sequence s)
public void visit(VoidedElement v)
public void visit(Binding b)
public void visit(StringMatch m)
public void visit(NonTerminal nt)
public void visit(Terminal t)
public void visit(UnaryOperator op)
public void visit(ParserAction pa)
public void visit(Element e)
Copyright © 2014. All Rights Reserved.