Uses of Class
org.antlr.analysis.DFA

Packages that use DFA
org.antlr.analysis   
org.antlr.codegen   
org.antlr.grammar.v2   
org.antlr.tool   
 

Uses of DFA in org.antlr.analysis
 

Subclasses of DFA in org.antlr.analysis
 class LL1DFA
          A special DFA that is exactly LL(1) or LL(1) with backtracking mode predicates to resolve edge set collisions.
 

Fields in org.antlr.analysis declared as DFA
 DFA NonLLStarDecisionException.abortedDFA
           
 DFA AnalysisTimeoutException.abortedDFA
           
protected  DFA NFAToDFAConverter.dfa
          We are converting which DFA?
 DFA DFAState.dfa
          We are part of what DFA? Use this ref to get access to the context trees for an alt.
 DFA DecisionProbe.dfa
           
 

Methods in org.antlr.analysis with parameters of type DFA
abstract  org.antlr.stringtemplate.StringTemplate SemanticContext.genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
          Generate an expression that will evaluate the semantic context, given a set of output templates.
 org.antlr.stringtemplate.StringTemplate SemanticContext.Predicate.genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
           
 org.antlr.stringtemplate.StringTemplate SemanticContext.TruePredicate.genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
           
 org.antlr.stringtemplate.StringTemplate SemanticContext.AND.genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
           
 org.antlr.stringtemplate.StringTemplate SemanticContext.OR.genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
           
 org.antlr.stringtemplate.StringTemplate SemanticContext.NOT.genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
           
protected  void DFAOptimizer.optimize(DFA dfa)
           
 void DecisionProbe.reportNonLLStarDecision(DFA dfa)
          Report that at least 2 alts have recursive constructs.
 

Constructors in org.antlr.analysis with parameters of type DFA
AnalysisTimeoutException(DFA abortedDFA)
           
DecisionProbe(DFA dfa)
           
DFAState(DFA dfa)
           
NFAToDFAConverter(DFA dfa)
           
NonLLStarDecisionException(DFA abortedDFA)
           
 

Uses of DFA in org.antlr.codegen
 

Methods in org.antlr.codegen with parameters of type DFA
 org.antlr.stringtemplate.StringTemplate ACyclicDFACodeGenerator.genFixedLookaheadDecision(org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)
           
 org.antlr.stringtemplate.StringTemplate CodeGenerator.genLookaheadDecision(org.antlr.stringtemplate.StringTemplate recognizerST, DFA dfa)
          Generate code that computes the predicted alt given a DFA.
protected  org.antlr.stringtemplate.StringTemplate ACyclicDFACodeGenerator.walkFixedDFAGeneratingStateMachine(org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa, DFAState s, int k)
           
 

Uses of DFA in org.antlr.grammar.v2
 

Methods in org.antlr.grammar.v2 with parameters of type DFA
 org.antlr.stringtemplate.StringTemplate CodeGenTreeWalker.block(antlr.collections.AST _t, java.lang.String blockTemplateName, DFA dfa)
           
 

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.decisionsWhoseDFAsUsesSemPreds
          Track decisions that actually use the syn preds in the 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 Grammar.createLL_1_LookaheadDFA(int decision)
           
 DFA Grammar.createLookaheadDFA(int decision, boolean wackTempStructures)
           
 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)
           
 



Copyright © 2011. All Rights Reserved.