Uses of Class
org.antlr.analysis.DFA
Packages that use DFA
-
Uses of DFA in org.antlr.analysis
Subclasses of DFA in org.antlr.analysisModifier and TypeClassDescriptionclassA 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 DFAModifier and TypeFieldDescriptionAnalysisTimeoutException.abortedDFANonLLStarDecisionException.abortedDFADecisionProbe.dfaDFAState.dfaWe are part of what DFA? Use this ref to get access to the context trees for an alt.(package private) DFAMachineProbe.dfaprotected DFANFAToDFAConverter.dfaWe are converting which DFA?Methods in org.antlr.analysis with parameters of type DFAModifier and TypeMethodDescriptionorg.stringtemplate.v4.STSemanticContext.AND.genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa) org.stringtemplate.v4.STSemanticContext.FalsePredicate.genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa) abstract org.stringtemplate.v4.STSemanticContext.genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa) Generate an expression that will evaluate the semantic context, given a set of output templates.org.stringtemplate.v4.STSemanticContext.NOT.genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa) org.stringtemplate.v4.STSemanticContext.OR.genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa) org.stringtemplate.v4.STSemanticContext.Predicate.genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa) org.stringtemplate.v4.STSemanticContext.TruePredicate.genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa) protected voidvoidDecisionProbe.reportNonLLStarDecision(DFA dfa) Report that at least 2 alts have recursive constructs.Constructors in org.antlr.analysis with parameters of type DFAModifierConstructorDescriptionAnalysisTimeoutException(DFA abortedDFA) DecisionProbe(DFA dfa) MachineProbe(DFA dfa) NFAToDFAConverter(DFA dfa) NonLLStarDecisionException(DFA abortedDFA) -
Uses of DFA in org.antlr.codegen
Methods in org.antlr.codegen with parameters of type DFAModifier and TypeMethodDescriptionorg.stringtemplate.v4.STACyclicDFACodeGenerator.genFixedLookaheadDecision(org.stringtemplate.v4.STGroup templates, DFA dfa) org.stringtemplate.v4.STCodeGenerator.genLookaheadDecision(org.stringtemplate.v4.ST recognizerST, DFA dfa) Generate code that computes the predicted alt given a DFA.protected org.stringtemplate.v4.STACyclicDFACodeGenerator.walkFixedDFAGeneratingStateMachine(org.stringtemplate.v4.STGroup templates, DFA dfa, DFAState s, int k) -
Uses of DFA in org.antlr.grammar.v3
Methods in org.antlr.grammar.v3 with parameters of type DFAModifier and TypeMethodDescriptionCodeGenTreeWalker.block(String blockTemplateName, DFA dfa, GrammarAST label) -
Uses of DFA in org.antlr.tool
Fields in org.antlr.tool declared as DFAModifier and TypeFieldDescriptionGrammar.Decision.dfaGrammarAST.lookaheadDFAIf this is a decision node, what is the lookahead DFA?Fields in org.antlr.tool with type parameters of type DFAModifier and TypeFieldDescriptionGrammar.decisionsWhoseDFAsUsesSemPredsTrack decisions that actually use the syn preds in the DFA.Grammar.decisionsWhoseDFAsUsesSynPredsTrack decisions that actually use the syn preds in the DFA.Grammar.lineColumnToLookaheadDFAMapFor ANTLRWorks, we want to be able to map a line:col to a specific decision DFA so it can display DFA.Methods in org.antlr.tool that return DFAModifier and TypeMethodDescriptionGrammar.createLL_1_LookaheadDFA(int decision) Grammar.createLookaheadDFA(int decision, boolean wackTempStructures) Grammar.getLookaheadDFA(int decision) GrammarAST.getLookaheadDFA()Grammar.getLookaheadDFAFromPositionInFile(int line, int col) Useful for ANTLRWorks to map position in file to the DFA for displayMethods in org.antlr.tool that return types with arguments of type DFAMethods in org.antlr.tool with parameters of type DFAModifier and TypeMethodDescriptionintGiven 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) Method parameters in org.antlr.tool with type arguments of type DFA