A B C D E F G H I J K L M N O P R S T U V W X Y _

A

a - Variable in class org.antlr.misc.Interval
 
abortedDueToMultipleRecursiveAlts - Variable in class org.antlr.analysis.DFAState
If we detect recursion on more than one alt, decision is non-LL(*), but try to isolate it to only those states whose closure operations detect recursion.
abortedDueToRecursionOverflow - Variable in class org.antlr.analysis.DFAState
If a closure operation finds that we tried to invoke the same rule too many times (stack would grow beyond a threshold), it marks the state has aborted and notifies the DecisionProbe.
accept - Variable in class org.antlr.analysis.DFA
 
acceptState - Variable in class org.antlr.analysis.State
An accept state is an end of rule state for lexers and parser grammar rules.
acceptStateReachable - Variable in class org.antlr.analysis.DFAState
The NFA->DFA algorithm may terminate leaving some states without a path to an accept state, implying that upon certain input, the decision is not deterministic--no decision about predicting a unique alternative can be made.
ACTION - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
action() - Method in class org.antlr.misc.Barrier
What to do when everyone reaches barrier
ActionAnalysisLexer - Class in org.antlr.tool
We need to set Rule.referencedPredefinedRuleAttributes before code generation.
ActionAnalysisLexer(Grammar, String, GrammarAST) - Constructor for class org.antlr.tool.ActionAnalysisLexer
 
ActionAnalysisLexer() - Constructor for class org.antlr.tool.ActionAnalysisLexer
 
ActionAnalysisLexer(CharStream) - Constructor for class org.antlr.tool.ActionAnalysisLexer
 
actionReferencesLabel - Variable in class org.antlr.tool.Grammar.LabelElementPair
Has an action referenced the label? Set by ActionAnalysis.g Currently only set for rule labels.
actions - Variable in class org.antlr.tool.Grammar
Map a scope to a map of name:action pairs.
actions - Variable in class org.antlr.tool.Rule
Map a name to an action for this rule.
ActionTranslatorLexer - Class in org.antlr.codegen
 
ActionTranslatorLexer(CodeGenerator, String, GrammarAST) - Constructor for class org.antlr.codegen.ActionTranslatorLexer
 
ActionTranslatorLexer(CodeGenerator, String, Token, int) - Constructor for class org.antlr.codegen.ActionTranslatorLexer
 
ActionTranslatorLexer() - Constructor for class org.antlr.codegen.ActionTranslatorLexer
 
ActionTranslatorLexer(CharStream) - Constructor for class org.antlr.codegen.ActionTranslatorLexer
 
ACyclicDFACodeGenerator - Class in org.antlr.codegen
 
ACyclicDFACodeGenerator(CodeGenerator) - Constructor for class org.antlr.codegen.ACyclicDFACodeGenerator
 
acyclicDFAGenerator - Variable in class org.antlr.codegen.CodeGenerator
I have factored out the generation of acyclic DFAs to separate class
adaptor - Static variable in class org.antlr.test.TestTreeWizard
 
add(Label) - Method in class org.antlr.analysis.Label
 
add(int) - Method in class org.antlr.misc.BitSet
or this element into this set (grow as necessary to accommodate)
add(int) - Method in class org.antlr.misc.IntArrayList
 
add(int) - Method in class org.antlr.misc.IntervalSet
Add a single element to the set.
add(int, int) - Method in class org.antlr.misc.IntervalSet
Add interval; i.e., add all integers from a to b to set.
add(Interval) - Method in class org.antlr.misc.IntervalSet
 
add(int) - Method in interface org.antlr.misc.IntSet
Add an element to the set
add(Object) - Method in class org.antlr.misc.OrderedHashSet
Add a value to list; keep in hashtable for consistency also; Key is object itself.
addAll(IntSet) - Method in class org.antlr.misc.BitSet
 
addAll(int[]) - Method in class org.antlr.misc.BitSet
 
addAll(List) - Method in class org.antlr.misc.BitSet
 
addAll(IntSet) - Method in class org.antlr.misc.IntervalSet
 
addAll(IntSet) - Method in interface org.antlr.misc.IntSet
Add all elements from incoming set to this set.
addArtificialMatchTokensRule(GrammarAST, List, boolean) - Method in class org.antlr.tool.Grammar
Parse a rule we add artificially that is a list of the other lexer rules like this: "Tokens : ID | INT | SEMI ;" nextToken() will invoke this to set the current token.
addAttribute(String, String) - Method in class org.antlr.tool.AttributeScope
 
addAttributes(String, String) - Method in class org.antlr.tool.AttributeScope
From a chunk of text holding the definitions of the attributes, pull them apart and create an Attribute for each one.
addDFAStateToWorkList(DFAState) - Method in class org.antlr.analysis.NFAToDFAConverter
Add a new DFA state to the DFA if not already present.
addNFAConfiguration(NFAState, NFAConfiguration) - Method in class org.antlr.analysis.DFAState
Add an NFA configuration to this DFA node.
addNFAConfiguration(NFAState, int, NFAContext, SemanticContext) - Method in class org.antlr.analysis.DFAState
 
addPredicateTransitions(DFAState) - Method in class org.antlr.analysis.NFAToDFAConverter
for each NFA config in d, look for "predicate required" sign set during nondeterminism resolution.
addReachableLabel(Label) - Method in class org.antlr.analysis.DFAState
Add label uniquely and disjointly; intersection with another set or int/char forces breaking up the set(s).
addRulesToCycle(String, String, List) - Method in class org.antlr.tool.GrammarSanity
enclosingRuleName calls targetRuleName, find the cycle containing the target and add the caller.
addState(DFAState) - Method in class org.antlr.analysis.DFA
Add a new DFA state to this DFA if not already present.
addState(NFAState) - Method in class org.antlr.analysis.NFA
 
addTransition(Transition) - Method in class org.antlr.analysis.DFAState
 
addTransition(DFAState, Label) - Method in class org.antlr.analysis.DFAState
Add a transition from this state to target with label.
addTransition(Transition) - Method in class org.antlr.analysis.NFAState
 
addTransition(DFAState, Label, DFAState, Map) - Static method in class org.antlr.analysis.NFAToDFAConverter
Add a transition from state d to targetState with label in normal case.
addTransition(Transition) - Method in class org.antlr.analysis.State
 
adjacent(Interval) - Method in class org.antlr.misc.Interval
Are two intervals adjacent such as 0..41 and 42..42?
allDecisionDFACreated - Variable in class org.antlr.tool.Grammar
 
allDecisionDFAHaveBeenCreated() - Method in class org.antlr.tool.Grammar
 
alreadyParsedRule(IntStream, int) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
alreadyParsedRule(IntStream, int) - Method in class org.antlr.tool.ActionAnalysisLexer
 
alt - Variable in class org.antlr.analysis.NFAConfiguration
What alt is predicted by this configuration
alt - Variable in class org.antlr.tool.RecursionOverflowMessage
 
altReferencesRule(String, GrammarAST, int) - Method in class org.antlr.tool.Grammar
Track a rule reference within an outermost alt of a rule.
altReferencesTokenID(String, GrammarAST, int) - Method in class org.antlr.tool.Grammar
Track a token reference within an outermost alt of a rule.
alts - Variable in class org.antlr.tool.GrammarInsufficientPredicatesMessage
 
alts - Variable in class org.antlr.tool.GrammarUnreachableAltsMessage
 
altsWithProblem - Variable in class org.antlr.analysis.DecisionProbe
The overall list of alts within the decision that have at least one conflicting input sequence.
altsWithRecursion - Variable in class org.antlr.tool.NonRegularDecisionMessage
 
altsWithRewrites - Variable in class org.antlr.tool.Rule
Track which alts have rewrite rules associated with them.
altToAcceptState - Variable in class org.antlr.analysis.DFA
We only want one accept state per predicted alt; track here
altToRuleRefMap - Variable in class org.antlr.tool.Rule
Each alt has a Map>; range 1..numberOfAlts So, if there are 3 expr refs in a rule's alt number 2, you'll have altToRuleRef[2].get("expr").size()==3.
altToTokenRefMap - Variable in class org.antlr.tool.Rule
Each alt has a Map>; range 1..numberOfAlts.
analysisAborted() - Method in class org.antlr.analysis.DecisionProbe
Did the analysis complete it's work?
analysisAborted() - Method in class org.antlr.analysis.DFA
 
analysisAborted(DecisionProbe) - Static method in class org.antlr.tool.ErrorManager
 
analysisOverflowed() - Method in class org.antlr.analysis.DecisionProbe
 
analyze() - Method in class org.antlr.tool.ActionAnalysisLexer
 
and(SemanticContext, SemanticContext) - Static method in class org.antlr.analysis.SemanticContext
 
and(IntSet) - Method in class org.antlr.misc.BitSet
 
and(IntSet) - Method in class org.antlr.misc.IntervalSet
Return a new set with the intersection of this set with other.
and(IntSet) - Method in interface org.antlr.misc.IntSet
Return the intersection of this set with the argument, creating a new set.
andInPlace(BitSet) - Method in class org.antlr.misc.BitSet
 
antlr(String, String, String, boolean) - Method in class org.antlr.test.BaseTest
Return true if all is ok, no errors
ANTLRErrorListener - Interface in org.antlr.tool
Defines behavior of object able to handle error messages from ANTLR including both tool errors like "can't write file" and grammar ambiguity warnings.
ANTLRLiteralCharValueEscape - Static variable in class org.antlr.tool.Grammar
Given a char, we need to be able to show as an ANTLR literal.
ANTLRLiteralEscapedCharValue - Static variable in class org.antlr.tool.Grammar
When converting ANTLR char and string literals, here is the value set of escape chars.
ARG - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
arg - Variable in class org.antlr.tool.Message
 
arg2 - Variable in class org.antlr.tool.Message
 
argActionAST - Variable in class org.antlr.tool.Rule
For convenience, track the argument def AST action node if any
arrowhead - Variable in class org.antlr.tool.DOTGenerator
 
ARTIFICIAL_TOKENS_RULENAME - Static variable in class org.antlr.tool.Grammar
 
assertTrue(boolean, String) - Static method in class org.antlr.tool.ErrorManager
 
assignDecisionNumber(NFAState) - Method in class org.antlr.tool.Grammar
 
associatedASTNode - Variable in class org.antlr.analysis.NFAState
Associate this NFAState with the corresponding GrammarAST node from which this node was created.
ATTR_VALUE_EXPR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
Attribute - Class in org.antlr.tool
Track the names of attributes define in arg lists, return values, scope blocks etc...
Attribute(String) - Constructor for class org.antlr.tool.Attribute
 
Attribute(String, String) - Constructor for class org.antlr.tool.Attribute
 
attributes - Variable in class org.antlr.tool.AttributeScope
The list of Attribute objects
AttributeScope - Class in org.antlr.tool
Track the attributes within a scope.
AttributeScope(String, Token) - Constructor for class org.antlr.tool.AttributeScope
 
AttributeScope(Grammar, String, Token) - Constructor for class org.antlr.tool.AttributeScope
 

B

b - Variable in class org.antlr.misc.Interval
 
Barrier - Class in org.antlr.misc
A very simple barrier wait.
Barrier(int) - Constructor for class org.antlr.misc.Barrier
 
baseTemplates - Variable in class org.antlr.codegen.CodeGenerator
The basic output templates without AST or templates stuff; this will be the templates loaded for the language such as Java.stg *and* the Dbg stuff if turned on.
BaseTest - Class in org.antlr.test
 
BaseTest() - Constructor for class org.antlr.test.BaseTest
 
BaseTest.StreamVacuum - Class in org.antlr.test
 
BaseTest.StreamVacuum(InputStream) - Constructor for class org.antlr.test.BaseTest.StreamVacuum
 
BITS - Static variable in class org.antlr.misc.BitSet
 
bits - Variable in class org.antlr.misc.BitSet
The actual data bits
BitSet - Class in org.antlr.misc
A BitSet to replace java.util.BitSet.
BitSet() - Constructor for class org.antlr.misc.BitSet
Construct a bitset of size one word (64 bits)
BitSet(long[]) - Constructor for class org.antlr.misc.BitSet
Construction from a static array of longs
BitSet(int) - Constructor for class org.antlr.misc.BitSet
Construct a bitset given the size
BLOCK_START - Static variable in class org.antlr.analysis.NFAState
 
blockAST - Variable in class org.antlr.tool.Grammar.Decision
 
blocksWithSemPreds - Variable in class org.antlr.tool.Grammar
Track decisions with syn preds specified for reporting.
blocksWithSynPreds - Variable in class org.antlr.tool.Grammar
Track decisions with syn preds specified for reporting.
build_AB(StateCluster, StateCluster) - Method in class org.antlr.tool.NFAFactory
From A B build A-e->B (that is, build an epsilon arc from right of A to left of B).
build_AlternativeBlock(List) - Method in class org.antlr.tool.NFAFactory
From A|B|..|Z alternative block build o->o-A->o->o (last NFAState is blockEndNFAState pointed to by all alts) | ^ o->o-B->o--| | | ...
build_AlternativeBlockFromSet(StateCluster) - Method in class org.antlr.tool.NFAFactory
From a set ('a'|'b') build o->o-'a'..'b'->o->o (last NFAState is blockEndNFAState pointed to by all alts)
build_Aoptional(StateCluster) - Method in class org.antlr.tool.NFAFactory
From (A)? build either: o--A->o | ^ o---->| or, if A is a block, just add an empty alt to the end of the block
build_Aplus(StateCluster) - Method in class org.antlr.tool.NFAFactory
From (A)+ build |---| (Transition 2 from A.right points at alt 1) v | (follow of loop is Transition 1) o->o-A-o->o Meaning that the last NFAState in A points back to A's left Transition NFAState and we add a new begin/end NFAState.
build_Astar(StateCluster) - Method in class org.antlr.tool.NFAFactory
From (A)* build |---| v | o->o-A-o--o (Transition 2 from block end points at alt 1; follow is Transition 1) | ^ o---------| (optional branch is 2nd alt of optional block containing A+) Meaning that the last (end) NFAState in A points back to A's left side NFAState and we add 3 new NFAStates (the optional branch is built just like an optional subrule).
build_Atom(int) - Method in class org.antlr.tool.NFAFactory
From label A build Graph o-A->o
build_CharLiteralAtom(String) - Method in class org.antlr.tool.NFAFactory
From char 'c' build StateCluster o-intValue(c)->o
build_CharRange(String, String) - Method in class org.antlr.tool.NFAFactory
From char 'c' build StateCluster o-intValue(c)->o can include unicode spec likes '$' later.
build_EOFStates(List) - Method in class org.antlr.tool.NFAFactory
add an EOF transition to any rule end NFAState that points to nothing (i.e., for all those rules not invoked by another rule).
build_Epsilon() - Method in class org.antlr.tool.NFAFactory
From an empty alternative build StateCluster o-e->o
build_Range(int, int) - Method in class org.antlr.tool.NFAFactory
Can only complement block of simple alts; can complement build_Set() result, that is.
build_RuleRef(int, NFAState) - Method in class org.antlr.tool.NFAFactory
For reference to rule r, build o-e->(r) o where (r) is the start of rule r and the trailing o is not linked to from rule ref state directly (it's done thru the transition(0) RuleClosureTransition.
build_SemanticPredicate(GrammarAST) - Method in class org.antlr.tool.NFAFactory
Build what amounts to an epsilon transition with a semantic predicate action.
build_Set(IntSet) - Method in class org.antlr.tool.NFAFactory
From set build single edge graph o->o-set->o.
build_StringLiteralAtom(String) - Method in class org.antlr.tool.NFAFactory
For a non-lexer, just build a simple token reference atom.
build_Wildcard() - Method in class org.antlr.tool.NFAFactory
Build an atom with all possible values in its label
buildAST() - Method in class org.antlr.tool.Grammar
 
BuildDependencyGenerator - Class in org.antlr.tool
Given a grammar file, show the dependencies on .tokens etc...
BuildDependencyGenerator(Tool, String) - Constructor for class org.antlr.tool.BuildDependencyGenerator
 
buildTemplate() - Method in class org.antlr.tool.Grammar
 
builtFromString - Variable in class org.antlr.tool.Grammar
We need a way to detect when a lexer grammar is autogenerated from another grammar or we are just sending in a string representing a grammar.
BYPASS - Static variable in class org.antlr.analysis.NFAState
 

C

cachedHashCode - Variable in class org.antlr.analysis.DFAState
Build up the hash code for this state as NFA configurations are added as it's monotonically increasing list of configurations.
cachedHashCode - Variable in class org.antlr.analysis.NFAContext
Computing the hashCode is very expensive and closureBusy() uses it to track when it's seen a state|ctx before to avoid infinite loops.
cachedUniquelyPredicatedAlt - Variable in class org.antlr.analysis.DFAState
 
callSiteStates - Variable in class org.antlr.tool.RecursionOverflowMessage
 
canGenerateSwitch(DFAState) - Method in class org.antlr.codegen.CodeGenerator
You can generate a switch rather than if-then-else for a DFA state if there are no semantic predicates and the number of edge label values is small enough; e.g., don't generate a switch for a state containing an edge label such as 20..52330 (the resulting byte codes would overflow the method 65k limit probably).
canInlineDecision() - Method in class org.antlr.analysis.DFA
 
capacity() - Method in class org.antlr.misc.IntArrayList
 
CHAR_LABEL - Static variable in class org.antlr.tool.Grammar
 
charLabels - Variable in class org.antlr.tool.Rule
A list of all LabelElementPair attached to single char literals like x='a'
charVocabulary - Variable in class org.antlr.tool.Grammar
TODO: hook this to the charVocabulary option
checkAllRulesForLeftRecursion() - Method in class org.antlr.tool.Grammar
 
checkAllRulesForLeftRecursion() - Method in class org.antlr.tool.GrammarSanity
Check all rules for infinite left recursion before analysis.
checkAllRulesForUselessLabels() - Method in class org.antlr.tool.Grammar
Remove all labels on rule refs whose target rules have no return value.
checkConflicts() - Method in class org.antlr.tool.NameSpaceChecker
 
checkDecision(Grammar, int, String, int[]) - Method in class org.antlr.test.TestCharDFAConversion
 
checkDecision(Grammar, int, String, int[], int[], String, int[], int) - Method in class org.antlr.test.TestDFAConversion
 
checkDecision(Grammar, int, String, int[], int[], String, int[], int[], int) - Method in class org.antlr.test.TestSemanticPredicates
 
checkElementRefUniqueness(String, boolean) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
checkError(ErrorQueue, GrammarSemanticsMessage) - Method in class org.antlr.test.TestAttributes
 
checkError(ErrorQueue, GrammarSemanticsMessage) - Method in class org.antlr.test.TestRewriteAST
 
checkError(ErrorQueue, GrammarSemanticsMessage) - Method in class org.antlr.test.TestSymbolDefinitions
 
checkError(ErrorQueue, GrammarSemanticsMessage) - Method in class org.antlr.test.TestTemplates
 
checkErrors(ErrorQueue, ArrayList) - Method in class org.antlr.test.TestAttributes
Allow checking for multiple errors in one test
checkForGlobalScopeTokenConflict(AttributeScope) - Method in class org.antlr.tool.NameSpaceChecker
 
checkForLabelConflict(Rule, Token) - Method in class org.antlr.tool.NameSpaceChecker
Make sure a label doesn't conflict with another symbol.
checkForLabelTypeMismatch(Rule, Token, int) - Method in class org.antlr.tool.NameSpaceChecker
If type of previous label differs from new label's type, that's an error.
checkForRuleArgumentAndReturnValueConflicts(Rule) - Method in class org.antlr.tool.NameSpaceChecker
 
checkForRuleDefinitionProblems(Rule) - Method in class org.antlr.tool.NameSpaceChecker
 
checkForRuleScopeAttributeConflict(Rule, Attribute) - Method in class org.antlr.tool.NameSpaceChecker
Check for collision of a rule-scope dynamic attribute with: arg, return value, rule name itself.
checkPlusEqualsLabels(Grammar, String, String, String) - Method in class org.antlr.test.TestSymbolDefinitions
 
checkPrediction(DFA, String, int) - Method in class org.antlr.test.TestDFAMatching
 
checkRuleReference(GrammarAST, GrammarAST, String) - Method in class org.antlr.tool.Grammar
 
checkRuleReference(GrammarAST, GrammarAST, String) - Method in class org.antlr.tool.GrammarSanity
 
checkSymbols(Grammar, String, String) - Method in class org.antlr.test.TestSymbolDefinitions
 
checkWarning(ErrorQueue, GrammarSemanticsMessage) - Method in class org.antlr.test.TestSymbolDefinitions
 
chooseWhereCyclicDFAsGo(Tool, CodeGenerator, Grammar, StringTemplate, StringTemplate) - Method in class org.antlr.codegen.CSharpTarget
 
chooseWhereCyclicDFAsGo(Tool, CodeGenerator, Grammar, StringTemplate, StringTemplate) - Method in class org.antlr.codegen.CTarget
 
chooseWhereCyclicDFAsGo(Tool, CodeGenerator, Grammar, StringTemplate, StringTemplate) - Method in class org.antlr.codegen.JavaTarget
 
chunks - Variable in class org.antlr.codegen.ActionTranslatorLexer
 
CLASSPATH - Static variable in class org.antlr.test.BaseTest
 
classpathTemplateRootDirectoryName - Variable in class org.antlr.codegen.CodeGenerator
 
clear() - Method in class org.antlr.misc.BitSet
 
clear(int) - Method in class org.antlr.misc.BitSet
 
clear() - Method in class org.antlr.misc.OrderedHashSet
 
clone() - Method in class org.antlr.analysis.Label
 
clone() - Method in class org.antlr.misc.BitSet
 
clone() - Method in class org.antlr.misc.IntArrayList
 
closure(DFAState) - Method in class org.antlr.analysis.NFAToDFAConverter
For all NFA states (configurations) merged in d, compute the epsilon closure; that is, find all NFA states reachable from the NFA states in d via purely epsilon transitions.
closure(NFAState, int, NFAContext, SemanticContext, DFAState, boolean) - Method in class org.antlr.analysis.NFAToDFAConverter
Where can we get from NFA state p traversing only epsilon transitions? Add new NFA states + context to DFA state d.
closureBusy - Variable in class org.antlr.analysis.DFAState
Used to prevent the closure operation from looping to itself and hence looping forever.
closureIsBusy(DFAState, NFAConfiguration) - Static method in class org.antlr.analysis.NFAToDFAConverter
A closure operation should abort if that computation has already been done or a computation with a conflicting context has already been done.
code - Variable in class org.antlr.tool.GrammarAST
if this is a TOKEN_REF or RULE_REF node, this is the code StringTemplate generated for this node.
CodeGenerator - Class in org.antlr.codegen
ANTLR's code generator.
CodeGenerator(Tool, Grammar, String) - Constructor for class org.antlr.codegen.CodeGenerator
 
COLLAPSE_ALL_PARALLEL_EDGES - Static variable in class org.antlr.analysis.DFAOptimizer
 
column - Variable in class org.antlr.tool.Message
 
COMBINED - Static variable in class org.antlr.tool.Grammar
 
compareTo(Object) - Method in class org.antlr.analysis.Label
 
compareTo(Object) - Method in class org.antlr.analysis.Transition
 
compile(String) - Method in class org.antlr.test.BaseTest
 
complement() - Method in class org.antlr.misc.BitSet
 
complement(IntSet) - Method in class org.antlr.misc.BitSet
 
complement(int, int) - Method in class org.antlr.misc.IntervalSet
 
complement(IntSet) - Method in class org.antlr.misc.IntervalSet
Given the set of possible values (rather than, say UNICODE or MAXINT), return a new set containing all elements in vocabulary, but not in this.
complement(IntSet) - Method in interface org.antlr.misc.IntSet
 
complement(IntSet) - Method in class org.antlr.tool.Grammar
For lexer grammars, return everything in unicode not in set.
complement(int) - Method in class org.antlr.tool.Grammar
 
computeStartState() - Method in class org.antlr.analysis.NFAToDFAConverter
From this first NFA state of a decision, create a DFA.
computeTokenNameFromLiteral(int, String) - Method in class org.antlr.tool.Grammar
given a token type and the text of the literal, come up with a decent token type label.
conflictsWith(NFAContext) - Method in class org.antlr.analysis.NFAContext
Two contexts conflict() if they are equals() or one is a stack suffix of the other.
constantValue - Variable in class org.antlr.analysis.SemanticContext.Predicate
sometimes predicates are known to be true or false; we need a way to represent this without resorting to a target language value like true or TRUE.
contains(int) - Method in class org.antlr.misc.IntArrayList
 
context - Variable in class org.antlr.analysis.NFAConfiguration
What is the stack of rule invocations that got us to state?
contextTrees - Variable in class org.antlr.analysis.NFAToDFAConverter
While converting NFA, we must track states that reference other rule's NFAs so we know what to do at the end of a rule.
conversionStartTime - Variable in class org.antlr.analysis.DFA
Track absolute time of the conversion so we can have a failsafe: if it takes too long, then terminate.
convert() - Method in class org.antlr.analysis.NFAToDFAConverter
 
convertToAcceptState(DFAState, int) - Method in class org.antlr.analysis.NFAToDFAConverter
 
convertToEOTAcceptState(DFAState) - Method in class org.antlr.analysis.NFAToDFAConverter
Walk the configurations of this DFA state d looking for the configuration, c, that has a transition on EOT.
count - Variable in class org.antlr.misc.Barrier
 
CPPTarget - Class in org.antlr.codegen
 
CPPTarget() - Constructor for class org.antlr.codegen.CPPTarget
 
create(int, int) - Static method in class org.antlr.misc.Interval
Interval objects are used readonly so share all with the same single value a==b up to some max size.
createDecision(int) - Method in class org.antlr.tool.Grammar
 
createEOTAndEOFTables(DFAState) - Method in class org.antlr.analysis.DFA
Set up the EOT and EOF tables; we cannot put -1 min/max values so we need another way to test that in the DFA transition function.
createLookaheadDFA(int) - Method in class org.antlr.tool.Grammar
 
createLookaheadDFAs() - Method in class org.antlr.tool.Grammar
For each decision in this grammar, compute a single DFA using the NFA states associated with the decision.
createMinMaxTables(DFAState) - Method in class org.antlr.analysis.DFA
 
createNFAs() - Method in class org.antlr.tool.Grammar
Walk the list of options, altering this Grammar object according to any I recognize.
createParameterScope(String, Token) - Method in class org.antlr.tool.Grammar
 
createReturnScope(String, Token) - Method in class org.antlr.tool.Grammar
 
createRuleScope(String, Token) - Method in class org.antlr.tool.Grammar
 
createSpecialTable(DFAState) - Method in class org.antlr.analysis.DFA
 
createStateTables(CodeGenerator) - Method in class org.antlr.analysis.DFA
 
createTransitionTableEntryForState(DFAState) - Method in class org.antlr.analysis.DFA
 
createUniqueLabel(String) - Method in class org.antlr.codegen.CodeGenerator
Create a label to track a token / rule reference's result.
CSharpTarget - Class in org.antlr.codegen
 
CSharpTarget() - Constructor for class org.antlr.codegen.CSharpTarget
 
CTarget - Class in org.antlr.codegen
 
CTarget() - Constructor for class org.antlr.codegen.CTarget
 
ctx - Variable in class org.antlr.analysis.SemanticContext.NOT
 
cycles - Variable in class org.antlr.tool.LeftRecursionCyclesMessage
 
cyclic - Variable in class org.antlr.analysis.DFA
Are there any loops in this DFA? Computed by doesStateReachAcceptState()

D

danglingState(DecisionProbe, DFAState) - Static method in class org.antlr.tool.ErrorManager
 
danglingStates - Variable in class org.antlr.analysis.DecisionProbe
The set of states w/o emanating edges and w/o resolving sem preds.
debug - Static variable in class org.antlr.analysis.NFAToDFAConverter
 
debug - Variable in class org.antlr.codegen.CodeGenerator
Generate debugging event method calls
debug - Variable in class org.antlr.test.TestAutoAST
 
debug - Variable in class org.antlr.test.TestLexer
 
debug - Variable in class org.antlr.test.TestRewriteAST
 
debug - Variable in class org.antlr.test.TestRewriteTemplates
 
debug - Variable in class org.antlr.test.TestSets
 
debug - Variable in class org.antlr.Tool
 
DebugTestAutoAST - Class in org.antlr.test
 
DebugTestAutoAST() - Constructor for class org.antlr.test.DebugTestAutoAST
 
DebugTestRewriteAST - Class in org.antlr.test
 
DebugTestRewriteAST() - Constructor for class org.antlr.test.DebugTestRewriteAST
 
decision - Variable in class org.antlr.tool.Grammar.Decision
 
decisionNFAStartState - Variable in class org.antlr.analysis.DFA
From what NFAState did we create the DFA?
decisionNumber - Variable in class org.antlr.analysis.DFA
This DFA is being built for which decision?
decisionNumber - Variable in class org.antlr.analysis.NFAState
What's its decision number from 1..n?
decisionNumber - Variable in class org.antlr.tool.Grammar
Be able to assign a number to every decision in grammar; decisions in 1..n
DecisionProbe - Class in org.antlr.analysis
Collection of information about what is wrong with a decision as discovered while building the DFA predictor.
DecisionProbe(DFA) - Constructor for class org.antlr.analysis.DecisionProbe
 
decisionStateType - Variable in class org.antlr.analysis.NFAState
Subrules (...)* and (...)+ have more than one decision point in the NFA created for them.
decisionsWhoseDFAsUsesSemPreds - Variable in class org.antlr.tool.Grammar
Track decisions that actually use the syn preds in the DFA.
decisionsWhoseDFAsUsesSynPreds - Variable in class org.antlr.tool.Grammar
Track decisions that actually use the syn preds in the DFA.
decl - Variable in class org.antlr.tool.Attribute
The entire declaration such as "String foo;"
decodeReportData(String) - Static method in class org.antlr.tool.GrammarReport
 
defaultBlockOptions - Static variable in class org.antlr.tool.GrammarAST
What are the default options for a subrule?
defaultOptions - Static variable in class org.antlr.tool.Grammar
 
defineGlobalScope(String, Token) - Method in class org.antlr.tool.Grammar
 
defineLabel(Rule, Token, GrammarAST, int) - Method in class org.antlr.tool.Grammar
Define a label defined in a rule r; check the validity then ask the Rule object to actually define it.
defineLabel(Token, GrammarAST, int) - Method in class org.antlr.tool.Rule
 
defineLexerRuleForAliasedStringLiteral(String, String, int) - Method in class org.antlr.tool.Grammar
If someone does PLUS='+' in the parser, must make sure we get "PLUS : '+' ;" in lexer not "T73 : '+';"
defineLexerRuleForStringLiteral(String, int) - Method in class org.antlr.tool.Grammar
 
defineLexerRuleFoundInParser(Token, GrammarAST) - Method in class org.antlr.tool.Grammar
 
defineNamedAction(GrammarAST, String, GrammarAST, GrammarAST) - Method in class org.antlr.tool.Grammar
Given @scope::name {action} define it for this grammar.
defineNamedAction(GrammarAST, GrammarAST, GrammarAST) - Method in class org.antlr.tool.Rule
Given @scope::name {action} define it for this grammar.
defineRule(Token, String, Map, GrammarAST, GrammarAST, int) - Method in class org.antlr.tool.Grammar
Define a new rule.
defineRuleListLabel(String, Token, GrammarAST) - Method in class org.antlr.tool.Grammar
 
defineRuleRefLabel(String, Token, GrammarAST) - Method in class org.antlr.tool.Grammar
 
defineSyntacticPredicate(GrammarAST, String) - Method in class org.antlr.tool.Grammar
Define a new predicate and get back its name for use in building a semantic predicate reference to the syn pred.
defineToken(String, int) - Method in class org.antlr.tool.Grammar
Define a token at a particular token type value.
defineTokenListLabel(String, Token, GrammarAST) - Method in class org.antlr.tool.Grammar
 
defineTokenRefLabel(String, Token, GrammarAST) - Method in class org.antlr.tool.Grammar
 
depend - Variable in class org.antlr.Tool
 
derivedFromToken - Variable in class org.antlr.tool.AttributeScope
This scope is associated with which input token (for error handling)?
description - Variable in class org.antlr.analysis.DFA
The printable grammar fragment associated with this DFA
description - Variable in class org.antlr.analysis.NFAState
During debugging and for nondeterminism warnings, it's useful to know what relationship this node has to the original grammar.
dfa - Variable in class org.antlr.analysis.DecisionProbe
 
DFA - Class in org.antlr.analysis
A DFA (converted from a grammar's NFA).
DFA(int, NFAState) - Constructor for class org.antlr.analysis.DFA
 
dfa - Variable in class org.antlr.analysis.DFAState
We are part of what DFA? Use this ref to get access to the context trees for an alt.
dfa - Variable in class org.antlr.analysis.NFAToDFAConverter
We are converting which DFA?
dfa - Variable in class org.antlr.tool.Grammar.Decision
 
DFACreationWallClockTimeInMS - Variable in class org.antlr.tool.Grammar
How long in ms did it take to build DFAs for this grammar? If this grammar is a combined grammar, it only records time for the parser grammar component.
DFAOptimizer - Class in org.antlr.analysis
A module to perform optimizations on DFAs.
DFAOptimizer(Grammar) - Constructor for class org.antlr.analysis.DFAOptimizer
 
DFAState - Class in org.antlr.analysis
A DFA state represents a set of possible NFA configurations.
DFAState(DFA) - Constructor for class org.antlr.analysis.DFAState
 
differenceNotProperlyContained(Interval) - Method in class org.antlr.misc.Interval
Return the interval with elements from this not in other; other must not be totally enclosed (properly contained) within this, which would result in two disjoint intervals instead of the single one returned by this method.
disjoint(Interval) - Method in class org.antlr.misc.Interval
Are both ranges disjoint? I.e., no overlap?
doesStateReachAcceptState(DFAState) - Method in class org.antlr.analysis.DFA
figure out if this state eventually reaches an accept state and modify the instance variable 'reduced' to indicate if we find at least one state that cannot reach an accept state.
doNotAttemptAnalysis() - Static method in class org.antlr.tool.ErrorManager
 
doNotAttemptCodeGen() - Static method in class org.antlr.tool.ErrorManager
 
doNotCopyOptionsToLexer - Static variable in class org.antlr.tool.Grammar
 
DOTGenerator - Class in org.antlr.tool
The DOT (part of graphviz) generation aspect.
DOTGenerator(Grammar) - Constructor for class org.antlr.tool.DOTGenerator
This aspect is associated with a grammar
DOWN - Static variable in class org.antlr.analysis.Label
 
dup(AST) - Static method in class org.antlr.tool.GrammarAST
 
dupListNoActions(GrammarAST, GrammarAST) - Static method in class org.antlr.tool.GrammarAST
Duplicate tree including siblings of root.
dupTreeNoActions(GrammarAST, GrammarAST) - Static method in class org.antlr.tool.GrammarAST
Duplicate a tree, assuming this is a root node of a tree-- duplicate that node and what's below; ignore siblings of root node.
DYNAMIC_ABSOLUTE_INDEXED_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
DYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
DYNAMIC_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 

E

e - Variable in class org.antlr.tool.Message
 
edgeTransitionClass - Variable in class org.antlr.analysis.DFA
The unique edge transition class number; every time we see a new set of edges emanating from a state, we number it so we can reuse if it's every seen again for another state.
edgeTransitionClassMap - Variable in class org.antlr.analysis.DFA
Map an edge transition table to a unique set number; ordered so we can push into the output template as an ordered list of sets and then ref them from within the transition[][] table.
element(int) - Method in class org.antlr.misc.IntArrayList
 
elementRef - Variable in class org.antlr.tool.Grammar.LabelElementPair
 
elements - Variable in class org.antlr.misc.IntArrayList
 
elements() - Method in class org.antlr.misc.IntArrayList
 
elements - Variable in class org.antlr.misc.OrderedHashSet
Track the elements as they are added to the set
elements() - Method in class org.antlr.misc.OrderedHashSet
Return the List holding list of table elements.
emit(int, int, int, int, int, int) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
EMIT_TEMPLATE_DELIMITERS - Static variable in class org.antlr.codegen.CodeGenerator
 
emitSingleError - Static variable in class org.antlr.tool.ErrorManager
Only one error can be emitted for any entry in this table.
EMPTY_SEMANTIC_CONTEXT - Static variable in class org.antlr.analysis.SemanticContext
Create a default value for the semantic context shared among all NFAConfigurations that do not have an actual semantic context.
ENCLOSING_RULE_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
enclosingRule - Variable in class org.antlr.analysis.NFAState
What rule do we live in?
enclosingRule - Variable in class org.antlr.tool.GrammarAST
 
encodeIntAsCharEscape(int) - Static method in class org.antlr.analysis.DFA
 
endOfBlockStateNumber - Variable in class org.antlr.analysis.NFAState
Jean Bovet needs in the GUI to know which state pairs correspond to the start/stop of a block.
ensureAltIsSimpleNodeOrTree(GrammarAST, GrammarAST, int) - Method in class org.antlr.tool.GrammarSanity
Rules in tree grammar that use -> rewrites and are spitting out templates via output=template and then use rewrite=true must only use -> on alts that are simple nodes or trees or single rule refs that match either nodes or trees.
ensureCapacity(int) - Method in class org.antlr.misc.IntArrayList
 
eof - Variable in class org.antlr.analysis.DFA
 
EOF - Static variable in class org.antlr.analysis.Label
 
EOF() - Static method in class org.antlr.analysis.LookaheadSet
 
EOF - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
EOF - Static variable in class org.antlr.tool.ActionAnalysisLexer
 
EOR_TOKEN_TYPE - Static variable in class org.antlr.analysis.Label
End of rule token type; imaginary token type used only for local, partial FOLLOW sets to indicate that the local FOLLOW hit the end of rule.
EORNode - Variable in class org.antlr.tool.Rule
 
eot - Variable in class org.antlr.analysis.DFA
 
EOT - Static variable in class org.antlr.analysis.Label
End of Token is like EOF for lexer rules.
EOTTargetState - Variable in class org.antlr.analysis.NFAState
Is this state the sole target of an EOT transition?
EPSILON - Static variable in class org.antlr.analysis.Label
 
EPSILON_STR - Static variable in class org.antlr.analysis.Label
 
equals(Object) - Method in class org.antlr.analysis.DFAState
Two DFAStates are equal if their NFA configuration sets are the same.
equals(Object) - Method in class org.antlr.analysis.Label
 
equals(Object) - Method in class org.antlr.analysis.NFAConfiguration
An NFA configuration is equal to another if both have the same state, the predict the same alternative, and syntactic/semantic contexts are the same.
equals(Object) - Method in class org.antlr.analysis.NFAContext
Two contexts are equals() if both have same call stack; walk upwards to the root.
equals(Object) - Method in class org.antlr.analysis.SemanticContext.NOT
 
equals(Object) - Method in class org.antlr.analysis.SemanticContext.Predicate
Two predicates are the same if they are literally the same text rather than same node in the grammar's AST.
equals(Object) - Method in class org.antlr.analysis.Transition
 
equals(Object) - Method in class org.antlr.misc.BitSet
 
equals(Object) - Method in class org.antlr.misc.IntArrayList
 
equals(Object) - Method in class org.antlr.misc.Interval
 
equals(Object) - Method in class org.antlr.misc.IntervalSet
Are two IntervalSets equal? Because all intervals are sorted and disjoint, equals is a simple linear walk over both lists to make sure they are the same.
equals(Object) - Method in interface org.antlr.misc.IntSet
 
equals(AST) - Method in class org.antlr.tool.GrammarAST
Make nodes unique based upon Token so we can add them to a Set; if not a GrammarAST, check type.
eraseFiles(String) - Method in class org.antlr.test.BaseTest
 
error(Message) - Method in class org.antlr.test.ErrorQueue
 
error(ToolMessage) - Method in class org.antlr.test.ErrorQueue
 
error(Message) - Method in interface org.antlr.tool.ANTLRErrorListener
 
error(ToolMessage) - Method in interface org.antlr.tool.ANTLRErrorListener
 
error(int) - Static method in class org.antlr.tool.ErrorManager
 
error(int, Throwable) - Static method in class org.antlr.tool.ErrorManager
 
error(int, Object) - Static method in class org.antlr.tool.ErrorManager
 
error(int, Object, Object) - Static method in class org.antlr.tool.ErrorManager
 
error(int, Object, Throwable) - Static method in class org.antlr.tool.ErrorManager
 
ERROR_SCOPED_XY - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
ERROR_X - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
ERROR_XY - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
ErrorManager - Class in org.antlr.tool
Defines all the errors ANTLR can generator for both the tool and for issues with a grammar.
ErrorManager() - Constructor for class org.antlr.tool.ErrorManager
 
ErrorQueue - Class in org.antlr.test
 
ErrorQueue() - Constructor for class org.antlr.test.ErrorQueue
 
ERRORS_FORCING_NO_ANALYSIS - Static variable in class org.antlr.tool.ErrorManager
Do not do perform analysis and code gen if one of these happens
ERRORS_FORCING_NO_CODEGEN - Static variable in class org.antlr.tool.ErrorManager
Do not do perform analysis and code gen if one of these happens
ESC - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
escapeChar(int) - Method in class org.antlr.codegen.CPPTarget
 
escapeString(String) - Method in class org.antlr.codegen.CPPTarget
Converts a String into a representation that can be use as a literal when surrounded by double-quotes.
examineAllExecutableActions() - Method in class org.antlr.tool.Grammar
Before generating code, we examine all actions that can have $x.y and $y stuff in them because some code generation depends on Rule.referencedPredefinedRuleAttributes.
exception - Variable in class org.antlr.tool.GrammarSyntaxMessage
 
execParser(String, String, String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
execTreeParser(String, String, String, String, String, String, String, String, String, String) - Method in class org.antlr.test.BaseTest
 
execTreeParser(String, String, String, String, String, String, String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
externalAnalysisAbort - Variable in class org.antlr.tool.Grammar
An external tool requests that DFA analysis abort prematurely.
externallyAbortNFAToDFAConversion() - Method in class org.antlr.tool.Grammar
Terminate DFA creation (grammar analysis).
extractAttribute(String) - Method in class org.antlr.tool.Attribute
For decls like "String foo" or "char *foo32[3]" compute the ID and type declarations.

F

factory - Variable in class org.antlr.analysis.NFA
Which factory created this NFA?
FALSE_PRED - Static variable in class org.antlr.analysis.SemanticContext.Predicate
 
FASerializer - Class in org.antlr.tool
An aspect of FA (finite automata) that knows how to dump them to serialized strings.
FASerializer(Grammar) - Constructor for class org.antlr.tool.FASerializer
This aspect is associated with a grammar; used to get token names
file - Variable in class org.antlr.tool.Message
 
fileName - Variable in class org.antlr.tool.Grammar
What file name holds this grammar?
findFirstType(int) - Method in class org.antlr.tool.GrammarAST
Return a reference to the first node (depth-first) that has token type ttype.
findNewDFAStatesAndAddDFATransitions(DFAState) - Method in class org.antlr.analysis.NFAToDFAConverter
From this node, add a d--a-->t transition for all labels 'a' where t is a DFA node created from the set of NFA states reachable from any NFA state in DFA state d.
followingNFAState - Variable in class org.antlr.tool.GrammarAST
Rule ref nodes, token refs, set, and NOT set refs need to track their location in the generated NFA so that local FOLLOW sets can be computed during code gen for automatic error recovery.
followState - Variable in class org.antlr.analysis.RuleClosureTransition
What node to begin computations following ref to rule
forceAllFilesToOutputDir - Variable in class org.antlr.Tool
 
formatWantsSingleLineMessage() - Static method in class org.antlr.tool.ErrorManager
 
FRAGMENT_RULE_MODIFIER - Static variable in class org.antlr.tool.Grammar
 

G

g - Variable in class org.antlr.tool.GrammarSemanticsMessage
 
g - Variable in class org.antlr.tool.GrammarSyntaxMessage
 
gated - Variable in class org.antlr.analysis.SemanticContext.Predicate
Is this a {...}?=> gating predicate or a normal disambiguating {..}? If any predicate in expression is gated, then expression is considered gated.
GEN_ACYCLIC_DFA_INLINE - Static variable in class org.antlr.codegen.CodeGenerator
 
generate_DFA_dot - Variable in class org.antlr.Tool
 
generate_NFA_dot - Variable in class org.antlr.Tool
 
GENERATE_SWITCHES_WHEN_POSSIBLE - Variable in class org.antlr.codegen.CodeGenerator
 
generateDFAs(Grammar) - Method in class org.antlr.Tool
 
generateLocalFOLLOW(GrammarAST, String, String, int) - Method in class org.antlr.codegen.CodeGenerator
Error recovery in ANTLR recognizers.
generateNFAs(Grammar) - Method in class org.antlr.Tool
 
generateSpecialState(DFAState) - Method in class org.antlr.codegen.CodeGenerator
A special state is huge (too big for state tables) or has a predicated edge.
generator - Variable in class org.antlr.tool.BuildDependencyGenerator
 
generator - Variable in class org.antlr.tool.Grammar
If non-null, this is the code generator we will use to generate recognizers in the target language.
genExpr(CodeGenerator, StringTemplateGroup, DFA) - Method in class org.antlr.analysis.SemanticContext.AND
 
genExpr(CodeGenerator, StringTemplateGroup, DFA) - Method in class org.antlr.analysis.SemanticContext
Generate an expression that will evaluate the semantic context, given a set of output templates.
genExpr(CodeGenerator, StringTemplateGroup, DFA) - Method in class org.antlr.analysis.SemanticContext.NOT
 
genExpr(CodeGenerator, StringTemplateGroup, DFA) - Method in class org.antlr.analysis.SemanticContext.OR
 
genExpr(CodeGenerator, StringTemplateGroup, DFA) - Method in class org.antlr.analysis.SemanticContext.Predicate
 
genExpr(CodeGenerator, StringTemplateGroup, DFA) - Method in class org.antlr.analysis.SemanticContext.TruePredicate
 
genFixedLookaheadDecision(StringTemplateGroup, DFA) - Method in class org.antlr.codegen.ACyclicDFACodeGenerator
 
genLabelExpr(StringTemplateGroup, Transition, int) - Method in class org.antlr.codegen.CodeGenerator
Generate an expression for traversing an edge.
genLookaheadDecision(StringTemplate, DFA) - Method in class org.antlr.codegen.CodeGenerator
Generate code that computes the predicted alt given a DFA.
genRecognizer() - Method in class org.antlr.codegen.CodeGenerator
Given the grammar to which we are attached, walk the AST associated with that grammar to create NFAs.
genRecognizerFile(Tool, CodeGenerator, Grammar, StringTemplate) - Method in class org.antlr.codegen.CTarget
 
genRecognizerFile(Tool, CodeGenerator, Grammar, StringTemplate) - Method in class org.antlr.codegen.Target
 
genRecognizerHeaderFile(Tool, CodeGenerator, Grammar, StringTemplate, String) - Method in class org.antlr.codegen.CPPTarget
 
genRecognizerHeaderFile(Tool, CodeGenerator, Grammar, StringTemplate, String) - Method in class org.antlr.codegen.CTarget
 
genRecognizerHeaderFile(Tool, CodeGenerator, Grammar, StringTemplate, String) - Method in class org.antlr.codegen.ObjCTarget
 
genRecognizerHeaderFile(Tool, CodeGenerator, Grammar, StringTemplate, String) - Method in class org.antlr.codegen.Target
 
genSemanticPredicateExpr(StringTemplateGroup, Transition) - Method in class org.antlr.codegen.CodeGenerator
 
genSetExpr(StringTemplateGroup, IntSet, int, boolean) - Method in class org.antlr.codegen.CodeGenerator
For intervals such as [3..3, 30..35], generate an expression that tests the lookahead similar to LA(1)==3 || (LA(1)>=30&&LA(1)<=35)
genTokenTypeConstants(StringTemplate) - Method in class org.antlr.codegen.CodeGenerator
Set attributes tokens and literals attributes in the incoming code template.
genTokenTypeNames(StringTemplate) - Method in class org.antlr.codegen.CodeGenerator
Generate a token names table that maps token type to a printable name: either the label like INT or the literal like "begin".
genTokenVocabOutput() - Method in class org.antlr.codegen.CodeGenerator
Generate a token vocab file with all the token names/types.
get(int) - Method in class org.antlr.misc.IntArrayList
 
get(int) - Method in class org.antlr.misc.OrderedHashSet
 
getAcceptState(int) - Method in class org.antlr.analysis.DFA
 
getAcceptStateReachable() - Method in class org.antlr.analysis.DFAState
Is an accept state reachable from this state?
getActions() - Method in class org.antlr.tool.Grammar
 
getActions() - Method in class org.antlr.tool.Rule
 
getAllCharValues() - Method in class org.antlr.tool.Grammar
If there is a char vocabulary, use it; else return min to max char as defined by the target.
getAllRuleRefsInAltsWithRewrites() - Method in class org.antlr.tool.Rule
For use with rewrite rules, we must track all rule AST results on the left-hand-side; so we need Lists.
getAllTokenRefsInAltsWithRewrites() - Method in class org.antlr.tool.Rule
For use with rewrite rules, we must track all tokens matched on the left-hand-side; so we need Lists.
getAltSet() - Method in class org.antlr.analysis.DFAState
Get the set of all alts mentioned by all NFA configurations in this DFA state.
getANTLRCharLiteralForChar(int) - Static method in class org.antlr.tool.Grammar
Return a string representing the escaped char for code c.
getArrowheadType() - Method in class org.antlr.tool.DOTGenerator
 
getArtificialRulesForSyntacticPredicates(ANTLRParser, LinkedHashMap) - Method in class org.antlr.tool.Grammar
for any syntactic predicates, we need to define rules for them; they will get defined automatically like any other rule.
getAssociatedASTNode() - Method in class org.antlr.analysis.NFAState
 
getAtom() - Method in class org.antlr.analysis.Label
return the single atom label or INVALID if not a single atom
getAttribute(String) - Method in class org.antlr.tool.AttributeScope
 
getAttribute(String) - Method in class org.antlr.tool.RuleLabelScope
If you label a rule reference, you can access that rule's return values as well as any predefined attributes.
getAttributes() - Method in class org.antlr.tool.AttributeScope
Used by templates to get all attributes
getAttributeScope(String) - Method in class org.antlr.tool.Rule
Return the scope containing name
getAutoBacktrackMode() - Method in class org.antlr.analysis.DFA
 
getBacktrackingReport() - Method in class org.antlr.tool.GrammarReport
 
getBaseTemplates() - Method in class org.antlr.codegen.CodeGenerator
 
getCharValueFromGrammarCharLiteral(String) - Static method in class org.antlr.tool.Grammar
Given a literal like (the 3 char sequence with single quotes) 'a', return the int value of 'a'.
getChild(int) - Method in class org.antlr.tool.GrammarAST
Get the ith child from 0
getChildrenAsArray() - Method in class org.antlr.tool.GrammarAST
 
getCodeGenerator() - Method in class org.antlr.tool.Grammar
 
getCollapsedBlockAsSet(State) - Method in class org.antlr.tool.NFAFactory
Given a collapsed block of alts (a set of atoms), pull out the set and return it.
getColumn() - Method in class org.antlr.tool.GrammarAST
 
getConflictingAlts() - Method in class org.antlr.analysis.DFAState
Walk each NFA configuration in this DFA state looking for a conflict where (s|i|ctx) and (s|j|ctx) exist, indicating that state s with context conflicting ctx predicts alts i and j.
getCurrentTimeStamp() - Static method in class org.antlr.Tool
Return a time stamp string accurate to sec: yyyy-mm-dd hh:mm:ss
getDanglingStateMessage(List) - Method in class org.antlr.test.TestDFAConversion
 
getDanglingStates() - Method in class org.antlr.analysis.DecisionProbe
return set of states w/o emanating edges and w/o resolving sem preds.
getDecision(int) - Method in class org.antlr.tool.Grammar
 
getDecisionASTNode() - Method in class org.antlr.analysis.DFA
What GrammarAST node (derived from the grammar) is this DFA associated with? It will point to the start of a block or the loop back of a (...)+ block etc...
getDecisionBlockAST(int) - Method in class org.antlr.tool.Grammar
 
getDecisionNFAStartState(int) - Method in class org.antlr.tool.Grammar
 
getDecisionNFAStartStateList() - Method in class org.antlr.tool.Grammar
 
getDecisionNumber() - Method in class org.antlr.analysis.DFA
 
getDecisionNumber() - Method in class org.antlr.analysis.NFAState
 
getDefaultActionScope(int) - Method in class org.antlr.tool.Grammar
Given a grammar type, what should be the default action scope? If I say @members in a COMBINED grammar, for example, the default scope should be "parser".
getDependencies() - Method in class org.antlr.tool.BuildDependencyGenerator
 
getDependenciesFileList() - Method in class org.antlr.tool.BuildDependencyGenerator
Return a list of File objects that name files ANTLR will read to process T.g; for now, this can only be .tokens files and only if they use the tokenVocab option.
getDescription() - Method in class org.antlr.analysis.DecisionProbe
Return a string like "3:22: ( A {;} | B )" that describes this decision.
getDescription() - Method in class org.antlr.analysis.DFA
 
getDescription() - Method in class org.antlr.analysis.NFAState
 
getDFALocations(Set) - Method in class org.antlr.tool.GrammarReport
 
getDFAPathStatesToTarget(DFAState) - Method in class org.antlr.analysis.DecisionProbe
 
getDFAStatesWithSyntacticallyAmbiguousAlts() - Method in class org.antlr.analysis.DecisionProbe
Return all DFA states in this DFA that have NFA configurations that conflict.
getDisabledAlternatives(DFAState) - Method in class org.antlr.analysis.DecisionProbe
Which alts were specifically turned off to resolve nondeterminisms? This is different than the unreachable alts.
getDisabledAlternatives() - Method in class org.antlr.analysis.DFAState
When more than one alternative can match the same input, the first alternative is chosen to resolve the conflict.
getDOT(State) - Method in class org.antlr.tool.DOTGenerator
Return a String containing a DOT description that, when displayed, will show the incoming state machine visually.
getEarlyTerminationReport() - Method in class org.antlr.tool.GrammarReport
 
getEdgeLabel(Transition) - Method in class org.antlr.tool.DOTGenerator
Fix edge strings so they print out in DOT properly; generate any gated predicates on edge too.
getElementLabel(String) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
getElementLabel(String, int, CodeGenerator) - Method in class org.antlr.tool.Rule
For references to tokens rather than by label such as $ID, we need to get the existing label for the ID ref or create a new one.
getEnclosingRule() - Method in class org.antlr.analysis.NFAState
 
getEnclosingRule() - Method in class org.antlr.tool.GrammarAST
 
getErrorListener() - Static method in class org.antlr.tool.ErrorManager
 
getErrorState() - Static method in class org.antlr.tool.ErrorManager
 
getFactory() - Method in class org.antlr.analysis.NFA
 
getFileDirectory(String) - Method in class org.antlr.Tool
Return the directory containing the grammar file for this grammar.
getFileName() - Method in class org.antlr.tool.Grammar
 
getFirstChildWithType(int) - Method in class org.antlr.tool.GrammarAST
 
getFirstLineOfException() - Method in class org.antlr.test.BaseTest
 
getFollowState() - Method in class org.antlr.analysis.RuleClosureTransition
 
getGatedPredicateContext() - Method in class org.antlr.analysis.SemanticContext.AND
 
getGatedPredicateContext() - Method in class org.antlr.analysis.SemanticContext
Given a semantic context expression tree, return a tree with all nongated predicates set to true and then reduced.
getGatedPredicateContext() - Method in class org.antlr.analysis.SemanticContext.NOT
 
getGatedPredicateContext() - Method in class org.antlr.analysis.SemanticContext.OR
 
getGatedPredicateContext() - Method in class org.antlr.analysis.SemanticContext.Predicate
 
getGatedPredicatesInNFAConfigurations() - Method in class org.antlr.analysis.DFAState
For gated productions, we need an OR'd list of all predicates for the target of an edge so we can gate the edge based upon the predicates associated with taking that path (if any).
getGeneratedFileList() - Method in class org.antlr.tool.BuildDependencyGenerator
From T.g return a list of File objects that names files ANTLR will emit from T.g.
getGlobalScope(String) - Method in class org.antlr.tool.Grammar
Get a global scope
getGlobalScopes() - Method in class org.antlr.tool.Grammar
 
getGrammar(String) - Method in class org.antlr.Tool
 
getGrammarFileName() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
getGrammarFileName() - Method in class org.antlr.tool.ActionAnalysisLexer
 
getGrammarMaxLookahead() - Method in class org.antlr.tool.Grammar
 
getGrammarTree() - Method in class org.antlr.tool.Grammar
 
getHasMultipleReturnValues() - Method in class org.antlr.tool.Rule
If a rule has no user-defined return values and nobody references it's start/stop (predefined attributes), then there is no need to define a struct; otherwise for now we assume a struct.
getHasReturnValue() - Method in class org.antlr.tool.Rule
 
getHasSingleReturnValue() - Method in class org.antlr.tool.Rule
 
getImplicitlyGeneratedLexerFileName() - Method in class org.antlr.tool.Grammar
 
getImportedVocabFileName(String) - Method in class org.antlr.tool.Grammar
 
getIncompletelyCoveredAlts(DFAState) - Method in class org.antlr.analysis.DecisionProbe
Return a list of alts whose predicate context was insufficient to resolve a nondeterminism for state d.
getInlineActions() - Method in class org.antlr.tool.Rule
 
getInputSequenceDisplay(List) - Method in class org.antlr.analysis.DecisionProbe
Given List
getIntervals() - Method in class org.antlr.misc.IntervalSet
Return a list of Interval objects.
getJavaCompressedAccept() - Method in class org.antlr.analysis.DFA
 
getJavaCompressedEOF() - Method in class org.antlr.analysis.DFA
 
getJavaCompressedEOT() - Method in class org.antlr.analysis.DFA
 
getJavaCompressedMax() - Method in class org.antlr.analysis.DFA
 
getJavaCompressedMin() - Method in class org.antlr.analysis.DFA
 
getJavaCompressedSpecial() - Method in class org.antlr.analysis.DFA
 
getJavaCompressedTransition() - Method in class org.antlr.analysis.DFA
 
getLabel(String) - Method in class org.antlr.tool.Rule
 
getLabels(Set<GrammarAST>, int) - Method in class org.antlr.tool.Grammar
Given a set of all rewrite elements on right of ->, filter for label types such as Grammar.TOKEN_LABEL, Grammar.TOKEN_LIST_LABEL, ...
getLastChild() - Method in class org.antlr.tool.GrammarAST
 
getLastSibling() - Method in class org.antlr.tool.GrammarAST
 
getLeftRecursionCyclesMessage(List) - Method in class org.antlr.test.TestDFAConversion
 
getLeftRecursiveRules() - Method in class org.antlr.tool.Grammar
Return a list of left-recursive rules; no analysis can be done successfully on these.
getLexerGrammar() - Method in class org.antlr.tool.Grammar
If the grammar is a merged grammar, return the text of the implicit lexer grammar.
getLibraryDirectory() - Method in class org.antlr.Tool
 
getLibraryFile(String) - Method in class org.antlr.Tool
Open a file in the -lib dir.
getLine() - Method in class org.antlr.tool.GrammarAST
 
getLineColumnToLookaheadDFAMap() - Method in class org.antlr.tool.Grammar
 
getLocalAttributeScope(String) - Method in class org.antlr.tool.Rule
Get the arg, return value, or predefined property for this rule
getLocationFormat() - Static method in class org.antlr.tool.ErrorManager
Return a StringTemplate that refers to the current format used for emitting messages.
getLocationTemplate() - Method in class org.antlr.tool.Message
Return a new template instance for the location part of a Message.
getLookaheadDepth() - Method in class org.antlr.analysis.DFAState
 
getLookaheadDFA(int) - Method in class org.antlr.tool.Grammar
 
getLookaheadDFA() - Method in class org.antlr.tool.GrammarAST
 
getLookaheadDFAColumnsForLineInFile(int) - Method in class org.antlr.tool.Grammar
returns a list of column numbers for all decisions on a particular line so ANTLRWorks choose the decision depending on the location of the cursor (otherwise, ANTLRWorks has to give the *exact* location which is not easy from the user point of view).
getLookaheadDFAFromPositionInFile(int, int) - Method in class org.antlr.tool.Grammar
Useful for ANTLRWorks to map position in file to the DFA for display
getMaxCharValue(CodeGenerator) - Method in class org.antlr.codegen.CPPTarget
Character constants get truncated to this value.
getMaxCharValue(CodeGenerator) - Method in class org.antlr.codegen.RubyTarget
 
getMaxCharValue(CodeGenerator) - Method in class org.antlr.codegen.Target
Some targets only support ASCII or 8-bit chars/strings.
getMaxCharValue() - Method in class org.antlr.tool.Grammar
What is the max char value possible for this grammar's target? Use unicode max if no target defined.
getMaxElement() - Method in class org.antlr.misc.IntervalSet
 
getMaxLookaheadDepth() - Method in class org.antlr.analysis.DFA
Return k if decision is LL(k) for some k else return max int
getMaxStateNumber() - Method in class org.antlr.analysis.DFA
What is the max state number ever created? This may be beyond getNumberOfStates().
getMaxTokenType() - Method in class org.antlr.tool.Grammar
How many token types have been allocated so far?
getMessage(int) - Static method in class org.antlr.tool.ErrorManager
Given a message ID, return a StringTemplate that somebody can fill with data.
getMessageFormat() - Static method in class org.antlr.tool.ErrorManager
 
getMessageTemplate() - Method in class org.antlr.tool.Message
Return a new template instance every time someone tries to print a Message.
getMessageType(int) - Static method in class org.antlr.tool.ErrorManager
 
getMinAlt(DFAState) - Static method in class org.antlr.analysis.NFAToDFAConverter
 
getMinAlt(Set) - Static method in class org.antlr.analysis.NFAToDFAConverter
 
getMinElement() - Method in class org.antlr.misc.IntervalSet
Return minimum element >= 0
getName() - Method in class org.antlr.tool.AttributeScope
 
getNewTokenType() - Method in class org.antlr.tool.Grammar
Return a new unique integer in the token type space
getNFAConfigurations() - Method in class org.antlr.analysis.DFAState
 
getNFADecisionStartState() - Method in class org.antlr.analysis.DFA
 
getNFAPath(NFAState, int, List, List) - Method in class org.antlr.analysis.DecisionProbe
Given a sample input sequence, you usually would like to know the path taken through the NFA.
getNFAPathStatesForAlt(int, int, List) - Method in class org.antlr.analysis.DecisionProbe
Given an alternative associated with a nondeterministic DFA state, find the path of NFA states associated with the labels sequence.
getNFAStartState() - Method in class org.antlr.tool.GrammarAST
 
getNFAStateForAltOfDecision(NFAState, int) - Method in class org.antlr.tool.Grammar
Get the ith alternative (1..n) from a decision; return null when an invalid alt is requested.
getNFAStatesForAlt(int) - Method in class org.antlr.analysis.DFAState
Get the set of all states mentioned by all NFA configurations in this DFA state associated with alt.
getNonDeterminismMessage(List) - Method in class org.antlr.test.TestDFAConversion
 
getNonDeterminismMessage(List) - Method in class org.antlr.test.TestSemanticPredicates
 
getNonDeterministicAlts() - Method in class org.antlr.analysis.DecisionProbe
 
getNonDeterministicAlts() - Method in class org.antlr.analysis.DFAState
public int getNumberOfEOTNFAStates() { int n = 0; Iterator iter = nfaConfigurations.iterator(); NFAConfiguration configuration; while (iter.hasNext()) { configuration = (NFAConfiguration) iter.next(); NFAState s = dfa.nfa.getState(configuration.state); if ( s.isEOTState() ) { n++; } } return n; }
getNonDeterministicAltsForState(DFAState) - Method in class org.antlr.analysis.DecisionProbe
Return the sorted list of alts that conflict within a single state.
getNondeterministicStatesResolvedWithSemanticPredicate() - Method in class org.antlr.analysis.DecisionProbe
 
getNumberOfAlts() - Method in class org.antlr.analysis.DFA
 
getNumberOfAltsForDecisionNFA(NFAState) - Method in class org.antlr.tool.Grammar
Decisions are linked together with transition(1).
getNumberOfCyclicDecisions() - Method in class org.antlr.tool.Grammar
 
getNumberOfDecisions() - Method in class org.antlr.tool.Grammar
 
getNumberOfStates() - Method in class org.antlr.analysis.DecisionProbe
How many states does the DFA predictor have?
getNumberOfStates() - Method in class org.antlr.analysis.DFA
 
getNumberOfStates() - Method in class org.antlr.tool.NFAFactory
 
getNumberOfTransitions() - Method in class org.antlr.analysis.DFAState
 
getNumberOfTransitions() - Method in class org.antlr.analysis.NFAState
 
getNumberOfTransitions() - Method in class org.antlr.analysis.State
 
getOption(String) - Method in class org.antlr.tool.Grammar
 
getOption(String) - Method in class org.antlr.tool.GrammarAST
 
getOptions() - Method in class org.antlr.tool.GrammarAST
 
getOutputDirectory(String) - Method in class org.antlr.Tool
 
getOutputFile(Grammar, String) - Method in class org.antlr.Tool
This method is used by all code generators to create new output files.
getPredicatesPerNonDeterministicAlt(DFAState, Set) - Method in class org.antlr.analysis.NFAToDFAConverter
Return a mapping from nondeterministc alt to combined list of predicates.
getRankdir() - Method in class org.antlr.tool.DOTGenerator
 
getReachableLabels() - Method in class org.antlr.analysis.DFAState
 
getRecognizerFileName(String, int) - Method in class org.antlr.codegen.CodeGenerator
 
getRecognizerST() - Method in class org.antlr.codegen.CodeGenerator
 
getRecursionOverflowMessage(List) - Method in class org.antlr.test.TestDFAConversion
 
getReferencedRule() - Method in class org.antlr.tool.Grammar.LabelElementPair
 
getReportFormat() - Static method in class org.antlr.tool.ErrorManager
 
getRule(String) - Method in class org.antlr.tool.Grammar
 
getRuleIndex() - Method in class org.antlr.analysis.RuleClosureTransition
 
getRuleIndex(String) - Method in class org.antlr.tool.Grammar
 
getRuleLabel(String) - Method in class org.antlr.tool.Rule
 
getRuleLabelAttribute(String, String) - Method in class org.antlr.codegen.ActionTranslatorLexer
For $rulelabel.name, return the Attribute found for name.
getRuleLabels() - Method in class org.antlr.tool.Rule
 
getRuleListLabel(String) - Method in class org.antlr.tool.Rule
 
getRuleListLabels() - Method in class org.antlr.tool.Rule
 
getRuleModifier(String) - Method in class org.antlr.tool.Grammar
 
getRuleName(int) - Method in class org.antlr.tool.Grammar
 
getRuleRefsInAlt(String, int) - Method in class org.antlr.tool.Rule
 
getRuleRefsInAlt(int) - Method in class org.antlr.tool.Rule
 
getRules() - Method in class org.antlr.tool.Grammar
 
getRuleStartState(String) - Method in class org.antlr.tool.Grammar
 
getRuleStopState(String) - Method in class org.antlr.tool.Grammar
 
getRunLengthEncoding(List) - Method in class org.antlr.analysis.DFA
Compress the incoming data list so that runs of same number are encoded as number,value pair sequences.
getSampleInputSequenceUsingStateSet(State, State, Set, List) - Method in class org.antlr.analysis.DecisionProbe
Given a start state and a final state, find a list of edge labels between the two ignoring epsilon.
getSampleNonDeterministicInputSequence(DFAState) - Method in class org.antlr.analysis.DecisionProbe
Return a List
getSemanticContext() - Method in class org.antlr.analysis.Label
 
getSemanticContextForAlt(DFAState, int) - Method in class org.antlr.analysis.DecisionProbe
Each state in the DFA represents a different input sequence for an alt of the decision.
getSet() - Method in class org.antlr.analysis.Label
 
getSetFromRule(TreeToNFAConverter, String) - Method in class org.antlr.tool.Grammar
Get the set equivalent (if any) of the indicated rule from this grammar.
getSetValue() - Method in class org.antlr.tool.GrammarAST
 
getSingleElement() - Method in class org.antlr.misc.BitSet
Get the first element you find and return it.
getSingleElement() - Method in class org.antlr.misc.IntervalSet
If this set is a single integer, return it otherwise Label.INVALID
getSingleElement() - Method in interface org.antlr.misc.IntSet
 
getSingleValueReturnName() - Method in class org.antlr.tool.Rule
 
getSingleValueReturnType() - Method in class org.antlr.tool.Rule
 
getState(int) - Method in class org.antlr.analysis.DFA
 
getState(int) - Method in class org.antlr.analysis.NFA
 
getStateLabel(State) - Method in class org.antlr.tool.DOTGenerator
 
getStateLabelIndexKey(int, int) - Method in class org.antlr.analysis.DecisionProbe
 
getStringLiterals() - Method in class org.antlr.tool.Grammar
Get the list of ANTLR String literals
getStringTemplateErrorListener() - Static method in class org.antlr.tool.ErrorManager
 
getSyntacticPredicate(String) - Method in class org.antlr.tool.Grammar
 
getSyntacticPredicates() - Method in class org.antlr.tool.Grammar
 
getSyntacticPredicatesInNFAConfigurations() - Method in class org.antlr.analysis.DFAState
For gated productions, we need a list of all predicates for the target of an edge so we can gate the edge based upon the predicates associated with taking that path (if any).
getTarget64BitStringFromValue(long) - Method in class org.antlr.codegen.Target
Convert long to 0xNNNNNNNNNNNNNNNN by default for spitting out with bitsets.
getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.CPPTarget
Convert from an ANTLR char literal found in a grammar file to an equivalent char literal in the target language.
getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.CTarget
 
getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.ObjCTarget
 
getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.PythonTarget
 
getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.RubyTarget
 
getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.Target
Convert from an ANTLR char literal found in a grammar file to an equivalent char literal in the target language.
getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.CPPTarget
Convert from an ANTLR string literal found in a grammar file to an equivalent string literal in the target language.
getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.CTarget
Convert from an ANTLR string literal found in a grammar file to an equivalent string literal in the C target.
getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.ObjCTarget
Convert from an ANTLR string literal found in a grammar file to an equivalent string literal in the target language.
getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator, String) - Method in class org.antlr.codegen.Target
Convert from an ANTLR string literal found in a grammar file to an equivalent string literal in the target language.
getTargetStringLiteralFromString(String, boolean) - Method in class org.antlr.codegen.Target
Given a random string of Java unicode chars, return a new string with optionally appropriate quote characters for target language and possibly with some escaped characters.
getTargetStringLiteralFromString(String) - Method in class org.antlr.codegen.Target
 
getTemplates() - Method in class org.antlr.codegen.CodeGenerator
 
getText() - Method in class org.antlr.tool.GrammarAST
 
getToken() - Method in class org.antlr.tool.GrammarAST
 
getTokenDisplayName(int) - Method in class org.antlr.tool.Grammar
Given a token type, get a meaningful name for it such as the ID or string literal.
getTokenDisplayNames() - Method in class org.antlr.tool.Grammar
Get a list of all token IDs and literals that have an associated token type.
getTokenIDs() - Method in class org.antlr.tool.Grammar
Get the list of tokens that are IDs like BLOCK and LPAREN
getTokenLabel(String) - Method in class org.antlr.tool.Rule
 
getTokenListLabel(String) - Method in class org.antlr.tool.Rule
 
getTokenNameForTokensRuleAlt(int) - Method in class org.antlr.analysis.DecisionProbe
From an alt number associated with artificial Tokens rule, return the name of the token that is associated with that alt.
getTokenRefsInAlt(String, int) - Method in class org.antlr.tool.Rule
 
getTokenRefsInAlt(int) - Method in class org.antlr.tool.Rule
 
getTokenTextAndTypeAsTargetLabel(CodeGenerator, String, int) - Method in class org.antlr.codegen.ObjCTarget
Target must be able to override the labels used for token types.
getTokenType(String) - Method in class org.antlr.tool.Grammar
 
getTokenType(Label) - Static method in class org.antlr.tool.RandomPhrase
 
getTokenTypeAsTargetLabel(int) - Method in class org.antlr.codegen.CodeGenerator
Get a meaningful name for a token type useful during code generation.
getTokenTypeAsTargetLabel(CodeGenerator, int) - Method in class org.antlr.codegen.ObjCTarget
If we have a label, prefix it with the recognizer's name
getTokenTypeAsTargetLabel(CodeGenerator, int) - Method in class org.antlr.codegen.PythonTarget
Target must be able to override the labels used for token types
getTokenTypeAsTargetLabel(CodeGenerator, int) - Method in class org.antlr.codegen.RubyTarget
 
getTokenTypeAsTargetLabel(CodeGenerator, int) - Method in class org.antlr.codegen.Target
Target must be able to override the labels used for token types
getTokenTypes() - Method in class org.antlr.tool.Grammar
Return a set of all possible token or char types for this grammar
getTokenTypesWithoutID() - Method in class org.antlr.tool.Grammar
Return an ordered integer list of token types that have no corresponding token ID like INT or KEYWORD_BEGIN; for stuff like 'begin'.
getTool() - Method in class org.antlr.tool.Grammar
 
getTransition(int) - Method in class org.antlr.analysis.DFAState
 
getType() - Method in class org.antlr.tool.GrammarAST
 
getUnescapedStringFromGrammarStringLiteral(String) - Static method in class org.antlr.tool.Grammar
ANTLR does not convert escape sequences during the parse phase because it could not know how to print String/char literals back out when printing grammars etc...
getUnionOfPredicates(Map) - Static method in class org.antlr.analysis.NFAToDFAConverter
OR together all predicates from the alts.
getUniqueAlt() - Method in class org.antlr.analysis.DFAState
Return the uniquely mentioned alt from the NFA configurations; Ignore the resolved bit etc...
getUniquelyPredictedAlt() - Method in class org.antlr.analysis.DFAState
Walk each configuration and if they are all the same alt, return that alt else return NFA.INVALID_ALT_NUMBER.
getUniqueStates() - Method in class org.antlr.analysis.DFA
 
getUnreachableAlts() - Method in class org.antlr.analysis.DecisionProbe
Get a list of all unreachable alternatives for this decision.
getUnreachableAlts() - Method in class org.antlr.analysis.DFA
Return a list of Integer alt numbers for which no lookahead could be computed or for which no single DFA accept state predicts those alts.
getUserMaxLookahead() - Method in class org.antlr.analysis.DFA
The user may specify a max, acyclic lookahead for any decision.
getVocabFileName() - Method in class org.antlr.codegen.CodeGenerator
What is the name of the vocab file generated for this grammar? Returns null if no .tokens file should be generated.
getWatchNFAConversion() - Method in class org.antlr.tool.Grammar
 
global_k - Variable in class org.antlr.tool.Grammar
Is there a global fixed lookahead set for this grammar? If 0, nothing specified.
grammar - Variable in class org.antlr.analysis.DFAOptimizer
 
grammar - Variable in class org.antlr.analysis.NFA
This NFA represents which grammar?
grammar - Variable in class org.antlr.codegen.CodeGenerator
Which grammar are we generating code for? Each generator is attached to a specific grammar.
grammar - Variable in class org.antlr.tool.AttributeScope
 
grammar - Variable in class org.antlr.tool.BuildDependencyGenerator
 
grammar - Variable in class org.antlr.tool.DOTGenerator
 
grammar - Variable in class org.antlr.tool.FASerializer
 
Grammar - Class in org.antlr.tool
Represents a grammar in memory.
Grammar() - Constructor for class org.antlr.tool.Grammar
 
Grammar(String) - Constructor for class org.antlr.tool.Grammar
 
Grammar(String, String) - Constructor for class org.antlr.tool.Grammar
 
Grammar(Tool, String, Reader) - Constructor for class org.antlr.tool.Grammar
Create a grammar from a Reader.
grammar - Variable in class org.antlr.tool.GrammarReport
 
grammar - Variable in class org.antlr.tool.GrammarSanity
 
grammar - Variable in class org.antlr.tool.Interpreter
 
grammar - Variable in class org.antlr.tool.NameSpaceChecker
 
grammar - Variable in class org.antlr.tool.Rule
To which grammar does this belong?
Grammar.Decision - Class in org.antlr.tool
 
Grammar.Decision() - Constructor for class org.antlr.tool.Grammar.Decision
 
Grammar.LabelElementPair - Class in org.antlr.tool
 
Grammar.LabelElementPair(Token, GrammarAST) - Constructor for class org.antlr.tool.Grammar.LabelElementPair
 
GRAMMAR_FILE_EXTENSION - Static variable in class org.antlr.tool.Grammar
 
GRAMMAR_STATS_FILENAME - Static variable in class org.antlr.tool.GrammarReport
 
GrammarAnalysisAbortedMessage - Class in org.antlr.tool
Reports the condition that ANTLR's LL(*) analysis engine terminated early.
GrammarAnalysisAbortedMessage(DecisionProbe) - Constructor for class org.antlr.tool.GrammarAnalysisAbortedMessage
 
GrammarAST - Class in org.antlr.tool
Grammars are first converted to ASTs using this class and then are converted to NFAs via a tree walker.
GrammarAST() - Constructor for class org.antlr.tool.GrammarAST
 
GrammarAST(int, String) - Constructor for class org.antlr.tool.GrammarAST
 
GrammarDanglingStateMessage - Class in org.antlr.tool
Reports a potential parsing issue with a decision; the decision is nondeterministic in some way.
GrammarDanglingStateMessage(DecisionProbe, DFAState) - Constructor for class org.antlr.tool.GrammarDanglingStateMessage
 
grammarError(int, Grammar, Token, Object, Object) - Static method in class org.antlr.tool.ErrorManager
 
grammarError(int, Grammar, Token, Object) - Static method in class org.antlr.tool.ErrorManager
 
grammarError(int, Grammar, Token) - Static method in class org.antlr.tool.ErrorManager
 
grammarFileName - Variable in class org.antlr.tool.BuildDependencyGenerator
 
grammarFileNames - Variable in class org.antlr.Tool
 
GrammarInsufficientPredicatesMessage - Class in org.antlr.tool
 
GrammarInsufficientPredicatesMessage(DecisionProbe, List) - Constructor for class org.antlr.tool.GrammarInsufficientPredicatesMessage
 
GrammarNonDeterminismMessage - Class in org.antlr.tool
Reports a potential parsing issue with a decision; the decision is nondeterministic in some way.
GrammarNonDeterminismMessage(DecisionProbe, DFAState) - Constructor for class org.antlr.tool.GrammarNonDeterminismMessage
 
GrammarReport - Class in org.antlr.tool
 
GrammarReport(Grammar) - Constructor for class org.antlr.tool.GrammarReport
 
GrammarSanity - Class in org.antlr.tool
Factor out routines that check sanity of rules, alts, grammars, etc..
GrammarSanity(Grammar) - Constructor for class org.antlr.tool.GrammarSanity
 
GrammarSemanticsMessage - Class in org.antlr.tool
A problem with the symbols and/or meaning of a grammar such as rule redefinition.
GrammarSemanticsMessage(int, Grammar, Token) - Constructor for class org.antlr.tool.GrammarSemanticsMessage
 
GrammarSemanticsMessage(int, Grammar, Token, Object) - Constructor for class org.antlr.tool.GrammarSemanticsMessage
 
GrammarSemanticsMessage(int, Grammar, Token, Object, Object) - Constructor for class org.antlr.tool.GrammarSemanticsMessage
 
GrammarSyntaxMessage - Class in org.antlr.tool
A problem with the syntax of your antlr grammar such as "The '{' came as a complete surprise to me at this point in your program"
GrammarSyntaxMessage(int, Grammar, Token, RecognitionException) - Constructor for class org.antlr.tool.GrammarSyntaxMessage
 
GrammarSyntaxMessage(int, Grammar, Token, Object, RecognitionException) - Constructor for class org.antlr.tool.GrammarSyntaxMessage
 
grammarTree - Variable in class org.antlr.tool.Grammar
An AST that records entire input grammar with all rules.
grammarTreeToString(GrammarAST) - Method in class org.antlr.tool.Grammar
 
grammarTreeToString(GrammarAST, boolean) - Method in class org.antlr.tool.Grammar
 
grammarTypeToFileNameSuffix - Static variable in class org.antlr.tool.Grammar
 
grammarTypeToRulePropertiesScope - Static variable in class org.antlr.tool.RuleLabelScope
 
grammarTypeToString - Static variable in class org.antlr.tool.Grammar
 
GrammarUnreachableAltsMessage - Class in org.antlr.tool
Reports a potential parsing issue with a decision; the decision is nondeterministic in some way.
GrammarUnreachableAltsMessage(DecisionProbe, List) - Constructor for class org.antlr.tool.GrammarUnreachableAltsMessage
 
grammarWarning(int, Grammar, Token, Object, Object) - Static method in class org.antlr.tool.ErrorManager
 
grammarWarning(int, Grammar, Token, Object) - Static method in class org.antlr.tool.ErrorManager
 
grammarWarning(int, Grammar, Token) - Static method in class org.antlr.tool.ErrorManager
 
grow() - Method in class org.antlr.misc.IntArrayList
 
growToInclude(int) - Method in class org.antlr.misc.BitSet
Grows the set to a larger number of bits.

H

hasEOF - Variable in class org.antlr.analysis.LookaheadSet
 
hashCode() - Method in class org.antlr.analysis.DFAState
A decent hash for a DFA state is the sum of the NFA state/alt pairs.
hashCode() - Method in class org.antlr.analysis.Label
 
hashCode() - Method in class org.antlr.analysis.NFAConfiguration
 
hashCode() - Method in class org.antlr.analysis.NFAContext
 
hashCode() - Method in class org.antlr.analysis.SemanticContext.Predicate
 
hashCode() - Method in class org.antlr.analysis.Transition
 
hasRewrite(int) - Method in class org.antlr.tool.Rule
 
hasSameListStructure(AST) - Method in class org.antlr.tool.GrammarAST
 
hasSameTreeStructure(AST) - Method in class org.antlr.tool.GrammarAST
See if tree has exact token types and structure; no text
headerFileST - Variable in class org.antlr.codegen.CodeGenerator
 

I

ID - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
ID - Static variable in class org.antlr.tool.ActionAnalysisLexer
 
ID - Variable in class org.antlr.tool.GrammarAST
 
IGNORE_STRING_IN_GRAMMAR_FILE_NAME - Static variable in class org.antlr.tool.Grammar
 
importTokenVocabulary(Grammar) - Method in class org.antlr.tool.Grammar
Pull your token definitions from an existing grammar in memory.
importTokenVocabulary(String) - Method in class org.antlr.tool.Grammar
Load a vocab file .tokens and return max token type found.
importTokenVocabularyFromGrammar - Variable in class org.antlr.tool.Grammar
For interpreting and testing, you sometimes want to import token definitions from another grammar (instead of reading token defs from a file).
index - Variable in class org.antlr.tool.Rule
 
indexToDecision - Variable in class org.antlr.tool.Grammar
Each subrule/rule is a decision point and we must track them so we can go back later and build DFA predictors for them.
INDIRECT_TEMPLATE_INSTANCE - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
info(String) - Method in class org.antlr.test.ErrorQueue
 
info(String) - Method in interface org.antlr.tool.ANTLRErrorListener
 
info(String) - Static method in class org.antlr.tool.ErrorManager
 
initAltRelatedInfo() - Method in class org.antlr.analysis.DFA
 
initContextTrees(int) - Method in class org.antlr.analysis.NFAToDFAConverter
 
INITIAL_DECISION_LIST_SIZE - Static variable in class org.antlr.tool.Grammar
 
INITIAL_NUM_TRANSITIONS - Static variable in class org.antlr.analysis.DFAState
 
initialize(int, String) - Method in class org.antlr.tool.GrammarAST
 
initialize(AST) - Method in class org.antlr.tool.GrammarAST
 
initialize(Token) - Method in class org.antlr.tool.GrammarAST
 
initIdToMessageNameMapping() - Static method in class org.antlr.tool.ErrorManager
 
initTokenSymbolTables() - Method in class org.antlr.tool.Grammar
 
initValue - Variable in class org.antlr.tool.Attribute
The optional attribute intialization expression
inlineActions - Variable in class org.antlr.tool.Rule
Track all executable actions other than named actions like @init.
input - Variable in class org.antlr.tool.Interpreter
 
insufficientPredicates(DecisionProbe, List) - Static method in class org.antlr.tool.ErrorManager
 
INT - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
IntArrayList - Class in org.antlr.misc
An ArrayList based upon int members.
IntArrayList() - Constructor for class org.antlr.misc.IntArrayList
 
IntArrayList(int) - Constructor for class org.antlr.misc.IntArrayList
 
integer(int) - Static method in class org.antlr.misc.Utils
Integer objects are immutable so share all Integers with the same value up to some max size.
INTEGER_POOL_MAX_VALUE - Static variable in class org.antlr.misc.Utils
 
internalError(Object, Throwable) - Static method in class org.antlr.tool.ErrorManager
 
internalError(Object) - Static method in class org.antlr.tool.ErrorManager
 
internalOption_PrintDFA - Static variable in class org.antlr.Tool
 
internalOption_PrintGrammarTree - Static variable in class org.antlr.Tool
 
internalOption_ShowNFConfigsInDFA - Static variable in class org.antlr.Tool
 
internalOption_watchNFAConversion - Static variable in class org.antlr.Tool
 
Interp - Class in org.antlr.tool
Interpret any ANTLR grammar: java Interp file.g tokens-to-ignore start-rule input-file java Interp C.g 'WS COMMENT' program t.c where the WS and COMMENT are the names of tokens you want to have the parser ignore.
Interp() - Constructor for class org.antlr.tool.Interp
 
Interpreter - Class in org.antlr.tool
The recognition interpreter/engine for grammars.
Interpreter(Grammar, IntStream) - Constructor for class org.antlr.tool.Interpreter
 
intersection(Interval) - Method in class org.antlr.misc.Interval
Return the interval in common between this and o
intersection(AttributeScope) - Method in class org.antlr.tool.AttributeScope
Return the set of keys that collide from this and other.
Interval - Class in org.antlr.misc
An immutable inclusive interval a..b
Interval(int, int) - Constructor for class org.antlr.misc.Interval
 
INTERVAL_POOL_MAX_VALUE - Static variable in class org.antlr.misc.Interval
 
intervals - Variable in class org.antlr.misc.IntervalSet
The list of sorted, disjoint intervals.
IntervalSet - Class in org.antlr.misc
A set of integers that relies on ranges being common to do "run-length-encoded" like compression (if you view an IntSet like a BitSet with runs of 0s and 1s).
IntervalSet() - Constructor for class org.antlr.misc.IntervalSet
Create a set with no elements
IntSet - Interface in org.antlr.misc
A generic set of ints that has an efficient implementation, BitSet, which is a compressed bitset and is useful for ints that are small, for example less than 500 or so, and w/o many ranges.
INVALID - Static variable in class org.antlr.analysis.Label
 
INVALID_ALT_NUMBER - Static variable in class org.antlr.analysis.NFA
 
INVALID_PRED_VALUE - Static variable in class org.antlr.analysis.SemanticContext.Predicate
 
INVALID_RULE_INDEX - Static variable in class org.antlr.tool.Grammar
 
INVALID_STATE_NUMBER - Static variable in class org.antlr.analysis.State
 
invokingState - Variable in class org.antlr.analysis.NFAContext
The NFA state that invoked another rule's start state is recorded on the rule invocation context stack.
isAcceptState() - Method in class org.antlr.analysis.State
 
isAtom() - Method in class org.antlr.analysis.Label
 
isBuiltFromString() - Method in class org.antlr.tool.Grammar
 
isCyclic() - Method in class org.antlr.analysis.DecisionProbe
 
isCyclic() - Method in class org.antlr.analysis.DFA
Is this DFA cyclic? That is, are there any loops? If not, then the DFA is essentially an LL(k) predictor for some fixed, max k value.
isDecisionState() - Method in class org.antlr.analysis.NFAState
 
isDeterministic() - Method in class org.antlr.analysis.DecisionProbe
If no states are dead-ends, no alts are unreachable, there are no nondeterminisms unresolved by syn preds, all is ok with decision.
isDynamicGlobalScope - Variable in class org.antlr.tool.AttributeScope
Not a rule scope, but visible to all rules "scope symbols { ...}"
isDynamicRuleScope - Variable in class org.antlr.tool.AttributeScope
Visible to all rules, but defined in rule "scope { int i; }"
isEmpty() - Method in class org.antlr.analysis.NFAContext
A context is empty if there is no parent; meaning nobody pushed anything on the call stack.
isEmptyRule(GrammarAST) - Method in class org.antlr.tool.Grammar
Rules like "a : ;" and "a : {...} ;" should not generate try/catch blocks for RecognitionException.
isEOTTargetState() - Method in class org.antlr.analysis.NFAState
 
isEpsilon() - Method in class org.antlr.analysis.Label
 
isEpsilon() - Method in class org.antlr.analysis.Transition
 
isGreedy() - Method in class org.antlr.analysis.DFA
 
isNextNonActionElementEOA(GrammarAST) - Method in class org.antlr.tool.GrammarSanity
 
isNil() - Method in class org.antlr.misc.BitSet
 
isNil() - Method in class org.antlr.misc.IntervalSet
return true if this set has no members
isNil() - Method in interface org.antlr.misc.IntSet
 
isNonLLStarDecision() - Method in class org.antlr.analysis.DecisionProbe
 
ISOLATED_DYNAMIC_SCOPE - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
ISOLATED_LEXER_RULE_REF - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
ISOLATED_TOKEN_REF - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
isParameterScope - Variable in class org.antlr.tool.AttributeScope
 
isPredefinedLexerRuleScope - Variable in class org.antlr.tool.AttributeScope
 
isPredefinedRuleScope - Variable in class org.antlr.tool.AttributeScope
 
isReduced() - Method in class org.antlr.analysis.DecisionProbe
 
isReduced() - Method in class org.antlr.analysis.DFA
Is the DFA reduced? I.e., does every state have a path to an accept state? If not, don't delete as we need to generate an error indicating which paths are "dead ends".
isResolvedWithPredicates() - Method in class org.antlr.analysis.DFAState
 
isReturnScope - Variable in class org.antlr.tool.AttributeScope
 
isRuleRefInAlt(String) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
isSemanticPredicate() - Method in class org.antlr.analysis.Label
 
isSemanticPredicate() - Method in class org.antlr.analysis.Transition
 
isSet() - Method in class org.antlr.analysis.Label
 
issueInvalidAttributeError(String, String, Rule, Token, int) - Method in class org.antlr.codegen.CodeGenerator
 
issueInvalidAttributeError(String, Rule, Token, int) - Method in class org.antlr.codegen.CodeGenerator
 
issueInvalidScopeError(String, String, Rule, Token, int) - Method in class org.antlr.codegen.CodeGenerator
 
issueRecursionWarnings() - Method in class org.antlr.analysis.DecisionProbe
 
issueWarnings() - Method in class org.antlr.analysis.DecisionProbe
 
isSynPred - Variable in class org.antlr.tool.Rule
 
isSyntacticPredicate() - Method in class org.antlr.analysis.SemanticContext.AND
 
isSyntacticPredicate() - Method in class org.antlr.analysis.SemanticContext
 
isSyntacticPredicate() - Method in class org.antlr.analysis.SemanticContext.NOT
 
isSyntacticPredicate() - Method in class org.antlr.analysis.SemanticContext.OR
 
isSyntacticPredicate() - Method in class org.antlr.analysis.SemanticContext.Predicate
 
isTokenRefInAlt(String) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
isTokensRuleDecision() - Method in class org.antlr.analysis.DFA
Is this DFA derived from the NFA for the Tokens rule?
isValidActionScope(int, String) - Method in class org.antlr.codegen.CTarget
Is scope in @scope::name {action} valid for this kind of grammar? Targets like C++ may want to allow new scopes like headerfile or some such.
isValidActionScope(int, String) - Method in class org.antlr.codegen.Target
Is scope in @scope::name {action} valid for this kind of grammar? Targets like C++ may want to allow new scopes like headerfile or some such.
isValidSet(TreeToNFAConverter, GrammarAST) - Method in class org.antlr.tool.Grammar
Given set tree like ( SET A B ) in lexer, check that A and B are both valid sets themselves, else we must tree like a BLOCK
isValidSimpleElementNode(GrammarAST) - Method in class org.antlr.tool.GrammarSanity
 

J

JavaTarget - Class in org.antlr.codegen
 
JavaTarget() - Constructor for class org.antlr.codegen.JavaTarget
 
jikes - Static variable in class org.antlr.test.BaseTest
 
join() - Method in class org.antlr.test.BaseTest.StreamVacuum
wait for the thread to finish

K

k - Variable in class org.antlr.analysis.DFAState
When doing an acyclic DFA, this is the number of lookahead symbols consumed to reach this state.

L

Label - Class in org.antlr.analysis
A state machine transition label.
Label(int) - Constructor for class org.antlr.analysis.Label
 
Label(GrammarAST) - Constructor for class org.antlr.analysis.Label
Make a semantic predicate label
Label(SemanticContext) - Constructor for class org.antlr.analysis.Label
Make a semantic predicates label
Label(IntSet) - Constructor for class org.antlr.analysis.Label
Make a set label
label - Variable in class org.antlr.analysis.Label
The token type or character value; or, signifies special label.
label - Variable in class org.antlr.analysis.Transition
What label must be consumed to transition to target
label - Variable in class org.antlr.tool.Grammar.LabelElementPair
 
LABEL_REF - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
labelNameSpace - Variable in class org.antlr.tool.Rule
All labels go in here (plus being split per the above lists) to catch dup label and label type mismatches.
labelSet - Variable in class org.antlr.analysis.Label
A set of token types or character codes if label==SET
LabelTypeToString - Static variable in class org.antlr.tool.Grammar
 
language - Variable in class org.antlr.codegen.CodeGenerator
What language are we generating?
left - Variable in class org.antlr.analysis.SemanticContext.AND
 
left - Variable in class org.antlr.analysis.StateCluster
 
leftRecursionCycles(Collection) - Static method in class org.antlr.tool.ErrorManager
 
LeftRecursionCyclesMessage - Class in org.antlr.tool
Similar to LeftRecursionMessage except this is used for announcing cycles found by walking rules without decisions; the other msg is invoked when a decision DFA construction finds a problem in closure.
LeftRecursionCyclesMessage(Collection) - Constructor for class org.antlr.tool.LeftRecursionCyclesMessage
 
leftRecursiveRules - Variable in class org.antlr.tool.Grammar
A list of all rules that are in any left-recursive cycle.
legalBlockOptions - Static variable in class org.antlr.tool.GrammarAST
 
legalOptions - Static variable in class org.antlr.tool.Grammar
 
legalOptions - Static variable in class org.antlr.tool.Rule
 
lengthInLongWords() - Method in class org.antlr.misc.BitSet
return how much space is being used by the bits array not how many actually have member bits on.
LEXER - Static variable in class org.antlr.tool.Grammar
 
LEXER_GRAMMAR_FILE_EXTENSION - Static variable in class org.antlr.tool.Grammar
used for generating lexer temp files
lexerGrammarST - Variable in class org.antlr.tool.Grammar
For merged lexer/parsers, we must construct a separate lexer spec.
lexerRules - Variable in class org.antlr.tool.Grammar
If combined or lexer grammar, track the rules; Set.
libDirectory - Variable in class org.antlr.Tool
 
line - Variable in class org.antlr.tool.Message
 
lineWidth - Variable in class org.antlr.codegen.CodeGenerator
 
loadDependencyTemplates() - Method in class org.antlr.tool.BuildDependencyGenerator
 
loadLanguageTarget(String) - Method in class org.antlr.codegen.CodeGenerator
 
loadTemplates(String) - Method in class org.antlr.codegen.CodeGenerator
load the main language.stg template group file
LOCAL_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
locationST - Variable in class org.antlr.tool.Message
 
LOG_BITS - Static variable in class org.antlr.misc.BitSet
 
LOOK(NFAState) - Method in class org.antlr.tool.Grammar
From an NFA state, s, find the set of all labels reachable from s.
lookaheadDFA - Variable in class org.antlr.tool.GrammarAST
If this is a decision node, what is the lookahead DFA?
LookaheadSet - Class in org.antlr.analysis
An LL(1) lookahead set; contains a set of token types and a "hasEOF" condition when the set contains EOF.
LookaheadSet() - Constructor for class org.antlr.analysis.LookaheadSet
 
LookaheadSet(IntSet) - Constructor for class org.antlr.analysis.LookaheadSet
 
LookaheadSet(int) - Constructor for class org.antlr.analysis.LookaheadSet
 
lookBusy - Variable in class org.antlr.tool.Grammar
Used during LOOK to detect computation cycles
lookForReferencesToUndefinedSymbols() - Method in class org.antlr.tool.NameSpaceChecker
If ref to undefined rule, give error at first occurrence.
LOOPBACK - Static variable in class org.antlr.analysis.NFAState
 

M

mACTION() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
main(String[]) - Static method in class org.antlr.tool.GrammarAST
 
main(String[]) - Static method in class org.antlr.tool.Interp
 
main(String[]) - Static method in class org.antlr.Tool
 
main(String[]) - Static method in class org.antlr.tool.RandomPhrase
Used to generate random strings
mARG() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
markedStates - Variable in class org.antlr.tool.DOTGenerator
To prevent infinite recursion when walking state machines, record which states we've visited.
markedStates - Variable in class org.antlr.tool.FASerializer
To prevent infinite recursion when walking state machines, record which states we've visited.
matches(int) - Method in class org.antlr.analysis.Label
 
matches(IntSet) - Method in class org.antlr.analysis.Label
 
matches(Label) - Method in class org.antlr.analysis.Label
 
mATTR_VALUE_EXPR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
max - Variable in class org.antlr.analysis.DFA
 
max(Set) - Static method in class org.antlr.analysis.NFAToDFAConverter
 
MAX_CHAR_VALUE - Static variable in class org.antlr.analysis.Label
 
max_k - Variable in class org.antlr.analysis.DFA
While building the DFA, track max lookahead depth if not cyclic
MAX_MESSAGE_NUMBER - Static variable in class org.antlr.tool.ErrorManager
 
MAX_SAME_RULE_INVOCATIONS_PER_NFA_CONFIG_STACK - Static variable in class org.antlr.analysis.NFAContext
This is similar to Bermudez's m constant in his LAR(m) where you bound the stack so your states don't explode.
MAX_STATE_TRANSITIONS_FOR_TABLE - Static variable in class org.antlr.analysis.DFA
How many edges can each DFA state have before a "special" state is created that uses IF expressions instead of a table?
MAX_STATES_PER_ALT_IN_DFA - Static variable in class org.antlr.analysis.DFA
Prevent explosion of DFA states during conversion.
MAX_SWITCH_CASE_LABELS - Variable in class org.antlr.codegen.CodeGenerator
When generating SWITCH statements, some targets might need to limit the size (based upon the number of case labels).
MAX_TIME_PER_DFA_CREATION - Static variable in class org.antlr.analysis.DFA
Set to 0 to not terminate early
MAX_TRANSITIONS - Static variable in class org.antlr.analysis.NFAState
 
maxTokenType - Variable in class org.antlr.tool.Grammar
Token names and literal tokens like "void" are uniquely indexed.
mDYNAMIC_ABSOLUTE_INDEXED_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mDYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mDYNAMIC_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
member(int) - Method in class org.antlr.analysis.LookaheadSet
 
member(int) - Method in class org.antlr.misc.BitSet
 
member(int) - Method in class org.antlr.misc.IntervalSet
Is el in any range of this set?
member(int) - Method in interface org.antlr.misc.IntSet
 
memoize(IntStream, int, int) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
memoize(IntStream, int, int) - Method in class org.antlr.tool.ActionAnalysisLexer
 
mENCLOSING_RULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
MERGE_STOP_STATES - Static variable in class org.antlr.analysis.DFAOptimizer
 
mERROR_SCOPED_XY() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mERROR_X() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mERROR_XY() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mESC() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
Message - Class in org.antlr.tool
The ANTLR code calls methods on ErrorManager to report errors etc...
Message() - Constructor for class org.antlr.tool.Message
 
Message(int) - Constructor for class org.antlr.tool.Message
 
Message(int, Object, Object) - Constructor for class org.antlr.tool.Message
 
messageFormatST - Variable in class org.antlr.tool.Message
 
mID() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mID() - Method in class org.antlr.tool.ActionAnalysisLexer
 
min - Variable in class org.antlr.analysis.DFA
 
MIN_ATOM_VALUE - Static variable in class org.antlr.analysis.Label
Anything at this value or larger can be considered a simple atom int for easy comparison during analysis only; faux labels are not used during parse time for real token types or char values.
MIN_CHAR_VALUE - Static variable in class org.antlr.analysis.Label
 
MIN_SWITCH_ALTS - Variable in class org.antlr.codegen.CodeGenerator
 
MIN_TOKEN_TYPE - Static variable in class org.antlr.analysis.Label
tokens and char range overlap; tokens are MIN_TOKEN_TYPE..n
mINDIRECT_TEMPLATE_INSTANCE() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mINT() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mISOLATED_DYNAMIC_SCOPE() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mISOLATED_LEXER_RULE_REF() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mISOLATED_TOKEN_REF() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mkdir(String) - Method in class org.antlr.test.BaseTest
 
mLABEL_REF() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mLOCAL_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
MOD_MASK - Static variable in class org.antlr.misc.BitSet
 
modifier - Variable in class org.antlr.tool.Rule
 
mRULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSCOPE_INDEX_EXPR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSET_ATTRIBUTE() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSET_DYNAMIC_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSET_ENCLOSING_RULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSET_EXPR_ATTRIBUTE() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSET_LOCAL_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSET_RULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mSET_TOKEN_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
MSG_ACTION_REDEFINITION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_AMBIGUOUS_RULE_SCOPE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ANALYSIS_ABORTED - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ARG_INIT_VALUES_ILLEGAL - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ARG_RETVAL_CONFLICT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ARGS_ON_TOKEN_REF - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ATTRIBUTE_CONFLICTS_WITH_RULE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ATTRIBUTE_CONFLICTS_WITH_RULE_ARG_RETVAL - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ATTRIBUTE_REF_NOT_IN_RULE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_BAD_ACTION_AST_STRUCTURE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_BAD_AST_STRUCTURE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_ALIAS_TOKENS_IN_LEXER - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_CLOSE_FILE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_CREATE_TARGET_GENERATOR - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_FIND_ATTRIBUTE_NAME_IN_DECL - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_FIND_TOKENS_FILE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_GEN_DOT_FILE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_OPEN_FILE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CANNOT_WRITE_FILE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_CODE_GEN_TEMPLATES_INCOMPLETE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_DANGLING_STATE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_DIR_NOT_FOUND - Static variable in class org.antlr.tool.ErrorManager
 
MSG_DOUBLE_QUOTES_ILLEGAL - Static variable in class org.antlr.tool.ErrorManager
 
MSG_DUPLICATE_SET_ENTRY - Static variable in class org.antlr.tool.ErrorManager
 
MSG_EMPTY_COMPLEMENT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ERROR_CREATING_ARTIFICIAL_RULE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ERROR_READING_TOKENS_FILE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_FILE_AND_GRAMMAR_NAME_DIFFER - Static variable in class org.antlr.tool.ErrorManager
 
MSG_FILENAME_EXTENSION_ERROR - Static variable in class org.antlr.tool.ErrorManager
 
MSG_FORWARD_ELEMENT_REF - Static variable in class org.antlr.tool.ErrorManager
 
MSG_GRAMMAR_NONDETERMINISM - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ILLEGAL_OPTION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_INSUFFICIENT_PREDICATES - Static variable in class org.antlr.tool.ErrorManager
 
MSG_INTERNAL_ERROR - Static variable in class org.antlr.tool.ErrorManager
 
MSG_INTERNAL_WARNING - Static variable in class org.antlr.tool.ErrorManager
 
MSG_INVALID_ACTION_SCOPE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_INVALID_RULE_PARAMETER_REF - Static variable in class org.antlr.tool.ErrorManager
 
MSG_INVALID_RULE_SCOPE_ATTRIBUTE_REF - Static variable in class org.antlr.tool.ErrorManager
 
MSG_INVALID_TEMPLATE_ACTION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ISOLATED_RULE_ATTRIBUTE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ISOLATED_RULE_SCOPE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LABEL_CONFLICTS_WITH_RULE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LABEL_CONFLICTS_WITH_RULE_ARG_RETVAL - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LABEL_CONFLICTS_WITH_RULE_SCOPE_ATTRIBUTE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LABEL_CONFLICTS_WITH_TOKEN - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LABEL_TYPE_CONFLICT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LEFT_RECURSION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LEFT_RECURSION_CYCLES - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LEXER_RULES_NOT_ALLOWED - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LIST_LABEL_INVALID_UNLESS_RETVAL_STRUCT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_LITERAL_NOT_ASSOCIATED_WITH_LEXER_RULE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_MISSING_AST_TYPE_IN_TREE_GRAMMAR - Static variable in class org.antlr.tool.ErrorManager
 
MSG_MISSING_ATTRIBUTE_NAME - Static variable in class org.antlr.tool.ErrorManager
 
MSG_MISSING_CODE_GEN_TEMPLATES - Static variable in class org.antlr.tool.ErrorManager
 
MSG_MISSING_CYCLIC_DFA_CODE_GEN_TEMPLATES - Static variable in class org.antlr.tool.ErrorManager
 
MSG_MISSING_RULE_ARGS - Static variable in class org.antlr.tool.ErrorManager
 
MSG_NO_GRAMMAR_START_RULE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_NO_RULES - Static variable in class org.antlr.tool.ErrorManager
 
MSG_NO_TOKEN_DEFINITION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_NONREGULAR_DECISION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_NONUNIQUE_REF - Static variable in class org.antlr.tool.ErrorManager
 
MSG_OUTPUT_DIR_IS_FILE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_PARSER_RULES_NOT_ALLOWED - Static variable in class org.antlr.tool.ErrorManager
 
MSG_RECURSION_OVERLOW - Static variable in class org.antlr.tool.ErrorManager
 
MSG_REWRITE_ELEMENT_NOT_PRESENT_ON_LHS - Static variable in class org.antlr.tool.ErrorManager
 
MSG_REWRITE_FOR_MULTI_ELEMENT_ALT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_REWRITE_OR_OP_WITH_NO_OUTPUT_OPTION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_RULE_HAS_NO_ARGS - Static variable in class org.antlr.tool.ErrorManager
 
MSG_RULE_INVALID_SET - Static variable in class org.antlr.tool.ErrorManager
 
MSG_RULE_REDEFINITION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_SYMBOL_CONFLICTS_WITH_GLOBAL_SCOPE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_SYNTAX_ERROR - Static variable in class org.antlr.tool.ErrorManager
 
MSG_TOKEN_NONDETERMINISM - Static variable in class org.antlr.tool.ErrorManager
 
MSG_TOKENS_FILE_SYNTAX_ERROR - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNDEFINED_LABEL_REF_IN_REWRITE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNDEFINED_RULE_REF - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNDEFINED_TOKEN_REF_IN_REWRITE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNKNOWN_ATTRIBUTE_IN_SCOPE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNKNOWN_DYNAMIC_SCOPE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNKNOWN_DYNAMIC_SCOPE_ATTRIBUTE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNKNOWN_RULE_ATTRIBUTE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNKNOWN_SIMPLE_ATTRIBUTE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNREACHABLE_ALTS - Static variable in class org.antlr.tool.ErrorManager
 
MSG_UNREACHABLE_TOKENS - Static variable in class org.antlr.tool.ErrorManager
 
MSG_WRITE_TO_READONLY_ATTR - Static variable in class org.antlr.tool.ErrorManager
 
msgID - Variable in class org.antlr.tool.Message
 
msgST - Variable in class org.antlr.tool.Message
 
mTEMPLATE_EXPR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mTEMPLATE_INSTANCE() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mTEXT() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mTOKEN_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mTokens() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mTokens() - Method in class org.antlr.tool.ActionAnalysisLexer
 
mUNKNOWN_SYNTAX() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
MutableInteger - Class in org.antlr.misc
Java won't let you modify an Integer; not sure how that's more efficient, but...here's one that let's you modify it.
MutableInteger() - Constructor for class org.antlr.misc.MutableInteger
 
MutableInteger(int) - Constructor for class org.antlr.misc.MutableInteger
 
mWS() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
mX() - Method in class org.antlr.tool.ActionAnalysisLexer
 
mX_Y() - Method in class org.antlr.tool.ActionAnalysisLexer
 
mY() - Method in class org.antlr.tool.ActionAnalysisLexer
 

N

n - Variable in class org.antlr.misc.IntArrayList
 
nAlts - Variable in class org.antlr.analysis.DFA
 
name - Variable in class org.antlr.tool.Attribute
The name of the attribute "foo"
name - Variable in class org.antlr.tool.Grammar
What name did the user provide for this grammar?
name - Variable in class org.antlr.tool.Rule
 
NameSpaceChecker - Class in org.antlr.tool
 
NameSpaceChecker(Grammar) - Constructor for class org.antlr.tool.NameSpaceChecker
 
nameToRuleMap - Variable in class org.antlr.tool.Grammar
Map a rule to it's Rule object
nameToSynpredASTMap - Variable in class org.antlr.tool.Grammar
When we read in a grammar, we track the list of syntactic predicates and build faux rules for them later.
newline - Static variable in class org.antlr.tool.GrammarReport
 
newState() - Method in class org.antlr.analysis.DFA
 
newState() - Method in class org.antlr.tool.NFAFactory
 
newStream(Object) - Method in class org.antlr.test.TestTreeNodeStream
Build new stream; let's us override to test other streams.
newStream(Object) - Method in class org.antlr.test.TestUnBufferedTreeNodeStream
 
newTool() - Method in class org.antlr.test.BaseTest
 
nextToken() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
nextToken() - Method in class org.antlr.tool.ActionAnalysisLexer
 
nextToken() - Method in class org.antlr.tool.Interpreter
 
nfa - Variable in class org.antlr.analysis.DFA
Which NFA are we converting (well, which piece of the NFA)?
NFA - Class in org.antlr.analysis
An NFA (collection of NFAStates) constructed from a grammar.
NFA(Grammar) - Constructor for class org.antlr.analysis.NFA
 
nfa - Variable in class org.antlr.analysis.NFAState
Which NFA are we in?
nfa - Variable in class org.antlr.tool.Grammar
The NFA that represents the grammar with edges labelled with tokens or epsilon.
NFAConfiguration - Class in org.antlr.analysis
An NFA state, predicted alt, and syntactic/semantic context.
NFAConfiguration(int, int, NFAContext, SemanticContext) - Constructor for class org.antlr.analysis.NFAConfiguration
 
nfaConfigurations - Variable in class org.antlr.analysis.DFAState
The set of NFA configurations (state,alt,context) for this DFA state
NFAContext - Class in org.antlr.analysis
A tree node for tracking the call chains for NFAs that invoke other NFAs.
NFAContext(NFAContext, NFAState) - Constructor for class org.antlr.analysis.NFAContext
 
NFAConversionThread - Class in org.antlr.analysis
Convert all decisions i..j inclusive in a thread
NFAConversionThread(Grammar, Barrier, int, int) - Constructor for class org.antlr.analysis.NFAConversionThread
 
nfaConverter - Variable in class org.antlr.analysis.DFA
 
NFAFactory - Class in org.antlr.tool
Routines to construct StateClusters from EBNF grammar constructs.
NFAFactory(NFA) - Constructor for class org.antlr.tool.NFAFactory
 
NFAStartState - Variable in class org.antlr.tool.GrammarAST
What NFA start state was built from this node?
NFAState - Class in org.antlr.analysis
A state within an NFA.
NFAState(NFA) - Constructor for class org.antlr.analysis.NFAState
 
NFAToDFAConversionExternallyAborted() - Method in class org.antlr.tool.Grammar
 
NFAToDFAConverter - Class in org.antlr.analysis
Code that embodies the NFA conversion to DFA.
NFAToDFAConverter(DFA) - Constructor for class org.antlr.analysis.NFAToDFAConverter
 
NFATreeDownState - Variable in class org.antlr.tool.GrammarAST
This is used for TREE_BEGIN nodes to point into the NFA.
nondeterminism(DecisionProbe, DFAState) - Static method in class org.antlr.tool.ErrorManager
 
nonLLStarDecision - Variable in class org.antlr.analysis.DecisionProbe
If decision with > 1 alt has recursion in > 1 alt, it's nonregular lookahead.
nonLLStarDecision(DecisionProbe) - Static method in class org.antlr.tool.ErrorManager
 
NonRegularDecisionMessage - Class in org.antlr.tool
More a single alternative recurses so this decision is not regular.
NonRegularDecisionMessage(DecisionProbe, Set) - Constructor for class org.antlr.tool.NonRegularDecisionMessage
 
not(SemanticContext) - Static method in class org.antlr.analysis.SemanticContext
 
notInPlace() - Method in class org.antlr.misc.BitSet
 
notInPlace(int) - Method in class org.antlr.misc.BitSet
complement bits in the range 0..maxBit.
notInPlace(int, int) - Method in class org.antlr.misc.BitSet
complement bits in the range minBit..maxBit.
NUM_FAUX_LABELS - Static variable in class org.antlr.analysis.Label
We have labels like EPSILON that are below 0; it's hard to store them in an array with negative index so use this constant as an index shift when accessing arrays based upon token type.
NUM_GRAMMAR_STATS - Static variable in class org.antlr.tool.GrammarReport
 
numberEpsilonTransitionsEmanatingFromState - Variable in class org.antlr.analysis.NFAConfiguration
Lots of NFA states have only epsilon edges (1 or 2).
numberOfAlts - Variable in class org.antlr.tool.Rule
 
numberOfManualLookaheadOptions - Variable in class org.antlr.tool.Grammar
 
numberOfSemanticPredicates - Variable in class org.antlr.tool.Grammar
 
numberOfStates - Variable in class org.antlr.analysis.DFA
count only new states not states that were rejected as already present
numberToStateList - Variable in class org.antlr.analysis.NFA
The NFA states in this NFA.
numBits() - Method in class org.antlr.misc.BitSet
 

O

ObjCTarget - Class in org.antlr.codegen
 
ObjCTarget() - Constructor for class org.antlr.codegen.ObjCTarget
 
of(int) - Static method in class org.antlr.misc.BitSet
 
of(Collection) - Static method in class org.antlr.misc.BitSet
 
of(IntSet) - Static method in class org.antlr.misc.BitSet
 
of(Map) - Static method in class org.antlr.misc.BitSet
 
of(int) - Static method in class org.antlr.misc.IntervalSet
Create a set with a single element, el.
of(int, int) - Static method in class org.antlr.misc.IntervalSet
Create a set with all ints within range [a..b] (inclusive)
offendingToken - Variable in class org.antlr.tool.GrammarSemanticsMessage
Most of the time, we'll have a token such as an undefined rule ref and so this will be set.
offendingToken - Variable in class org.antlr.tool.GrammarSyntaxMessage
Most of the time, we'll have a token and so this will be set.
operands - Variable in class org.antlr.analysis.SemanticContext.OR
 
optimize() - Method in class org.antlr.analysis.DFAOptimizer
 
optimize(DFA) - Method in class org.antlr.analysis.DFAOptimizer
 
optimizeAlternative(StateCluster) - Method in class org.antlr.tool.NFAFactory
Optimize an alternative (list of grammar elements).
optimizeEOTBranches(DFAState) - Method in class org.antlr.analysis.DFAOptimizer
 
optimizeExitBranches(DFAState) - Method in class org.antlr.analysis.DFAOptimizer
 
OPTIONAL_BLOCK_START - Static variable in class org.antlr.analysis.NFAState
 
optionIsValid(String, Object) - Method in class org.antlr.tool.Grammar
 
options - Variable in class org.antlr.tool.Grammar
A list of options specified at the grammar level such as language=Java.
options - Variable in class org.antlr.tool.GrammarAST
If this is a BLOCK node, track options here
options - Variable in class org.antlr.tool.Rule
This rule's options
or(SemanticContext, SemanticContext) - Static method in class org.antlr.analysis.SemanticContext
 
or(IntSet) - Method in class org.antlr.misc.BitSet
return this | a in a new set
or(IntSet) - Method in class org.antlr.misc.IntervalSet
TODO: implement this!
or(IntSet) - Method in interface org.antlr.misc.IntSet
 
OrderedHashSet - Class in org.antlr.misc
A HashMap that remembers the order that the elements were added.
OrderedHashSet() - Constructor for class org.antlr.misc.OrderedHashSet
 
org.antlr - package org.antlr
 
org.antlr.analysis - package org.antlr.analysis
 
org.antlr.codegen - package org.antlr.codegen
 
org.antlr.misc - package org.antlr.misc
 
org.antlr.test - package org.antlr.test
 
org.antlr.tool - package org.antlr.tool
 
orInPlace(LookaheadSet) - Method in class org.antlr.analysis.LookaheadSet
 
orInPlace(BitSet) - Method in class org.antlr.misc.BitSet
 
outerAltNum - Variable in class org.antlr.tool.GrammarAST
if this is an ACTION node, this is the outermost enclosing alt num in rule.
outputDirectory - Variable in class org.antlr.Tool
 
outputFileST - Variable in class org.antlr.codegen.CodeGenerator
 

P

panic() - Static method in class org.antlr.tool.ErrorManager
I *think* this will allow Tool subclasses to exit gracefully for GUIs etc...
panic() - Method in class org.antlr.Tool
If the tool needs to panic/exit, how do we do that?
parameterScope - Variable in class org.antlr.tool.Rule
 
parent - Variable in class org.antlr.analysis.NFAContext
 
parentGenerator - Variable in class org.antlr.codegen.ACyclicDFACodeGenerator
 
parse(String, DebugEventListener, List) - Method in class org.antlr.tool.Interpreter
 
parse(String) - Method in class org.antlr.tool.Interpreter
 
parse(String, List) - Method in class org.antlr.tool.Interpreter
 
parseEngine(String, NFAState, NFAState, IntStream, Stack, DebugEventListener, List) - Method in class org.antlr.tool.Interpreter
Fill a list of all NFA states visited during the parse
PARSER - Static variable in class org.antlr.tool.Grammar
 
pathSep - Static variable in class org.antlr.test.BaseTest
 
performGrammarAnalysis(CodeGenerator, Grammar) - Method in class org.antlr.codegen.Target
 
postProcessAction(List, Token) - Method in class org.antlr.codegen.PythonTarget
 
postProcessAction(List, Token) - Method in class org.antlr.codegen.Target
Give target a chance to do some postprocessing on actions.
predefinedLexerRulePropertiesScope - Static variable in class org.antlr.tool.RuleLabelScope
 
predefinedRulePropertiesScope - Static variable in class org.antlr.tool.RuleLabelScope
Rules have a predefined set of attributes as well as the return values.
predefinedTreeRulePropertiesScope - Static variable in class org.antlr.tool.RuleLabelScope
 
predicate - Variable in class org.antlr.analysis.SemanticContext.Predicate
The AST node in tree created from the grammar holding the predicate
predict(IntStream) - Method in class org.antlr.analysis.DFA
 
predict(DFA) - Method in class org.antlr.tool.Interpreter
Given an input stream, return the unique alternative predicted by matching the input.
PREDICTED_ALT_UNSET - Static variable in class org.antlr.analysis.DFAState
 
printGrammar(PrintStream) - Method in class org.antlr.tool.Grammar
 
printGrammar - Variable in class org.antlr.Tool
 
probe - Variable in class org.antlr.analysis.DFA
This probe tells you a lot about a decision and is useful even when there is no error such as when a syntactic nondeterminism is solved via semantic predicates.
probe - Variable in class org.antlr.tool.GrammarAnalysisAbortedMessage
 
probe - Variable in class org.antlr.tool.GrammarDanglingStateMessage
 
probe - Variable in class org.antlr.tool.GrammarInsufficientPredicatesMessage
 
probe - Variable in class org.antlr.tool.GrammarNonDeterminismMessage
 
probe - Variable in class org.antlr.tool.GrammarUnreachableAltsMessage
 
probe - Variable in class org.antlr.tool.NonRegularDecisionMessage
 
probe - Variable in class org.antlr.tool.RecursionOverflowMessage
 
problemState - Variable in class org.antlr.tool.GrammarDanglingStateMessage
 
problemState - Variable in class org.antlr.tool.GrammarNonDeterminismMessage
 
process() - Method in class org.antlr.Tool
 
processArgs(String[]) - Method in class org.antlr.Tool
 
processGrammar(Grammar) - Method in class org.antlr.Tool
 
profile - Variable in class org.antlr.codegen.CodeGenerator
Track runtime parsing information about decisions etc...
profile - Variable in class org.antlr.Tool
 
properlyContains(Interval) - Method in class org.antlr.misc.Interval
 
PRUNE_EBNF_EXIT_BRANCHES - Static variable in class org.antlr.analysis.DFAOptimizer
 
PRUNE_TOKENS_RULE_SUPERFLUOUS_EOT_EDGES - Static variable in class org.antlr.analysis.DFAOptimizer
 
PythonTarget - Class in org.antlr.codegen
 
PythonTarget() - Constructor for class org.antlr.codegen.PythonTarget
 

R

random - Static variable in class org.antlr.tool.RandomPhrase
 
RandomPhrase - Class in org.antlr.tool
Generate a random phrase given a grammar.
RandomPhrase() - Constructor for class org.antlr.tool.RandomPhrase
 
randomPhrase(Grammar, List, String) - Static method in class org.antlr.tool.RandomPhrase
an experimental method to generate random phrases for a given grammar given a start rule.
range(int, int) - Static method in class org.antlr.misc.BitSet
 
rankdir - Variable in class org.antlr.tool.DOTGenerator
 
rawExecRecognizer(String, String, String, String, String, boolean, boolean, boolean) - Method in class org.antlr.test.BaseTest
 
rawGenerateAndBuildRecognizer(String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
Return true if all is well
reach(DFAState, Label) - Method in class org.antlr.analysis.NFAToDFAConverter
Given the set of NFA states in DFA state d, find all NFA states reachable traversing label arcs.
REACHABLE_BUSY - Static variable in class org.antlr.analysis.DecisionProbe
 
REACHABLE_BUSY - Static variable in class org.antlr.analysis.DFA
 
REACHABLE_NO - Static variable in class org.antlr.analysis.DecisionProbe
 
REACHABLE_NO - Static variable in class org.antlr.analysis.DFA
 
REACHABLE_UNKNOWN - Static variable in class org.antlr.analysis.DFA
 
REACHABLE_YES - Static variable in class org.antlr.analysis.DecisionProbe
 
REACHABLE_YES - Static variable in class org.antlr.analysis.DFA
 
reachableLabels - Variable in class org.antlr.analysis.DFAState
As this state is constructed (i.e., as NFA states are added), we can easily check for non-epsilon transitions because the only transition that could be a valid label is transition(0).
reachesState(DFAState, DFAState, Set) - Method in class org.antlr.analysis.DecisionProbe
Given a start state and a target state, return true if start can reach target state.
recognizerST - Variable in class org.antlr.codegen.CodeGenerator
 
recursionDepthEmanatingFromState(int) - Method in class org.antlr.analysis.NFAContext
Given an NFA state number, how many times has the NFA-to-DFA conversion pushed that state on the stack? In other words, the NFA state must be a rule invocation state and this method tells you how many times you've been to this state.
recursionOverflow(DecisionProbe, DFAState, int, Collection, Collection) - Static method in class org.antlr.tool.ErrorManager
 
RecursionOverflowMessage - Class in org.antlr.tool
Indicates recursion overflow.
RecursionOverflowMessage(DecisionProbe, DFAState, int, Collection, Collection) - Constructor for class org.antlr.tool.RecursionOverflowMessage
 
recursiveAltSet - Variable in class org.antlr.analysis.DFA
Track whether an alt discovers recursion for each alt during NFA to DFA conversion; >1 alt with recursion implies nonregular.
reduced - Variable in class org.antlr.analysis.DFA
Is this DFA reduced? I.e., can all states lead to an accept state?
referencedPredefinedRuleAttributes - Variable in class org.antlr.tool.Rule
Do not generate start, stop etc...
referencedRule - Variable in class org.antlr.tool.RuleLabelScope
 
referencedRuleName - Variable in class org.antlr.tool.Grammar.LabelElementPair
 
referenceRuleLabelPredefinedAttribute(String) - Method in class org.antlr.tool.Grammar
To yield smaller, more readable code, track which rules have their predefined attributes accessed.
remove(int) - Method in class org.antlr.analysis.LookaheadSet
 
remove(int) - Method in class org.antlr.misc.BitSet
 
remove(int) - Method in class org.antlr.misc.IntervalSet
 
remove(int) - Method in interface org.antlr.misc.IntSet
remove this element from this set
remove(Object) - Method in class org.antlr.misc.OrderedHashSet
 
removeRecursiveOverflowState(DFAState) - Method in class org.antlr.analysis.DecisionProbe
If a recursion overflow is resolve with predicates, then we need to shut off the warning that would be generated.
removeState(DFAState) - Method in class org.antlr.analysis.DFA
 
removeTransition(int) - Method in class org.antlr.analysis.DFAState
 
removeUselessLabels(Map) - Method in class org.antlr.tool.Grammar
A label on a rule is useless if the rule has no return value, no tree or template output, and it is not referenced in an action.
replace(String, String, String) - Static method in class org.antlr.misc.Utils
Given a source string, src, a string to replace, replacee, and a string to replace with, replacer, return a new string w/ the replacing done.
report - Variable in class org.antlr.Tool
 
reportAltPredicateContext(DFAState, Map) - Method in class org.antlr.analysis.DecisionProbe
Report the list of predicates found for each alternative; copy the list because this set gets altered later by the method tryToResolveWithSemanticPredicates() while flagging NFA configurations in d as resolved.
reportDanglingState(DFAState) - Method in class org.antlr.analysis.DecisionProbe
Report the fact that DFA state d is not a state resolved with predicates and yet it has no emanating edges.
reportEarlyTermination() - Method in class org.antlr.analysis.DecisionProbe
 
reportIncompletelyCoveredAlts(DFAState, List) - Method in class org.antlr.analysis.DecisionProbe
 
reportLeftRecursion(DFAState, NFAConfiguration) - Method in class org.antlr.analysis.DecisionProbe
 
reportLexerRuleNondeterminism(DFAState, Set) - Method in class org.antlr.analysis.DecisionProbe
Currently the analysis reports issues between token definitions, but we don't print out warnings in favor of just picking the first token definition found in the grammar ala lex/flex.
reportNondeterminism(DFAState, Set) - Method in class org.antlr.analysis.DecisionProbe
 
reportNondeterminismResolvedWithSemanticPredicate(DFAState) - Method in class org.antlr.analysis.DecisionProbe
 
reportNonLLStarDecision(DFA) - Method in class org.antlr.analysis.DecisionProbe
Report that at least 2 alts have recursive constructs.
reportRecursiveOverflow(DFAState, NFAConfiguration) - Method in class org.antlr.analysis.DecisionProbe
 
reportScanError(RecognitionException) - Method in class org.antlr.tool.Interpreter
 
reportST - Variable in class org.antlr.tool.Message
 
resetErrorState() - Static method in class org.antlr.tool.ErrorManager
 
resetStateNumbersToBeContiguous() - Method in class org.antlr.analysis.DFA
Walk all states and reset their numbers to be a contiguous sequence of integers starting from 0.
resolveByChoosingFirstAlt(DFAState, Set) - Method in class org.antlr.analysis.NFAToDFAConverter
 
resolveByPickingExitAlt(DFAState, Set) - Method in class org.antlr.analysis.NFAToDFAConverter
Resolve state d by choosing exit alt, which is same value as the number of alternatives.
resolveByPickingMinAlt(DFAState, Set) - Method in class org.antlr.analysis.NFAToDFAConverter
Turn off all configurations associated with the set of incoming nondeterministic alts except the min alt number.
resolved - Variable in class org.antlr.analysis.NFAConfiguration
Indicate that this configuration has been resolved and no further DFA processing should occur with it.
resolvedWithPredicates - Variable in class org.antlr.analysis.DFAState
Rather than recheck every NFA configuration in a DFA state (after resolving) in findNewDFAStatesAndAddDFATransitions just check this boolean.
resolveNonDeterminisms(DFAState) - Method in class org.antlr.analysis.NFAToDFAConverter
If > 1 NFA configurations within this DFA state have identical NFA state and context, but differ in their predicted TODO update for new context suffix stuff 3-9-2005 alternative then a single input sequence predicts multiple alts.
resolveWithPredicate - Variable in class org.antlr.analysis.NFAConfiguration
This bit is used to indicate a semantic predicate will be used to resolve the conflict.
returnScope - Variable in class org.antlr.tool.Rule
The return values of a rule and predefined rule attributes
rewriteRefsDeep - Variable in class org.antlr.tool.GrammarAST
 
rewriteRefsShallow - Variable in class org.antlr.tool.GrammarAST
If this is a BLOCK node for a rewrite rule, track referenced elements here.
right - Variable in class org.antlr.analysis.SemanticContext.AND
 
right - Variable in class org.antlr.analysis.StateCluster
 
RIGHT_EDGE_OF_BLOCK - Static variable in class org.antlr.analysis.NFAState
 
RubyTarget - Class in org.antlr.codegen
 
RubyTarget() - Constructor for class org.antlr.codegen.RubyTarget
 
Rule - Class in org.antlr.tool
Combine the info associated with a rule
Rule(Grammar, String, int, int) - Constructor for class org.antlr.tool.Rule
 
RULE_LABEL - Static variable in class org.antlr.tool.Grammar
 
RULE_LIST_LABEL - Static variable in class org.antlr.tool.Grammar
 
RULE_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
RuleClosureTransition - Class in org.antlr.analysis
A transition used to reference another rule.
RuleClosureTransition(int, NFAState, NFAState) - Constructor for class org.antlr.analysis.RuleClosureTransition
 
ruleIndex - Variable in class org.antlr.analysis.RuleClosureTransition
Index of rule targeted by this transition
ruleIndex - Variable in class org.antlr.tool.Grammar
Rules are uniquely labeled from 1..n
ruleIndexToRuleList - Variable in class org.antlr.tool.Grammar
Map a rule index to its name; use a Vector on purpose as new collections stuff won't let me setSize and make it grow.
ruleLabels - Variable in class org.antlr.tool.Rule
A list of all LabelElementPair attached to rule references like f=field
RuleLabelScope - Class in org.antlr.tool
 
RuleLabelScope(Rule, Token) - Constructor for class org.antlr.tool.RuleLabelScope
 
ruleListLabels - Variable in class org.antlr.tool.Rule
A list of all rule ref list LabelElementPair like ids+=expr
ruleRefs - Variable in class org.antlr.tool.Grammar
The unique set of all rule references in any rule; set of Token objects so two refs to same rule can exist but at different line/position.
ruleScope - Variable in class org.antlr.tool.Rule
the attributes defined with "scope {...}" inside a rule
ruleStartTokenIndex - Variable in class org.antlr.tool.GrammarAST
If this is a RULE node then track rule's start, stop tokens' index.
ruleStopTokenIndex - Variable in class org.antlr.tool.GrammarAST
 
run() - Method in class org.antlr.analysis.NFAConversionThread
 
run() - Method in class org.antlr.test.BaseTest.StreamVacuum
 

S

sampleBadState - Variable in class org.antlr.tool.RecursionOverflowMessage
 
scan(String, DebugEventListener, List) - Method in class org.antlr.tool.Interpreter
For a given input char stream, try to match against the NFA starting at startRule.
scan(String) - Method in class org.antlr.tool.Interpreter
 
scan(String, List) - Method in class org.antlr.tool.Interpreter
 
SCOPE_INDEX_EXPR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
scopes - Variable in class org.antlr.tool.Grammar
Track the scopes defined outside of rules and the scopes associated with all rules (even if empty).
semanticContext - Variable in class org.antlr.analysis.Label
A tree of semantic predicates from the grammar AST if label==SEMPRED.
semanticContext - Variable in class org.antlr.analysis.NFAConfiguration
The set of semantic predicates associated with this NFA configuration.
SemanticContext - Class in org.antlr.analysis
A binary tree structure used to record the semantic context in which an NFA configuration is valid.
SemanticContext() - Constructor for class org.antlr.analysis.SemanticContext
 
SemanticContext.AND - Class in org.antlr.analysis
 
SemanticContext.AND(SemanticContext, SemanticContext) - Constructor for class org.antlr.analysis.SemanticContext.AND
 
SemanticContext.NOT - Class in org.antlr.analysis
 
SemanticContext.NOT(SemanticContext) - Constructor for class org.antlr.analysis.SemanticContext.NOT
 
SemanticContext.OR - Class in org.antlr.analysis
 
SemanticContext.OR(SemanticContext, SemanticContext) - Constructor for class org.antlr.analysis.SemanticContext.OR
 
SemanticContext.Predicate - Class in org.antlr.analysis
 
SemanticContext.Predicate() - Constructor for class org.antlr.analysis.SemanticContext.Predicate
 
SemanticContext.Predicate(GrammarAST) - Constructor for class org.antlr.analysis.SemanticContext.Predicate
 
SemanticContext.Predicate(SemanticContext.Predicate) - Constructor for class org.antlr.analysis.SemanticContext.Predicate
 
SemanticContext.TruePredicate - Class in org.antlr.analysis
 
SemanticContext.TruePredicate() - Constructor for class org.antlr.analysis.SemanticContext.TruePredicate
 
SEMPRED - Static variable in class org.antlr.analysis.Label
label is a semantic predicate; implies label is epsilon also
serialize(State) - Method in class org.antlr.tool.FASerializer
 
serialize(State, boolean) - Method in class org.antlr.tool.FASerializer
Return a string representation of a state machine.
SET - Static variable in class org.antlr.analysis.Label
label is a set of tokens or char
set(int, int) - Method in class org.antlr.misc.IntArrayList
Set the ith element.
set(int, Object) - Method in class org.antlr.misc.OrderedHashSet
Replace an existing value with a new value; updates the element list and the hash table, but not the key as that has not changed.
SET_ATTRIBUTE - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
SET_DYNAMIC_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
SET_ENCLOSING_RULE_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
SET_EXPR_ATTRIBUTE - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
SET_LOCAL_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
SET_RULE_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
SET_TOKEN_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
setAcceptState(int, DFAState) - Method in class org.antlr.analysis.DFA
 
setAcceptState(boolean) - Method in class org.antlr.analysis.State
 
setAcceptStateReachable(int) - Method in class org.antlr.analysis.DFAState
 
setActions(Map<String, GrammarAST>) - Method in class org.antlr.tool.Rule
 
setArrowheadType(String) - Method in class org.antlr.tool.DOTGenerator
 
setAssociatedASTNode(GrammarAST) - Method in class org.antlr.analysis.NFAState
 
setCodeGenerator(CodeGenerator) - Method in class org.antlr.tool.Grammar
 
setColumn(int) - Method in class org.antlr.tool.GrammarAST
 
setColumn(int) - Method in class org.antlr.tool.Message
 
setDebug(boolean) - Method in class org.antlr.codegen.CodeGenerator
 
setDecisionASTNode(GrammarAST) - Method in class org.antlr.analysis.NFAState
What AST node is associated with this NFAState? When you set the AST node, I set the node to point back to this NFA state.
setDecisionBlockAST(int, GrammarAST) - Method in class org.antlr.tool.Grammar
 
setDecisionNFA(int, NFAState) - Method in class org.antlr.tool.Grammar
 
setDecisionNumber(int) - Method in class org.antlr.analysis.NFAState
 
setDescription(String) - Method in class org.antlr.analysis.NFAState
 
setEnclosingRule(String) - Method in class org.antlr.tool.GrammarAST
 
setEnclosingRuleName(String) - Method in class org.antlr.analysis.NFAState
 
setEOTTargetState(boolean) - Method in class org.antlr.analysis.NFAState
 
setErrorListener(ANTLRErrorListener) - Static method in class org.antlr.tool.ErrorManager
In general, you'll want all errors to go to a single spot.
setFactory(NFAFactory) - Method in class org.antlr.analysis.NFA
 
setFileName(String) - Method in class org.antlr.tool.Grammar
 
setFormat(String) - Static method in class org.antlr.tool.ErrorManager
The format gets reset either from the Tool if the user supplied a command line option to that effect Otherwise we just use the default "antlr".
setGrammarContent(String) - Method in class org.antlr.tool.Grammar
 
setGrammarContent(Reader) - Method in class org.antlr.tool.Grammar
 
setLine(int) - Method in class org.antlr.tool.GrammarAST
 
setLine(int) - Method in class org.antlr.tool.Message
 
setLocale(Locale) - Static method in class org.antlr.tool.ErrorManager
We really only need a single locale for entire running ANTLR code in a single VM.
setLookaheadDepth(int) - Method in class org.antlr.analysis.DFAState
 
setLookaheadDFA(int, DFA) - Method in class org.antlr.tool.Grammar
Set the lookahead DFA for a particular decision.
setLookaheadDFA(DFA) - Method in class org.antlr.tool.GrammarAST
 
setMessageID(int) - Method in class org.antlr.tool.Message
 
setName(String) - Method in class org.antlr.tool.Grammar
 
setNFAConfigurations(Set) - Method in class org.antlr.analysis.DFAState
 
setNFAStartState(NFAState) - Method in class org.antlr.tool.GrammarAST
 
setOfDFAWhoseConversionTerminatedEarly - Variable in class org.antlr.tool.Grammar
 
setOfNondeterministicDecisionNumbers - Variable in class org.antlr.tool.Grammar
 
setOfNondeterministicDecisionNumbersResolvedWithPredicates - Variable in class org.antlr.tool.Grammar
 
setOption(String, Object, Token) - Method in class org.antlr.tool.Grammar
Save the option key/value pair and process it; return the key or null if invalid option.
setOption(Grammar, String, Object) - Method in class org.antlr.tool.GrammarAST
Save the option key/value pair and process it; return the key or null if invalid option.
setOption(String, Object, Token) - Method in class org.antlr.tool.Rule
Save the option key/value pair and process it; return the key or null if invalid option.
setOptions(Map, Token) - Method in class org.antlr.tool.Grammar
 
setOptions(Grammar, Map) - Method in class org.antlr.tool.GrammarAST
 
setOptions(Map, Token) - Method in class org.antlr.tool.Rule
 
setOutputDirectory(String) - Method in class org.antlr.Tool
 
setProfile(boolean) - Method in class org.antlr.codegen.CodeGenerator
 
setRankdir(String) - Method in class org.antlr.tool.DOTGenerator
 
setRuleAST(String, GrammarAST) - Method in class org.antlr.tool.Grammar
 
setRuleStartState(String, NFAState) - Method in class org.antlr.tool.Grammar
 
setRuleStopState(String, NFAState) - Method in class org.antlr.tool.Grammar
 
setSet(IntSet) - Method in class org.antlr.analysis.Label
 
setSetValue(IntSet) - Method in class org.antlr.tool.GrammarAST
 
setSize(int) - Method in class org.antlr.misc.IntArrayList
 
setState(int, DFAState) - Method in class org.antlr.analysis.DFA
 
setText(String) - Method in class org.antlr.tool.GrammarAST
 
setTool(Tool) - Static method in class org.antlr.tool.ErrorManager
 
setTool(Tool) - Method in class org.antlr.tool.Grammar
 
setTrace(boolean) - Method in class org.antlr.codegen.CodeGenerator
 
setTransition0(Transition) - Method in class org.antlr.analysis.NFAState
Used during optimization to reset a state to have the (single) transition another state has.
setType(int) - Method in class org.antlr.tool.GrammarAST
 
setUserMaxLookahead(int) - Method in class org.antlr.analysis.DFA
 
setValue - Variable in class org.antlr.tool.GrammarAST
If this is a SET node, what are the elements?
setWatchNFAConversion(boolean) - Method in class org.antlr.tool.Grammar
 
SINGLE_THREADED_NFA_CONVERSION - Static variable in class org.antlr.analysis.NFAToDFAConverter
Should ANTLR launch multiple threads to convert NFAs to DFAs? With a 2-CPU box, I note that it's about the same single or multithreaded.
singleAtomTransitionEmanating - Variable in class org.antlr.analysis.NFAConfiguration
Indicates that the NFA state associated with this configuration has exactly one transition and it's an atom (not epsilon etc...).
size() - Method in class org.antlr.misc.BitSet
 
size() - Method in class org.antlr.misc.IntArrayList
 
size() - Method in class org.antlr.misc.IntervalSet
 
size() - Method in interface org.antlr.misc.IntSet
Return the size of this set (not the underlying implementation's allocated memory size, for example).
size() - Method in class org.antlr.misc.OrderedHashSet
 
size() - Method in class org.antlr.test.ErrorQueue
 
size() - Method in class org.antlr.tool.AttributeScope
 
special - Variable in class org.antlr.analysis.DFA
 
specialStates - Variable in class org.antlr.analysis.DFA
List of special DFAState objects
specialStateSTs - Variable in class org.antlr.analysis.DFA
List of ST for special states.
start() - Method in class org.antlr.test.BaseTest.StreamVacuum
 
startsAfter(Interval) - Method in class org.antlr.misc.Interval
Does this.a start after other.b? May or may not be disjoint
startsAfterDisjoint(Interval) - Method in class org.antlr.misc.Interval
Does this start completely after other? Disjoint
startsAfterNonDisjoint(Interval) - Method in class org.antlr.misc.Interval
Does this start after other? NonDisjoint
startsBeforeDisjoint(Interval) - Method in class org.antlr.misc.Interval
Does this start completely before other? Disjoint
startsBeforeNonDisjoint(Interval) - Method in class org.antlr.misc.Interval
Does this start at or before other? Nondisjoint
startState - Variable in class org.antlr.analysis.DFA
What's the start state for this DFA?
startState - Variable in class org.antlr.tool.Grammar.Decision
 
startState - Variable in class org.antlr.tool.Rule
 
state - Variable in class org.antlr.analysis.NFAConfiguration
The NFA state associated with this configuration
State - Class in org.antlr.analysis
A generic state machine state.
State() - Constructor for class org.antlr.analysis.State
 
StateCluster - Class in org.antlr.analysis
A Cluster object points to the left/right (start and end) states of a state machine.
StateCluster(NFAState, NFAState) - Constructor for class org.antlr.analysis.StateCluster
 
stateCounter - Variable in class org.antlr.analysis.DFA
Unique state numbers
stateCounter - Variable in class org.antlr.tool.FASerializer
Each state we walk will get a new state number for serialization purposes.
stateCounter - Variable in class org.antlr.tool.NFAFactory
Used to assign state numbers
stateNumber - Variable in class org.antlr.analysis.State
 
stateNumberTranslator - Variable in class org.antlr.tool.FASerializer
Rather than add a new instance variable to NFA and DFA just for serializing machines, map old state numbers to new state numbers by a State object -> Integer new state number HashMap.
stateReachable - Variable in class org.antlr.analysis.DecisionProbe
Used to find paths through syntactically ambiguous DFA.
states - Variable in class org.antlr.analysis.DFA
Maps the state number to the actual DFAState.
statesResolvedWithSemanticPredicatesSet - Variable in class org.antlr.analysis.DecisionProbe
Was a syntactic ambiguity resolved with predicates? Any DFA state that predicts more than one alternative, must be resolved with predicates or it should be reported to the user.
statesVisitedAtInputDepth - Variable in class org.antlr.analysis.DecisionProbe
Used while finding a path through an NFA whose edge labels match an input sequence.
statesVisitedDuringSampleSequence - Variable in class org.antlr.analysis.DecisionProbe
 
statesWithSyntacticallyAmbiguousAltsSet - Variable in class org.antlr.analysis.DecisionProbe
Track all DFA states with nondeterministic alternatives.
stateToAltSetWithSemanticPredicatesMap - Variable in class org.antlr.analysis.DecisionProbe
Track the predicates for each alt per DFA state; more than one DFA state might have syntactically ambig alt prediction.
stateToIncompletelyCoveredAltsMap - Variable in class org.antlr.analysis.DecisionProbe
Map> Tracks alts insufficiently covered.
stateToLeftRecursiveConfigurationsMap - Variable in class org.antlr.analysis.DecisionProbe
Left recursion discovered.
stateToRecursiveOverflowConfigurationsMap - Variable in class org.antlr.analysis.DecisionProbe
Recursion is limited to a particular depth.
stateToSyntacticallyAmbiguousTokensRuleAltsMap - Variable in class org.antlr.analysis.DecisionProbe
Track just like stateToSyntacticallyAmbiguousAltsMap, but only for nondeterminisms that arise in the Tokens rule such as keyword vs ID rule.
stderr - Variable in class org.antlr.test.BaseTest
If error during execution, store stderr here
stlib - Static variable in class org.antlr.tool.DOTGenerator
Library of output templates; use format
stopState - Variable in class org.antlr.tool.Rule
 
str(int[]) - Method in class org.antlr.test.TestDFAConversion
 
str(int[]) - Method in class org.antlr.test.TestSemanticPredicates
 
stringLiteralToTypeMap - Variable in class org.antlr.tool.Grammar
Map token literals like "while" to its token type.
STRIP_NONREDUCED_STATES - Static variable in class org.antlr.tool.DOTGenerator
 
stripWildCardAlts(Set) - Method in class org.antlr.analysis.DecisionProbe
Get the last disabled alt number and check in the grammar to see if that alt is a simple wildcard.
subset(BitSet) - Method in class org.antlr.misc.BitSet
Is this contained within a?
subtract(IntSet) - Method in class org.antlr.misc.BitSet
 
subtract(IntSet) - Method in class org.antlr.misc.IntervalSet
Compute this-other via this&~other.
subtract(IntSet) - Method in interface org.antlr.misc.IntSet
 
subtractInPlace(BitSet) - Method in class org.antlr.misc.BitSet
Subtract the elements of 'a' from 'this' in-place.
suffix(NFAContext) - Method in class org.antlr.analysis.NFAContext
[$] suffix any context [21 $] suffix [21 12 $] [21 12 $] suffix [21 $] [21 18 $] suffix [21 18 12 9 $] [21 18 12 9 $] suffix [21 18 $] [21 12 $] not suffix [21 9 $] Example "[21 $] suffix [21 12 $]" means: rule r invoked current rule from state 21.
synpred - Variable in class org.antlr.analysis.SemanticContext.Predicate
syntactic predicates are converted to semantic predicates but synpreds are generated slightly differently.
synpred1() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred1() - Method in class org.antlr.tool.ActionAnalysisLexer
 
synpred10() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred10_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred11() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred11_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred12() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred12_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred13() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred13_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred14() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred14_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred15() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred15_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred16() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred16_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred17() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred17_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred18() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred18_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred19() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred19_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred1_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred1_fragment() - Method in class org.antlr.tool.ActionAnalysisLexer
 
synpred2() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred2() - Method in class org.antlr.tool.ActionAnalysisLexer
 
synpred20() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred20_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred21() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred21_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred22() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred22_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred24() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred24_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred25() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred25_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred26() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred26_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred2_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred2_fragment() - Method in class org.antlr.tool.ActionAnalysisLexer
 
synpred3() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred3_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred4() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred4_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred5() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred5_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred6() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred6_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred7() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred7_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred8() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred8_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred9() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
synpred9_fragment() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
SYNPRED_RULE_PREFIX - Static variable in class org.antlr.tool.Grammar
 
SYNPREDGATE_ACTION_NAME - Static variable in class org.antlr.tool.Grammar
 
synPredNamesUsedInDFA - Variable in class org.antlr.tool.Grammar
Track names of preds so we can avoid generating preds that aren't used Computed during NFA to DFA conversion.
synPredUsedInDFA(DFA, SemanticContext) - Method in class org.antlr.tool.Grammar
 
syntaxError(int, Grammar, Token, Object, RecognitionException) - Static method in class org.antlr.tool.ErrorManager
 

T

target - Variable in class org.antlr.analysis.Transition
The target of this transition
target - Variable in class org.antlr.codegen.CodeGenerator
The target specifies how to write out files and do other language specific actions.
Target - Class in org.antlr.codegen
The code generator for ANTLR can usually be retargeted just by providing a new X.stg file for language X, however, sometimes the files that must be generated vary enough that some X-specific functionality is required.
Target() - Constructor for class org.antlr.codegen.Target
 
targetCharValueEscape - Variable in class org.antlr.codegen.Target
For pure strings of Java 16-bit unicode char, how can we display it in the target language as a literal.
targetRules - Variable in class org.antlr.tool.RecursionOverflowMessage
 
template(String) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
TEMPLATE_EXPR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
TEMPLATE_INSTANCE - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
templates - Variable in class org.antlr.codegen.CodeGenerator
Where are the templates this generator should use to generate code?
templates - Variable in class org.antlr.tool.BuildDependencyGenerator
 
terminated - Variable in class org.antlr.analysis.DecisionProbe
Did ANTLR have to terminate early on the analysis of this decision?
test0IndexedGlobalScope() - Method in class org.antlr.test.TestAttributes
 
test2InsertBeforeAfterMiddleIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
test2InsertMiddleIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
test2InsertThenReplaceIndex0() - Method in class org.antlr.test.TestTokenRewriteStream
 
test2ReplaceMiddleIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
test4Nodes() - Method in class org.antlr.test.TestTreeNodeStream
 
testA() - Method in class org.antlr.test.TestASTConstruction
 
testA() - Method in class org.antlr.test.TestDFAConversion
 
testA() - Method in class org.antlr.test.TestNFAConstruction
 
testAB() - Method in class org.antlr.test.TestNFAConstruction
 
testAB_or_AC() - Method in class org.antlr.test.TestDFAConversion
 
testAB_or_AC_k1() - Method in class org.antlr.test.TestDFAConversion
 
testAB_or_AC_k2() - Method in class org.antlr.test.TestDFAConversion
 
testABorCD() - Method in class org.antlr.test.TestNFAConstruction
 
testAbsoluteIndexedGlobalScope() - Method in class org.antlr.test.TestAttributes
 
testAction() - Method in class org.antlr.test.TestRewriteTemplates
 
testActionInStarLoop() - Method in class org.antlr.test.TestASTConstruction
 
testActionsAfterRoot() - Method in class org.antlr.test.TestTreeParsing
 
testAdjacentNotCharLoops() - Method in class org.antlr.test.TestCharDFAConversion
 
testAltConflictsWithLoopThenExit() - Method in class org.antlr.test.TestCharDFAConversion
 
testAmbiguousTokenRef() - Method in class org.antlr.test.TestAttributes
 
testAmbiguousTokenRefWithProp() - Method in class org.antlr.test.TestAttributes
 
testAndPredicates() - Method in class org.antlr.test.TestSemanticPredicates
 
testAOptional() - Method in class org.antlr.test.TestDFAConversion
 
testAOptional() - Method in class org.antlr.test.TestNFAConstruction
 
testAorB() - Method in class org.antlr.test.TestNFAConstruction
 
testAorBOptionalSubrule() - Method in class org.antlr.test.TestNFAConstruction
 
testAorBorCOptional() - Method in class org.antlr.test.TestDFAConversion
 
testAorBorCPlus() - Method in class org.antlr.test.TestDFAConversion
 
testAorBorCStar() - Method in class org.antlr.test.TestDFAConversion
 
testAorBorEmptyPlus() - Method in class org.antlr.test.TestNFAConstruction
 
testAorBplus() - Method in class org.antlr.test.TestNFAConstruction
 
testAOrBPlusOrAPlus() - Method in class org.antlr.test.TestDFAConversion
 
testAorBstar() - Method in class org.antlr.test.TestNFAConstruction
 
testAorBthenC() - Method in class org.antlr.test.TestNFAConstruction
 
testAorEpsilon() - Method in class org.antlr.test.TestNFAConstruction
 
testAoverB() - Method in class org.antlr.test.TestTreeNodeStream
 
testAPlus() - Method in class org.antlr.test.TestDFAConversion
 
testAplus() - Method in class org.antlr.test.TestNFAConstruction
 
testAplusNonGreedy() - Method in class org.antlr.test.TestNFAConstruction
 
testAPlusNonGreedyWhenDeterministic() - Method in class org.antlr.test.TestDFAConversion
 
testArbitraryExprType() - Method in class org.antlr.test.TestRewriteAST
 
testArgReturnValueMismatch() - Method in class org.antlr.test.TestAttributes
 
testArgsOnToken() - Method in class org.antlr.test.TestAttributes
 
testArgsOnTokenInLexer() - Method in class org.antlr.test.TestAttributes
 
testArgsOnTokenInLexerRuleOfCombined() - Method in class org.antlr.test.TestAttributes
 
testArgsWhenNoneDefined() - Method in class org.antlr.test.TestAttributes
 
testArgsWithInitValues() - Method in class org.antlr.test.TestAttributes
 
testArguments() - Method in class org.antlr.test.TestAttributes
 
testAssignToOwnParamAttr() - Method in class org.antlr.test.TestAttributes
 
testAssignToOwnRulenameAttr() - Method in class org.antlr.test.TestAttributes
 
testAssignToTreeNodeAttribute() - Method in class org.antlr.test.TestAttributes
 
testAStar() - Method in class org.antlr.test.TestDFAConversion
 
testAStar() - Method in class org.antlr.test.TestNFAConstruction
 
testAStar_immediateTailRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testAStar_immediateTailRecursion2() - Method in class org.antlr.test.TestDFAConversion
 
testAStarBOrAPlusC() - Method in class org.antlr.test.TestDFAConversion
 
testAStarBOrAStarC() - Method in class org.antlr.test.TestDFAConversion
 
TestASTConstruction - Class in org.antlr.test
 
TestASTConstruction() - Constructor for class org.antlr.test.TestASTConstruction
Public default constructor used by TestRig
TestAttributes - Class in org.antlr.test
Check the $x, $x.y attributes.
TestAttributes() - Constructor for class org.antlr.test.TestAttributes
Public default constructor used by TestRig
TestAutoAST - Class in org.antlr.test
 
TestAutoAST() - Constructor for class org.antlr.test.TestAutoAST
 
testAutoBacktracking_ExistingPred() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_OptionalBlock1Alt() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_OptionalBlock2Alts() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_PlusBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_PlusBlock1Alt() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_PlusSetBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_RuleBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_RuleSetBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_SetBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_SimpleBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_StarBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_StarBlock1Alt() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_StarSetBlock() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktracking_StarSetBlock_IgnoresPreds() - Method in class org.antlr.test.TestNFAConstruction
 
testAutoBacktrackResolvesRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testAutoBacktrackResolvesRecursionInLexer() - Method in class org.antlr.test.TestDFAConversion
 
testbA() - Method in class org.antlr.test.TestNFAConstruction
 
testbA_bC() - Method in class org.antlr.test.TestNFAConstruction
 
testBadGrammarOption() - Method in class org.antlr.test.TestSymbolDefinitions
 
testBadRuleOption() - Method in class org.antlr.test.TestSymbolDefinitions
 
testBadSubRuleOption() - Method in class org.antlr.test.TestSymbolDefinitions
 
testBang() - Method in class org.antlr.test.TestAutoAST
 
testBasicGlobalScope() - Method in class org.antlr.test.TestAttributes
 
testBasicRuleScope() - Method in class org.antlr.test.TestAttributes
 
testBufferOverflow() - Method in class org.antlr.test.TestUnBufferedTreeNodeStream
 
testBufferWrap() - Method in class org.antlr.test.TestUnBufferedTreeNodeStream
Test what happens when tail hits the end of the buffer, but there is more room left.
testCannotHaveSpaceAfterDot() - Method in class org.antlr.test.TestTemplates
 
testCannotHaveSpaceBeforeDot() - Method in class org.antlr.test.TestTemplates
 
testCannotSeePastRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testCardinality() - Method in class org.antlr.test.TestRewriteAST
 
testCardinality2() - Method in class org.antlr.test.TestRewriteAST
 
testCardinality3() - Method in class org.antlr.test.TestRewriteAST
 
TestCharDFAConversion - Class in org.antlr.test
 
TestCharDFAConversion() - Constructor for class org.antlr.test.TestCharDFAConversion
Public default constructor used by TestRig
testCharLabelInLexer() - Method in class org.antlr.test.TestAttributes
 
testCharLabelInLexer() - Method in class org.antlr.test.TestLexer
 
testCharListLabelInLexer() - Method in class org.antlr.test.TestAttributes
 
testCharLiteralInLexerTokensSection() - Method in class org.antlr.test.TestSymbolDefinitions
 
testCharLiteralInParserTokensSection() - Method in class org.antlr.test.TestSymbolDefinitions
 
testCharOptional() - Method in class org.antlr.test.TestASTConstruction
 
testCharOptionalInLexer() - Method in class org.antlr.test.TestASTConstruction
 
testCharPlus() - Method in class org.antlr.test.TestASTConstruction
 
testCharPlusInLexer() - Method in class org.antlr.test.TestASTConstruction
 
testCharRangePlus() - Method in class org.antlr.test.TestASTConstruction
 
testCharSetInParser() - Method in class org.antlr.test.TestNFAConstruction
 
testCharStar() - Method in class org.antlr.test.TestASTConstruction
 
testCharStarInLexer() - Method in class org.antlr.test.TestASTConstruction
 
testClosureOfLabel() - Method in class org.antlr.test.TestRewriteAST
 
testClosureSingleRule() - Method in class org.antlr.test.TestRewriteAST
 
testClosureSingleToken() - Method in class org.antlr.test.TestRewriteAST
 
testCombinedGrammarLiterals() - Method in class org.antlr.test.TestSymbolDefinitions
 
testCombinedGrammarWithRefToLiteralButNoTokenIDRef() - Method in class org.antlr.test.TestSymbolDefinitions
 
testCombinedRuleRedefinition() - Method in class org.antlr.test.TestSymbolDefinitions
 
TestCommonTreeNodeStream - Class in org.antlr.test
Tests specific to CommonTreeNodeStream
TestCommonTreeNodeStream() - Constructor for class org.antlr.test.TestCommonTreeNodeStream
 
testComplement() - Method in class org.antlr.test.TestDFAConversion
 
testComplement() - Method in class org.antlr.test.TestIntervalSet
 
testComplement2() - Method in class org.antlr.test.TestIntervalSet
 
testComplement3() - Method in class org.antlr.test.TestIntervalSet
 
testComplementChar() - Method in class org.antlr.test.TestDFAConversion
 
testComplementCharSet() - Method in class org.antlr.test.TestDFAConversion
 
testComplementToken() - Method in class org.antlr.test.TestDFAConversion
 
testComplicatedMelange() - Method in class org.antlr.test.TestAutoAST
 
testComplicatedMelange() - Method in class org.antlr.test.TestRewriteAST
 
testCopyOfTokens() - Method in class org.antlr.test.TestRewriteAST
 
testCopyRuleLabel() - Method in class org.antlr.test.TestRewriteAST
 
testCopyRuleLabel2() - Method in class org.antlr.test.TestRewriteAST
 
testCopySemanticsForRules() - Method in class org.antlr.test.TestRewriteAST
 
testCopySemanticsForRules2() - Method in class org.antlr.test.TestRewriteAST
 
testCopySemanticsForRules3() - Method in class org.antlr.test.TestRewriteAST
 
testCopySemanticsForRules3Double() - Method in class org.antlr.test.TestRewriteAST
 
testCopySemanticsForRules4() - Method in class org.antlr.test.TestRewriteAST
 
testCopySemanticsLists() - Method in class org.antlr.test.TestRewriteAST
 
testCStyleReturnInitValue() - Method in class org.antlr.test.TestAttributes
 
testCycleInsideRuleDoesNotForceInfiniteRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testCyclicDFALookahead() - Method in class org.antlr.test.TestTreeParsing
 
testCyclicTableCreation() - Method in class org.antlr.test.TestDFAConversion
 
testDefaultPredNakedAltIsLast() - Method in class org.antlr.test.TestSemanticPredicates
 
testDefaultPredNakedAltNotLast() - Method in class org.antlr.test.TestSemanticPredicates
 
testDelete() - Method in class org.antlr.test.TestRewriteAST
 
testDelete() - Method in class org.antlr.test.TestRewriteTemplates
 
TestDFAConversion - Class in org.antlr.test
 
TestDFAConversion() - Constructor for class org.antlr.test.TestDFAConversion
 
TestDFAMatching - Class in org.antlr.test
 
TestDFAMatching() - Constructor for class org.antlr.test.TestDFAMatching
Public default constructor used by TestRig
testDisjointSetCollidingWithTwoRanges() - Method in class org.antlr.test.TestCharDFAConversion
 
testDisjointSetCollidingWithTwoRangesAsSeparateAlts() - Method in class org.antlr.test.TestCharDFAConversion
 
testDisjointSetCollidingWithTwoRangesCharsFirst() - Method in class org.antlr.test.TestCharDFAConversion
 
testDoNotTranslateAttributeCompare() - Method in class org.antlr.test.TestAttributes
 
testDoNotTranslateScopeAttributeCompare() - Method in class org.antlr.test.TestAttributes
 
testDoubleInvokeRuleLeftEdge() - Method in class org.antlr.test.TestDFAConversion
 
testDoubleLevelTree() - Method in class org.antlr.test.TestTreeWizard
 
testDoubleQuoteEscape() - Method in class org.antlr.test.TestJavaCodeGeneration
 
testDupListRefInLexer() - Method in class org.antlr.test.TestLexer
 
testDupVarDefForPinchedState() - Method in class org.antlr.test.TestJavaCodeGeneration
 
testDynamicRuleScopeRefInSubrule() - Method in class org.antlr.test.TestAttributes
 
testDynamicScopeRefOkEvenThoughRuleRefExists() - Method in class org.antlr.test.TestAttributes
 
testEmbeddedLiteralConstructor() - Method in class org.antlr.test.TestRewriteTemplates
 
testEmptyIntersection() - Method in class org.antlr.test.TestIntervalSet
 
testEmptyIntersectionSingleElements() - Method in class org.antlr.test.TestIntervalSet
 
testEmptyNotChar() - Method in class org.antlr.test.TestSymbolDefinitions
 
testEmptyNotSet() - Method in class org.antlr.test.TestSymbolDefinitions
 
testEmptyNotToken() - Method in class org.antlr.test.TestSymbolDefinitions
 
testEquals() - Method in class org.antlr.test.TestIntervalSet
 
testEquals() - Method in class org.antlr.test.TestTreeWizard
 
testEqualsWithMismatchedText() - Method in class org.antlr.test.TestTreeWizard
 
testEqualsWithText() - Method in class org.antlr.test.TestTreeWizard
 
testEscaped$InAction() - Method in class org.antlr.test.TestAttributes
 
testEscapedCharLiteral() - Method in class org.antlr.test.TestNFAConstruction
 
testEscapedLessThanInAction() - Method in class org.antlr.test.TestAttributes
 
testEscapedStringLiteral() - Method in class org.antlr.test.TestNFAConstruction
 
testFindPattern() - Method in class org.antlr.test.TestTreeWizard
 
testFiniteCommonLeftPrefixes() - Method in class org.antlr.test.TestDFAMatching
 
testFlatList() - Method in class org.antlr.test.TestTreeNodeStream
 
testFlatList() - Method in class org.antlr.test.TestTreeParsing
 
testFlatVsTreeDecision() - Method in class org.antlr.test.TestTreeParsing
 
testFlatVsTreeDecision2() - Method in class org.antlr.test.TestTreeParsing
 
testFollowReturnsToLoopReenteringSameRule() - Method in class org.antlr.test.TestDFAConversion
 
testForwardRefRuleLabels() - Method in class org.antlr.test.TestAttributes
 
testFullyQualifiedRefToCurrentRuleParameter() - Method in class org.antlr.test.TestAttributes
 
testFullyQualifiedRefToCurrentRuleRetVal() - Method in class org.antlr.test.TestAttributes
 
testFullyQualifiedRefToTemplateAttributeInCurrentRule() - Method in class org.antlr.test.TestAttributes
 
testGatedPred() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testGatedPred() - Method in class org.antlr.test.TestSemanticPredicates
 
testGatedPred2() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testGatedPredDoesNotForceAllToBeGated() - Method in class org.antlr.test.TestSemanticPredicates
 
testGatedPredDoesNotForceAllToBeGated2() - Method in class org.antlr.test.TestSemanticPredicates
 
testGatedPredHoistsAndCanBeInStopState() - Method in class org.antlr.test.TestSemanticPredicates
 
testGatedPredInCyclicDFA() - Method in class org.antlr.test.TestSemanticPredicates
 
testGatedPredNotActuallyUsedOnEdges() - Method in class org.antlr.test.TestSemanticPredicates
 
testGlobalScopeOutsideRule() - Method in class org.antlr.test.TestAttributes
 
testHoist2() - Method in class org.antlr.test.TestSemanticPredicates
 
testHoistCorrectContext() - Method in class org.antlr.test.TestSemanticPredicates
 
testIdenticalRules() - Method in class org.antlr.test.TestCharDFAConversion
 
testifThenElse() - Method in class org.antlr.test.TestDFAConversion
 
testifThenElseChecksStackSuffixConflict() - Method in class org.antlr.test.TestDFAConversion
 
testIgnorePredFromLL2AltLastAltIsDefaultTrue() - Method in class org.antlr.test.TestSemanticPredicates
 
testIgnorePredFromLL2AltPredUnionNeeded() - Method in class org.antlr.test.TestSemanticPredicates
 
testIgnoresHoistingDepthGreaterThanZero() - Method in class org.antlr.test.TestSemanticPredicates
 
testIllegalAssignRuleRefAttr() - Method in class org.antlr.test.TestAttributes
 
testIllegalAssignTokenRefAttr() - Method in class org.antlr.test.TestAttributes
 
testIllegalAssignToLocalAttr() - Method in class org.antlr.test.TestAttributes
 
testIllegalAssignToOwnRulenameAttr() - Method in class org.antlr.test.TestAttributes
 
testImaginaryTokenCopy() - Method in class org.antlr.test.TestRewriteAST
 
testImaginaryTokenCopySetText() - Method in class org.antlr.test.TestRewriteAST
 
testImaginaryTokenNoCopyFromToken() - Method in class org.antlr.test.TestRewriteAST
 
testImaginaryTokenNoCopyFromTokenSetText() - Method in class org.antlr.test.TestRewriteAST
 
testimmediateLeftRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testimmediateTailRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testImplicitRuleLabel() - Method in class org.antlr.test.TestAttributes
 
testImplicitTokenLabel() - Method in class org.antlr.test.TestAttributes
 
testIncompleteSemanticHoistedContext() - Method in class org.antlr.test.TestSemanticPredicates
The following grammar should yield an error that rule 'a' has insufficient semantic info pulled from 'b'.
testIncompleteSemanticHoistedContext2() - Method in class org.antlr.test.TestSemanticPredicates
The following grammar should yield an error that rule 'a' has insufficient semantic info pulled from 'b'.
testIndexedGlobalScope() - Method in class org.antlr.test.TestAttributes
 
testIndirectIFThenElseStyleAmbig() - Method in class org.antlr.test.TestDFAConversion
 
testIndirectLeftRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testIndirectRecursionAmbigAlts() - Method in class org.antlr.test.TestDFAConversion
 
testIndirectRecursionLoop() - Method in class org.antlr.test.TestDFAConversion
 
testIndirectRecursionLoop2() - Method in class org.antlr.test.TestDFAConversion
 
testIndirectRecursionLoop3() - Method in class org.antlr.test.TestDFAConversion
 
testIndirectTemplate() - Method in class org.antlr.test.TestRewriteTemplates
 
testIndirectTemplateConstructor() - Method in class org.antlr.test.TestTemplates
 
testInlineTemplate() - Method in class org.antlr.test.TestRewriteTemplates
 
testInlineTemplateInvokingLib() - Method in class org.antlr.test.TestRewriteTemplates
 
testInsertAfterLastIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testInsertBeforeIndex0() - Method in class org.antlr.test.TestTokenRewriteStream
 
testInsertThenReplaceLastIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testInsertThenReplaceSameIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
TestInterpretedLexing - Class in org.antlr.test
 
TestInterpretedLexing() - Constructor for class org.antlr.test.TestInterpretedLexing
Public default constructor used by TestRig
TestInterpretedParsing - Class in org.antlr.test
 
TestInterpretedParsing() - Constructor for class org.antlr.test.TestInterpretedParsing
Public default constructor used by TestRig
testIntersectionWithTwoContainedElements() - Method in class org.antlr.test.TestIntervalSet
 
testIntersectionWithTwoContainedElementsReversed() - Method in class org.antlr.test.TestIntervalSet
 
TestIntervalSet - Class in org.antlr.test
 
TestIntervalSet() - Constructor for class org.antlr.test.TestIntervalSet
Public default constructor used by TestRig
testInvalidArguments() - Method in class org.antlr.test.TestAttributes
 
testInvalidListTree() - Method in class org.antlr.test.TestTreeWizard
 
testInvalidReturnValues() - Method in class org.antlr.test.TestAttributes
 
testInvalidRuleAttribute() - Method in class org.antlr.test.TestAttributes
 
testInvalidRuleLabelAccessesParameter() - Method in class org.antlr.test.TestAttributes
 
testInvalidRuleLabelAccessesScopeAttribute() - Method in class org.antlr.test.TestAttributes
 
testInvokeRule() - Method in class org.antlr.test.TestAutoAST
 
testInvokeRule() - Method in class org.antlr.test.TestDFAConversion
 
testInvokeRuleAsRoot() - Method in class org.antlr.test.TestAutoAST
 
testIsolatedDynamicRuleScopeRef() - Method in class org.antlr.test.TestAttributes
 
testIsolatedElements() - Method in class org.antlr.test.TestIntervalSet
 
testIsolatedEOTEdge() - Method in class org.antlr.test.TestLexer
 
testIsolatedGlobalScopeRef() - Method in class org.antlr.test.TestAttributes
 
testIsolatedRefToCurrentRule() - Method in class org.antlr.test.TestAttributes
 
testIsolatedRefToRule() - Method in class org.antlr.test.TestAttributes
 
TestJavaCodeGeneration - Class in org.antlr.test
General code generation testing; compilation and/or execution.
TestJavaCodeGeneration() - Constructor for class org.antlr.test.TestJavaCodeGeneration
 
testKeywordVersusID() - Method in class org.antlr.test.TestCharDFAConversion
 
testKnownRuleButNotInLHS() - Method in class org.antlr.test.TestRewriteAST
 
testLabel() - Method in class org.antlr.test.TestASTConstruction
 
testLabelAndArgConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLabelAndParameterConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLabelAndRuleNameConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLabelAndTokenNameConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLabeledNotBlockSet() - Method in class org.antlr.test.TestNFAConstruction
 
testLabeledNotCharSet() - Method in class org.antlr.test.TestNFAConstruction
 
testLabeledNotSet() - Method in class org.antlr.test.TestNFAConstruction
 
testLabeledNotSetsInLexer() - Method in class org.antlr.test.TestJavaCodeGeneration
 
testLabeledRangeInLexer() - Method in class org.antlr.test.TestJavaCodeGeneration
 
testLabeledSetsInLexer() - Method in class org.antlr.test.TestJavaCodeGeneration
 
testLabeledStringRoot() - Method in class org.antlr.test.TestAutoAST
 
testLabeledWildcardInLexer() - Method in class org.antlr.test.TestJavaCodeGeneration
 
testLabelInSubrule() - Method in class org.antlr.test.TestLexer
 
testLabelOfClosure() - Method in class org.antlr.test.TestASTConstruction
 
testLabelOfOptional() - Method in class org.antlr.test.TestASTConstruction
 
testLabelOnRuleRefInLexer() - Method in class org.antlr.test.TestAttributes
 
testLabelRuleScopeConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLeftRecursionInMultipleCycles() - Method in class org.antlr.test.TestDFAConversion
 
testLeftRecursivePred() - Method in class org.antlr.test.TestSemanticPredicates
 
TestLexer - Class in org.antlr.test
 
TestLexer() - Constructor for class org.antlr.test.TestLexer
Public default constructor used by TestRig
testLexerLabelRefs() - Method in class org.antlr.test.TestAttributes
 
testLexerMatchesLongestThenTestPred() - Method in class org.antlr.test.TestSemanticPredicates
 
testLexerOptionalSet() - Method in class org.antlr.test.TestSets
 
testLexerPlusSet() - Method in class org.antlr.test.TestSets
 
testLexerPred() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testLexerPredCyclicPrediction() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testLexerPredCyclicPrediction2() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testLexerPredInExitBranch() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerPredInExitBranch2() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerPredInExitBranch3() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerPredInExitBranch4() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerPreds() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerPreds2() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerPredsInCyclicDFA() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerPredsInCyclicDFA2() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testLexerRuleInParser() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLexerRulePropertyRefs() - Method in class org.antlr.test.TestAttributes
 
testLexerRuleRedefinition() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLexerStarSet() - Method in class org.antlr.test.TestSets
 
testLexerTokensSection() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLexerWithPredLongerThanAlt() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testList() - Method in class org.antlr.test.TestTreeNodeStream
 
testListAndRuleLabelTypeMismatch() - Method in class org.antlr.test.TestAttributes
 
testListAndTokenLabelTypeMismatch() - Method in class org.antlr.test.TestAttributes
 
testListLabelInLexer() - Method in class org.antlr.test.TestLexer
 
testListLabelOfClosure() - Method in class org.antlr.test.TestASTConstruction
 
testListLabelOfClosure2() - Method in class org.antlr.test.TestASTConstruction
 
testListRefdOneAtATime() - Method in class org.antlr.test.TestRewriteAST
 
testListTree() - Method in class org.antlr.test.TestTreeWizard
 
testListWithOneNode() - Method in class org.antlr.test.TestTreeNodeStream
 
testLiteralInParserAndLexer() - Method in class org.antlr.test.TestSymbolDefinitions
 
testLL_1_Pred() - Method in class org.antlr.test.TestSemanticPredicates
 
testLL_2_Pred() - Method in class org.antlr.test.TestSemanticPredicates
 
testLoopbackAndExit() - Method in class org.antlr.test.TestDFAConversion
 
testLoopCardinality() - Method in class org.antlr.test.TestRewriteAST
 
testLoopsWithOptimizedOutExitBranches() - Method in class org.antlr.test.TestCharDFAConversion
 
testLT() - Method in class org.antlr.test.TestTreeNodeStream
 
testMarkRewindEntire() - Method in class org.antlr.test.TestTreeNodeStream
 
testMarkRewindInMiddle() - Method in class org.antlr.test.TestTreeNodeStream
 
testMarkRewindNested() - Method in class org.antlr.test.TestTreeNodeStream
 
testMatchesLongestThenTestPred() - Method in class org.antlr.test.TestSemanticPredicates
 
testMembership() - Method in class org.antlr.test.TestIntervalSet
 
testMergeOfRangesAndSingleValues() - Method in class org.antlr.test.TestIntervalSet
 
testMergeOfRangesAndSingleValuesReverse() - Method in class org.antlr.test.TestIntervalSet
 
testMergeWhereAdditionMergesTwoExistingIntervals() - Method in class org.antlr.test.TestIntervalSet
 
testMergeWithDoubleOverlap() - Method in class org.antlr.test.TestIntervalSet
 
TestMessages - Class in org.antlr.test
 
TestMessages() - Constructor for class org.antlr.test.TestMessages
Public default constructor used by TestRig
testMessageStringificationIsConsistent() - Method in class org.antlr.test.TestMessages
 
testMismatchedSetError() - Method in class org.antlr.test.TestInterpretedParsing
 
testMismatchedTokenError() - Method in class org.antlr.test.TestInterpretedParsing
 
testMissingArgs() - Method in class org.antlr.test.TestAttributes
 
testMissingArgsInLexer() - Method in class org.antlr.test.TestAttributes
 
testMissingArgsOnTokenInLexerRuleOfCombined() - Method in class org.antlr.test.TestAttributes
 
testMissingRuleAttribute() - Method in class org.antlr.test.TestAttributes
 
testMissingUnlabeledRuleAttribute() - Method in class org.antlr.test.TestAttributes
 
testMixedPlusEqualLabel() - Method in class org.antlr.test.TestSymbolDefinitions
 
testMixedRangesAndElements() - Method in class org.antlr.test.TestIntervalSet
 
testMixedRewriteAndAutoAST() - Method in class org.antlr.test.TestRewriteAST
 
testMultAltLoop() - Method in class org.antlr.test.TestInterpretedLexing
 
testMultipleAltsSameSequenceCollision() - Method in class org.antlr.test.TestDFAConversion
 
testMultiplePredicate() - Method in class org.antlr.test.TestRewriteAST
 
testMultiplePredicates() - Method in class org.antlr.test.TestNFAConstruction
 
testMultiplePredicateTrees() - Method in class org.antlr.test.TestRewriteAST
 
testMultipleRefToFragment() - Method in class org.antlr.test.TestLexer
 
testMultipleReturnInitValue() - Method in class org.antlr.test.TestAttributes
 
testMultipleSequenceCollision() - Method in class org.antlr.test.TestDFAConversion
 
testNakedAoptional() - Method in class org.antlr.test.TestNFAConstruction
 
testNakedAplus() - Method in class org.antlr.test.TestNFAConstruction
 
testNakedAstar() - Method in class org.antlr.test.TestNFAConstruction
 
testNakedRuleOptional() - Method in class org.antlr.test.TestASTConstruction
 
testNakedRulePlus() - Method in class org.antlr.test.TestASTConstruction
 
testNakedRuleStar() - Method in class org.antlr.test.TestASTConstruction
 
testNakeRulePlusInLexer() - Method in class org.antlr.test.TestASTConstruction
 
testNamedTemplate() - Method in class org.antlr.test.TestRewriteTemplates
 
testNestedAstar() - Method in class org.antlr.test.TestNFAConstruction
 
testNestedPushPop() - Method in class org.antlr.test.TestCommonTreeNodeStream
 
testNestedRewriteShutsOffAutoAST() - Method in class org.antlr.test.TestRewriteAST
 
testNestedSubrule() - Method in class org.antlr.test.TestAutoAST
 
testNestedTokenTreeWithOuterLoop() - Method in class org.antlr.test.TestRewriteAST
 
testNestedTrees() - Method in class org.antlr.test.TestRewriteAST
 
TestNFAConstruction - Class in org.antlr.test
 
TestNFAConstruction() - Constructor for class org.antlr.test.TestNFAConstruction
Public default constructor used by TestRig
testNonAdjacentNotCharLoops() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonDynamicAttributeOutsideRule() - Method in class org.antlr.test.TestAttributes
 
testNonDynamicAttributeOutsideRule2() - Method in class org.antlr.test.TestAttributes
 
testNonGreedy() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonGreedyByDefaultWildcardPlus() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonGreedyByDefaultWildcardPlusWithParens() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonGreedyByDefaultWildcardStar() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonGreedyLoopThatNeverLoops() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonGreedyWildcardPlus() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonGreedyWildcardStar() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonWildcardEOTMakesItWorkWithoutNonGreedyOption() - Method in class org.antlr.test.TestCharDFAConversion
 
testNonWildcardNonGreedy() - Method in class org.antlr.test.TestCharDFAConversion
 
testNoRepeatsIndex() - Method in class org.antlr.test.TestTreeWizard
 
testNoRepeatsVisit() - Method in class org.antlr.test.TestTreeWizard
 
testNoRepeatsVisit2() - Method in class org.antlr.test.TestTreeWizard
 
testNoSetCollapseWithActions() - Method in class org.antlr.test.TestDFAConversion
 
testNoStartRule() - Method in class org.antlr.test.TestDFAConversion
 
testNotBlockSet() - Method in class org.antlr.test.TestNFAConstruction
 
testNotBlockSetLoop() - Method in class org.antlr.test.TestNFAConstruction
 
testNotChar() - Method in class org.antlr.test.TestSets
 
testNotCharSet() - Method in class org.antlr.test.TestNFAConstruction
 
testNotCharSet() - Method in class org.antlr.test.TestSets
 
testNotCharSetWithLabel() - Method in class org.antlr.test.TestSets
 
testNotCharSetWithRuleRef() - Method in class org.antlr.test.TestSets
 
testNotCharSetWithRuleRef2() - Method in class org.antlr.test.TestSets
 
testNotCharSetWithRuleRef3() - Method in class org.antlr.test.TestSets
 
testNotCharSetWithRuleRef4() - Method in class org.antlr.test.TestSets
 
testNotComplicatedSetRuleInLexer() - Method in class org.antlr.test.TestCharDFAConversion
 
testNotEqualSet() - Method in class org.antlr.test.TestIntervalSet
 
testNotFragmentInLexer() - Method in class org.antlr.test.TestCharDFAConversion
 
testNotRIntersectionNotT() - Method in class org.antlr.test.TestIntervalSet
The following was broken: {''..'s', 'u'..'?'} & {''..'q', 's'..'?'}= {''..'q', 's'}!!!! broken...
testNotSet() - Method in class org.antlr.test.TestAutoAST
 
testNotSet() - Method in class org.antlr.test.TestIntervalSet
 
testNotSet() - Method in class org.antlr.test.TestNFAConstruction
 
testNotSetEdgeElement() - Method in class org.antlr.test.TestIntervalSet
 
testNotSetFragmentedVocabulary() - Method in class org.antlr.test.TestIntervalSet
 
testNotSetFragmentInLexer() - Method in class org.antlr.test.TestCharDFAConversion
 
testNotSetLabel() - Method in class org.antlr.test.TestASTConstruction
 
testNotSetListLabel() - Method in class org.antlr.test.TestASTConstruction
 
testNotSetListLabelInLoop() - Method in class org.antlr.test.TestASTConstruction
 
testNotSetLoop() - Method in class org.antlr.test.TestNFAConstruction
 
testNotSetRoot() - Method in class org.antlr.test.TestAutoAST
 
testNotSetRuleRootInLoop() - Method in class org.antlr.test.TestAutoAST
 
testNotSetWithRuleInLexer() - Method in class org.antlr.test.TestCharDFAConversion
 
testNotSingleElement() - Method in class org.antlr.test.TestIntervalSet
 
testNotSingletonBlockSet() - Method in class org.antlr.test.TestNFAConstruction
 
testNotTokenInLexer() - Method in class org.antlr.test.TestCharDFAConversion
 
testNoViableAltError() - Method in class org.antlr.test.TestInterpretedParsing
 
testNullableChildList() - Method in class org.antlr.test.TestTreeParsing
 
testNullableChildList2() - Method in class org.antlr.test.TestTreeParsing
 
testNullableChildList3() - Method in class org.antlr.test.TestTreeParsing
 
testOptional() - Method in class org.antlr.test.TestRewriteAST
 
testOptional2() - Method in class org.antlr.test.TestRewriteAST
 
testOptional3() - Method in class org.antlr.test.TestRewriteAST
 
testOptional4() - Method in class org.antlr.test.TestRewriteAST
 
testOptional5() - Method in class org.antlr.test.TestRewriteAST
 
testOptionalAltAndBypass() - Method in class org.antlr.test.TestDFAConversion
 
testOptionalBlockWithSynPred() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testOptionalLabelNoListLabel() - Method in class org.antlr.test.TestRewriteAST
 
testOptionalLexerSingleElement() - Method in class org.antlr.test.TestSets
 
testOptionalSet() - Method in class org.antlr.test.TestSets
 
testOptionalSingleElement() - Method in class org.antlr.test.TestSets
 
testOptionalSingleRule() - Method in class org.antlr.test.TestRewriteAST
 
testOptionalSingleToken() - Method in class org.antlr.test.TestRewriteAST
 
testOptionalSubruleWithoutRealElements() - Method in class org.antlr.test.TestRewriteAST
 
testOptionalThenRoot() - Method in class org.antlr.test.TestAutoAST
 
testORGatedPred() - Method in class org.antlr.test.TestSemanticPredicates
 
testOrPredicates() - Method in class org.antlr.test.TestSemanticPredicates
 
testParse() - Method in class org.antlr.test.TestTreeWizard
 
testParseFlatTree() - Method in class org.antlr.test.TestTreeWizard
 
testParseLabels() - Method in class org.antlr.test.TestTreeWizard
 
testParseLabelsAndTestText() - Method in class org.antlr.test.TestTreeWizard
 
testParseLabelsInNestedTree() - Method in class org.antlr.test.TestTreeWizard
 
testParserCharLiterals() - Method in class org.antlr.test.TestSymbolDefinitions
 
testParserCharLiteralWithEscape() - Method in class org.antlr.test.TestSymbolDefinitions
 
testParserNotSet() - Method in class org.antlr.test.TestSets
 
testParserNotToken() - Method in class org.antlr.test.TestSets
 
testParserNotTokenWithLabel() - Method in class org.antlr.test.TestSets
 
testParserRuleInLexer() - Method in class org.antlr.test.TestSymbolDefinitions
 
testParserSet() - Method in class org.antlr.test.TestSets
 
testParserSimpleTokens() - Method in class org.antlr.test.TestSymbolDefinitions
 
testParserStringLiterals() - Method in class org.antlr.test.TestSymbolDefinitions
 
testParserTokensSection() - Method in class org.antlr.test.TestSymbolDefinitions
 
testParseSingleNode() - Method in class org.antlr.test.TestTreeWizard
 
testParseWithText() - Method in class org.antlr.test.TestTreeWizard
 
testParseWithTextFails() - Method in class org.antlr.test.TestTreeWizard
 
testParseWithWildcardLabels() - Method in class org.antlr.test.TestTreeWizard
 
testPlusEqualSetLabel() - Method in class org.antlr.test.TestAttributes
 
testPlusEqualStringLabel() - Method in class org.antlr.test.TestAttributes
 
testPlusEqualWildcardLabel() - Method in class org.antlr.test.TestAttributes
 
testPlusLexerSingleElement() - Method in class org.antlr.test.TestSets
 
testPlusNestedInStar() - Method in class org.antlr.test.TestNFAConstruction
 
testPlusSet() - Method in class org.antlr.test.TestSets
 
testPositiveClosureSingleRule() - Method in class org.antlr.test.TestRewriteAST
 
testPositiveClosureSingleToken() - Method in class org.antlr.test.TestRewriteAST
 
testPredGets2SymbolSyntacticContext() - Method in class org.antlr.test.TestSemanticPredicates
 
testPredicatedAlts() - Method in class org.antlr.test.TestRewriteTemplates
 
testPredicatedAorB() - Method in class org.antlr.test.TestNFAConstruction
 
testPredicatedLoop() - Method in class org.antlr.test.TestSemanticPredicates
 
testPredicatedToStayInLoop() - Method in class org.antlr.test.TestSemanticPredicates
 
testPredicatesOnEOTTarget() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testPredicateValidation() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testPredsButSyntaxResolves() - Method in class org.antlr.test.TestSemanticPredicates
 
testPredsUsedAfterRecursionOverflow() - Method in class org.antlr.test.TestSemanticPredicates
 
testPredWithActionTranslation() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testPredWithArbitraryLookahead() - Method in class org.antlr.test.TestSemanticPredicates
 
testPredWithK1() - Method in class org.antlr.test.TestSemanticPredicates
 
testPushPop() - Method in class org.antlr.test.TestCommonTreeNodeStream
 
testPushPopFromEOF() - Method in class org.antlr.test.TestCommonTreeNodeStream
 
testQueueingOfTokens() - Method in class org.antlr.test.TestRewriteAST
 
testRange() - Method in class org.antlr.test.TestNFAConstruction
 
testRangeAndIsolatedElement() - Method in class org.antlr.test.TestIntervalSet
 
testRangeOrRange() - Method in class org.antlr.test.TestNFAConstruction
 
testRangeWithDisjointSet() - Method in class org.antlr.test.TestCharDFAConversion
 
testRecursive() - Method in class org.antlr.test.TestCharDFAConversion
 
testRecursive2() - Method in class org.antlr.test.TestCharDFAConversion
 
testRefToFragment() - Method in class org.antlr.test.TestLexer
 
testRefToOldValue() - Method in class org.antlr.test.TestRewriteAST
 
testRefToReturnValueBeforeRefToPredefinedAttr() - Method in class org.antlr.test.TestAttributes
$x.start refs are checked during translation not before so ANTLR misses the fact that rule r has refs to predefined attributes if the ref is after the def of the method or self-referential.
testRefToRuleDoesNotSetTokenNorEmitAnother() - Method in class org.antlr.test.TestLexer
 
testRefToRuleRefInLexer() - Method in class org.antlr.test.TestAttributes
 
testRefToRuleRefInLexerNoAttribute() - Method in class org.antlr.test.TestAttributes
 
testRefToRuleWithNoReturnValue() - Method in class org.antlr.test.TestSymbolDefinitions
 
testRefToStartAttributeForCurrentRule() - Method in class org.antlr.test.TestAttributes
 
testRefToTemplateAttributeForCurrentRule() - Method in class org.antlr.test.TestAttributes
 
testRefToTextAttributeForCurrentRule() - Method in class org.antlr.test.TestAttributes
 
testRefToTextAttributeForCurrentTreeRule() - Method in class org.antlr.test.TestAttributes
 
testRefToTokenInLexer() - Method in class org.antlr.test.TestLexer
 
testReorderTokenAndRule() - Method in class org.antlr.test.TestRewriteAST
 
testReorderTokens() - Method in class org.antlr.test.TestRewriteAST
 
testRepeatedLabelInLexer() - Method in class org.antlr.test.TestLexer
 
testRepeatedRuleLabelInLexer() - Method in class org.antlr.test.TestLexer
 
testRepeatsIndex() - Method in class org.antlr.test.TestTreeWizard
 
testRepeatsVisit() - Method in class org.antlr.test.TestTreeWizard
 
testRepeatsVisit2() - Method in class org.antlr.test.TestTreeWizard
 
testRepeatsVisitWithContext() - Method in class org.antlr.test.TestTreeWizard
 
testRepeatsVisitWithNullParentAndContext() - Method in class org.antlr.test.TestTreeWizard
 
testReplaceAll() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceIndex0() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceLastIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceMiddleIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceRangeThenInsertAfterRightEdge() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceRangeThenInsertAtLeftEdge() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceRangeThenInsertAtRightEdge() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceRangeThenInsertInMiddle() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceSingleMiddleThenOverlappingSuperset() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceSubsetThenFetch() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThen2InsertSameIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThenDeleteMiddleIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThenInsertAfterLastIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThenInsertBeforeLastIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThenInsertSameIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThenReplaceLowerIndexedSuperset() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThenReplaceSuperset() - Method in class org.antlr.test.TestTokenRewriteStream
 
testResolveLL1ByChoosingFirst() - Method in class org.antlr.test.TestDFAConversion
 
testResolveLL2ByChoosingFirst() - Method in class org.antlr.test.TestDFAConversion
 
testResolveLL2MixAlt() - Method in class org.antlr.test.TestDFAConversion
 
testReturnInitValue() - Method in class org.antlr.test.TestAttributes
 
testReturnValue() - Method in class org.antlr.test.TestAttributes
 
testReturnValues() - Method in class org.antlr.test.TestAttributes
 
testReturnValueWithAST() - Method in class org.antlr.test.TestAutoAST
 
testReturnValueWithNumber() - Method in class org.antlr.test.TestAttributes
 
testReturnValueWithTemplate() - Method in class org.antlr.test.TestRewriteTemplates
 
testReturnWithMultipleRuleRefs() - Method in class org.antlr.test.TestAttributes
 
testReuseExistingLabelWithImplicitRuleLabel() - Method in class org.antlr.test.TestAttributes
 
testReuseExistingLabelWithImplicitTokenLabel() - Method in class org.antlr.test.TestAttributes
 
testReuseExistingListLabelWithImplicitRuleLabel() - Method in class org.antlr.test.TestAttributes
 
testReuseExistingListLabelWithImplicitTokenLabel() - Method in class org.antlr.test.TestAttributes
 
testRewriteAction() - Method in class org.antlr.test.TestRewriteAST
 
testRewriteActions() - Method in class org.antlr.test.TestRewriteAST
 
testRewriteActions2() - Method in class org.antlr.test.TestRewriteAST
 
TestRewriteAST - Class in org.antlr.test
 
TestRewriteAST() - Constructor for class org.antlr.test.TestRewriteAST
 
testRewriteRuleAndRewriteModeIgnoreActionsPredicates() - Method in class org.antlr.test.TestRewriteTemplates
 
testRewriteRuleAndRewriteModeNotSimple() - Method in class org.antlr.test.TestRewriteTemplates
 
testRewriteRuleAndRewriteModeOnSimpleElements() - Method in class org.antlr.test.TestRewriteTemplates
 
testRewriteRuleAndRewriteModeRefRule() - Method in class org.antlr.test.TestRewriteTemplates
 
TestRewriteTemplates - Class in org.antlr.test
 
TestRewriteTemplates() - Constructor for class org.antlr.test.TestRewriteTemplates
 
testRootRoot() - Method in class org.antlr.test.TestAutoAST
 
testRootRoot2() - Method in class org.antlr.test.TestAutoAST
 
testRootThenRootInLoop() - Method in class org.antlr.test.TestAutoAST
 
testRootTokenInStarLoop() - Method in class org.antlr.test.TestASTConstruction
 
testRuleAltsSetCollapse() - Method in class org.antlr.test.TestDFAConversion
 
testRuleAndTokenLabelTypeMismatch() - Method in class org.antlr.test.TestAttributes
 
testRuleAsSet() - Method in class org.antlr.test.TestSets
 
testRuleAsSetAST() - Method in class org.antlr.test.TestSets
 
testRuleInvocationRuleRootInLoop() - Method in class org.antlr.test.TestAutoAST
 
testRuleLabel() - Method in class org.antlr.test.TestASTConstruction
 
testRuleLabel() - Method in class org.antlr.test.TestRewriteAST
 
testRuleLabelBeforeRefToPredefinedAttr() - Method in class org.antlr.test.TestAttributes
 
testRuleLabelFromMultipleAlts() - Method in class org.antlr.test.TestAttributes
 
testRuleLabelOfPositiveClosure() - Method in class org.antlr.test.TestASTConstruction
 
testRuleLabelOnTwoDifferentRulesAST() - Method in class org.antlr.test.TestAttributes
 
testRuleLabelOnTwoDifferentRulesTemplate() - Method in class org.antlr.test.TestAttributes
 
testRuleLabels() - Method in class org.antlr.test.TestAttributes
 
testRuleLabelScopeConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testRuleLabelsWithSpecialToken() - Method in class org.antlr.test.TestAttributes
 
testRuleLabelWithoutOutputOption() - Method in class org.antlr.test.TestAttributes
 
testRuleListLabel() - Method in class org.antlr.test.TestAutoAST
 
testRuleListLabel() - Method in class org.antlr.test.TestRewriteAST
 
testRuleListLabel2() - Method in class org.antlr.test.TestRewriteAST
 
testRuleListLabelBang() - Method in class org.antlr.test.TestAutoAST
 
testRuleListLabelOfPositiveClosure() - Method in class org.antlr.test.TestASTConstruction
 
testRuleListLabelRuleRoot() - Method in class org.antlr.test.TestAutoAST
 
testRuleOptional() - Method in class org.antlr.test.TestASTConstruction
 
testRulePlus() - Method in class org.antlr.test.TestASTConstruction
 
testRuleRedefinition() - Method in class org.antlr.test.TestSymbolDefinitions
 
testRuleRefWhenRuleHasScope() - Method in class org.antlr.test.TestAttributes
 
testRuleRefWithDynamicScope() - Method in class org.antlr.test.TestAttributes
 
testRuleRootInLoop() - Method in class org.antlr.test.TestAutoAST
 
testRuleScopeArgConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testRuleScopeConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testRuleScopeFromAnotherRule() - Method in class org.antlr.test.TestAttributes
 
testRuleScopeOutsideRule() - Method in class org.antlr.test.TestAttributes
 
testRuleScopeReturnValueConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testRuleScopeRuleNameConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testRuleStar() - Method in class org.antlr.test.TestASTConstruction
 
testScopeAndAttributeWithUnderscore() - Method in class org.antlr.test.TestAttributes
 
testSeek() - Method in class org.antlr.test.TestTreeNodeStream
 
testSeekFromStart() - Method in class org.antlr.test.TestTreeNodeStream
 
testselfRecurseNonDet() - Method in class org.antlr.test.TestDFAConversion
 
testselfRecurseNonDet2() - Method in class org.antlr.test.TestDFAConversion
 
testSelfRecursionAmbigAlts() - Method in class org.antlr.test.TestDFAConversion
 
TestSemanticPredicateEvaluation - Class in org.antlr.test
 
TestSemanticPredicateEvaluation() - Constructor for class org.antlr.test.TestSemanticPredicateEvaluation
 
TestSemanticPredicates - Class in org.antlr.test
 
TestSemanticPredicates() - Constructor for class org.antlr.test.TestSemanticPredicates
Public default constructor used by TestRig
testSeqDoesNotBecomeSet() - Method in class org.antlr.test.TestSets
 
testSet() - Method in class org.antlr.test.TestAutoAST
 
testSet() - Method in class org.antlr.test.TestRewriteAST
 
testSetAsRuleRootInLoop() - Method in class org.antlr.test.TestAutoAST
 
testSetAttr() - Method in class org.antlr.test.TestTemplates
 
testSetAttrOfExpr() - Method in class org.antlr.test.TestTemplates
 
testSetCallsRuleWithNot() - Method in class org.antlr.test.TestCharDFAConversion
 
testSetDoesNotMissTokenAliases() - Method in class org.antlr.test.TestSymbolDefinitions
 
testSetFullyQualifiedRefToCurrentRuleRetVal() - Method in class org.antlr.test.TestAttributes
 
testSetLabel() - Method in class org.antlr.test.TestASTConstruction
 
testSetLoop() - Method in class org.antlr.test.TestAutoAST
 
testSetRoot() - Method in class org.antlr.test.TestAutoAST
 
testSets() - Method in class org.antlr.test.TestDFAMatching
 
testSets() - Method in class org.antlr.test.TestNFAConstruction
 
TestSets - Class in org.antlr.test
Test the set stuff in lexer and parser
TestSets() - Constructor for class org.antlr.test.TestSets
Public default constructor used by TestRig
testSetsInCombinedGrammarSentToLexer() - Method in class org.antlr.test.TestNFAConstruction
 
testSetText() - Method in class org.antlr.test.TestLexer
 
testSettingLexerRulePropertyRefs() - Method in class org.antlr.test.TestAttributes
 
testSharedGlobalScope() - Method in class org.antlr.test.TestAttributes
 
testSimpleAltCharTest() - Method in class org.antlr.test.TestDFAMatching
 
testSimpleAltCharTest() - Method in class org.antlr.test.TestInterpretedLexing
 
testSimpleAnd() - Method in class org.antlr.test.TestIntervalSet
 
testSimpleCyclicDFAWithInstanceVarPredicate() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testSimpleCyclicDFAWithPredicate() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 
testSimpleEquals() - Method in class org.antlr.test.TestIntervalSet
 
testSimpleLoop() - Method in class org.antlr.test.TestInterpretedLexing
 
testSimpleLoops() - Method in class org.antlr.test.TestDFAMatching
 
testSimpleLoops() - Method in class org.antlr.test.TestInterpretedLexing
 
testSimpleNestedPred() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testSimpleParse() - Method in class org.antlr.test.TestInterpretedParsing
 
testSimplePlusEqualLabel() - Method in class org.antlr.test.TestAttributes
 
testSimplePlusEqualLabel() - Method in class org.antlr.test.TestSymbolDefinitions
 
testSimpleRangeVersusChar() - Method in class org.antlr.test.TestCharDFAConversion
 
testSimpleRootAtOuterLevel() - Method in class org.antlr.test.TestAutoAST
 
testSimpleRootAtOuterLevelReverse() - Method in class org.antlr.test.TestAutoAST
 
testSimpleTree() - Method in class org.antlr.test.TestRewriteAST
 
testSimpleTree() - Method in class org.antlr.test.TestTreeParsing
 
testSimpleTree2() - Method in class org.antlr.test.TestRewriteAST
 
testSingleCharLiteral() - Method in class org.antlr.test.TestRewriteAST
 
testSingleElement() - Method in class org.antlr.test.TestIntervalSet
 
testSingleElementMinusDisjointSet() - Method in class org.antlr.test.TestIntervalSet
 
testSingleLevelTree() - Method in class org.antlr.test.TestTreeWizard
 
testSingleNode() - Method in class org.antlr.test.TestRewriteTemplates
 
testSingleNode() - Method in class org.antlr.test.TestTreeNodeStream
 
testSingleNode() - Method in class org.antlr.test.TestTreeWizard
 
testSingleNodeIndex() - Method in class org.antlr.test.TestTreeWizard
 
testSingleNodeRewriteMode() - Method in class org.antlr.test.TestRewriteTemplates
tree parsing with output=template and rewrite=true
testSingleNodeTree() - Method in class org.antlr.test.TestTreeWizard
 
testSingleNodeWithArg() - Method in class org.antlr.test.TestTreeWizard
 
testSinglePredicateF() - Method in class org.antlr.test.TestRewriteAST
 
testSinglePredicateT() - Method in class org.antlr.test.TestRewriteAST
 
testSingleRule() - Method in class org.antlr.test.TestRewriteAST
 
testSingleRuleRef() - Method in class org.antlr.test.TestInterpretedLexing
 
testSingleStringLiteral() - Method in class org.antlr.test.TestRewriteAST
 
testSingleToken() - Method in class org.antlr.test.TestRewriteAST
 
testSingleTokenToNewNode() - Method in class org.antlr.test.TestRewriteAST
 
testSingleTokenToNewNode2() - Method in class org.antlr.test.TestRewriteAST
 
testSingleTokenToNewNodeRoot() - Method in class org.antlr.test.TestRewriteAST
 
testSize() - Method in class org.antlr.test.TestIntervalSet
 
testSplitListWithLabels() - Method in class org.antlr.test.TestRewriteAST
 
testStackStretch() - Method in class org.antlr.test.TestCommonTreeNodeStream
 
testStarLexerSingleElement() - Method in class org.antlr.test.TestSets
 
testStarNestedInPlus() - Method in class org.antlr.test.TestNFAConstruction
 
testStarSet() - Method in class org.antlr.test.TestSets
 
testStringConstructor() - Method in class org.antlr.test.TestTemplates
 
testStringLiteralInParserTokensSection() - Method in class org.antlr.test.TestSymbolDefinitions
 
testStringStar() - Method in class org.antlr.test.TestASTConstruction
 
testStringStarInLexer() - Method in class org.antlr.test.TestASTConstruction
 
testSubruleWithRewrite() - Method in class org.antlr.test.TestRewriteAST
 
testSubruleWithRewrite2() - Method in class org.antlr.test.TestRewriteAST
 
testSubtractOfCompletelyContainedRange() - Method in class org.antlr.test.TestIntervalSet
 
testSubtractOfCompletelyCoveredRange() - Method in class org.antlr.test.TestIntervalSet
 
testSubtractOfOverlappingRangeFromLeft() - Method in class org.antlr.test.TestIntervalSet
 
testSubtractOfOverlappingRangeFromRight() - Method in class org.antlr.test.TestIntervalSet
 
testSubtractOfRangeSpanningMultipleRanges() - Method in class org.antlr.test.TestIntervalSet
 
testSubtractOfWackyRange() - Method in class org.antlr.test.TestIntervalSet
The following was broken: {0..113, 115..65534}-{0..115, 117..65534}=116..65534
TestSymbolDefinitions - Class in org.antlr.test
 
TestSymbolDefinitions() - Constructor for class org.antlr.test.TestSymbolDefinitions
Public default constructor used by TestRig
testSynPredInLexer() - Method in class org.antlr.test.TestCharDFAConversion
 
testSynPredK2() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testSynPredKStar() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testSynPredResolvesRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testSynPredResolvesRecursionInLexer() - Method in class org.antlr.test.TestDFAConversion
 
testSynPredWithOutputAST() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testSynPredWithOutputTemplate() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testSynpredWithPlusLoop() - Method in class org.antlr.test.TestJavaCodeGeneration
 
TestSyntacticPredicateEvaluation - Class in org.antlr.test
 
TestSyntacticPredicateEvaluation() - Constructor for class org.antlr.test.TestSyntacticPredicateEvaluation
 
testTailRecursion() - Method in class org.antlr.test.TestAutoAST
 
testTailRecursionInvokedFromArbitraryLookaheadDecision() - Method in class org.antlr.test.TestDFAConversion
 
testTemplateConstructor() - Method in class org.antlr.test.TestTemplates
 
testTemplateConstructorNoArgs() - Method in class org.antlr.test.TestTemplates
 
testTemplateOutput() - Method in class org.antlr.test.TestTreeParsing
 
testTemplateRefToDynamicAttributes() - Method in class org.antlr.test.TestRewriteTemplates
 
testTemplateReturn() - Method in class org.antlr.test.TestRewriteTemplates
 
TestTemplates - Class in org.antlr.test
Test templates in actions; %...
TestTemplates() - Constructor for class org.antlr.test.TestTemplates
 
testTokenCallsAnotherOnLeftEdge() - Method in class org.antlr.test.TestDFAConversion
 
testTokenCopyInLoop() - Method in class org.antlr.test.TestRewriteAST
 
testTokenCopyInLoopAgainstTwoOthers() - Method in class org.antlr.test.TestRewriteAST
 
testTokenInTokensSectionAndTokenRuleDef() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenInTokensSectionAndTokenRuleDef2() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenLabelFromMultipleAlts() - Method in class org.antlr.test.TestAttributes
 
testTokenLabelReuse() - Method in class org.antlr.test.TestAutoAST
 
testTokenLabelReuse2() - Method in class org.antlr.test.TestAutoAST
 
testTokenLabels() - Method in class org.antlr.test.TestAttributes
 
testTokenLabelScopeConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenLabelTreeProperty() - Method in class org.antlr.test.TestAttributes
 
testTokenList() - Method in class org.antlr.test.TestAutoAST
 
testTokenListInSingleAltBlock() - Method in class org.antlr.test.TestAutoAST
 
testTokenListLabelBang() - Method in class org.antlr.test.TestAutoAST
 
testTokenListLabelReuse() - Method in class org.antlr.test.TestAutoAST
 
testTokenListLabelReuse2() - Method in class org.antlr.test.TestAutoAST
 
testTokenListLabelRuleRoot() - Method in class org.antlr.test.TestAutoAST
 
testTokenRefTreeProperty() - Method in class org.antlr.test.TestAttributes
 
TestTokenRewriteStream - Class in org.antlr.test
 
TestTokenRewriteStream() - Constructor for class org.antlr.test.TestTokenRewriteStream
Public default constructor used by TestRig
testTokenRuleScopeConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenRuleScopeConflictInLexerGrammar() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenScopeConflict() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokensRuleAltsDoNotCollapse() - Method in class org.antlr.test.TestDFAConversion
 
testTokensRules() - Method in class org.antlr.test.TestInterpretedLexing
 
testTokensSectionWithAssignmentSection() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenTree() - Method in class org.antlr.test.TestRewriteAST
 
testTokenTreeAfterOtherStuff() - Method in class org.antlr.test.TestRewriteAST
 
testTokenUnreferencedOnLeftButDefined() - Method in class org.antlr.test.TestRewriteAST
 
testToList() - Method in class org.antlr.test.TestIntervalSet
 
testTooFewSemanticPredicates() - Method in class org.antlr.test.TestSemanticPredicates
 
TestTreeNodeStream - Class in org.antlr.test
Test the tree node stream.
TestTreeNodeStream() - Constructor for class org.antlr.test.TestTreeNodeStream
 
testTreeParserWithNestedSynPred() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testTreeParserWithSynPred() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
TestTreeParsing - Class in org.antlr.test
 
TestTreeParsing() - Constructor for class org.antlr.test.TestTreeParsing
 
testTreeRuleStopAttributeIsInvalid() - Method in class org.antlr.test.TestAttributes
 
TestTreeWizard - Class in org.antlr.test
 
TestTreeWizard() - Constructor for class org.antlr.test.TestTreeWizard
 
testTripleNestedPredInLexer() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testTwoPredsWithNakedAlt() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testTwoPredsWithNakedAltNotLast() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
TestUnBufferedTreeNodeStream - Class in org.antlr.test
Created by IntelliJ IDEA.
TestUnBufferedTreeNodeStream() - Constructor for class org.antlr.test.TestUnBufferedTreeNodeStream
 
testUndefinedRule() - Method in class org.antlr.test.TestSymbolDefinitions
 
testUndefinedToken() - Method in class org.antlr.test.TestSymbolDefinitions
 
testUndefinedTokenOkInParser() - Method in class org.antlr.test.TestSymbolDefinitions
 
testUniquePredicateOR() - Method in class org.antlr.test.TestSemanticPredicates
For a DFA state with lots of configurations that have the same predicate, don't just OR them all together as it's a waste to test a||a||b||a||a etc...
testUnknownCharLiteralToken() - Method in class org.antlr.test.TestRewriteAST
 
testUnknownDynamicAttribute() - Method in class org.antlr.test.TestAttributes
 
testUnknownGlobalDynamicAttribute() - Method in class org.antlr.test.TestAttributes
 
testUnknownGlobalScope() - Method in class org.antlr.test.TestAttributes
 
testUnknownLabel() - Method in class org.antlr.test.TestRewriteAST
 
testUnknownRule() - Method in class org.antlr.test.TestRewriteAST
 
testUnknownStringLiteralToken() - Method in class org.antlr.test.TestRewriteAST
 
testUnknownToken() - Method in class org.antlr.test.TestRewriteAST
 
testUnqualifiedRuleScopeAccessInsideRule() - Method in class org.antlr.test.TestAttributes
 
testUnqualifiedRuleScopeAttribute() - Method in class org.antlr.test.TestAttributes
 
testVisitPattern() - Method in class org.antlr.test.TestTreeWizard
 
testVisitPatternMultiple() - Method in class org.antlr.test.TestTreeWizard
 
testVisitPatternMultipleWithLabels() - Method in class org.antlr.test.TestTreeWizard
 
testWeCanSetType() - Method in class org.antlr.test.TestLexer
 
testWildcard() - Method in class org.antlr.test.TestAutoAST
 
testWildcard() - Method in class org.antlr.test.TestTreeWizard
 
testWildcardCharLabelInLexer() - Method in class org.antlr.test.TestAttributes
 
testWildcardCharListLabelInLexer() - Method in class org.antlr.test.TestAttributes
 
testWildcardPlusK1AndNonGreedyByDefaultInParser() - Method in class org.antlr.test.TestDFAConversion
 
testWildcardRoot() - Method in class org.antlr.test.TestAutoAST
 
testWildcardStarK1AndNonGreedyByDefaultInParser() - Method in class org.antlr.test.TestDFAConversion
 
TEXT - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
threshold - Variable in class org.antlr.misc.Barrier
 
tmpdir - Static variable in class org.antlr.test.BaseTest
 
toArray() - Method in class org.antlr.misc.BitSet
 
toArray() - Method in class org.antlr.misc.IntervalSet
 
token - Variable in class org.antlr.tool.GrammarAST
This AST node was created from what token?
TOKEN_LABEL - Static variable in class org.antlr.tool.Grammar
 
TOKEN_LIST_LABEL - Static variable in class org.antlr.tool.Grammar
 
TOKEN_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
tokenBuffer - Variable in class org.antlr.tool.Grammar
This is the buffer of *all* tokens found in the grammar file including whitespace tokens etc...
tokenIDRefs - Variable in class org.antlr.tool.Grammar
The unique set of all token ID references in any rule
tokenIDToTypeMap - Variable in class org.antlr.tool.Grammar
Map token like ID (but not literals like "while") to its token type
tokenLabels - Variable in class org.antlr.tool.Rule
A list of all LabelElementPair attached to tokens like id=ID
tokenListLabels - Variable in class org.antlr.tool.Rule
A list of all Token list LabelElementPair like ids+=ID
Tokens - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
tokens - Static variable in class org.antlr.test.TestTreeWizard
 
Tokens - Static variable in class org.antlr.tool.ActionAnalysisLexer
 
tokenScope - Static variable in class org.antlr.tool.AttributeScope
All token scopes (token labels) share the same fixed scope of of predefined attributes.
tokenTypeSet - Variable in class org.antlr.analysis.LookaheadSet
 
toList() - Method in class org.antlr.misc.BitSet
 
toList() - Method in class org.antlr.misc.IntervalSet
 
toList() - Method in interface org.antlr.misc.IntSet
 
toNodesOnlyString(TreeNodeStream) - Method in class org.antlr.test.TestTreeNodeStream
 
toNotifyString() - Method in class org.antlr.tool.GrammarReport
Create a single-line stats report about this grammar suitable to send to the notify page at antlr.org
tool - Variable in class org.antlr.codegen.CodeGenerator
A reference to the ANTLR tool so we can learn about output directories and such.
Tool - Class in org.antlr
The main ANTLR entry point.
Tool() - Constructor for class org.antlr.Tool
 
Tool(String[]) - Constructor for class org.antlr.Tool
 
tool - Variable in class org.antlr.tool.BuildDependencyGenerator
 
tool - Variable in class org.antlr.tool.Grammar
 
ToolMessage - Class in org.antlr.tool
A generic message from the tool such as "file not found" type errors; there is no reason to create a special object for each error unlike the grammar errors, which may be rather complex.
ToolMessage(int) - Constructor for class org.antlr.tool.ToolMessage
 
ToolMessage(int, Object) - Constructor for class org.antlr.tool.ToolMessage
 
ToolMessage(int, Throwable) - Constructor for class org.antlr.tool.ToolMessage
 
ToolMessage(int, Object, Object) - Constructor for class org.antlr.tool.ToolMessage
 
ToolMessage(int, Object, Throwable) - Constructor for class org.antlr.tool.ToolMessage
 
toPackedArray() - Method in class org.antlr.misc.BitSet
 
toRuntimeBitSet() - Method in class org.antlr.misc.IntervalSet
 
toString() - Method in class org.antlr.analysis.DFA
 
toString() - Method in class org.antlr.analysis.DFAState
Print all NFA states plus what alts they predict
toString() - Method in class org.antlr.analysis.Label
Predicates are lists of AST nodes from the NFA created from the grammar, but the same predicate could be cut/paste into multiple places in the grammar.
toString(Grammar) - Method in class org.antlr.analysis.Label
 
toString(Grammar) - Method in class org.antlr.analysis.LookaheadSet
 
toString() - Method in class org.antlr.analysis.LookaheadSet
 
toString() - Method in class org.antlr.analysis.NFAConfiguration
 
toString(boolean) - Method in class org.antlr.analysis.NFAConfiguration
 
toString() - Method in class org.antlr.analysis.NFAContext
 
toString() - Method in class org.antlr.analysis.NFAState
 
toString() - Method in class org.antlr.analysis.SemanticContext.AND
 
toString() - Method in class org.antlr.analysis.SemanticContext.NOT
 
toString() - Method in class org.antlr.analysis.SemanticContext.OR
 
toString() - Method in class org.antlr.analysis.SemanticContext.Predicate
 
toString() - Method in class org.antlr.analysis.SemanticContext.TruePredicate
 
toString() - Method in class org.antlr.analysis.Transition
 
toString() - Method in class org.antlr.misc.BitSet
 
toString(Grammar) - Method in class org.antlr.misc.BitSet
Transform a bit set into a string by formatting each element as an integer separator The string to put in between elements
toString(String, List) - Method in class org.antlr.misc.BitSet
Create a string representation where instead of integer elements, the ith element of vocabulary is displayed instead.
toString() - Method in class org.antlr.misc.IntArrayList
 
toString() - Method in class org.antlr.misc.Interval
 
toString() - Method in class org.antlr.misc.IntervalSet
 
toString(Grammar) - Method in class org.antlr.misc.IntervalSet
 
toString() - Method in interface org.antlr.misc.IntSet
 
toString(Grammar) - Method in interface org.antlr.misc.IntSet
 
toString() - Method in class org.antlr.misc.OrderedHashSet
 
toString() - Method in class org.antlr.test.BaseTest.StreamVacuum
 
toString() - Method in class org.antlr.test.ErrorQueue
 
toString() - Method in class org.antlr.tool.Attribute
 
toString() - Method in class org.antlr.tool.AttributeScope
 
toString() - Method in class org.antlr.tool.Grammar.LabelElementPair
 
toString() - Method in class org.antlr.tool.Grammar
 
toString() - Method in class org.antlr.tool.GrammarAnalysisAbortedMessage
 
toString() - Method in class org.antlr.tool.GrammarDanglingStateMessage
 
toString() - Method in class org.antlr.tool.GrammarInsufficientPredicatesMessage
 
toString() - Method in class org.antlr.tool.GrammarNonDeterminismMessage
 
toString() - Method in class org.antlr.tool.GrammarReport
Given a stats line suitable for sending to the antlr.org site, return a human-readable version.
toString(String) - Static method in class org.antlr.tool.GrammarReport
 
toString() - Method in class org.antlr.tool.GrammarSemanticsMessage
 
toString() - Method in class org.antlr.tool.GrammarSyntaxMessage
 
toString() - Method in class org.antlr.tool.GrammarUnreachableAltsMessage
 
toString() - Method in class org.antlr.tool.LeftRecursionCyclesMessage
 
toString(StringTemplate) - Method in class org.antlr.tool.Message
 
toString() - Method in class org.antlr.tool.NonRegularDecisionMessage
 
toString() - Method in class org.antlr.tool.RecursionOverflowMessage
 
toString() - Method in class org.antlr.tool.Rule
 
toString() - Method in class org.antlr.tool.ToolMessage
 
toStringOfHalfWords() - Method in class org.antlr.misc.BitSet
Dump a comma-separated list of the words making up the bit set.
toStringOfWords() - Method in class org.antlr.misc.BitSet
Dump a comma-separated list of the words making up the bit set.
toStringWithRanges() - Method in class org.antlr.misc.BitSet
 
trace - Variable in class org.antlr.codegen.CodeGenerator
Create a Tracer object and make the recognizer invoke this.
trace - Variable in class org.antlr.Tool
 
traceStatesLookingForLeftRecursion(NFAState, Set, List) - Method in class org.antlr.tool.GrammarSanity
From state s, look for any transition to a rule that is currently being traced.
trackAltsWithRewrites(GrammarAST, int) - Method in class org.antlr.tool.Rule
Track which rules have rewrite rules.
trackInlineAction(GrammarAST) - Method in class org.antlr.tool.Rule
 
trackRuleReferenceInAlt(GrammarAST, int) - Method in class org.antlr.tool.Rule
 
trackTokenReferenceInAlt(GrammarAST, int) - Method in class org.antlr.tool.Rule
Track a token ID or literal like '+' and "void" as having been referenced somewhere within the alts (not rewrite sections) of a rule.
trackUseOfSyntacticPredicates(Grammar) - Method in class org.antlr.analysis.SemanticContext.AND
 
trackUseOfSyntacticPredicates(Grammar) - Method in class org.antlr.analysis.SemanticContext.NOT
 
trackUseOfSyntacticPredicates(Grammar) - Method in class org.antlr.analysis.SemanticContext.OR
 
trackUseOfSyntacticPredicates(Grammar) - Method in class org.antlr.analysis.SemanticContext.Predicate
 
trackUseOfSyntacticPredicates(Grammar) - Method in class org.antlr.analysis.SemanticContext
Notify the indicated grammar of any syn preds used within this context
transition - Variable in class org.antlr.analysis.DFA
 
transition(int) - Method in class org.antlr.analysis.DFAState
 
transition(int) - Method in class org.antlr.analysis.NFAState
 
transition(int) - Method in class org.antlr.analysis.State
 
Transition - Class in org.antlr.analysis
A generic transition between any two state machine states.
Transition(Label, State) - Constructor for class org.antlr.analysis.Transition
 
Transition(int, State) - Constructor for class org.antlr.analysis.Transition
 
transitionEdgeTables - Variable in class org.antlr.analysis.DFA
just the Vector indicating which unique edge table is at position i.
transitions - Variable in class org.antlr.analysis.DFAState
Track the transitions emanating from this DFA state.
translate() - Method in class org.antlr.codegen.ActionTranslatorLexer
 
translateAction(String) - Method in class org.antlr.codegen.ActionTranslatorLexer
 
translateAction(String, GrammarAST) - Method in class org.antlr.codegen.CodeGenerator
 
translateActionAttributeReferences(Map) - Method in class org.antlr.codegen.CodeGenerator
Actions may reference $x::y attributes, call translateAction on each action and replace that action in the Map.
translateActionAttributeReferencesForSingleScope(Rule, Map) - Method in class org.antlr.codegen.CodeGenerator
Use for translating rule @init{...} actions that have no scope
translateArgAction(String, GrammarAST) - Method in class org.antlr.codegen.CodeGenerator
Translate an action like [3,"foo",a[3]] and return a List of the translated actions.
translateDisplayAltToWalkAlt(DFA, int) - Method in class org.antlr.analysis.NFAState
The DFA decision for this NFA decision state always has an exit path for loops as n+1 for n alts in the loop.
translateTemplateConstructor(String, int, Token, String) - Method in class org.antlr.codegen.CodeGenerator
Given a template constructor action like %foo(a={...}) in an action, translate it to the appropriate template constructor from the templateLib.
translateToChunks() - Method in class org.antlr.codegen.ActionTranslatorLexer
Return a list of strings and StringTemplate objects that represent the translated action.
tree - Variable in class org.antlr.tool.Rule
The AST representing the whole rule
TREE_PARSER - Static variable in class org.antlr.tool.Grammar
 
TRUE_PRED - Static variable in class org.antlr.analysis.SemanticContext.Predicate
 
tryToResolveWithSemanticPredicates(DFAState, Set) - Method in class org.antlr.analysis.NFAToDFAConverter
See if a set of nondeterministic alternatives can be disambiguated with the semantic predicate contexts of the alternatives.
turnOffOtherAlts(DFAState, int, Set) - Static method in class org.antlr.analysis.NFAToDFAConverter
turn off all states associated with alts other than the good one (as long as they are one of the nondeterministic ones)
type - Variable in class org.antlr.tool.Attribute
The type; might be empty such as for Python which has no static typing
type - Variable in class org.antlr.tool.Grammar.LabelElementPair
 
type - Variable in class org.antlr.tool.Grammar
What type of grammar is this: lexer, parser, tree walker
typeToTokenList - Variable in class org.antlr.tool.Grammar
Map a token type to its token name.

U

UNINITIALIZED_DIR - Static variable in class org.antlr.Tool
 
union(Interval) - Method in class org.antlr.misc.Interval
Return the interval computed from combining this and other
uniqueCompressedSpecialStateNum - Variable in class org.antlr.analysis.DFA
 
uniqueLabelNumber - Variable in class org.antlr.codegen.CodeGenerator
Used to create unique labels
uniqueStates - Variable in class org.antlr.analysis.DFA
A set of all uniquely-numbered DFA states.
UNKNOWN_SYNTAX - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 
unreachableAlts - Variable in class org.antlr.analysis.DFA
Each alt in an NFA derived from a grammar must have a DFA state that predicts it lest the parser not know what to do.
unreachableAlts(DecisionProbe, List) - Static method in class org.antlr.tool.ErrorManager
 
UP - Static variable in class org.antlr.analysis.Label
 
user_k - Variable in class org.antlr.analysis.DFA
User specified max fixed lookahead.
useScopes - Variable in class org.antlr.tool.Rule
A list of scope names (String) used by this rule
Utils - Class in org.antlr.misc
 
Utils() - Constructor for class org.antlr.misc.Utils
 

V

value - Variable in class org.antlr.misc.MutableInteger
 
verbose - Static variable in class org.antlr.analysis.DecisionProbe
 
verify() - Method in class org.antlr.analysis.DFA
Once this DFA has been built, need to verify that: 1.
verifyActionScopesOkForTarget(Map) - Method in class org.antlr.codegen.CodeGenerator
Some targets will have some extra scopes like C++ may have '@headerfile:name {action}' or something.
verifyFormat() - Static method in class org.antlr.tool.ErrorManager
Verify the message format template group
verifyMessages() - Static method in class org.antlr.tool.ErrorManager
Use reflection to find list of MSG_ fields and then verify a template exists for each one from the locale's group.
Version - Static variable in class org.antlr.tool.GrammarReport
Because I may change the stats, I need to track that for later computations to be consistent.
VERSION - Static variable in class org.antlr.Tool
 
visited - Variable in class org.antlr.analysis.DFAOptimizer
Used by DFA state machine generator to avoid infinite recursion resulting from cycles int the DFA.
visitedDuringRecursionCheck - Variable in class org.antlr.tool.Grammar
The checkForLeftRecursion method needs to track what rules it has visited to track infinite recursion.
VOCAB_FILE_EXTENSION - Static variable in class org.antlr.codegen.CodeGenerator
I have factored out the generation of cyclic DFAs to separate class
vocabFilePattern - Static variable in class org.antlr.codegen.CodeGenerator
 

W

waitForRelease() - Method in class org.antlr.misc.Barrier
 
walkCreatingDFADOT(StringTemplate, DFAState) - Method in class org.antlr.tool.DOTGenerator
Do a depth-first walk of the state machine graph and fill a DOT description template.
walkFANormalizingStateNumbers(State) - Method in class org.antlr.tool.FASerializer
In stateNumberTranslator, get a map from State to new, normalized state number.
walkFixedDFAGeneratingStateMachine(StringTemplateGroup, DFA, DFAState, int) - Method in class org.antlr.codegen.ACyclicDFACodeGenerator
 
walkRuleNFACreatingDOT(StringTemplate, State) - Method in class org.antlr.tool.DOTGenerator
Do a depth-first walk of the state machine graph and fill a DOT description template.
walkSerializingFA(List, State) - Method in class org.antlr.tool.FASerializer
 
warning(Message) - Method in class org.antlr.test.ErrorQueue
 
warning(Message) - Method in interface org.antlr.tool.ANTLRErrorListener
 
warning(int, Object) - Static method in class org.antlr.tool.ErrorManager
 
watchNFAConversion - Variable in class org.antlr.tool.Grammar
 
work - Variable in class org.antlr.analysis.NFAToDFAConverter
A list of DFA states we still need to process during NFA conversion
write(StringTemplate, String) - Method in class org.antlr.codegen.CodeGenerator
 
writeDOTFile(Grammar, String, String) - Method in class org.antlr.Tool
 
writeFile(String, String, String) - Method in class org.antlr.test.BaseTest
 
writeTemplateTestFile(String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
writeTestFile(String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
writeTreeTestFile(String, String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
WS - Static variable in class org.antlr.codegen.ActionTranslatorLexer
 

X

X - Static variable in class org.antlr.tool.ActionAnalysisLexer
 
X_Y - Static variable in class org.antlr.tool.ActionAnalysisLexer
 

Y

Y - Static variable in class org.antlr.tool.ActionAnalysisLexer
 

_

_LOOK(NFAState) - Method in class org.antlr.tool.Grammar
 
_template() - Method in class org.antlr.test.TestCharDFAConversion
 
_template() - Method in class org.antlr.test.TestDFAConversion
 
_template() - Method in class org.antlr.test.TestSemanticPredicates
 
_test() - Method in class org.antlr.test.TestAutoAST
 
_test() - Method in class org.antlr.test.TestSemanticPredicateEvaluation
 

A B C D E F G H I J K L M N O P R S T U V W X Y _