|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.antlr.analysis.DFA
org.antlr.analysis.LL1DFA
public class LL1DFA
A special DFA that is exactly LL(1) or LL(1) with backtracking mode predicates to resolve edge set collisions.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
LL1DFA(int decisionNumber,
NFAState decisionStartState,
LookaheadSet[] altLook)
From list of lookahead sets (one per alt in decision), create an LL(1) DFA. |
|
LL1DFA(int decisionNumber,
NFAState decisionStartState,
MultiMap<IntervalSet,java.lang.Integer> edgeMap)
From a set of edgeset->list-of-alts mappings, create a DFA that uses syn preds for all |list-of-alts|>1. |
|
| Method Summary | |
|---|---|
protected Label |
getLabelForSet(IntervalSet edgeSet)
|
protected SemanticContext.Predicate |
getSynPredForAlt(NFAState decisionStartState,
int alt)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LL1DFA(int decisionNumber,
NFAState decisionStartState,
LookaheadSet[] altLook)
public LL1DFA(int decisionNumber,
NFAState decisionStartState,
MultiMap<IntervalSet,java.lang.Integer> edgeMap)
| Method Detail |
|---|
protected Label getLabelForSet(IntervalSet edgeSet)
protected SemanticContext.Predicate getSynPredForAlt(NFAState decisionStartState,
int alt)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||