Uses of Class
antlr.Token

Packages that use Token
antlr   
antlr.actions.cpp   
antlr.actions.java   
antlr.actions.sather   
antlr.collections   
antlr.debug   
antlr.preprocessor   
javaprec   
rom.interpreter.parser   
 

Uses of Token in antlr
 

Subclasses of Token in antlr
 class CommonHiddenStreamToken
           
 class CommonToken
           
 

Fields in antlr declared as Token
private  Token TreeSpecifierNode.tok
           
private  Token[] TokenQueue.buffer
           
static Token Token.badToken
           
 Token NoViableAltException.token
           
 Token MismatchedTokenException.token
           
protected  Token Grammar.preambleAction
           
protected  Token Grammar.classMemberAction
           
protected  Token ExceptionSpec.label
           
protected  Token ExceptionHandler.exceptionTypeAndName
           
protected  Token ExceptionHandler.action
           
(package private)  Token DefineGrammarSymbols.thePreambleAction
           
protected  Token CharScanner._returnToken
           
protected  Token Alternative.treeSpecifier
           
 

Methods in antlr that return Token
 Token TreeSpecifierNode.getToken()
           
 Token TokenStreamSelector.nextToken()
           
 Token TokenStreamHiddenTokenFilter.nextToken()
          Return the next monitored token.
 Token TokenStreamBasicFilter.nextToken()
           
 Token TokenStream.nextToken()
           
 Token TokenQueue.elementAt(int idx)
          Fetch a token from the queue by index
 Token TokenBuffer.LT(int i)
          Get a lookahead token
abstract  Token Parser.LT(int i)
          Return the ith token of lookahead
 Token LLkParser.LT(int i)
           
 Token Grammar.getOption(java.lang.String key)
          Get an option.
 Token CharScanner.getTokenObject()
           
protected  Token CharScanner.makeToken(int t)
           
 Token ANTLRTokdefLexer.nextToken()
           
 Token ANTLRParser.id()
           
 Token ANTLRParser.optionValue()
           
 Token ANTLRParser.qualifiedID()
          Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.
 Token ANTLRLexer.nextToken()
           
 Token Alternative.getTreeSpecifier()
           
 

Methods in antlr with parameters of type Token
 boolean TreeWalkerGrammar.setOption(java.lang.String key, Token value)
          Set tree parser options
 void TokenQueue.append(Token tok)
          Add token to end of the queue
 ExceptionSpec RuleBlock.findExceptionSpec(Token label)
           
 void RuleBlock.setOption(Token key, Token value)
           
 void RuleBlock.setOption(Token key, Token value)
           
 boolean ParserGrammar.setOption(java.lang.String key, Token value)
          Set parser options -- performs action on the following options:
 void MakeGrammar.beginExceptionSpec(Token label)
          Add an exception spec to an exception group or rule block
 void MakeGrammar.beginSubRule(Token label, int line, boolean not)
           
 void MakeGrammar.defineRuleName(Token r, java.lang.String access, boolean ruleAutoGen, java.lang.String docComment)
           
private  void MakeGrammar.labelElement(AlternativeElement el, Token label)
           
 void MakeGrammar.refAction(Token action)
           
 void MakeGrammar.refArgAction(Token action)
           
 void MakeGrammar.refCharLiteral(Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refCharLiteral(Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void MakeGrammar.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void MakeGrammar.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void MakeGrammar.refElementOption(Token option, Token value)
           
 void MakeGrammar.refElementOption(Token option, Token value)
           
 void MakeGrammar.refExceptionHandler(Token exTypeAndName, Token action)
          Add an exception handler to an exception spec
 void MakeGrammar.refExceptionHandler(Token exTypeAndName, Token action)
          Add an exception handler to an exception spec
 void MakeGrammar.refInitAction(Token action)
           
 void MakeGrammar.refMemberAction(Token act)
           
 void MakeGrammar.refPreambleAction(Token act)
           
 void MakeGrammar.refReturnAction(Token returnAction)
           
 void MakeGrammar.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void MakeGrammar.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void MakeGrammar.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void MakeGrammar.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void MakeGrammar.refSemPred(Token pred)
           
 void MakeGrammar.refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refToken(Token idAssign, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refToken(Token idAssign, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refToken(Token idAssign, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refToken(Token idAssign, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void MakeGrammar.refTreeSpecifier(Token treeSpec)
           
 void MakeGrammar.refWildcard(Token t, Token label, int autoGenType)
           
 void MakeGrammar.refWildcard(Token t, Token label, int autoGenType)
           
 void MakeGrammar.setArgOfRuleRef(Token argAction)
           
 void MakeGrammar.setRuleOption(Token key, Token value)
           
 void MakeGrammar.setRuleOption(Token key, Token value)
           
 void MakeGrammar.setSubruleOption(Token key, Token value)
           
 void MakeGrammar.setSubruleOption(Token key, Token value)
           
 boolean LexerGrammar.setOption(java.lang.String key, Token value)
          Set lexer options
 void GrammarAtom.setOption(Token option, Token value)
           
 void GrammarAtom.setOption(Token option, Token value)
           
 boolean Grammar.setOption(java.lang.String key, Token value)
          Set a generic option.
 void DefineGrammarSymbols._refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols._refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols._refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols._refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols._refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols._refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols.beginExceptionSpec(Token label)
           
 void DefineGrammarSymbols.beginSubRule(Token label, int line, boolean not)
           
 void DefineGrammarSymbols.defineRuleName(Token r, java.lang.String access, boolean ruleAutoGen, java.lang.String docComment)
          Define a lexer or parser rule
 void DefineGrammarSymbols.defineToken(Token tokname, Token tokliteral)
          Define a token from tokens {...}.
 void DefineGrammarSymbols.defineToken(Token tokname, Token tokliteral)
          Define a token from tokens {...}.
 void DefineGrammarSymbols.refAction(Token action)
           
 void DefineGrammarSymbols.refArgAction(Token action)
           
 void DefineGrammarSymbols.refCharLiteral(Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refCharLiteral(Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refElementOption(Token option, Token value)
           
 void DefineGrammarSymbols.refElementOption(Token option, Token value)
           
 void DefineGrammarSymbols.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void DefineGrammarSymbols.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void DefineGrammarSymbols.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void DefineGrammarSymbols.refExceptionHandler(Token exTypeAndName, Token action)
           
 void DefineGrammarSymbols.refExceptionHandler(Token exTypeAndName, Token action)
           
 void DefineGrammarSymbols.refHeaderAction(Token name, Token act)
           
 void DefineGrammarSymbols.refHeaderAction(Token name, Token act)
           
 void DefineGrammarSymbols.refInitAction(Token action)
           
 void DefineGrammarSymbols.refMemberAction(Token act)
           
 void DefineGrammarSymbols.refPreambleAction(Token act)
           
 void DefineGrammarSymbols.refReturnAction(Token returnAction)
           
 void DefineGrammarSymbols.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void DefineGrammarSymbols.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void DefineGrammarSymbols.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void DefineGrammarSymbols.refRule(Token idAssign, Token r, Token label, Token args, int autoGenType)
           
 void DefineGrammarSymbols.refSemPred(Token pred)
           
 void DefineGrammarSymbols.refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
          Reference a token
 void DefineGrammarSymbols.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void DefineGrammarSymbols.refTreeSpecifier(Token treeSpec)
           
 void DefineGrammarSymbols.refWildcard(Token t, Token label, int autoGenType)
           
 void DefineGrammarSymbols.refWildcard(Token t, Token label, int autoGenType)
           
 void DefineGrammarSymbols.setArgOfRuleRef(Token argaction)
           
 void DefineGrammarSymbols.setFileOption(Token key, Token value, java.lang.String filename)
          setFileOption: Associate an option value with a key.
 void DefineGrammarSymbols.setFileOption(Token key, Token value, java.lang.String filename)
          setFileOption: Associate an option value with a key.
 void DefineGrammarSymbols.setGrammarOption(Token key, Token value)
          setGrammarOption: Associate an option value with a key.
 void DefineGrammarSymbols.setGrammarOption(Token key, Token value)
          setGrammarOption: Associate an option value with a key.
 void DefineGrammarSymbols.setRuleOption(Token key, Token value)
           
 void DefineGrammarSymbols.setRuleOption(Token key, Token value)
           
 void DefineGrammarSymbols.setSubruleOption(Token key, Token value)
           
 void DefineGrammarSymbols.setSubruleOption(Token key, Token value)
           
 void DefineGrammarSymbols.startLexer(java.lang.String file, Token name, java.lang.String superClass, java.lang.String doc)
          Start a new lexer
 void DefineGrammarSymbols.startParser(java.lang.String file, Token name, java.lang.String superClass, java.lang.String doc)
          Start a new parser
 void DefineGrammarSymbols.startTreeWalker(java.lang.String file, Token name, java.lang.String superClass, java.lang.String doc)
          Start a new tree-walker
 void CppCodeGenerator.printAction(Token t)
          Print an action stored in a token surrounded by #line stuff
 void CppCodeGenerator.genLineNo(Token t)
          Generate a #line or // line depending on options
 void CommonASTWithHiddenTokens.initialize(Token tok)
           
 void CommonAST.initialize(Token tok)
           
protected  java.lang.String CodeGenerator.extractIdOfAction(Token t)
          Get the identifier portion of an argument-action token.
protected  java.lang.String CodeGenerator.extractTypeOfAction(Token t)
          Get the type string out of an argument-action token.
abstract  void BaseAST.initialize(Token t)
           
 void ASTNULLType.initialize(Token t)
           
 AST ASTFactory.create(Token tok)
           
private  void ANTLRParser.checkForMissingEndRule(Token label)
           
 void ANTLRParser.tokensSpecOptions(Token t)
           
 void ANTLRParser.range(Token label)
           
 void ANTLRParser.terminal(Token label)
           
 void ANTLRParser.notTerminal(Token label)
           
 void ANTLRParser.ebnf(Token label, boolean not)
           
 void ANTLRGrammarParseBehavior.beginExceptionSpec(Token label)
           
 void ANTLRGrammarParseBehavior.beginSubRule(Token label, int line, boolean not)
           
 void ANTLRGrammarParseBehavior.defineRuleName(Token r, java.lang.String access, boolean ruleAST, java.lang.String docComment)
           
 void ANTLRGrammarParseBehavior.defineToken(Token tokname, Token tokliteral)
           
 void ANTLRGrammarParseBehavior.defineToken(Token tokname, Token tokliteral)
           
 void ANTLRGrammarParseBehavior.refAction(Token action)
           
 void ANTLRGrammarParseBehavior.refArgAction(Token action)
           
 void ANTLRGrammarParseBehavior.refCharLiteral(Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refCharLiteral(Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refCharRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refElementOption(Token option, Token value)
           
 void ANTLRGrammarParseBehavior.refElementOption(Token option, Token value)
           
 void ANTLRGrammarParseBehavior.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void ANTLRGrammarParseBehavior.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void ANTLRGrammarParseBehavior.refTokensSpecElementOption(Token tok, Token option, Token value)
           
 void ANTLRGrammarParseBehavior.refExceptionHandler(Token exTypeAndName, Token action)
           
 void ANTLRGrammarParseBehavior.refExceptionHandler(Token exTypeAndName, Token action)
           
 void ANTLRGrammarParseBehavior.refHeaderAction(Token name, Token act)
           
 void ANTLRGrammarParseBehavior.refHeaderAction(Token name, Token act)
           
 void ANTLRGrammarParseBehavior.refInitAction(Token action)
           
 void ANTLRGrammarParseBehavior.refMemberAction(Token act)
           
 void ANTLRGrammarParseBehavior.refPreambleAction(Token act)
           
 void ANTLRGrammarParseBehavior.refReturnAction(Token returnAction)
           
 void ANTLRGrammarParseBehavior.refRule(Token idAssign, Token r, Token label, Token arg, int autoGenType)
           
 void ANTLRGrammarParseBehavior.refRule(Token idAssign, Token r, Token label, Token arg, int autoGenType)
           
 void ANTLRGrammarParseBehavior.refRule(Token idAssign, Token r, Token label, Token arg, int autoGenType)
           
 void ANTLRGrammarParseBehavior.refRule(Token idAssign, Token r, Token label, Token arg, int autoGenType)
           
 void ANTLRGrammarParseBehavior.refSemPred(Token pred)
           
 void ANTLRGrammarParseBehavior.refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refStringLiteral(Token lit, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refToken(Token assignId, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refTokenRange(Token t1, Token t2, Token label, int autoGenType, boolean lastInRule)
           
 void ANTLRGrammarParseBehavior.refTreeSpecifier(Token treeSpec)
           
 void ANTLRGrammarParseBehavior.refWildcard(Token t, Token label, int autoGenType)
           
 void ANTLRGrammarParseBehavior.refWildcard(Token t, Token label, int autoGenType)
           
 void ANTLRGrammarParseBehavior.setArgOfRuleRef(Token argaction)
           
 void ANTLRGrammarParseBehavior.setFileOption(Token key, Token value, java.lang.String filename)
           
 void ANTLRGrammarParseBehavior.setFileOption(Token key, Token value, java.lang.String filename)
           
 void ANTLRGrammarParseBehavior.setGrammarOption(Token key, Token value)
           
 void ANTLRGrammarParseBehavior.setGrammarOption(Token key, Token value)
           
 void ANTLRGrammarParseBehavior.setRuleOption(Token key, Token value)
           
 void ANTLRGrammarParseBehavior.setRuleOption(Token key, Token value)
           
 void ANTLRGrammarParseBehavior.setSubruleOption(Token key, Token value)
           
 void ANTLRGrammarParseBehavior.setSubruleOption(Token key, Token value)
           
 void ANTLRGrammarParseBehavior.startLexer(java.lang.String file, Token name, java.lang.String superClass, java.lang.String doc)
           
 void ANTLRGrammarParseBehavior.startParser(java.lang.String file, Token name, java.lang.String superClass, java.lang.String doc)
           
 void ANTLRGrammarParseBehavior.startTreeWalker(java.lang.String file, Token name, java.lang.String superClass, java.lang.String doc)
           
 void AlternativeBlock.setOption(Token key, Token value)
           
 void AlternativeBlock.setOption(Token key, Token value)
           
 

Constructors in antlr with parameters of type Token
WildcardElement(Grammar g, Token t, int autoGenType)
           
TreeSpecifierNode(Token tok_)
           
TokenRefElement(Grammar g, Token t, boolean inverted, int autoGenType)
           
TokenRangeElement(Grammar g, Token t1, Token t2, int autoGenType)
           
TokenRangeElement(Grammar g, Token t1, Token t2, int autoGenType)
           
StringLiteralElement(Grammar g, Token t, int autoGenType)
           
RuleRefElement(Grammar g, Token t, int autoGenType_)
           
NoViableAltException(Token t, java.lang.String fileName)
           
MismatchedTokenException(java.lang.String[] tokenNames_, Token token_, int lower, int upper_, boolean matchNot, java.lang.String fileName)
           
MismatchedTokenException(java.lang.String[] tokenNames_, Token token_, int expecting_, boolean matchNot, java.lang.String fileName)
           
MismatchedTokenException(java.lang.String[] tokenNames_, Token token_, BitSet set_, boolean matchNot, java.lang.String fileName)
           
GrammarAtom(Grammar g, Token t, int autoGenType)
           
ExceptionSpec(Token label_)
           
ExceptionHandler(Token exceptionTypeAndName_, Token action_)
           
ExceptionHandler(Token exceptionTypeAndName_, Token action_)
           
CommonASTWithHiddenTokens(Token tok)
           
CommonAST(Token tok)
           
CharRangeElement(LexerGrammar g, Token t1, Token t2, int autoGenType)
           
CharRangeElement(LexerGrammar g, Token t1, Token t2, int autoGenType)
           
CharLiteralElement(LexerGrammar g, Token t, boolean inverted, int autoGenType)
           
ActionElement(Grammar g, Token t)
           
 

Uses of Token in antlr.actions.cpp
 

Methods in antlr.actions.cpp that return Token
 Token ActionLexer.nextToken()
           
 

Uses of Token in antlr.actions.java
 

Methods in antlr.actions.java that return Token
 Token ActionLexer.nextToken()
           
 

Uses of Token in antlr.actions.sather
 

Methods in antlr.actions.sather that return Token
 Token ActionLexer.nextToken()
           
 

Uses of Token in antlr.collections
 

Methods in antlr.collections with parameters of type Token
 void AST.initialize(Token t)
           
 

Uses of Token in antlr.debug
 

Methods in antlr.debug that return Token
protected  Token DebuggingCharScanner.makeToken(int t)
           
 

Uses of Token in antlr.preprocessor
 

Methods in antlr.preprocessor that return Token
 Token PreprocessorLexer.nextToken()
           
 

Uses of Token in javaprec
 

Methods in javaprec that return Token
 Token JavaLexer.nextToken()
           
 

Uses of Token in rom.interpreter.parser
 

Methods in rom.interpreter.parser that return Token
 Token JavaLexer.nextToken()