类的使用
org.antlr.analysis.DFA
-
使用DFA的程序包 程序包 说明 org.antlr.analysis org.antlr.codegen org.antlr.grammar.v3 org.antlr.tool -
-
org.antlr.analysis中DFA的使用
org.antlr.analysis中DFA的子类 修饰符和类型 类 说明 class
LL1DFA
A special DFA that is exactly LL(1) or LL(1) with backtracking mode predicates to resolve edge set collisions.声明为DFA的org.antlr.analysis中的字段 修饰符和类型 字段 说明 DFA
AnalysisTimeoutException. abortedDFA
DFA
NonLLStarDecisionException. abortedDFA
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?参数类型为DFA的org.antlr.analysis中的方法 修饰符和类型 方法 说明 org.stringtemplate.v4.ST
SemanticContext.AND. genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
org.stringtemplate.v4.ST
SemanticContext.FalsePredicate. genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
abstract org.stringtemplate.v4.ST
SemanticContext. 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.ST
SemanticContext.NOT. genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
org.stringtemplate.v4.ST
SemanticContext.OR. genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
org.stringtemplate.v4.ST
SemanticContext.Predicate. genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
org.stringtemplate.v4.ST
SemanticContext.TruePredicate. genExpr(CodeGenerator generator, org.stringtemplate.v4.STGroup templates, DFA dfa)
protected void
DFAOptimizer. optimize(DFA dfa)
void
DecisionProbe. reportNonLLStarDecision(DFA dfa)
Report that at least 2 alts have recursive constructs.参数类型为DFA的org.antlr.analysis中的构造器 构造器 说明 AnalysisTimeoutException(DFA abortedDFA)
DecisionProbe(DFA dfa)
DFAState(DFA dfa)
MachineProbe(DFA dfa)
NFAToDFAConverter(DFA dfa)
NonLLStarDecisionException(DFA abortedDFA)
-
org.antlr.codegen中DFA的使用
参数类型为DFA的org.antlr.codegen中的方法 修饰符和类型 方法 说明 org.stringtemplate.v4.ST
ACyclicDFACodeGenerator. genFixedLookaheadDecision(org.stringtemplate.v4.STGroup templates, DFA dfa)
org.stringtemplate.v4.ST
CodeGenerator. genLookaheadDecision(org.stringtemplate.v4.ST recognizerST, DFA dfa)
Generate code that computes the predicted alt given a DFA.protected org.stringtemplate.v4.ST
ACyclicDFACodeGenerator. walkFixedDFAGeneratingStateMachine(org.stringtemplate.v4.STGroup templates, DFA dfa, DFAState s, int k)
-
org.antlr.grammar.v3中DFA的使用
参数类型为DFA的org.antlr.grammar.v3中的方法 修饰符和类型 方法 说明 CodeGenTreeWalker.block_return
CodeGenTreeWalker. block(java.lang.String blockTemplateName, DFA dfa, GrammarAST label)
-
org.antlr.tool中DFA的使用
声明为DFA的org.antlr.tool中的字段 修饰符和类型 字段 说明 DFA
Grammar.Decision. dfa
DFA
GrammarAST. lookaheadDFA
If this is a decision node, what is the lookahead DFA?类型参数类型为DFA的org.antlr.tool中的字段 修饰符和类型 字段 说明 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.返回DFA的org.antlr.tool中的方法 修饰符和类型 方法 说明 DFA
Grammar. createLL_1_LookaheadDFA(int decision)
DFA
Grammar. createLookaheadDFA(int decision, boolean wackTempStructures)
DFA
Grammar. getLookaheadDFA(int decision)
DFA
GrammarAST. getLookaheadDFA()
DFA
Grammar. getLookaheadDFAFromPositionInFile(int line, int col)
Useful for ANTLRWorks to map position in file to the DFA for display返回变量类型为DFA的类型的org.antlr.tool中的方法 修饰符和类型 方法 说明 java.util.Map<java.lang.String,DFA>
Grammar. getLineColumnToLookaheadDFAMap()
参数类型为DFA的org.antlr.tool中的方法 修饰符和类型 方法 说明 int
Interpreter. predict(DFA dfa)
Given an input stream, return the unique alternative predicted by matching the input.void
Grammar. setLookaheadDFA(int decision, DFA lookaheadDFA)
Set the lookahead DFA for a particular decision.void
GrammarAST. setLookaheadDFA(DFA lookaheadDFA)
void
Grammar. synPredUsedInDFA(DFA dfa, SemanticContext semCtx)
类型变量类型为DFA的org.antlr.tool中的方法参数 修饰符和类型 方法 说明 protected java.lang.String
GrammarReport. getDFALocations(java.util.Set<DFA> dfas)
-