Package | Description |
---|---|
org.antlr.analysis | |
org.antlr.codegen | |
org.antlr.grammar.v3 | |
org.antlr.tool |
Modifier and Type | Class and Description |
---|---|
class |
LL1DFA
A special DFA that is exactly LL(1) or LL(1) with backtracking mode
predicates to resolve edge set collisions.
|
Modifier and Type | Field and Description |
---|---|
DFA |
AnalysisTimeoutException.abortedDFA |
DFA |
NonLLStarDecisionException.abortedDFA |
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 |
protected DFA |
NFAToDFAConverter.dfa
We are converting which DFA?
|
Modifier and Type | Method and Description |
---|---|
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.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) |
org.stringtemplate.v4.ST |
SemanticContext.FalsePredicate.genExpr(CodeGenerator generator,
org.stringtemplate.v4.STGroup templates,
DFA dfa) |
org.stringtemplate.v4.ST |
SemanticContext.AND.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.NOT.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.
|
Constructor and Description |
---|
AnalysisTimeoutException(DFA abortedDFA) |
DecisionProbe(DFA dfa) |
DFAState(DFA dfa) |
MachineProbe(DFA dfa) |
NFAToDFAConverter(DFA dfa) |
NonLLStarDecisionException(DFA abortedDFA) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
CodeGenTreeWalker.block_return |
CodeGenTreeWalker.block(String blockTemplateName,
DFA dfa,
GrammarAST label) |
Modifier and Type | Field and Description |
---|---|
DFA |
Grammar.Decision.dfa |
DFA |
GrammarAST.lookaheadDFA
If this is a decision node, what is the lookahead DFA?
|
Modifier and Type | Field and Description |
---|---|
Set<DFA> |
Grammar.decisionsWhoseDFAsUsesSemPreds
Track decisions that actually use the syn preds in the DFA.
|
Set<DFA> |
Grammar.decisionsWhoseDFAsUsesSynPreds
Track decisions that actually use the syn preds in the DFA.
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
Map<String,DFA> |
Grammar.getLineColumnToLookaheadDFAMap() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
protected String |
GrammarReport.getDFALocations(Set<DFA> dfas) |
Copyright © 1992–2015 ANTLR. All rights reserved.