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

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

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