Uses of Class
org.antlr.analysis.DFA
-
Packages that use DFA Package Description 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 Modifier and Type Class Description classLL1DFAA 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 Modifier and Type Field Description DFAAnalysisTimeoutException. abortedDFADFANonLLStarDecisionException. abortedDFADFADecisionProbe. dfaDFADFAState. dfaWe are part of what DFA? Use this ref to get access to the context trees for an alt.protected DFANFAToDFAConverter. dfaWe are converting which DFA?Methods in org.antlr.analysis with parameters of type DFA Modifier and Type Method Description org.antlr.stringtemplate.StringTemplateSemanticContext.AND. genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)abstract org.antlr.stringtemplate.StringTemplateSemanticContext. 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.StringTemplateSemanticContext.NOT. genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)org.antlr.stringtemplate.StringTemplateSemanticContext.OR. genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)org.antlr.stringtemplate.StringTemplateSemanticContext.Predicate. genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)org.antlr.stringtemplate.StringTemplateSemanticContext.TruePredicate. genExpr(CodeGenerator generator, org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)protected voidDFAOptimizer. optimize(DFA dfa)voidDecisionProbe. reportNonLLStarDecision(DFA dfa)Report that at least 2 alts have recursive constructs.Constructors in org.antlr.analysis with parameters of type DFA Constructor Description 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 Modifier and Type Method Description org.antlr.stringtemplate.StringTemplateACyclicDFACodeGenerator. genFixedLookaheadDecision(org.antlr.stringtemplate.StringTemplateGroup templates, DFA dfa)org.antlr.stringtemplate.StringTemplateCodeGenerator. genLookaheadDecision(org.antlr.stringtemplate.StringTemplate recognizerST, DFA dfa)Generate code that computes the predicted alt given a DFA.protected org.antlr.stringtemplate.StringTemplateACyclicDFACodeGenerator. 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 Modifier and Type Method Description org.antlr.stringtemplate.StringTemplateCodeGenTreeWalker. 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 Modifier and Type Field Description DFAGrammar.Decision. dfaDFAGrammarAST. lookaheadDFAIf this is a decision node, what is the lookahead DFA?Fields in org.antlr.tool with type parameters of type DFA Modifier and Type Field Description java.util.Set<DFA>Grammar. decisionsWhoseDFAsUsesSemPredsTrack decisions that actually use the syn preds in the DFA.java.util.Set<DFA>Grammar. decisionsWhoseDFAsUsesSynPredsTrack decisions that actually use the syn preds in the DFA.Methods in org.antlr.tool that return DFA Modifier and Type Method Description DFAGrammar. createLL_1_LookaheadDFA(int decision)DFAGrammar. createLookaheadDFA(int decision, boolean wackTempStructures)DFAGrammar. getLookaheadDFA(int decision)DFAGrammarAST. getLookaheadDFA()DFAGrammar. getLookaheadDFAFromPositionInFile(int line, int col)Useful for ANTLRWorks to map position in file to the DFA for displayMethods in org.antlr.tool with parameters of type DFA Modifier and Type Method Description intInterpreter. predict(DFA dfa)Given an input stream, return the unique alternative predicted by matching the input.voidGrammar. setLookaheadDFA(int decision, DFA lookaheadDFA)Set the lookahead DFA for a particular decision.voidGrammarAST. setLookaheadDFA(DFA lookaheadDFA)voidGrammar. synPredUsedInDFA(DFA dfa, SemanticContext semCtx)private voidGrammar. updateLineColumnToLookaheadDFAMap(DFA lookaheadDFA)
-