|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DFA | |
---|---|
org.antlr.analysis | |
org.antlr.codegen | |
org.antlr.test | |
org.antlr.tool |
Uses of DFA in org.antlr.analysis |
---|
Fields in org.antlr.analysis declared as DFA | |
---|---|
DFA |
DecisionProbe.dfa
|
DFA |
DFAState.dfa
We are part of what DFA? Use this ref to get access to the context trees for an alt. |
protected DFA |
NFAToDFAConverter.dfa
We are converting which DFA? |
Methods in org.antlr.analysis with parameters of type DFA | |
---|---|
abstract StringTemplate |
SemanticContext.genExpr(CodeGenerator generator,
StringTemplateGroup templates,
DFA dfa)
Generate an expression that will evaluate the semantic context, given a set of output templates. |
StringTemplate |
SemanticContext.Predicate.genExpr(CodeGenerator generator,
StringTemplateGroup templates,
DFA dfa)
|
StringTemplate |
SemanticContext.TruePredicate.genExpr(CodeGenerator generator,
StringTemplateGroup templates,
DFA dfa)
|
StringTemplate |
SemanticContext.AND.genExpr(CodeGenerator generator,
StringTemplateGroup templates,
DFA dfa)
|
StringTemplate |
SemanticContext.OR.genExpr(CodeGenerator generator,
StringTemplateGroup templates,
DFA dfa)
|
StringTemplate |
SemanticContext.NOT.genExpr(CodeGenerator generator,
StringTemplateGroup templates,
DFA dfa)
|
protected void |
DFAOptimizer.optimize(DFA dfa)
|
void |
DecisionProbe.reportNonLLStarDecision(DFA dfa)
Report that at least 2 alts have recursive constructs. |
int |
NFAState.translateDisplayAltToWalkAlt(DFA dfa,
int displayAlt)
The DFA decision for this NFA decision state always has an exit path for loops as n+1 for n alts in the loop. |
Constructors in org.antlr.analysis with parameters of type DFA | |
---|---|
DecisionProbe(DFA dfa)
|
|
DFAState(DFA dfa)
|
|
NFAToDFAConverter(DFA dfa)
|
Uses of DFA in org.antlr.codegen |
---|
Methods in org.antlr.codegen with parameters of type DFA | |
---|---|
StringTemplate |
CodeGenTreeWalker.block(AST _t,
java.lang.String blockTemplateName,
DFA dfa)
|
StringTemplate |
ACyclicDFACodeGenerator.genFixedLookaheadDecision(StringTemplateGroup templates,
DFA dfa)
|
StringTemplate |
CodeGenerator.genLookaheadDecision(StringTemplate recognizerST,
DFA dfa)
Generate code that computes the predicted alt given a DFA. |
protected StringTemplate |
ACyclicDFACodeGenerator.walkFixedDFAGeneratingStateMachine(StringTemplateGroup templates,
DFA dfa,
DFAState s,
int k)
|
Uses of DFA in org.antlr.test |
---|
Methods in org.antlr.test with parameters of type DFA | |
---|---|
protected void |
TestDFAMatching.checkPrediction(DFA dfa,
java.lang.String input,
int expected)
|
Uses of DFA in org.antlr.tool |
---|
Fields in org.antlr.tool declared as DFA | |
---|---|
DFA |
Grammar.Decision.dfa
|
DFA |
GrammarAST.lookaheadDFA
If this is a decision node, what is the lookahead DFA? |
Fields in org.antlr.tool with type parameters of type DFA | |
---|---|
java.util.Set<DFA> |
Grammar.decisionsWhoseDFAsUsesSynPreds
Track decisions that actually use the syn preds in the DFA. |
Methods in org.antlr.tool that return DFA | |
---|---|
DFA |
GrammarAST.getLookaheadDFA()
|
DFA |
Grammar.getLookaheadDFA(int decision)
|
DFA |
Grammar.getLookaheadDFAFromPositionInFile(int line,
int col)
Useful for ANTLRWorks to map position in file to the DFA for display |
Methods in org.antlr.tool with parameters of type DFA | |
---|---|
int |
Interpreter.predict(DFA dfa)
Given an input stream, return the unique alternative predicted by matching the input. |
void |
GrammarAST.setLookaheadDFA(DFA lookaheadDFA)
|
void |
Grammar.setLookaheadDFA(int decision,
DFA lookaheadDFA)
Set the lookahead DFA for a particular decision. |
void |
Grammar.synPredUsedInDFA(DFA dfa,
SemanticContext semCtx)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |