| Modifier and Type | Method and Description |
|---|---|
void |
Tool.log(String component,
String msg) |
| Modifier and Type | Field and Description |
|---|---|
org.stringtemplate.v4.STGroup |
LexerATNFactory.codegenTemplates |
| Modifier and Type | Method and Description |
|---|---|
protected LexerAction |
LexerATNFactory.createLexerAction(GrammarAST ID,
GrammarAST arg) |
protected Integer |
LexerATNFactory.getConstantValue(String name,
org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
protected LexerAction |
LexerATNFactory.createLexerAction(GrammarAST ID,
GrammarAST arg) |
protected Integer |
LexerATNFactory.getConstantValue(String name,
org.antlr.runtime.Token token) |
protected Integer |
LexerATNFactory.getConstantValue(String name,
org.antlr.runtime.Token token) |
ATNState |
ParserATNFactory.newState(GrammarAST node) |
| Modifier and Type | Method and Description |
|---|---|
Decl |
DefaultOutputModelFactory.getCurrentDeclForName(String name) |
Target |
CodeGenerator.getTarget() |
org.stringtemplate.v4.STGroup |
CodeGenerator.getTemplates() |
| Modifier and Type | Method and Description |
|---|---|
static AttributeDict |
ScopeParser.parse(ActionAST action,
String s,
char separator,
Grammar g) |
static Attribute |
ScopeParser.parseAttributeDef(ActionAST action,
Tuple2<String,Integer> decl,
Grammar g)
For decls like "String foo" or "char *foo32[]" compute the ID
and type declarations.
|
static AttributeDict |
ScopeParser.parseTypedArgList(ActionAST action,
String s,
Grammar g)
Given an arg or retval scope definition list like
Map
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ParseTreeListener> |
Parser._parseListeners
The list of
ParseTreeListener listeners registered to receive
events during the parse. |
| Modifier and Type | Method and Description |
|---|---|
static InterpreterRuleContext |
InterpreterRuleContext.fromParserRuleContext(ParserRuleContext ctx)
|
RuleContext |
RecognitionException.getContext()
Gets the
RuleContext at the time this exception was thrown. |
ATNConfigSet |
NoViableAltException.getDeadEndConfigs() |
ATNConfigSet |
LexerNoViableAltException.getDeadEndConfigs() |
IntervalSet |
RecognitionException.getExpectedTokens()
Gets the set of input symbols which could potentially follow the
previously matched symbol at the time this exception was thrown.
|
CharStream |
TokenSource.getInputStream()
Get the
CharStream from which this token source is currently
providing tokens. |
IntStream |
RecognitionException.getInputStream()
Gets the input stream which is the symbol source for the recognizer where
this exception was thrown.
|
String |
VocabularyImpl.getLiteralName(int tokenType) |
String |
Vocabulary.getLiteralName(int tokenType)
Gets the string literal associated with a token type.
|
Token |
RecognitionException.getOffendingToken() |
String |
FailedPredicateException.getPredicate() |
Recognizer<?,?> |
RecognitionException.getRecognizer()
Gets the
Recognizer where this exception occurred. |
String |
VocabularyImpl.getSymbolicName(int tokenType) |
String |
Vocabulary.getSymbolicName(int tokenType)
Gets the symbolic name associated with a token type.
|
protected Token |
DefaultErrorStrategy.singleTokenDeletion(Parser recognizer)
This method implements the single-token deletion inline error recovery
strategy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Recognizer.action(RuleContext _localctx,
int ruleIndex,
int actionIndex) |
static InterpreterRuleContext |
InterpreterRuleContext.fromParserRuleContext(ParserRuleContext ctx)
|
static Vocabulary |
VocabularyImpl.fromTokenNames(String[] tokenNames)
Returns a
VocabularyImpl instance from the specified set of token
names. |
protected BitSet |
DiagnosticErrorListener.getConflictingAlts(BitSet reportedAlts,
ATNConfigSet configs)
Computes the set of conflicting or ambiguous alternatives from a
configuration set, if that information was not already provided by the
parser.
|
Future<JDialog> |
RuleContext.inspect(List<String> ruleNames) |
Future<JDialog> |
RuleContext.inspect(Parser parser)
Call this method to view a parse tree in a dialog box visually.
|
void |
ANTLRFileStream.load(String fileName,
String encoding) |
void |
Parser.notifyErrorListeners(Token offendingToken,
String msg,
RecognitionException e) |
boolean |
Recognizer.precpred(RuleContext localctx,
int precedence) |
boolean |
Parser.precpred(RuleContext localctx,
int precedence) |
void |
TokenStreamRewriter.replace(String programName,
int from,
int to,
Object text) |
void |
TokenStreamRewriter.replace(String programName,
Token from,
Token to,
Object text) |
void |
ParserErrorListener.reportAmbiguity(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
boolean exact,
BitSet ambigAlts,
ATNConfigSet configs)
This method is called by the parser when a full-context prediction
results in an ambiguity.
|
void |
DiagnosticErrorListener.reportAmbiguity(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
boolean exact,
BitSet ambigAlts,
ATNConfigSet configs) |
void |
BaseErrorListener.reportAmbiguity(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
boolean exact,
BitSet ambigAlts,
ATNConfigSet configs) |
void |
ParserErrorListener.reportAttemptingFullContext(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
BitSet conflictingAlts,
SimulatorState conflictState)
This method is called when an SLL conflict occurs and the parser is about
to use the full context information to make an LL decision.
|
void |
DiagnosticErrorListener.reportAttemptingFullContext(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
BitSet conflictingAlts,
SimulatorState conflictState) |
void |
BaseErrorListener.reportAttemptingFullContext(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
BitSet conflictingAlts,
SimulatorState conflictState) |
void |
RuleContext.save(List<String> ruleNames,
String fileName)
Save this tree in a postscript file
|
void |
RuleContext.save(List<String> ruleNames,
String fileName,
String fontName,
int fontSize)
Save this tree in a postscript file using a particular font name and size
|
void |
RuleContext.save(Parser parser,
String fileName)
Save this tree in a postscript file
|
void |
RuleContext.save(Parser parser,
String fileName,
String fontName,
int fontSize)
Save this tree in a postscript file using a particular font name and size
|
boolean |
Recognizer.sempred(RuleContext _localctx,
int ruleIndex,
int actionIndex) |
protected <Symbol extends Token> |
RecognitionException.setOffendingToken(Recognizer<Symbol,?> recognizer,
Symbol offendingToken) |
<T extends Token> |
BaseErrorListener.syntaxError(Recognizer<T,?> recognizer,
T offendingSymbol,
int line,
int charPositionInLine,
String msg,
RecognitionException e) |
<T extends Token> |
BaseErrorListener.syntaxError(Recognizer<T,?> recognizer,
T offendingSymbol,
int line,
int charPositionInLine,
String msg,
RecognitionException e) |
<T extends Symbol> |
ProxyErrorListener.syntaxError(Recognizer<T,?> recognizer,
T offendingSymbol,
int line,
int charPositionInLine,
String msg,
RecognitionException e) |
<T extends Symbol> |
ProxyErrorListener.syntaxError(Recognizer<T,?> recognizer,
T offendingSymbol,
int line,
int charPositionInLine,
String msg,
RecognitionException e) |
<T extends Symbol> |
ANTLRErrorListener.syntaxError(Recognizer<T,?> recognizer,
T offendingSymbol,
int line,
int charPositionInLine,
String msg,
RecognitionException e)
Upon syntax error, notify any interested parties.
|
<T extends Symbol> |
ANTLRErrorListener.syntaxError(Recognizer<T,?> recognizer,
T offendingSymbol,
int line,
int charPositionInLine,
String msg,
RecognitionException e)
Upon syntax error, notify any interested parties.
|
String |
RuleContext.toString(List<String> ruleNames) |
String |
RuleContext.toString(List<String> ruleNames,
RuleContext stop) |
String |
RuleContext.toString(List<String> ruleNames,
RuleContext stop) |
String |
RuleContext.toString(Recognizer<?,?> recog) |
String |
RuleContext.toString(Recognizer<?,?> recog,
RuleContext stop) |
String |
RuleContext.toString(Recognizer<?,?> recog,
RuleContext stop) |
String |
RuleContext.toStringTree(List<String> ruleNames)
Print out a whole tree, not just a node, in LISP format
(root child1 ..
|
String |
RuleContext.toStringTree(Parser recog)
Print out a whole tree, not just a node, in LISP format
(root child1 ..
|
| Constructor and Description |
|---|
FailedPredicateException(Parser recognizer,
String predicate) |
FailedPredicateException(Parser recognizer,
String predicate,
String message) |
FailedPredicateException(Parser recognizer,
String predicate,
String message) |
InterpreterRuleContext(ParserRuleContext parent,
int invokingStateNumber,
int ruleIndex)
Constructs a new
InterpreterRuleContext with the specified
parent, invoking state, and rule index. |
LexerNoViableAltException(Lexer lexer,
CharStream input,
int startIndex,
ATNConfigSet deadEndConfigs) |
LexerNoViableAltException(Lexer lexer,
CharStream input,
int startIndex,
ATNConfigSet deadEndConfigs) |
NoViableAltException(Recognizer<Token,?> recognizer,
TokenStream input,
Token startToken,
Token offendingToken,
ATNConfigSet deadEndConfigs,
ParserRuleContext ctx) |
ParserRuleContext(ParserRuleContext parent,
int invokingStateNumber) |
RecognitionException(Lexer lexer,
CharStream input) |
RecognitionException(Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(String message,
Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(String message,
Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(String message,
Recognizer<Token,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
VocabularyImpl(String[] literalNames,
String[] symbolicNames)
Constructs a new instance of
VocabularyImpl from the specified
literal and symbolic token names. |
VocabularyImpl(String[] literalNames,
String[] symbolicNames)
Constructs a new instance of
VocabularyImpl from the specified
literal and symbolic token names. |
VocabularyImpl(String[] literalNames,
String[] symbolicNames,
String[] displayNames)
Constructs a new instance of
VocabularyImpl from the specified
literal, symbolic, and display token names. |
VocabularyImpl(String[] literalNames,
String[] symbolicNames,
String[] displayNames)
Constructs a new instance of
VocabularyImpl from the specified
literal, symbolic, and display token names. |
VocabularyImpl(String[] literalNames,
String[] symbolicNames,
String[] displayNames)
Constructs a new instance of
VocabularyImpl from the specified
literal, symbolic, and display token names. |
| Modifier and Type | Field and Description |
|---|---|
protected Parser |
ParserATNSimulator.parser |
protected Lexer |
LexerATNSimulator.recog |
SimulatorState |
DecisionEventInfo.state
The simulator state containing additional information relevant to the
prediction state when the current event occurred, or
null if no
additional information is relevant or available. |
| Modifier and Type | Method and Description |
|---|---|
IntervalSet[] |
LL1Analyzer.getDecisionLookahead(ATNState s)
Calculates the SLL(1) expected lookahead set for each outgoing transition
of an
ATNState. |
protected ATNConfig |
ParserATNSimulator.getEpsilonTarget(ATNConfig config,
Transition t,
boolean collectPredicates,
boolean inContext,
PredictionContextCache contextCache,
boolean treatEofAsEpsilon) |
protected ATNConfig |
LexerATNSimulator.getEpsilonTarget(CharStream input,
ATNConfig config,
Transition t,
ATNConfigSet configs,
boolean speculative,
boolean treatEofAsEpsilon) |
protected DFAState |
ParserATNSimulator.getExistingTargetState(DFAState s,
int t)
Get an existing target state for an edge in the DFA.
|
protected DFAState |
LexerATNSimulator.getExistingTargetState(DFAState s,
int t)
Get an existing target state for an edge in the DFA.
|
LexerActionExecutor |
ATNConfig.getLexerActionExecutor() |
protected ATNState |
ParserATNSimulator.getReachableTarget(ATNConfig source,
Transition trans,
int ttype) |
protected ATNState |
LexerATNSimulator.getReachableTarget(Transition trans,
int t) |
IntervalSet |
Transition.label() |
protected ATNConfig |
ParserATNSimulator.precedenceTransition(ATNConfig config,
PrecedencePredicateTransition pt,
boolean collectPredicates,
boolean inContext) |
protected ATNConfig |
ParserATNSimulator.predTransition(ATNConfig config,
PredicateTransition pt,
boolean collectPredicates,
boolean inContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LL1Analyzer._LOOK(ATNState s,
ATNState stopState,
PredictionContext ctx,
IntervalSet look,
Set<ATNConfig> lookBusy,
BitSet calledRuleStack,
boolean seeThruPreds,
boolean addEOF)
Compute set of tokens that can follow
s in the ATN in the
specified ctx. |
int |
ParserATNSimulator.adaptivePredict(TokenStream input,
int decision,
ParserRuleContext outerContext) |
int |
ParserATNSimulator.adaptivePredict(TokenStream input,
int decision,
ParserRuleContext outerContext,
boolean useContext) |
boolean |
ATNConfigSet.add(ATNConfig e,
PredictionContextCache contextCache) |
protected void |
ParserATNSimulator.addDFAEdge(DFAState p,
int t,
DFAState q) |
protected void |
ParserATNSimulator.addDFAEdge(DFAState p,
int t,
DFAState q) |
void |
ATN.addState(ATNState state) |
static LexerActionExecutor |
LexerActionExecutor.append(LexerActionExecutor lexerActionExecutor,
LexerAction lexerAction)
Creates a
LexerActionExecutor which executes the actions for
the input lexerActionExecutor followed by a specified
lexerAction. |
protected void |
ParserATNSimulator.closure(ATNConfig config,
ATNConfigSet configs,
ATNConfigSet intermediate,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean hasMoreContexts,
PredictionContextCache contextCache,
int depth,
boolean treatEofAsEpsilon) |
protected void |
ParserATNSimulator.closure(ATNConfigSet sourceConfigs,
ATNConfigSet configs,
boolean collectPredicates,
boolean hasMoreContext,
PredictionContextCache contextCache,
boolean treatEofAsEpsilon) |
static ATNConfig |
ATNConfig.create(ATNState state,
int alt,
PredictionContext context) |
static ATNConfig |
ATNConfig.create(ATNState state,
int alt,
PredictionContext context,
SemanticContext semanticContext) |
static ATNConfig |
ATNConfig.create(ATNState state,
int alt,
PredictionContext context,
SemanticContext semanticContext,
LexerActionExecutor lexerActionExecutor) |
IntervalSet[] |
LL1Analyzer.getDecisionLookahead(ATNState s)
Calculates the SLL(1) expected lookahead set for each outgoing transition
of an
ATNState. |
IntervalSet |
ATN.getExpectedTokens(int stateNumber,
RuleContext context)
Computes the set of input symbols which could follow ATN state number
stateNumber in the specified full context. |
IntervalSet |
LL1Analyzer.LOOK(ATNState s,
ATNState stopState,
PredictionContext ctx)
Compute set of tokens that can follow
s in the ATN in the
specified ctx. |
protected void |
ParserATNSimulator.reportAttemptingFullContext(DFA dfa,
BitSet conflictingAlts,
SimulatorState conflictState,
int startIndex,
int stopIndex) |
protected ATNConfig |
ParserATNSimulator.ruleTransition(ATNConfig config,
RuleTransition t,
PredictionContextCache contextCache) |
String |
ATNConfig.toString(Recognizer<?,?> recog,
boolean showAlt) |
String |
ATNConfig.toString(Recognizer<?,?> recog,
boolean showAlt,
boolean showContext) |
ATNConfig |
ATNConfig.transform(ATNState state,
PredictionContext context,
boolean checkNonGreedy) |
| Constructor and Description |
|---|
ATNDeserializer(ATNDeserializationOptions deserializationOptions) |
DecisionEventInfo(int decision,
SimulatorState state,
TokenStream input,
int startIndex,
int stopIndex,
boolean fullCtx) |
LexerATNSimulator(Lexer recog,
ATN atn) |
LookaheadEventInfo(int decision,
SimulatorState state,
TokenStream input,
int startIndex,
int stopIndex,
boolean fullCtx)
Constructs a new instance of the
LookaheadEventInfo class with
the specified detailed lookahead information. |
NotSetTransition(ATNState target,
IntervalSet set) |
ParserATNSimulator(Parser parser,
ATN atn) |
SetTransition(ATNState target,
IntervalSet set) |
| Modifier and Type | Field and Description |
|---|---|
DFAState.PredPrediction[] |
DFAState.predicates
|
| Modifier and Type | Method and Description |
|---|---|
T |
EdgeMap.get(int key) |
| Modifier and Type | Method and Description |
|---|---|
EdgeMap<T> |
EdgeMap.put(int key,
T value) |
String |
DFA.toString(String[] tokenNames)
Deprecated.
Use
DFA.toString(Vocabulary) instead. |
String |
DFA.toString(String[] tokenNames,
String[] ruleNames)
Deprecated.
Use
DFA.toString(Vocabulary, String[]) instead. |
String |
DFA.toString(String[] tokenNames,
String[] ruleNames)
Deprecated.
Use
DFA.toString(Vocabulary, String[]) instead. |
String |
DFA.toString(Vocabulary vocabulary,
String[] ruleNames) |
| Constructor and Description |
|---|
DFASerializer(DFA dfa,
Recognizer<?,?> parser) |
DFASerializer(DFA dfa,
String[] tokenNames)
Deprecated.
Use
DFASerializer.DFASerializer(DFA, Vocabulary) instead. |
DFASerializer(DFA dfa,
String[] tokenNames,
String[] ruleNames,
ATN atn)
Deprecated.
|
DFASerializer(DFA dfa,
String[] tokenNames,
String[] ruleNames,
ATN atn)
Deprecated.
|
DFASerializer(DFA dfa,
String[] tokenNames,
String[] ruleNames,
ATN atn)
Deprecated.
|
DFASerializer(DFA dfa,
Vocabulary vocabulary,
String[] ruleNames,
ATN atn) |
DFASerializer(DFA dfa,
Vocabulary vocabulary,
String[] ruleNames,
ATN atn) |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntSet.and(IntSet a)
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a. |
IntSet |
IntSet.complement(IntSet elements)
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
IntSet |
IntSet.or(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set, the specified set a, or both. |
IntSet |
IntSet.subtract(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set but not present in the input set a. |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntSet.addAll(IntSet set)
Modify the current
IntSet object to contain all elements that are
present in itself, the specified set, or both. |
IntSet |
IntSet.and(IntSet a)
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a. |
IntSet |
IntSet.complement(IntSet elements)
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
boolean |
Array2DHashSet.containsFast(T obj) |
void |
LogManager.log(String component,
String msg) |
IntSet |
IntSet.or(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set, the specified set a, or both. |
static char[] |
Utils.readFile(String fileName,
String encoding) |
boolean |
Array2DHashSet.removeFast(T obj) |
static IntervalSet |
IntervalSet.subtract(IntervalSet left,
IntervalSet right)
Compute the set difference between two interval sets.
|
static IntervalSet |
IntervalSet.subtract(IntervalSet left,
IntervalSet right)
Compute the set difference between two interval sets.
|
IntSet |
IntSet.subtract(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set but not present in the input set a. |
static void |
Utils.writeFile(String fileName,
String content,
String encoding) |
| Constructor and Description |
|---|
Array2DHashSet(AbstractEqualityComparator<? super T> comparator) |
Array2DHashSet(AbstractEqualityComparator<? super T> comparator,
int initialCapacity,
int initialBucketCapacity) |
FlexibleHashMap(AbstractEqualityComparator<? super K> comparator) |
FlexibleHashMap(AbstractEqualityComparator<? super K> comparator,
int initialCapacity,
int initialBucketCapacity) |
| Modifier and Type | Method and Description |
|---|---|
static ParserRuleContext |
Trees.getRootOfSubtreeEnclosingRegion(ParseTree t,
int startTokenIndex,
int stopTokenIndex)
Find smallest subtree of t enclosing range startTokenIndex..stopTokenIndex
inclusively using postorder traversal.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Trees.getNodeText(Tree t,
List<String> ruleNames) |
static String |
Trees.getNodeText(Tree t,
Parser recog) |
static String |
Trees.getPS(Tree t,
List<String> ruleNames) |
static String |
Trees.getPS(Tree t,
List<String> ruleNames,
String fontName,
int fontSize) |
static String |
Trees.toStringTree(Tree t,
List<String> ruleNames)
Print out a whole tree in LISP form.
|
static String |
Trees.toStringTree(Tree t,
Parser recog)
Print out a whole tree in LISP form.
|
static void |
Trees.writePS(Tree t,
List<String> ruleNames,
String fileName) |
static void |
Trees.writePS(Tree t,
List<String> ruleNames,
String fileName,
String fontName,
int fontSize) |
| Constructor and Description |
|---|
TreePostScriptGenerator(List<String> ruleNames,
Tree root) |
TreePostScriptGenerator(List<String> ruleNames,
Tree root,
String fontName,
int fontSize) |
TreeViewer.DefaultTreeTextProvider(List<String> ruleNames) |
TreeViewer(List<String> ruleNames,
Tree tree) |
| Modifier and Type | Method and Description |
|---|---|
ParseTree |
ParseTreeMatch.get(String label)
Get the last node associated with a specific
label. |
String |
TokenTagToken.getLabel()
Gets the label associated with the rule tag.
|
String |
RuleTagToken.getLabel()
Gets the label associated with the rule tag.
|
ParseTree |
ParseTreeMatch.getMismatchedNode()
Get the node at which we first detected a mismatch.
|
protected ParseTree |
ParseTreePatternMatcher.matchImpl(ParseTree tree,
ParseTree patternTree,
MultiMap<String,ParseTree> labels)
|
| Constructor and Description |
|---|
ParseTreeMatch(ParseTree tree,
ParseTreePattern pattern,
MultiMap<String,ParseTree> labels,
ParseTree mismatchedNode)
Constructs a new instance of
ParseTreeMatch from the specified
parse tree and pattern. |
RuleTagToken(String ruleName,
int bypassTokenType,
String label)
Constructs a new instance of
RuleTagToken with the specified rule
name, bypass token type, and label. |
TokenTagToken(String tokenName,
int type,
String label)
Constructs a new instance of
TokenTagToken with the specified
token name, type, and label. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SymbolChecks.checkDeclarationRuleConflicts(Rule r,
AttributeDict attributes,
Set<String> ruleNames,
ErrorType errorType) |
protected void |
SymbolChecks.checkLocalConflictingDeclarations(Rule r,
AttributeDict attributes,
AttributeDict referenceAttributes,
ErrorType errorType) |
protected void |
SymbolChecks.checkLocalConflictingDeclarations(Rule r,
AttributeDict attributes,
AttributeDict referenceAttributes,
ErrorType errorType) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
ANTLRMessage.getCause() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
AttributeDict.intersection(AttributeDict other)
Return the set of keys that collide from
this and other. |
| Constructor and Description |
|---|
ANTLRMessage(ErrorType errorType,
Throwable e,
org.antlr.runtime.Token offendingToken,
Object... args) |
Grammar(String fileName,
String grammarText,
ANTLRToolListener listener)
For testing; builds trees, does sem anal
|
Grammar(String fileName,
String grammarText,
Grammar tokenVocabSource,
ANTLRToolListener listener)
For testing; builds trees, does sem anal
|
Copyright © 1992–2015 ANTLR. All rights reserved.