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
 
abortedDFA - Variable in exception org.antlr.analysis.AnalysisTimeoutException
 
abortedDFA - Variable in exception org.antlr.analysis.NonLLStarDecisionException
 
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.
AbstractTest - Class in org.antlr.gunit
 
AbstractTest() - Constructor for class org.antlr.gunit.AbstractTest
 
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.analysis.Label
 
ACTION - Static variable in class org.antlr.codegen.ActionTranslator
 
ACTION - Static variable in class org.antlr.gunit.gUnitLexer
 
ACTION - Static variable in class org.antlr.gunit.gUnitParser
 
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
 
ActionAnalysisLexer(CharStream, RecognizerSharedState) - Constructor for class org.antlr.tool.ActionAnalysisLexer
 
actionAST - Variable in class org.antlr.analysis.ActionLabel
 
ActionLabel - Class in org.antlr.analysis
 
ActionLabel(GrammarAST) - Constructor for class org.antlr.analysis.ActionLabel
 
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.
ActionScriptTarget - Class in org.antlr.codegen
 
ActionScriptTarget() - Constructor for class org.antlr.codegen.ActionScriptTarget
 
ActionTranslator - Class in org.antlr.codegen
 
ActionTranslator(CodeGenerator, String, GrammarAST) - Constructor for class org.antlr.codegen.ActionTranslator
 
ActionTranslator(CodeGenerator, String, Token, int) - Constructor for class org.antlr.codegen.ActionTranslator
 
ActionTranslator() - Constructor for class org.antlr.codegen.ActionTranslator
 
ActionTranslator(CharStream) - Constructor for class org.antlr.codegen.ActionTranslator
 
ActionTranslator(CharStream, RecognizerSharedState) - Constructor for class org.antlr.codegen.ActionTranslator
 
actual - Variable in class org.antlr.gunit.AbstractTest
 
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(Iterable) - 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<String>, List<String>, 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, int) - 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.
addChild(CompositeGrammarTree) - Method in class org.antlr.tool.CompositeGrammarTree
 
addDelegateGrammar(Grammar) - Method in class org.antlr.tool.Grammar
add new delegate to composite tree
addDFAStateToWorkList(DFAState) - Method in class org.antlr.analysis.NFAToDFAConverter
Add a new DFA state to the DFA if not already present.
addGrammar(Grammar, Grammar) - Method in class org.antlr.tool.CompositeGrammar
Add delegate grammar as child of delegator
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(Rule, Rule, List<Set<Rule>>) - Method in class org.antlr.tool.GrammarSanity
enclosingRuleName calls targetRuleName, find the cycle containing the target and add the caller.
addRuleTestSuite(gUnitTestSuite) - Method in class org.antlr.gunit.GrammarInfo
 
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
 
addState(NFAState) - Method in class org.antlr.tool.CompositeGrammar
 
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?
alias(GrammarAST, GrammarAST) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
aliases - Variable in class org.antlr.tool.AssignTokenTypesBehavior
 
aliasesReverseIndex - Variable in class org.antlr.tool.AssignTokenTypesBehavior
 
aliasTokenIDsAndLiterals(Grammar) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
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.ActionTranslator
 
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, 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.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
altToLocations - Variable in class org.antlr.tool.GrammarInsufficientPredicatesMessage
 
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(DecisionProbe) - Static method in class org.antlr.tool.ErrorManager
 
analysisOverflowed() - Method in class org.antlr.analysis.DecisionProbe
Took too long to analyze a DFA
AnalysisRecursionOverflowException - Exception in org.antlr.analysis
An NFA configuration context stack overflowed.
AnalysisRecursionOverflowException(DFAState, NFAConfiguration) - Constructor for exception org.antlr.analysis.AnalysisRecursionOverflowException
 
analysisTimedOut() - Method in class org.antlr.analysis.DecisionProbe
Did the analysis complete it's work?
analysisTimedOut() - Method in class org.antlr.analysis.DFA
 
AnalysisTimeoutException - Exception in org.antlr.analysis
Analysis took too long; bail out of entire DFA construction.
AnalysisTimeoutException(DFA) - Constructor for exception org.antlr.analysis.AnalysisTimeoutException
 
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.
appendUnitTestResult(String) - Method in class org.antlr.gunit.GrammarInfo
 
ARG - Static variable in class org.antlr.codegen.ActionTranslator
 
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
 
assertNonLLStar(Grammar, List) - Method in class org.antlr.test.TestDFAConversion
 
assertRecursionOverflow(Grammar, List, int) - Method in class org.antlr.test.TestDFAConversion
 
assertTrue(boolean, String) - Static method in class org.antlr.tool.ErrorManager
 
assignDecisionNumber(NFAState) - Method in class org.antlr.tool.Grammar
 
assignStringTypes(Grammar) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
assignTokenIDTypes(Grammar) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
assignTokenTypes() - Method in class org.antlr.tool.CompositeGrammar
 
AssignTokenTypesBehavior - Class in org.antlr.tool
Move all of the functionality from assign.types.g grammar file.
AssignTokenTypesBehavior() - Constructor for class org.antlr.tool.AssignTokenTypesBehavior
 
associatedASTNode - Variable in class org.antlr.analysis.NFAState
Associate this NFAState with the corresponding GrammarAST node from which this node was created.
AST - Static variable in class org.antlr.gunit.gUnitLexer
 
AST - Static variable in class org.antlr.gunit.gUnitParser
 
atLeastOneConfigurationHasAPredicate - Variable in class org.antlr.analysis.DFAState
 
atLeastOneRuleMemoizes - Variable in class org.antlr.tool.Grammar
At least one rule has memoize=true
ATTR_VALUE_EXPR - Static variable in class org.antlr.codegen.ActionTranslator
 
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
 
AUTO_GENERATED_TOKEN_NAME_PREFIX - Static variable in class org.antlr.tool.Grammar
 

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
 
blockOptions - Variable in class org.antlr.tool.GrammarAST
If this is a BLOCK node, track options here
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.
BooleanTest - Class in org.antlr.gunit
 
BooleanTest(boolean) - Constructor for class org.antlr.gunit.BooleanTest
 
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_Action(GrammarAST) - Method in class org.antlr.tool.NFAFactory
Build what amounts to an epsilon transition with an action.
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, GrammarAST) - Method in class org.antlr.tool.NFAFactory
From label A build Graph o-A->o
build_Atom(GrammarAST) - Method in class org.antlr.tool.NFAFactory
 
build_CharLiteralAtom(GrammarAST) - 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(Rule, 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, GrammarAST) - Method in class org.antlr.tool.NFAFactory
From set build single edge graph o->o-set->o.
build_StringLiteralAtom(GrammarAST) - 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
 
buildNFA() - Method in class org.antlr.tool.Grammar
 
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
 
changeFirstCapital(String) - Method in class org.antlr.gunit.JUnitCodeGen
 
CHAR_LABEL - Static variable in class org.antlr.tool.Grammar
 
CHAR_LITERAL - Static variable in class org.antlr.gunit.gUnitLexer
 
CHAR_LITERAL - Static variable in class org.antlr.gunit.gUnitParser
 
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, boolean) - Method in class org.antlr.test.TestSemanticPredicates
 
checkElementRefUniqueness(String, boolean) - Method in class org.antlr.codegen.ActionTranslator
 
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.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.
checkGrammarSemanticsError(ErrorQueue, GrammarSemanticsMessage) - Method in class org.antlr.test.BaseTest
 
checkGrammarSemanticsWarning(ErrorQueue, GrammarSemanticsMessage) - Method in class org.antlr.test.BaseTest
 
checkNameSpaceAndActions() - Method in class org.antlr.tool.Grammar
ANALYZE ACTIONS, LOOKING FOR LABEL AND ATTR REFS, sanity check
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, GrammarAST, String) - Method in class org.antlr.tool.Grammar
 
checkRuleReference(GrammarAST, GrammarAST, GrammarAST, String) - Method in class org.antlr.tool.GrammarSanity
 
checkSymbols(Grammar, String, String) - Method in class org.antlr.test.TestSymbolDefinitions
 
children - Variable in class org.antlr.tool.CompositeGrammarTree
 
chooseWhereCyclicDFAsGo(Tool, CodeGenerator, Grammar, StringTemplate, StringTemplate) - Method in class org.antlr.codegen.ActionScriptTarget
 
chooseWhereCyclicDFAsGo(Tool, CodeGenerator, Grammar, StringTemplate, StringTemplate) - Method in class org.antlr.codegen.CSharp2Target
 
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.ActionTranslator
 
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() - Method in class org.antlr.gunit.JUnitCodeGen
 
compile(String) - Method in class org.antlr.test.BaseTest
 
compileToBuffer(String, String, String) - Method in class org.antlr.gunit.JUnitCodeGen
 
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
 
complete - Variable in class org.antlr.analysis.NFA
 
COMPLETE_SET - Static variable in class org.antlr.misc.IntervalSet
 
composite - Variable in class org.antlr.tool.Grammar
If this grammar is part of a larger composite grammar via delegate statement, then this points at the composite.
CompositeGrammar - Class in org.antlr.tool
A tree of component (delegate) grammars.
CompositeGrammar() - Constructor for class org.antlr.tool.CompositeGrammar
 
CompositeGrammar(Grammar) - Constructor for class org.antlr.tool.CompositeGrammar
 
CompositeGrammarTree - Class in org.antlr.tool
A tree of grammars
CompositeGrammarTree(Grammar) - Constructor for class org.antlr.tool.CompositeGrammarTree
 
compositeTreeNode - Variable in class org.antlr.tool.Grammar
A pointer back into grammar tree.
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.
computingStartState - Variable in class org.antlr.analysis.NFAToDFAConverter
 
configurationsWithLabeledEdges - Variable in class org.antlr.analysis.DFAState
 
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.
createLL_1_LookaheadDFA(int) - Method in class org.antlr.tool.Grammar
 
createLookaheadDFA(int, boolean) - 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.
createLookaheadDFAs(boolean) - Method in class org.antlr.tool.Grammar
 
createMinMaxTables(DFAState) - Method in class org.antlr.analysis.DFA
 
createNFAs() - Method in class org.antlr.tool.CompositeGrammar
 
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
 
createRuleStartAndStopNFAStates() - Method in class org.antlr.tool.Grammar
Define all the rule begin/end NFAStates to solve forward reference issues.
creates - Static variable in class org.antlr.misc.Interval
 
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.
CSharp2Target - Class in org.antlr.codegen
 
CSharp2Target() - Constructor for class org.antlr.codegen.CSharp2Target
 
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.TestCompositeGrammars
 
debug - Variable in class org.antlr.test.TestHeteroAST
 
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.test.TestTreeGrammarRewriteAST
 
debug - Variable in class org.antlr.test.TestTrees
 
debug - Variable in class org.antlr.Tool
 
debug - Static variable in class org.antlr.tool.RandomPhrase
 
DebugTestAutoAST - Class in org.antlr.test
 
DebugTestAutoAST() - Constructor for class org.antlr.test.DebugTestAutoAST
 
DebugTestCompositeGrammars - Class in org.antlr.test
 
DebugTestCompositeGrammars() - Constructor for class org.antlr.test.DebugTestCompositeGrammars
 
DebugTestRewriteAST - Class in org.antlr.test
 
DebugTestRewriteAST() - Constructor for class org.antlr.test.DebugTestRewriteAST
 
decision - Variable in class org.antlr.tool.Grammar.Decision
 
decisionCount - Variable in class org.antlr.tool.Grammar
Be able to assign a number to every decision in grammar; decisions in 1..n
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?
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.Grammar
What are the default options for a subrule?
defaultLexerBlockOptions - Static variable in class org.antlr.tool.Grammar
 
defaultOptions - Static variable in class org.antlr.tool.Grammar
 
defaultTokenOption - Static variable in class org.antlr.tool.Grammar
 
defineGlobalScope(String, Token) - Method in class org.antlr.tool.Grammar
 
defineGrammarSymbols() - Method in class org.antlr.tool.CompositeGrammar
 
defineGrammarSymbols() - 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
 
defineTokenNamesAndLiteralsInGrammar(Grammar) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
defineTokenRefLabel(String, Token, GrammarAST) - Method in class org.antlr.tool.Grammar
 
defineTokens(Grammar) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
delegatedRuleReferences - Variable in class org.antlr.tool.Grammar
The list of all rules referenced in this grammar, not defined here, and defined in a delegate grammar.
delegateGrammarTreeRoot - Variable in class org.antlr.tool.CompositeGrammar
 
deleteTempLexer - Variable in class org.antlr.Tool
 
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.
DETECT_PRED_EOR - Static variable in class org.antlr.analysis.LL1Analyzer
0 if we hit end of rule and invoker should keep going (epsilon)
DETECT_PRED_FOUND - Static variable in class org.antlr.analysis.LL1Analyzer
1 if we found a nonautobacktracking pred
DETECT_PRED_NOT_FOUND - Static variable in class org.antlr.analysis.LL1Analyzer
2 if we didn't find such a pred
detectConfoundingPredicates(NFAState) - Method in class org.antlr.analysis.LL1Analyzer
Is there a non-syn-pred predicate visible from s that is not in the rule enclosing s? This accounts for most predicate situations and lets ANTLR do a simple LL(1)+pred computation.
dfa - Variable in class org.antlr.analysis.DecisionProbe
 
DFA - Class in org.antlr.analysis
A DFA (converted from a grammar's NFA).
DFA() - Constructor for class org.antlr.analysis.DFA
 
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
 
dfa12 - Variable in class org.antlr.gunit.gUnitLexer
 
dfa15 - Variable in class org.antlr.gunit.gUnitLexer
 
dfa18 - Variable in class org.antlr.gunit.gUnitLexer
 
dfa22 - Variable in class org.antlr.codegen.ActionTranslator
 
dfa28 - Variable in class org.antlr.codegen.ActionTranslator
 
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?
DOC_COMMENT - Static variable in class org.antlr.gunit.gUnitLexer
 
DOC_COMMENT - Static variable in class org.antlr.gunit.gUnitParser
 
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.ActionTranslator
 
DYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslator
 
DYNAMIC_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslator
 

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_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.ActionTranslator
 
enclosingRule - Variable in class org.antlr.analysis.NFAState
What rule do we live in?
enclosingRuleName - Variable in class org.antlr.tool.GrammarAST
 
encodeIntAsCharEscape(int) - Method in class org.antlr.codegen.ActionScriptTarget
ActionScript doesn't support Unicode String literals that are considered "illegal" or are in the surrogate pair ranges.
encodeIntAsCharEscape(int) - Method in class org.antlr.codegen.CSharp2Target
 
encodeIntAsCharEscape(int) - Method in class org.antlr.codegen.CSharpTarget
 
encodeIntAsCharEscape(int) - Method in class org.antlr.codegen.JavaScriptTarget
Convert an int to a JavaScript Unicode character literal.
encodeIntAsCharEscape(int) - Method in class org.antlr.codegen.Target
 
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 variable in class org.antlr.codegen.ActionTranslator
 
EOF - Static variable in class org.antlr.gunit.gUnitLexer
 
EOF - Static variable in class org.antlr.gunit.gUnitParser
 
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.LookaheadSet
 
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.PredicateLabel
 
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(Object) - 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.ActionTranslator
 
ERROR_X - Static variable in class org.antlr.codegen.ActionTranslator
 
ERROR_XY - Static variable in class org.antlr.codegen.ActionTranslator
 
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 if one of these happens
ERRORS_FORCING_NO_CODEGEN - Static variable in class org.antlr.tool.ErrorManager
Do not do code gen if one of these happens
ESC - Static variable in class org.antlr.codegen.ActionTranslator
 
ESC - Static variable in class org.antlr.gunit.gUnitLexer
 
ESC - Static variable in class org.antlr.gunit.gUnitParser
 
escapeChar(int) - Method in class org.antlr.codegen.CPPTarget
 
escapeForJava(String) - Method in class org.antlr.gunit.JUnitCodeGen
 
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
 
execLexer(String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
execParser(String, String, String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
execTest() - Method in class org.antlr.gunit.gUnitExecuter
 
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
 
EXT - Static variable in class org.antlr.gunit.gUnitLexer
 
EXT - Static variable in class org.antlr.gunit.gUnitParser
 
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?
factory - Variable in class org.antlr.tool.Grammar
 
failures - Variable in class org.antlr.gunit.gUnitExecuter
 
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() - Method in class org.antlr.gunit.gUnitParser
 
file - Variable in class org.antlr.tool.Message
 
fileName - Variable in class org.antlr.tool.Grammar
What file name holds this grammar?
findAllGatedSynPredsUsedInDFAAcceptStates() - Method in class org.antlr.analysis.DFA
Walk all accept states and find the manually-specified synpreds.
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.
findNode(Grammar) - Method in class org.antlr.tool.CompositeGrammarTree
 
findNode(String) - Method in class org.antlr.tool.CompositeGrammarTree
 
FIRST(NFAState) - Method in class org.antlr.analysis.LL1Analyzer
From an NFA state, s, find the set of all labels reachable from s.
FIRST(NFAState) - Method in class org.antlr.tool.Grammar
 
FIRST - Variable in class org.antlr.tool.Rule
The set of all tokens reachable from the start state w/o leaving via the accept state.
FIRSTCache - Variable in class org.antlr.analysis.LL1Analyzer
 
FOLLOW(Rule) - Method in class org.antlr.analysis.LL1Analyzer
 
FOLLOW_22_in_gUnitDef44 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_23_in_gUnitDef51 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_23_in_suite112 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_24_in_gUnitDef59 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_25_in_header82 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_26_in_suite120 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_27_in_test150 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_28_in_test161 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_29_in_test170 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_30_in_test181 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ACTION_in_header84 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ACTION_in_output262 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_AST_in_output255 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_EXT_in_file282 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_file_in_input219 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_header_in_gUnitDef68 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ID_in_file280 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ID_in_gUnitDef48 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ID_in_gUnitDef55 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ID_in_suite109 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ID_in_suite116 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_input_in_test146 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_input_in_test157 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_input_in_test168 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_input_in_test179 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ML_STRING_in_input210 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_ML_STRING_in_output248 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_output_in_test183 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_RETVAL_in_test172 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_STRING_in_input200 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_STRING_in_output238 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_suite_in_gUnitDef71 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOW_test_in_suite129 - Static variable in class org.antlr.gunit.gUnitParser
 
FOLLOWCache - Variable in class org.antlr.analysis.LL1Analyzer
 
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.
genClassHeader(StringTemplateGroup, String) - Method in class org.antlr.gunit.JUnitCodeGen
 
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.
generateMethodForRule(String) - Method in class org.antlr.tool.Grammar
Should codegen.g gen rule for ruleName? If synpred, only gen if used in a DFA.
generateNFAs(Grammar) - Method in class org.antlr.Tool
 
generateRecognizer(Grammar) - Method in class org.antlr.Tool
Create NFA, DFA and generate code for grammar.
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.analysis.DFA
Which generator to use if we're building state tables
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)
genSupportingMethods(StringTemplateGroup, String, String) - Method in class org.antlr.gunit.JUnitCodeGen
 
genTestRuleMethods(StringTemplateGroup) - Method in class org.antlr.gunit.JUnitCodeGen
 
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.IntervalSet
Get the ith element of ordered set.
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
 
getActual() - Method in class org.antlr.gunit.AbstractTest
 
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.
getAllImportedRules(Grammar) - Method in class org.antlr.tool.CompositeGrammar
Get all rule definitions from all direct/indirect delegate grammars of g.
getAllImportedRules() - Method in class org.antlr.tool.Grammar
Get set of all rules imported from all delegate grammars even if indirectly delegated.
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.
getAnalysisTimeoutReport() - Method in class org.antlr.tool.GrammarReport
 
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.
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
 
getAutoBacktrackMode(int) - Method in class org.antlr.tool.Grammar
 
getBacktrackingReport() - Method in class org.antlr.tool.GrammarReport
 
getBaseTemplates() - Method in class org.antlr.codegen.CodeGenerator
 
getBlockOption(GrammarAST, String) - Method in class org.antlr.tool.Grammar
 
getBlockOption(String) - Method in class org.antlr.tool.GrammarAST
 
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".
getDelegatedRuleReferences() - Method in class org.antlr.tool.Grammar
 
getDelegatedRules(Grammar) - Method in class org.antlr.tool.CompositeGrammar
Get set of rules for grammar g that need to have manual delegation methods.
getDelegatedRules() - Method in class org.antlr.tool.Grammar
Get the set of Rules that need to have manual delegations like "void rule() { importedGrammar.rule(); }" If this grammar is master, get list of all rule definitions from all delegate grammars.
getDelegateNames() - Method in class org.antlr.tool.Grammar
 
getDelegates(Grammar) - Method in class org.antlr.tool.CompositeGrammar
Get list of all delegates from all grammars in the delegate subtree of g.
getDelegates() - Method in class org.antlr.tool.Grammar
Get list of all delegates from all grammars directly or indirectly imported into this grammar.
getDelegator(Grammar) - Method in class org.antlr.tool.CompositeGrammar
Get parent of this grammar
getDelegator() - Method in class org.antlr.tool.Grammar
Who's my direct parent grammar?
getDelegators(Grammar) - Method in class org.antlr.tool.CompositeGrammar
Return list of delegate grammars from root down to g.
getDelegators() - Method in class org.antlr.tool.Grammar
Get list of all delegators.
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.
getDirectDelegates(Grammar) - Method in class org.antlr.tool.CompositeGrammar
 
getDirectDelegates() - Method in class org.antlr.tool.Grammar
 
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.
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.ActionTranslator
 
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.
getErrorListener() - Static method in class org.antlr.tool.ErrorManager
 
getErrorState() - Static method in class org.antlr.tool.ErrorManager
 
getExpected() - Method in class org.antlr.gunit.AbstractTest
 
getExpected() - Method in class org.antlr.gunit.BooleanTest
 
getExpected() - Method in class org.antlr.gunit.OutputTest
 
getExpected() - Method in class org.antlr.gunit.ReturnTest
 
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
 
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).
getGatedSyntacticPredicatesInNFAConfigurations() - Method in class org.antlr.analysis.DFAState
 
getGeneratedFileList() - Method in class org.antlr.tool.BuildDependencyGenerator
From T.g return a list of File objects that name 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.CompositeGrammar
 
getGrammarFileName() - Method in class org.antlr.codegen.ActionTranslator
 
getGrammarFileName() - Method in class org.antlr.gunit.gUnitLexer
 
getGrammarFileName() - Method in class org.antlr.gunit.gUnitParser
 
getGrammarFileName() - Method in class org.antlr.tool.ActionAnalysisLexer
 
getGrammarInsufficientPredicatesMessage(List) - Method in class org.antlr.test.TestSemanticPredicates
 
getGrammarIsRoot() - Method in class org.antlr.tool.Grammar
 
getGrammarMaxLookahead() - Method in class org.antlr.tool.Grammar
 
getGrammarName() - Method in class org.antlr.gunit.GrammarInfo
 
getGrammarTree() - Method in class org.antlr.tool.Grammar
 
getGrammarTypeString() - 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
 
getHeader() - Method in class org.antlr.gunit.AbstractTest
 
getHeader() - Method in class org.antlr.gunit.GrammarInfo
 
getImplicitlyGeneratedLexerFileName() - Method in class org.antlr.tool.Grammar
 
getImportedVocabFile(String) - Method in class org.antlr.Tool
Return a File descriptor for vocab file.
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.
getIndirectDelegates(Grammar) - Method in class org.antlr.tool.CompositeGrammar
Get delegates below direct delegates of g
getIndirectDelegates() - Method in class org.antlr.tool.Grammar
Get delegates below direct delegates
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
 
getLabelForSet(IntervalSet) - Method in class org.antlr.analysis.LL1DFA
 
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 combined grammar, return the text of the implicit lexer grammar.
getLibraryDirectory() - Method in class org.antlr.Tool
 
getLibraryFile(String) - Method in class org.antlr.Tool
Name a file in the -lib dir.
getLine() - Method in class org.antlr.gunit.gUnitTestInput
 
getLine() - Method in class org.antlr.tool.GrammarAST
 
getLineColumnToLookaheadDFAMap() - Method in class org.antlr.tool.Grammar
 
getListOfArgumentsFromAction(String, int) - Static method in class org.antlr.codegen.CodeGenerator
 
getListOfArgumentsFromAction(String, int, int, int, List<String>) - Static method in class org.antlr.codegen.CodeGenerator
Given an arg action like [x, (*a).foo(21,33), 3.2+1, '\n', "a,oo\nick", {bl, "fdkj"eck}, ["cat\n,", x, 43]] convert to a list of arguments.
getLocalAttributeScope(String) - Method in class org.antlr.tool.Rule
Get the arg, return value, or predefined property for this rule
getLocallyDefinedOption(String) - Method in class org.antlr.tool.Grammar
 
getLocallyDefinedRule(String) - Method in class org.antlr.tool.Grammar
 
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(Set<Integer>) - 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
 
getNewNFAStateNumber() - Method in class org.antlr.analysis.NFA
 
getNewNFAStateNumber() - Method in class org.antlr.tool.CompositeGrammar
 
getNewTokenType() - Method in class org.antlr.tool.Grammar
Return a new unique integer in the token type space
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.
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
 
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
 
getNonRegularDecisionMessage(List) - Method in class org.antlr.test.TestDFAConversion
 
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
 
getNumberOfTransitions() - Method in class org.antlr.analysis.DFAState
 
getNumberOfTransitions() - Method in class org.antlr.analysis.NFAState
 
getNumberOfTransitions() - Method in class org.antlr.analysis.State
 
getNumErrors() - Static method in class org.antlr.tool.ErrorManager
 
getOption(String) - Method in class org.antlr.tool.CompositeGrammar
 
getOption(String) - Method in class org.antlr.tool.CompositeGrammarTree
Find an option by looking up towards the root grammar rather than down
getOption(String) - Method in class org.antlr.tool.Grammar
 
getOutput() - Method in class org.antlr.gunit.gUnitTestResult
 
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.
getPostOrderedGrammarList() - Method in class org.antlr.tool.CompositeGrammarTree
Return a postorder list of grammars; root is last in list
getPredicates(NFAState) - Method in class org.antlr.analysis.LL1Analyzer
Return predicate expression found via epsilon edges from s.
getPredicatesPerNonDeterministicAlt(DFAState, Set) - Method in class org.antlr.analysis.NFAToDFAConverter
Return a mapping from nondeterministc alt to combined list of predicates.
getPreOrderedGrammarList() - Method in class org.antlr.tool.CompositeGrammarTree
Return a postorder list of grammars; root is last in list
getRankdir() - Method in class org.antlr.tool.DOTGenerator
 
getReachableLabels() - Method in class org.antlr.analysis.DFAState
 
getReasonForFailure() - Method in class org.antlr.analysis.DFA
 
getRecognizerFileName(String, int) - Method in class org.antlr.codegen.CodeGenerator
Generate TParser.java and TLexer.java from T.g if combined, else just use T.java as output regardless of type.
getRecognizerName() - Method in class org.antlr.tool.Grammar
Get the name of the generated recognizer; may or may not be same as grammar name.
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
 
getResult(gUnitTestResult) - Method in class org.antlr.gunit.AbstractTest
 
getResult(gUnitTestResult) - Method in class org.antlr.gunit.BooleanTest
 
getResult(gUnitTestResult) - Method in class org.antlr.gunit.OutputTest
 
getResult(gUnitTestResult) - Method in class org.antlr.gunit.ReturnTest
 
getReturned() - Method in class org.antlr.gunit.gUnitTestResult
 
getRootGrammar() - Method in class org.antlr.tool.CompositeGrammar
 
getRootGrammar(String) - Method in class org.antlr.Tool
Get a grammar mentioned on the command-line and any delegates
getRule(String) - Method in class org.antlr.tool.CompositeGrammar
 
getRule(String) - Method in class org.antlr.tool.CompositeGrammarTree
Find a rule by looking in current grammar then down towards the delegate grammars.
getRule(String) - Method in class org.antlr.tool.Grammar
 
getRule(String, String) - Method in class org.antlr.tool.Grammar
 
getRuleIndex(String, String) - Method in class org.antlr.tool.Grammar
 
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.ActionTranslator
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
 
getRuleStartState(String, String) - Method in class org.antlr.tool.Grammar
 
getRuleStopState(String) - Method in class org.antlr.tool.Grammar
 
getRuleTestSuites() - Method in class org.antlr.gunit.GrammarInfo
 
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<Label>) - 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
 
getSemanticContext() - Method in class org.antlr.analysis.PredicateLabel
 
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
 
getSourceName() - Method in class org.antlr.tool.Interpreter
 
getState(int) - Method in class org.antlr.analysis.DFA
 
getState(int) - Method in class org.antlr.analysis.NFA
 
getState(int) - Method in class org.antlr.tool.CompositeGrammar
 
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
 
getSynPredForAlt(NFAState, int) - Method in class org.antlr.analysis.LL1DFA
 
getSyntacticPredicate(String) - Method in class org.antlr.tool.Grammar
 
getSyntacticPredicates() - Method in class org.antlr.tool.Grammar
 
getTarget64BitStringFromValue(long) - Method in class org.antlr.codegen.ActionScriptTarget
Convert long to two 32-bit numbers separted by a comma.
getTarget64BitStringFromValue(long) - Method in class org.antlr.codegen.JavaScriptTarget
Convert long to two 32-bit numbers separted by a comma.
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.ActionScriptTarget
 
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.Perl5Target
 
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.gunit.AbstractTest
 
getText() - Method in class org.antlr.gunit.BooleanTest
 
getText() - Method in class org.antlr.gunit.OutputTest
 
getText() - Method in class org.antlr.gunit.ReturnTest
 
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.
getTokenNames() - Method in class org.antlr.gunit.gUnitParser
 
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(CodeGenerator, int) - Method in class org.antlr.codegen.ActionScriptTarget
 
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
 
getTreeGrammarName() - Method in class org.antlr.gunit.GrammarInfo
 
getType() - Method in class org.antlr.gunit.AbstractTest
 
getType() - Method in class org.antlr.gunit.BooleanTest
 
getType() - Method in class org.antlr.gunit.OutputTest
 
getType() - Method in class org.antlr.gunit.ReturnTest
 
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
 
getUnitTestResult() - Method in class org.antlr.gunit.GrammarInfo
 
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.
getUserMaxLookahead(int) - Method in class org.antlr.tool.Grammar
 
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.
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.LL1Analyzer
 
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.CompositeGrammarTree
 
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(Tool, String, CompositeGrammar) - Constructor for class org.antlr.tool.Grammar
Create a grammar from file name.
Grammar() - Constructor for class org.antlr.tool.Grammar
Useful for when you are sure that you are not part of a composite already.
Grammar(String) - Constructor for class org.antlr.tool.Grammar
Used for testing; only useful on noncomposite grammars.
Grammar(Tool, String) - Constructor for class org.antlr.tool.Grammar
Used for testing and Interp/RandomPhrase.
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
 
GrammarInfo - Class in org.antlr.gunit
 
GrammarInfo() - Constructor for class org.antlr.gunit.GrammarInfo
 
grammarInfo - Variable in class org.antlr.gunit.gUnitExecuter
 
grammarInfo - Variable in class org.antlr.gunit.gUnitParser
 
grammarInfo - Variable in class org.antlr.gunit.JUnitCodeGen
 
GrammarInsufficientPredicatesMessage - Class in org.antlr.tool
 
GrammarInsufficientPredicatesMessage(DecisionProbe, DFAState, Map<Integer, Set<Token>>) - 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
 
groomQualifiedFileName(String, String) - Method in class org.antlr.tool.BuildDependencyGenerator
 
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.
gUnitDef() - Method in class org.antlr.gunit.gUnitParser
 
gUnitExecuter - Class in org.antlr.gunit
 
gUnitExecuter(GrammarInfo) - Constructor for class org.antlr.gunit.gUnitExecuter
 
gUnitExecuter.StreamVacuum - Class in org.antlr.gunit
 
gUnitExecuter.StreamVacuum(InputStream) - Constructor for class org.antlr.gunit.gUnitExecuter.StreamVacuum
 
gUnitLexer - Class in org.antlr.gunit
 
gUnitLexer() - Constructor for class org.antlr.gunit.gUnitLexer
 
gUnitLexer(CharStream) - Constructor for class org.antlr.gunit.gUnitLexer
 
gUnitLexer(CharStream, RecognizerSharedState) - Constructor for class org.antlr.gunit.gUnitLexer
 
gUnitParser - Class in org.antlr.gunit
 
gUnitParser(TokenStream) - Constructor for class org.antlr.gunit.gUnitParser
 
gUnitParser(TokenStream, RecognizerSharedState) - Constructor for class org.antlr.gunit.gUnitParser
 
gUnitParser(TokenStream, GrammarInfo) - Constructor for class org.antlr.gunit.gUnitParser
 
gUnitParser.file_return - Class in org.antlr.gunit
 
gUnitParser.file_return() - Constructor for class org.antlr.gunit.gUnitParser.file_return
 
gUnitParser.input_return - Class in org.antlr.gunit
 
gUnitParser.input_return() - Constructor for class org.antlr.gunit.gUnitParser.input_return
 
gUnitTestInput - Class in org.antlr.gunit
A class which contains input information of an individual testuite
gUnitTestInput(String, boolean, int) - Constructor for class org.antlr.gunit.gUnitTestInput
 
gUnitTestResult - Class in org.antlr.gunit
 
gUnitTestResult(boolean, String) - Constructor for class org.antlr.gunit.gUnitTestResult
 
gUnitTestResult(boolean, String, String) - Constructor for class org.antlr.gunit.gUnitTestResult
 
gUnitTestSuite - Class in org.antlr.gunit
 
gUnitTestSuite(String) - Constructor for class org.antlr.gunit.gUnitTestSuite
 
gUnitTestSuite(String, String) - Constructor for class org.antlr.gunit.gUnitTestSuite
 

H

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.LookaheadSet
 
hashCode() - Method in class org.antlr.analysis.NFAConfiguration
 
hashCode() - Method in class org.antlr.analysis.NFAContext
 
hashCode() - Method in class org.antlr.analysis.PredicateLabel
 
hashCode() - Method in class org.antlr.analysis.SemanticContext.Predicate
 
hashCode() - Method in class org.antlr.analysis.Transition
 
hasPredicate() - Method in class org.antlr.analysis.DecisionProbe
At least one alt refs a sem or syn pred
hasPredicateBlockedByAction - Variable in class org.antlr.analysis.DFA
 
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
header - Variable in class org.antlr.gunit.AbstractTest
 
header() - Method in class org.antlr.gunit.gUnitParser
 
headerFileST - Variable in class org.antlr.codegen.CodeGenerator
 
hits - Static variable in class org.antlr.misc.Interval
 

I

ID - Static variable in class org.antlr.codegen.ActionTranslator
 
ID - Static variable in class org.antlr.gunit.gUnitLexer
 
ID - Static variable in class org.antlr.gunit.gUnitParser
 
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
 
implicitLexer - Variable in class org.antlr.tool.Grammar
Was this created from a COMBINED grammar?
imported - Variable in class org.antlr.tool.Rule
 
importGrammar(GrammarAST, String) - Method in class org.antlr.tool.Grammar
Import the rules/tokens of a delegate grammar.
importTokenVocabulary(Grammar) - Method in class org.antlr.tool.Grammar
Pull your token definitions from an existing grammar in memory.
importTokenVocabulary(GrammarAST, String) - Method in class org.antlr.tool.Grammar
Load a vocab file .tokens and return max token type found.
incidentEdgeLabel - Variable in class org.antlr.analysis.NFAState
For o-A->o type NFA tranitions, record the label that leads to this state.
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.ActionTranslator
 
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
 
init(Grammar) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
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.CompositeGrammar
 
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() - Method in class org.antlr.gunit.gUnitParser
 
input - Variable in class org.antlr.tool.Interpreter
 
inputIsFile - Variable in class org.antlr.gunit.gUnitParser.input_return
 
inputIsFile - Variable in class org.antlr.gunit.gUnitTestInput
 
insufficientPredicates(DecisionProbe, DFAState, Map<Integer, Set<Token>>) - Static method in class org.antlr.tool.ErrorManager
 
INT - Static variable in class org.antlr.codegen.ActionTranslator
 
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_ShowNFAConfigsInDFA - Static variable in class org.antlr.Tool
 
internalOption_watchNFAConversion - Static variable in class org.antlr.Tool
 
Interp - Class in org.antlr.gunit
The main gUnit interpreter entry point.
Interp() - Constructor for class org.antlr.gunit.Interp
 
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
 
intersect(Label, Label) - Static method in class org.antlr.analysis.Label
 
intersection(LookaheadSet) - Method in class org.antlr.analysis.LookaheadSet
 
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
IntervalSet(List<Interval>) - Constructor for class org.antlr.misc.IntervalSet
 
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
 
InvalidInputException - Exception in org.antlr.gunit
 
InvalidInputException() - Constructor for exception org.antlr.gunit.InvalidInputException
 
invalids - Variable in class org.antlr.gunit.gUnitExecuter
 
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
 
isAction() - Method in class org.antlr.analysis.ActionLabel
 
isAction() - Method in class org.antlr.analysis.Label
 
isAction() - Method in class org.antlr.analysis.Transition
 
isAtom() - Method in class org.antlr.analysis.Label
 
isAtomTokenType(int) - Method in class org.antlr.tool.Grammar
 
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.ActionLabel
 
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.analysis.LookaheadSet
 
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
Found recursion in > 1 alt
ISOLATED_DYNAMIC_SCOPE - Static variable in class org.antlr.codegen.ActionTranslator
 
ISOLATED_LEXER_RULE_REF - Static variable in class org.antlr.codegen.ActionTranslator
 
ISOLATED_TOKEN_REF - Static variable in class org.antlr.codegen.ActionTranslator
 
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.ActionTranslator
 
isSemanticPredicate() - Method in class org.antlr.analysis.Label
 
isSemanticPredicate() - Method in class org.antlr.analysis.PredicateLabel
 
isSemanticPredicate() - Method in class org.antlr.analysis.Transition
 
isSet() - Method in class org.antlr.analysis.Label
 
isSuccess() - Method in class org.antlr.gunit.gUnitTestResult
 
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.ActionTranslator
 
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 ), 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

JavaScriptTarget - Class in org.antlr.codegen
 
JavaScriptTarget() - Constructor for class org.antlr.codegen.JavaScriptTarget
 
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.gunit.gUnitExecuter.StreamVacuum
wait for the thread to finish
join() - Method in class org.antlr.test.BaseTest.StreamVacuum
wait for the thread to finish
JUnitCodeGen - Class in org.antlr.gunit
 
JUnitCodeGen(GrammarInfo) - Constructor for class org.antlr.gunit.JUnitCodeGen
 

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(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
If this is a delegate of another grammar, this is the label used as an instance var by that grammar to point at this grammar.
label - Variable in class org.antlr.tool.Grammar.LabelElementPair
 
LABEL_REF - Static variable in class org.antlr.codegen.ActionTranslator
 
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.Grammar
 
legalLexerOptions - Static variable in class org.antlr.tool.Grammar
 
legalOption(String) - Method in class org.antlr.tool.Grammar
 
legalOptions - Static variable in class org.antlr.tool.Rule
 
legalParserOptions - Static variable in class org.antlr.tool.Grammar
 
legalTokenOptions - Static variable in class org.antlr.tool.Grammar
Legal options for terminal refs like ID
legalTreeParserOptions - Static variable in class org.antlr.tool.Grammar
 
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.
lexerRuleNamesInCombined - Variable in class org.antlr.tool.Grammar
The ANTLRParser tracks lexer rules when reading combined grammars so we can build the Tokens rule.
lexerRules - Variable in class org.antlr.tool.CompositeGrammar
If combined or lexer grammar, track the rules.
libDirectory - Variable in class org.antlr.Tool
 
line - Variable in class org.antlr.gunit.gUnitParser.file_return
 
line - Variable in class org.antlr.gunit.gUnitParser.input_return
 
line - Variable in class org.antlr.gunit.gUnitTestInput
 
line - Variable in class org.antlr.tool.Message
 
lineWidth - Variable in class org.antlr.codegen.CodeGenerator
 
LL1Analyzer - Class in org.antlr.analysis
Created by IntelliJ IDEA.
LL1Analyzer(Grammar) - Constructor for class org.antlr.analysis.LL1Analyzer
 
ll1Analyzer - Variable in class org.antlr.tool.Grammar
 
LL1DFA - Class in org.antlr.analysis
A special DFA that is exactly LL(1) or LL(1) with backtracking mode predicates to resolve edge set collisions.
LL1DFA(int, NFAState, LookaheadSet[]) - Constructor for class org.antlr.analysis.LL1DFA
From list of lookahead sets (one per alt in decision), create an LL(1) DFA.
LL1DFA(int, NFAState, MultiMap<IntervalSet, Integer>) - Constructor for class org.antlr.analysis.LL1DFA
From a set of edgeset->list-of-alts mappings, create a DFA that uses syn preds for all |list-of-alts|>1.
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.ActionTranslator
 
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.analysis.LL1Analyzer
 
LOOK(NFAState) - Method in class org.antlr.tool.Grammar
 
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
 
LookaheadSet(LookaheadSet) - Constructor for class org.antlr.analysis.LookaheadSet
 
lookBusy - Variable in class org.antlr.analysis.LL1Analyzer
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.ActionTranslator
 
mACTION() - Method in class org.antlr.gunit.gUnitLexer
 
main(String[]) - Static method in class org.antlr.gunit.Interp
 
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
makeEdgeSetsDisjoint(List<IntervalSet>) - Method in class org.antlr.tool.Grammar
 
map(K, V) - Method in class org.antlr.misc.MultiMap
 
mARG() - Method in class org.antlr.codegen.ActionTranslator
 
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.
mAST() - Method in class org.antlr.gunit.gUnitLexer
 
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.ActionTranslator
 
max - Variable in class org.antlr.analysis.DFA
 
max(Set) - Static method in class org.antlr.analysis.NFAToDFAConverter
 
MAX_ACYCLIC_DFA_STATES_INLINE - Static variable in class org.antlr.codegen.CodeGenerator
 
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_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 (time in ms)
MAX_TRANSITIONS - Static variable in class org.antlr.analysis.NFAState
 
maxTokenType - Variable in class org.antlr.tool.CompositeGrammar
Token names and literal tokens like "void" are uniquely indexed.
mCHAR_LITERAL() - Method in class org.antlr.gunit.gUnitLexer
 
mDYNAMIC_ABSOLUTE_INDEXED_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mDYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mDYNAMIC_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
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.ActionTranslator
 
memoize(IntStream, int, int) - Method in class org.antlr.tool.ActionAnalysisLexer
 
mENCLOSING_RULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
MERGE_STOP_STATES - Static variable in class org.antlr.analysis.DFAOptimizer
 
mERROR_SCOPED_XY() - Method in class org.antlr.codegen.ActionTranslator
 
mERROR_X() - Method in class org.antlr.codegen.ActionTranslator
 
mERROR_XY() - Method in class org.antlr.codegen.ActionTranslator
 
mESC() - Method in class org.antlr.codegen.ActionTranslator
 
mESC() - Method in class org.antlr.gunit.gUnitLexer
 
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
 
mEXT() - Method in class org.antlr.gunit.gUnitLexer
 
mID() - Method in class org.antlr.codegen.ActionTranslator
 
mID() - Method in class org.antlr.gunit.gUnitLexer
 
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_RULE_INDEX - Static variable in class org.antlr.tool.CompositeGrammar
 
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
minAltInConfigurations - Variable in class org.antlr.analysis.DFAState
 
mINDIRECT_TEMPLATE_INSTANCE() - Method in class org.antlr.codegen.ActionTranslator
 
minimizeRuleSet() - Method in class org.antlr.tool.CompositeGrammar
 
mINT() - Method in class org.antlr.codegen.ActionTranslator
 
mISOLATED_DYNAMIC_SCOPE() - Method in class org.antlr.codegen.ActionTranslator
 
mISOLATED_LEXER_RULE_REF() - Method in class org.antlr.codegen.ActionTranslator
 
mISOLATED_TOKEN_REF() - Method in class org.antlr.codegen.ActionTranslator
 
misses - Static variable in class org.antlr.misc.Interval
 
mkdir(String) - Method in class org.antlr.test.BaseTest
 
ML_COMMENT - Static variable in class org.antlr.gunit.gUnitLexer
 
ML_COMMENT - Static variable in class org.antlr.gunit.gUnitParser
 
ML_STRING - Static variable in class org.antlr.gunit.gUnitLexer
 
ML_STRING - Static variable in class org.antlr.gunit.gUnitParser
 
mLABEL_REF() - Method in class org.antlr.codegen.ActionTranslator
 
mLOCAL_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mML_COMMENT() - Method in class org.antlr.gunit.gUnitLexer
 
mML_STRING() - Method in class org.antlr.gunit.gUnitLexer
 
mNESTED_ACTION() - Method in class org.antlr.gunit.gUnitLexer
 
mNESTED_AST() - Method in class org.antlr.gunit.gUnitLexer
 
mNESTED_RETVAL() - Method in class org.antlr.gunit.gUnitLexer
 
MOD_MASK - Static variable in class org.antlr.misc.BitSet
 
modifier - Variable in class org.antlr.tool.Rule
 
mRETVAL() - Method in class org.antlr.gunit.gUnitLexer
 
mRULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mSCOPE_INDEX_EXPR() - Method in class org.antlr.codegen.ActionTranslator
 
mSET_ATTRIBUTE() - Method in class org.antlr.codegen.ActionTranslator
 
mSET_DYNAMIC_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mSET_ENCLOSING_RULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mSET_EXPR_ATTRIBUTE() - Method in class org.antlr.codegen.ActionTranslator
 
mSET_LOCAL_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mSET_RULE_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mSET_TOKEN_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
MSG_ACTION_REDEFINITION - 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_AST_OP_IN_ALT_WITH_REWRITE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_AST_OP_WITH_NON_AST_OUTPUT_OPTION - 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_HETERO_ILLEGAL_IN_REWRITE_ALT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_ILLEGAL_OPTION - Static variable in class org.antlr.tool.ErrorManager
 
MSG_IMPORT_NAME_CLASH - Static variable in class org.antlr.tool.ErrorManager
 
MSG_IMPORTED_TOKENS_RULE_EMPTY - 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_IMPORT - 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_SUCH_GRAMMAR_SCOPE - Static variable in class org.antlr.tool.ErrorManager
 
MSG_NO_SUCH_RULE_IN_SCOPE - 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_RULE_REF_AMBIG_WITH_RULE_IN_ALT - 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_ALIAS_CONFLICT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_TOKEN_ALIAS_REASSIGNMENT - Static variable in class org.antlr.tool.ErrorManager
 
MSG_TOKEN_NONDETERMINISM - Static variable in class org.antlr.tool.ErrorManager
 
MSG_TOKEN_VOCAB_IN_DELEGATE - 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
 
mSL_COMMENT() - Method in class org.antlr.gunit.gUnitLexer
 
mSTRING() - Method in class org.antlr.gunit.gUnitLexer
 
mSTRING_LITERAL() - Method in class org.antlr.gunit.gUnitLexer
 
mT__22() - Method in class org.antlr.gunit.gUnitLexer
 
mT__23() - Method in class org.antlr.gunit.gUnitLexer
 
mT__24() - Method in class org.antlr.gunit.gUnitLexer
 
mT__25() - Method in class org.antlr.gunit.gUnitLexer
 
mT__26() - Method in class org.antlr.gunit.gUnitLexer
 
mT__27() - Method in class org.antlr.gunit.gUnitLexer
 
mT__28() - Method in class org.antlr.gunit.gUnitLexer
 
mT__29() - Method in class org.antlr.gunit.gUnitLexer
 
mT__30() - Method in class org.antlr.gunit.gUnitLexer
 
mTEMPLATE_EXPR() - Method in class org.antlr.codegen.ActionTranslator
 
mTEMPLATE_INSTANCE() - Method in class org.antlr.codegen.ActionTranslator
 
mTEXT() - Method in class org.antlr.codegen.ActionTranslator
 
mTOKEN_SCOPE_ATTR() - Method in class org.antlr.codegen.ActionTranslator
 
mTokens() - Method in class org.antlr.codegen.ActionTranslator
 
mTokens() - Method in class org.antlr.gunit.gUnitLexer
 
mTokens() - Method in class org.antlr.tool.ActionAnalysisLexer
 
MultiMap<K,V> - Class in org.antlr.misc
A hash table that maps a key to a list of elements not just a single.
MultiMap() - Constructor for class org.antlr.misc.MultiMap
 
mUNKNOWN_SYNTAX() - Method in class org.antlr.codegen.ActionTranslator
 
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.ActionTranslator
 
mWS() - Method in class org.antlr.gunit.gUnitLexer
 
mX() - Method in class org.antlr.tool.ActionAnalysisLexer
 
mX_Y() - Method in class org.antlr.tool.ActionAnalysisLexer
 
mXDIGIT() - Method in class org.antlr.gunit.gUnitLexer
 
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 - Variable in class org.antlr.tool.Grammar
 
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.
NESTED_ACTION - Static variable in class org.antlr.gunit.gUnitLexer
 
NESTED_ACTION - Static variable in class org.antlr.gunit.gUnitParser
 
NESTED_AST - Static variable in class org.antlr.gunit.gUnitLexer
 
NESTED_AST - Static variable in class org.antlr.gunit.gUnitParser
 
NESTED_RETVAL - Static variable in class org.antlr.gunit.gUnitLexer
 
NESTED_RETVAL - Static variable in class org.antlr.gunit.gUnitParser
 
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(String[]) - Method in class org.antlr.test.BaseTest
 
newTool() - Method in class org.antlr.test.BaseTest
 
nextToken() - Method in class org.antlr.codegen.ActionTranslator
 
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
 
NonLLStarDecisionException - Exception in org.antlr.analysis
Used to abort DFA construction when we find non-LL(*) decision; i.e., a decision that has recursion in more than a single alt.
NonLLStarDecisionException(DFA) - Constructor for exception org.antlr.analysis.NonLLStarDecisionException
 
NonRegularDecisionMessage - Class in org.antlr.tool
More a single alternative recurses so this decision is not regular.
NonRegularDecisionMessage(DecisionProbe, Set<Integer>) - 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.tool.CompositeGrammar
The NFA states in the NFA built from rules across grammars in composite.
numBits() - Method in class org.antlr.misc.BitSet
 
numOfFailure - Variable in class org.antlr.gunit.gUnitExecuter
 
numOfInvalidInput - Variable in class org.antlr.gunit.gUnitExecuter
 
numOfSuccess - Variable in class org.antlr.gunit.gUnitExecuter
 
numOfTest - Variable in class org.antlr.gunit.gUnitExecuter
 

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.
okToRetryDFAWithK1() - Method in class org.antlr.analysis.DFA
If this DFA failed to finish during construction, we might be able to retry with k=1 but we need to know whether it will potentially succeed.
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.Rule
This rule's options
or(LookaheadSet) - Method in class org.antlr.analysis.LookaheadSet
 
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<T> - 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.gunit - package org.antlr.gunit
 
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.
outOfRange - Static variable in class org.antlr.misc.Interval
 
output() - Method in class org.antlr.gunit.gUnitParser
 
outputDirectory - Variable in class org.antlr.Tool
 
outputFileST - Variable in class org.antlr.codegen.CodeGenerator
 
OutputTest - Class in org.antlr.gunit
 
OutputTest(Token) - Constructor for class org.antlr.gunit.OutputTest
 
overriddenRules - Variable in class org.antlr.tool.Grammar
If this rule is a delegate, some rules might be overridden; don't want to gen code for them.
ovfState - Variable in exception org.antlr.analysis.AnalysisRecursionOverflowException
 

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
 
parent - Variable in class org.antlr.tool.CompositeGrammarTree
Who is the parent node of this node; if null, implies node is root
parentGenerator - Variable in class org.antlr.codegen.ACyclicDFACodeGenerator
 
parse(CharStream) - Static method in class org.antlr.gunit.Interp
 
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
 
parseAndBuildAST() - Method in class org.antlr.tool.Grammar
 
parseAndBuildAST(Reader) - Method in class org.antlr.tool.Grammar
 
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
 
Perl5Target - Class in org.antlr.codegen
 
Perl5Target() - Constructor for class org.antlr.codegen.Perl5Target
 
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
 
predicateAST - Variable in class org.antlr.analysis.SemanticContext.Predicate
The AST node in tree created from the grammar holding the predicate
PredicateLabel - Class in org.antlr.analysis
 
PredicateLabel(GrammarAST) - Constructor for class org.antlr.analysis.PredicateLabel
Make a semantic predicate label
PredicateLabel(SemanticContext) - Constructor for class org.antlr.analysis.PredicateLabel
Make a semantic predicates label
predicateVisible - Variable in class org.antlr.analysis.DFA
Track whether this DFA has at least one sem/syn pred encountered during a closure operation.
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.GrammarInsufficientPredicatesMessage
 
problemState - Variable in class org.antlr.tool.GrammarNonDeterminismMessage
 
process() - Method in class org.antlr.Tool
 
processArgs(String[]) - 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
 
proposedNFAConfiguration - Variable in exception org.antlr.analysis.AnalysisRecursionOverflowException
 
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<Integer>, 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, 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.
realElements(List) - Method in class org.antlr.test.BaseTest
 
realElements(Map<String, Integer>) - Method in class org.antlr.test.BaseTest
 
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?
refClosureBusy - Variable in class org.antlr.tool.CompositeGrammar
Used during getRuleReferenceClosure to detect computation cycles
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
 
removeErrorListener() - Static method in class org.antlr.tool.ErrorManager
 
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.
reportAnalysisTimeout() - Method in class org.antlr.analysis.DecisionProbe
 
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.
reportIncompletelyCoveredAlts(DFAState, Map<Integer, Set<Token>>) - Method in class org.antlr.analysis.DecisionProbe
 
reportLexerRuleNondeterminism(DFAState, Set<Integer>) - 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<Integer>) - 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.
reportRecursionOverflow(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
 
reset() - Method in class org.antlr.analysis.DecisionProbe
 
reset() - Method in class org.antlr.analysis.DFAState
 
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
ReturnTest - Class in org.antlr.gunit
 
ReturnTest(Token) - Constructor for class org.antlr.gunit.ReturnTest
 
RETVAL - Static variable in class org.antlr.gunit.gUnitLexer
 
RETVAL - Static variable in class org.antlr.gunit.gUnitParser
 
REV - Static variable in class org.antlr.Tool
 
rewriteMode() - Method in class org.antlr.tool.Grammar
 
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 - Variable in class org.antlr.analysis.RuleClosureTransition
Ptr to the rule definition object for this rule ref
rule - Variable in class org.antlr.gunit.gUnitTestSuite
 
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.ActionTranslator
 
RuleClosureTransition - Class in org.antlr.analysis
A transition used to reference another rule.
RuleClosureTransition(Rule, NFAState, NFAState) - Constructor for class org.antlr.analysis.RuleClosureTransition
 
ruleIndex - Variable in class org.antlr.tool.CompositeGrammar
Rules are uniquely labeled from 1..n among all grammars
ruleIndexToRuleList - Variable in class org.antlr.tool.CompositeGrammar
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
ruleNames(Set<Rule>) - Method in class org.antlr.test.TestDFAConversion
 
ruleNames2(Collection<HashSet>) - Method in class org.antlr.test.TestDFAConversion
 
ruleRefs - Variable in class org.antlr.tool.Grammar
The unique set of all rule references in any rule; set of tree node 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
 
ruleWithReturn - Variable in class org.antlr.gunit.JUnitCodeGen
 
run() - Method in class org.antlr.analysis.NFAConversionThread
 
run() - Method in class org.antlr.gunit.gUnitExecuter.StreamVacuum
 
run() - Method in class org.antlr.test.BaseTest.StreamVacuum
 
runParser(String, String, String, gUnitTestInput) - Method in class org.antlr.gunit.gUnitExecuter
 
runTreeParser(String, String, String, String, gUnitTestInput) - Method in class org.antlr.gunit.gUnitExecuter
 

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.ActionTranslator
 
scopedRuleRefs - Variable in class org.antlr.tool.Grammar
 
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.NFAConfiguration
The set of semantic predicates associated with this NFA configuration.
semanticContext - Variable in class org.antlr.analysis.PredicateLabel
A tree of semantic predicates from the grammar AST if label==SEMPRED.
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, T) - 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.ActionTranslator
 
SET_DYNAMIC_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslator
 
SET_ENCLOSING_RULE_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslator
 
SET_EXPR_ATTRIBUTE - Static variable in class org.antlr.codegen.ActionTranslator
 
SET_LOCAL_ATTR - Static variable in class org.antlr.codegen.ActionTranslator
 
SET_RULE_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslator
 
SET_TOKEN_SCOPE_ATTR - Static variable in class org.antlr.codegen.ActionTranslator
 
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
 
setActual(String) - Method in class org.antlr.gunit.AbstractTest
 
setArrowheadType(String) - Method in class org.antlr.tool.DOTGenerator
 
setBlockOption(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.
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
 
setDelegationRoot(Grammar) - Method in class org.antlr.tool.CompositeGrammar
 
setDescription(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
 
setGrammarName(String) - Method in class org.antlr.gunit.GrammarInfo
 
setHeader(String, String, int, int) - Method in class org.antlr.gunit.AbstractTest
 
setHeader(String) - Method in class org.antlr.gunit.GrammarInfo
 
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(OrderedHashSet<NFAConfiguration>) - Method in class org.antlr.analysis.DFAState
 
setNFAStartState(NFAState) - Method in class org.antlr.tool.GrammarAST
 
setOfDFAWhoseAnalysisTimedOut - 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(Map, Set, Grammar, String, Object) - Method in class org.antlr.tool.GrammarAST
 
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
 
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
 
setTerminalOption(Grammar, String, Object) - Method in class org.antlr.tool.GrammarAST
 
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.
setTreeEnclosingRuleNameDeeply(String) - Method in class org.antlr.tool.GrammarAST
 
setTreeGrammarName(String) - Method in class org.antlr.gunit.GrammarInfo
 
setType(int) - Method in class org.antlr.tool.GrammarAST
 
setUnitTestResult(StringBuffer) - Method in class org.antlr.gunit.GrammarInfo
 
setUp() - Method in class org.antlr.test.BaseTest
 
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?
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
 
SL_COMMENT - Static variable in class org.antlr.gunit.gUnitLexer
 
SL_COMMENT - Static variable in class org.antlr.gunit.gUnitParser
 
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.gunit.gUnitExecuter.StreamVacuum
 
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 per DFA
stateCounter - Variable in class org.antlr.tool.CompositeGrammar
Used to assign state numbers; all grammars in composite share common NFA space.
stateCounter - Variable in class org.antlr.tool.FASerializer
Each state we walk will get a new state number for serialization purposes.
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
Tracks alts insufficiently covered.
stateToRecursionOverflowConfigurationsMap - 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
 
STRING - Static variable in class org.antlr.gunit.gUnitLexer
 
STRING - Static variable in class org.antlr.gunit.gUnitParser
 
STRING_LITERAL - Static variable in class org.antlr.gunit.gUnitLexer
 
STRING_LITERAL - Static variable in class org.antlr.gunit.gUnitParser
 
stringLiterals - Variable in class org.antlr.tool.AssignTokenTypesBehavior
 
stringLiteralToTypeMap - Variable in class org.antlr.tool.CompositeGrammar
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(LookaheadSet) - Method in class org.antlr.analysis.LookaheadSet
 
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.
suite() - Method in class org.antlr.gunit.gUnitParser
 
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.tool.ActionAnalysisLexer
 
synpred10_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred10_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred11_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred11_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred12_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred12_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred13_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred13_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred14_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred14_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred15_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred15_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred16_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred16_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred17_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred17_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred18_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred18_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred19_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred19_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred1_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred1_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred1_fragment() - Method in class org.antlr.tool.ActionAnalysisLexer
 
synpred2() - Method in class org.antlr.tool.ActionAnalysisLexer
 
synpred20_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred20_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred21_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred21_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred22_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred22_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred24_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred24_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred25_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred25_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred26_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred26_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred2_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred2_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred2_fragment() - Method in class org.antlr.tool.ActionAnalysisLexer
 
synpred3_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred3_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred4_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred4_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred5_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred5_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred6_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred6_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred7_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred7_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred8_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred8_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
synpred9_ActionTranslator() - Method in class org.antlr.codegen.ActionTranslator
 
synpred9_ActionTranslator_fragment() - Method in class org.antlr.codegen.ActionTranslator
 
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

T__22 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__22 - Static variable in class org.antlr.gunit.gUnitParser
 
T__23 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__23 - Static variable in class org.antlr.gunit.gUnitParser
 
T__24 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__24 - Static variable in class org.antlr.gunit.gUnitParser
 
T__25 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__25 - Static variable in class org.antlr.gunit.gUnitParser
 
T__26 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__26 - Static variable in class org.antlr.gunit.gUnitParser
 
T__27 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__27 - Static variable in class org.antlr.gunit.gUnitParser
 
T__28 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__28 - Static variable in class org.antlr.gunit.gUnitParser
 
T__29 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__29 - Static variable in class org.antlr.gunit.gUnitParser
 
T__30 - Static variable in class org.antlr.gunit.gUnitLexer
 
T__30 - Static variable in class org.antlr.gunit.gUnitParser
 
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.ActionTranslator
 
TEMPLATE_EXPR - Static variable in class org.antlr.codegen.ActionTranslator
 
TEMPLATE_INSTANCE - Static variable in class org.antlr.codegen.ActionTranslator
 
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
 
terminalOptions - Variable in class org.antlr.tool.GrammarAST
 
test(gUnitTestSuite) - Method in class org.antlr.gunit.gUnitParser
 
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
 
test2ReplaceMiddleIndex1InsertBefore() - Method in class org.antlr.test.TestTokenRewriteStream
 
test3LevelImport() - Method in class org.antlr.test.TestCompositeGrammars
Make sure that M can import S that imports T.
test4Nodes() - Method in class org.antlr.test.TestTreeNodeStream
 
test4Nodes() - Method in class org.antlr.test.TestTrees
 
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
 
testAddListToExistChildren() - Method in class org.antlr.test.TestTrees
 
testAdjacentNotCharLoops() - Method in class org.antlr.test.TestCharDFAConversion
 
testAltConflictsWithLoopThenExit() - Method in class org.antlr.test.TestCharDFAConversion
 
testAmbiguousRule() - Method in class org.antlr.test.TestRewriteAST
 
testAmbiguousTokenRef() - Method in class org.antlr.test.TestAttributes
 
testAmbiguousTokenRefWithProp() - Method in class org.antlr.test.TestAttributes
 
testAmbiguRuleRef() - 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
 
testAPlusGreedyWhenNonDeterministic() - Method in class org.antlr.test.TestDFAConversion
 
testAplusNonGreedy() - Method in class org.antlr.test.TestNFAConstruction
 
testAPlusNonGreedyWhenDeterministic() - Method in class org.antlr.test.TestDFAConversion
 
testAPlusNonGreedyWhenNonDeterministic() - 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
 
testArgWithLT() - 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
 
testAutoDup() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupMultiple() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupNestedTree() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupRule() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTree() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTree2() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTreeWithLabels() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTreeWithListLabels() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTreeWithRuleRoot() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTreeWithRuleRootAndLabels() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTreeWithRuleRootAndListLabels() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAutoDupTreeWithSubruleInside() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testAvoidDup() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
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
 
testBecomeRoot() - Method in class org.antlr.test.TestTrees
 
testBecomeRoot2() - Method in class org.antlr.test.TestTrees
 
testBecomeRoot3() - Method in class org.antlr.test.TestTrees
 
testBecomeRoot5() - Method in class org.antlr.test.TestTrees
 
testBecomeRoot6() - Method in class org.antlr.test.TestTrees
 
testBigTreeOfImports() - Method in class org.antlr.test.TestCompositeGrammars
 
testBracketArgParsing() - 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
 
testCombine3Inserts() - Method in class org.antlr.test.TestTokenRewriteStream
 
testCombinedGrammarLiterals() - Method in class org.antlr.test.TestSymbolDefinitions
 
testCombinedGrammarWithRefToLiteralButNoTokenIDRef() - Method in class org.antlr.test.TestSymbolDefinitions
 
testCombinedImportsCombined() - Method in class org.antlr.test.TestCompositeGrammars
 
testCombinedRewriteAndAuto() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testCombinedRuleRedefinition() - Method in class org.antlr.test.TestSymbolDefinitions
 
testCombineInsertOnLeftWithDelete() - Method in class org.antlr.test.TestTokenRewriteStream
 
testCombineInsertOnLeftWithReplace() - Method in class org.antlr.test.TestTokenRewriteStream
 
testCombineInserts() - Method in class org.antlr.test.TestTokenRewriteStream
 
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
 
testComplicatedArgParsing() - Method in class org.antlr.test.TestAttributes
 
testComplicatedArgParsingWithTranslation() - Method in class org.antlr.test.TestAttributes
 
testComplicatedMelange() - Method in class org.antlr.test.TestAutoAST
 
testComplicatedMelange() - Method in class org.antlr.test.TestRewriteAST
 
testComplicatedSingleArgParsing() - Method in class org.antlr.test.TestAttributes
 
TestCompositeGrammars - Class in org.antlr.test
 
TestCompositeGrammars() - Constructor for class org.antlr.test.TestCompositeGrammars
 
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
 
testCopySemanticsWithHetero() - Method in class org.antlr.test.TestHeteroAST
 
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
 
testDelegatesSeeSameTokenType() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatesSeeSameTokenType2() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatorAccessesDelegateMembers() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatorInvokesDelegateRule() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatorInvokesDelegateRuleWithArgs() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatorInvokesDelegateRuleWithReturnStruct() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatorInvokesFirstVersionOfDelegateRule() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatorRuleOverridesDelegate() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelegatorRuleOverridesLookaheadInDelegate() - Method in class org.antlr.test.TestCompositeGrammars
 
testDelete() - Method in class org.antlr.test.TestRewriteAST
 
testDelete() - Method in class org.antlr.test.TestRewriteTemplates
 
testDelete() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
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
testDisjointInserts() - Method in class org.antlr.test.TestTokenRewriteStream
 
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
 
testDropIdenticalReplace() - Method in class org.antlr.test.TestTokenRewriteStream
 
testDropPrevCoveredInsert() - Method in class org.antlr.test.TestTokenRewriteStream
 
testDupListRefInLexer() - Method in class org.antlr.test.TestLexer
 
testDupTree() - Method in class org.antlr.test.TestTrees
 
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
 
testEscapedLiterals() - Method in class org.antlr.test.TestLexer
 
testEscapedStringLiteral() - Method in class org.antlr.test.TestNFAConstruction
 
testExtraTokenGivesErrorNode() - Method in class org.antlr.test.TestAutoAST
 
testExtraTokenGivesErrorNode() - Method in class org.antlr.test.TestRewriteAST
 
testExtraTokenInSimpleDecl() - Method in class org.antlr.test.TestAutoAST
 
testExtraTokenInSimpleDecl() - Method in class org.antlr.test.TestRewriteAST
 
testFindPattern() - Method in class org.antlr.test.TestTreeWizard
 
testFiniteCommonLeftPrefixes() - Method in class org.antlr.test.TestDFAMatching
 
testFlatList() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
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
 
testGatedSynPred() - Method in class org.antlr.test.TestDFAConversion
 
testGenericsAsArgumentDefinition() - Method in class org.antlr.test.TestAttributes
 
testGenericsAsArgumentDefinition2() - Method in class org.antlr.test.TestAttributes
 
testGenericsAsReturnValue() - Method in class org.antlr.test.TestAttributes
 
testGlobalScopeOutsideRule() - Method in class org.antlr.test.TestAttributes
 
TestHeteroAST - Class in org.antlr.test
Test hetero trees in parsers and tree parsers
TestHeteroAST() - Constructor for class org.antlr.test.TestHeteroAST
 
testHoist2() - Method in class org.antlr.test.TestSemanticPredicates
 
testHoistCorrectContext() - Method in class org.antlr.test.TestSemanticPredicates
 
testHoistedGatedSynPred() - Method in class org.antlr.test.TestDFAConversion
 
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
 
testIgnoresPredsHiddenByActions() - Method in class org.antlr.test.TestSemanticPredicates
 
testIgnoresPredsHiddenByActionsOneAlt() - 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
 
testImportedTokenVocabIgnoredWithWarning() - Method in class org.antlr.test.TestCompositeGrammars
 
testImportedTokenVocabWorksInRoot() - Method in class org.antlr.test.TestCompositeGrammars
 
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'.
testIncompleteSemanticHoistedContextInFOLLOW() - Method in class org.antlr.test.TestSemanticPredicates
 
testIncompleteSemanticHoistedContextInFOLLOWDueToHiddenPred() - Method in class org.antlr.test.TestSemanticPredicates
 
testIncompleteSemanticHoistedContextInFOLLOWk2() - Method in class org.antlr.test.TestSemanticPredicates
 
testIncompleteSemanticHoistedContextk2() - Method in class org.antlr.test.TestSemanticPredicates
 
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
 
testInput - Variable in class org.antlr.gunit.gUnitParser.input_return
 
testInput - Variable in class org.antlr.gunit.gUnitTestInput
 
testInsertAfterLastIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testInsertBeforeIndex0() - Method in class org.antlr.test.TestTokenRewriteStream
 
testInsertInPriorReplace() - 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
 
testInvalidImportMechanism() - Method in class org.antlr.test.TestCompositeGrammars
 
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
 
testInvokeRuleAsRootWithLabel() - Method in class org.antlr.test.TestAutoAST
 
testInvokeRuleAsRootWithListLabel() - 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
 
testKeywordVSIDGivesNoWarning() - Method in class org.antlr.test.TestCompositeGrammars
 
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
 
testLeaveAloneDisjointInsert() - Method in class org.antlr.test.TestTokenRewriteStream
 
testLeaveAloneDisjointInsert2() - Method in class org.antlr.test.TestTokenRewriteStream
 
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
testLexerDelegatorInvokesDelegateRule() - Method in class org.antlr.test.TestCompositeGrammars
 
testLexerDelegatorRuleOverridesDelegate() - Method in class org.antlr.test.TestCompositeGrammars
 
testLexerDelegatorRuleOverridesDelegateLeavingNoRules() - Method in class org.antlr.test.TestCompositeGrammars
 
testLexerLabelRefs() - Method in class org.antlr.test.TestAttributes
 
testLexerMatchesLongestMinusPred() - Method in class org.antlr.test.TestSemanticPredicates
 
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
 
testList() - Method in class org.antlr.test.TestTrees
 
testList2() - Method in class org.antlr.test.TestTrees
 
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_1_Pred_forced_k_1() - Method in class org.antlr.test.TestSemanticPredicates
 
testLL_2_Pred() - Method in class org.antlr.test.TestSemanticPredicates
 
testLoop() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
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
 
testMissingFirstTokenGivesErrorNode() - Method in class org.antlr.test.TestAutoAST
 
testMissingFirstTokenGivesErrorNode() - Method in class org.antlr.test.TestRewriteAST
 
testMissingFirstTokenGivesErrorNode2() - Method in class org.antlr.test.TestAutoAST
 
testMissingFirstTokenGivesErrorNode2() - Method in class org.antlr.test.TestRewriteAST
 
testMissingIDInSimpleDecl() - Method in class org.antlr.test.TestAutoAST
 
testMissingIDInSimpleDecl() - Method in class org.antlr.test.TestRewriteAST
 
testMissingRuleAttribute() - Method in class org.antlr.test.TestAttributes
 
testMissingSetInSimpleDecl() - Method in class org.antlr.test.TestAutoAST
 
testMissingSetInSimpleDecl() - Method in class org.antlr.test.TestRewriteAST
 
testMissingTokenGivesErrorNode() - Method in class org.antlr.test.TestAutoAST
 
testMissingTokenGivesErrorNode() - Method in class org.antlr.test.TestRewriteAST
 
testMissingTokenGivesErrorNodeInInvokedRule() - Method in class org.antlr.test.TestAutoAST
 
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
 
testNonImaginaryWithCtor() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
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
 
testNotSetRootWithLabel() - Method in class org.antlr.test.TestAutoAST
 
testNotSetRootWithListLabel() - Method in class org.antlr.test.TestAutoAST
 
testNotSetRuleRootInLoop() - Method in class org.antlr.test.TestAutoAST
 
testNotSetWithLabel() - Method in class org.antlr.test.TestAutoAST
 
testNotSetWithListLabel() - 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
 
testNoViableAltGivesErrorNode() - Method in class org.antlr.test.TestAutoAST
 
testNoViableAltGivesErrorNode() - Method in class org.antlr.test.TestRewriteAST
 
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
 
testOverlappingReplace() - Method in class org.antlr.test.TestTokenRewriteStream
 
testOverlappingReplace2() - Method in class org.antlr.test.TestTokenRewriteStream
 
testOverlappingReplace3() - Method in class org.antlr.test.TestTokenRewriteStream
 
testOverlappingReplace4() - Method in class org.antlr.test.TestTokenRewriteStream
 
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
 
testPredsUsedAfterK2FailsNoRecursionOverflow() - 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
 
testRecursionOverflow() - Method in class org.antlr.test.TestDFAConversion
 
testRecursionOverflow2() - Method in class org.antlr.test.TestDFAConversion
 
testRecursionOverflowWithPredOk() - Method in class org.antlr.test.TestDFAConversion
 
testRecursionOverflowWithPredOk2() - Method in class org.antlr.test.TestDFAConversion
 
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.
testRefToRuleDoesNotSetChannel() - Method in class org.antlr.test.TestLexer
 
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
 
testReplaceAllWithOne() - Method in class org.antlr.test.TestTrees
 
testReplaceAllWithTwo() - Method in class org.antlr.test.TestTrees
 
testReplaceAtLeft() - Method in class org.antlr.test.TestTrees
 
testReplaceAtRight() - Method in class org.antlr.test.TestTrees
 
testReplaceIndex0() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceInMiddle() - Method in class org.antlr.test.TestTrees
 
testReplaceLastIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceMiddleIndex() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceOneWithTwoAtLeft() - Method in class org.antlr.test.TestTrees
 
testReplaceOneWithTwoAtRight() - Method in class org.antlr.test.TestTrees
 
testReplaceOneWithTwoInMiddle() - Method in class org.antlr.test.TestTrees
 
testReplaceRangeThenInsertAfterRightEdge() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceRangeThenInsertAtLeftEdge() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceRangeThenInsertAtRightEdge() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceSingleMiddleThenOverlappingSuperset() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceSubsetThenFetch() - 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
 
testReplaceThenReplaceLowerIndexedSuperset() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceThenReplaceSuperset() - Method in class org.antlr.test.TestTokenRewriteStream
 
testReplaceTwoWithOneAtLeft() - Method in class org.antlr.test.TestTrees
 
testReplaceTwoWithOneAtRight() - Method in class org.antlr.test.TestTrees
 
testReplaceWithNoChildren() - Method in class org.antlr.test.TestTrees
 
testReplaceWithOneChildren() - Method in class org.antlr.test.TestTrees
 
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
 
testRewriteModeChainRuleFlatTree() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeChainRuleTree() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeChainRuleTree2() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeChainRuleTree3() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeChainRuleTree4() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeChainRuleTree5() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeCombinedRewriteAndAuto() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeFlatTree() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteModeWithPredicatedRewrites() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteOfRuleRef() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteOfRuleRefChild() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteOfRuleRefLabel() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteOfRuleRefListLabel() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteOfRuleRefRoot() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteOfRuleRefRootLabeled() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testRewriteOfRuleRefRootListLabeled() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
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
 
testRewriteRuleResults() - Method in class org.antlr.test.TestHeteroAST
 
testRewriteString() - Method in class org.antlr.test.TestHeteroAST
 
testRewriteStringRoot() - Method in class org.antlr.test.TestHeteroAST
 
TestRewriteTemplates - Class in org.antlr.test
 
TestRewriteTemplates() - Constructor for class org.antlr.test.TestRewriteTemplates
 
testRewriteToken() - Method in class org.antlr.test.TestHeteroAST
 
testRewriteTokenRoot() - Method in class org.antlr.test.TestHeteroAST
 
testRewriteTokenWithArgs() - Method in class org.antlr.test.TestHeteroAST
 
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
 
testRulesVisibleThroughMultilevelImport() - Method in class org.antlr.test.TestCompositeGrammars
 
testSameNameTwoStrings() - Method in class org.antlr.test.TestCompositeGrammars
 
testSameStringTwoNames() - Method in class org.antlr.test.TestCompositeGrammars
 
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
 
testSemanticContextPreventsEarlyTerminationOfClosure() - Method in class org.antlr.test.TestSemanticPredicates
 
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
testSemPredResolvesRecursion() - Method in class org.antlr.test.TestDFAConversion
 
testSemPredResolvesRecursion2() - Method in class org.antlr.test.TestDFAConversion
 
testSemPredResolvesRecursion3() - Method in class org.antlr.test.TestDFAConversion
 
testSeqDoesNotBecomeSet() - Method in class org.antlr.test.TestSets
 
testSet() - Method in class org.antlr.test.TestAutoAST
 
testSet() - Method in class org.antlr.test.TestRewriteAST
 
testSet2() - 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
 
testSetAttrOfExprInMembers() - 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
 
testSetMatchNoRewrite() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testSetMatchNoRewriteLevel2() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testSetMatchNoRewriteLevel2Root() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testSetOptionalMatchNoRewrite() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
testSetRoot() - Method in class org.antlr.test.TestAutoAST
 
testSetRootWithLabel() - 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
 
testSetWithLabel() - Method in class org.antlr.test.TestRewriteAST
 
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.TestTreeGrammarRewriteAST
 
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.TestTrees
 
testSingleNode() - Method in class org.antlr.test.TestTreeWizard
 
testSingleNodeIndex() - Method in class org.antlr.test.TestTreeWizard
 
testSingleNodeRewriteMode() - Method in class org.antlr.test.TestRewriteTemplates
 
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
 
testString() - Method in class org.antlr.test.TestHeteroAST
 
testStringArgParsing() - Method in class org.antlr.test.TestAttributes
 
testStringConstructor() - Method in class org.antlr.test.TestTemplates
 
testStringLiteralInParserTokensSection() - Method in class org.antlr.test.TestSymbolDefinitions
 
testStringRoot() - Method in class org.antlr.test.TestHeteroAST
 
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
testSuites - Variable in class org.antlr.gunit.gUnitTestSuite
A map which stores input/output pairs (individual testsuites).
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
 
testSynPredResolvesRecursion2() - Method in class org.antlr.test.TestDFAConversion
 
testSynPredResolvesRecursion3() - Method in class org.antlr.test.TestDFAConversion
 
testSynPredResolvesRecursion4() - 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
 
testSyntacticPredicateRulesAreNotInherited() - Method in class org.antlr.test.TestCompositeGrammars
 
testSyntaxErrorsInImportsNotThrownOut() - Method in class org.antlr.test.TestCompositeGrammars
 
testSyntaxErrorsInImportsNotThrownOut2() - Method in class org.antlr.test.TestCompositeGrammars
 
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
 
testToken() - Method in class org.antlr.test.TestHeteroAST
 
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
testTokenRoot() - Method in class org.antlr.test.TestHeteroAST
 
testTokenRootWithListLabel() - Method in class org.antlr.test.TestHeteroAST
 
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
 
testTokenVocabStringUsedInCombined() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenVocabStringUsedInLexer() - Method in class org.antlr.test.TestSymbolDefinitions
 
testTokenWithLabel() - Method in class org.antlr.test.TestHeteroAST
 
testTokenWithListLabel() - Method in class org.antlr.test.TestHeteroAST
 
testTokenWithQualifiedType() - Method in class org.antlr.test.TestHeteroAST
 
testToList() - Method in class org.antlr.test.TestIntervalSet
 
testTooFewSemanticPredicates() - Method in class org.antlr.test.TestSemanticPredicates
 
testToStringStartStop() - Method in class org.antlr.test.TestTokenRewriteStream
 
testToStringStartStop2() - Method in class org.antlr.test.TestTokenRewriteStream
 
TestTreeGrammarRewriteAST - Class in org.antlr.test
Tree rewrites in tree parsers are basically identical to rewrites in a normal grammar except that the atomic element is a node not a Token.
TestTreeGrammarRewriteAST() - Constructor for class org.antlr.test.TestTreeGrammarRewriteAST
 
TestTreeNodeStream - Class in org.antlr.test
Test the tree node stream.
TestTreeNodeStream() - Constructor for class org.antlr.test.TestTreeNodeStream
 
testTreeParserAutoHeteroAST() - Method in class org.antlr.test.TestHeteroAST
 
testTreeParserRewriteFlatList() - Method in class org.antlr.test.TestHeteroAST
 
testTreeParserRewriteImaginary() - Method in class org.antlr.test.TestHeteroAST
 
testTreeParserRewriteImaginaryFromReal() - Method in class org.antlr.test.TestHeteroAST
 
testTreeParserRewriteImaginaryRoot() - Method in class org.antlr.test.TestHeteroAST
 
testTreeParserRewriteImaginaryWithArgs() - Method in class org.antlr.test.TestHeteroAST
 
testTreeParserRewriteTree() - Method in class org.antlr.test.TestHeteroAST
 
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
 
TestTrees - Class in org.antlr.test
 
TestTrees() - Constructor for class org.antlr.test.TestTrees
 
TestTreeWizard - Class in org.antlr.test
 
TestTreeWizard() - Constructor for class org.antlr.test.TestTreeWizard
 
testTripleNestedPredInLexer() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testTwoChildrenOfNilRoot() - Method in class org.antlr.test.TestTrees
 
testTwoPredsWithNakedAlt() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testTwoPredsWithNakedAltNotLast() - Method in class org.antlr.test.TestSyntacticPredicateEvaluation
 
testTypeOfGuardedAttributeRefIsCorrect() - Method in class org.antlr.test.TestAttributes
 
TestUnBufferedTreeNodeStream - Class in org.antlr.test
 
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
 
testWarningForUndefinedToken() - Method in class org.antlr.test.TestCompositeGrammars
 
testWeCanSetType() - Method in class org.antlr.test.TestLexer
 
testWeirdRuleRef() - Method in class org.antlr.test.TestRewriteAST
 
testWildcard() - Method in class org.antlr.test.TestAutoAST
 
testWildcard() - Method in class org.antlr.test.TestRewriteAST
 
testWildcard() - Method in class org.antlr.test.TestTreeGrammarRewriteAST
 
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
 
testWildcardRootWithLabel() - Method in class org.antlr.test.TestAutoAST
 
testWildcardRootWithListLabel() - Method in class org.antlr.test.TestAutoAST
 
testWildcardStarK1AndNonGreedyByDefaultInParser() - Method in class org.antlr.test.TestDFAConversion
 
testWildcardStillWorks() - Method in class org.antlr.test.TestCompositeGrammars
 
TEXT - Static variable in class org.antlr.codegen.ActionTranslator
 
threshold - Variable in class org.antlr.misc.Barrier
 
timedOut - Variable in class org.antlr.analysis.DecisionProbe
Did ANTLR have to terminate early on the analysis of this decision?
tmpdir - 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.ActionTranslator
 
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.CompositeGrammar
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
tokenNames - Static variable in class org.antlr.gunit.gUnitParser
 
tokenRuleDefs - Variable in class org.antlr.tool.AssignTokenTypesBehavior
Track actual lexer rule defs so we don't get repeated token defs in generated lexer.
tokens - Static variable in class org.antlr.test.TestTreeWizard
 
Tokens - Static variable in class org.antlr.tool.ActionAnalysisLexer
 
tokens - Variable in class org.antlr.tool.AssignTokenTypesBehavior
 
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.ActionLabel
 
toString(Grammar) - Method in class org.antlr.analysis.ActionLabel
 
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.PredicateLabel
 
toString(Grammar) - Method in class org.antlr.analysis.PredicateLabel
 
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.gunit.gUnitExecuter.StreamVacuum
 
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
Used during grammar imports to see if sets of rules intersect...
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<Set<Rule>>) - 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
 
trackString(GrammarAST) - Method in class org.antlr.tool.AssignTokenTypesBehavior
Track string literals (could be in tokens{} section)
trackToken(GrammarAST) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
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.
trackTokenRule(GrammarAST, GrammarAST, GrammarAST) - Method in class org.antlr.tool.AssignTokenTypesBehavior
 
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 - Variable in class org.antlr.analysis.NFAState
 
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.ActionTranslator
 
translateAction(String) - Method in class org.antlr.codegen.ActionTranslator
 
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(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.ActionTranslator
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
 
treeRule - Variable in class org.antlr.gunit.gUnitTestSuite
 
trimLexerImportsIntoCombined() - Method in class org.antlr.tool.CompositeGrammarTree
 
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<Integer>) - 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
typeToStringLiteralList - Variable in class org.antlr.tool.CompositeGrammar
Reverse index for stringLiteralToTypeMap
typeToTokenList - Variable in class org.antlr.tool.CompositeGrammar
Map a token type to its token name.

U

UNASSIGNED - Static variable in class org.antlr.tool.AssignTokenTypesBehavior
 
UNASSIGNED_IN_PARSER_RULE - Static variable in class org.antlr.tool.AssignTokenTypesBehavior
 
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.ActionTranslator
 
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

validDelegations - Static variable in class org.antlr.tool.Grammar
Set of valid imports.
validImport(Grammar) - Method in class org.antlr.tool.Grammar
Many imports are illegal such as lexer into a tree grammar
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.GrammarSanity
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.CompositeGrammar
 
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, Rule, String) - Method in class org.antlr.Tool
 
writeDOTFile(Grammar, String, String) - Method in class org.antlr.Tool
 
writeFile(String, String, String) - Method in class org.antlr.test.BaseTest
 
writeLexerTestFile(String, boolean) - Method in class org.antlr.test.BaseTest
 
writeTemplateTestFile(String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
writeTestFile(String, String, String) - Method in class org.antlr.gunit.JUnitCodeGen
 
writeTestFile(String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
writeTreeAndTreeTestFile(String, String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
Parser creates trees and so does the tree parser
writeTreeTestFile(String, String, String, String, String, boolean) - Method in class org.antlr.test.BaseTest
 
WS - Static variable in class org.antlr.codegen.ActionTranslator
 
WS - Static variable in class org.antlr.gunit.gUnitLexer
 
WS - Static variable in class org.antlr.gunit.gUnitParser
 

X

X - Static variable in class org.antlr.tool.ActionAnalysisLexer
 
X_Y - Static variable in class org.antlr.tool.ActionAnalysisLexer
 
XDIGIT - Static variable in class org.antlr.gunit.gUnitLexer
 
XDIGIT - Static variable in class org.antlr.gunit.gUnitParser
 

Y

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

_

_detectConfoundingPredicates(NFAState, Rule, boolean) - Method in class org.antlr.analysis.LL1Analyzer
 
_FIRST(NFAState, boolean) - Method in class org.antlr.analysis.LL1Analyzer
 
_getPostOrderedGrammarList(List<Grammar>) - Method in class org.antlr.tool.CompositeGrammarTree
work for getPostOrderedGrammarList
_getPredicates(NFAState, NFAState) - Method in class org.antlr.analysis.LL1Analyzer
 
_getPreOrderedGrammarList(List<Grammar>) - Method in class org.antlr.tool.CompositeGrammarTree
 
_minimizeRuleSet(Set<String>, CompositeGrammarTree) - Method in class org.antlr.tool.CompositeGrammar
 
_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 _