Uses of Class
xrel.parser.Token

Packages that use Token
xrel.parser Many classes here are generated by JavaCC / JJTree.  
 

Uses of Token in xrel.parser
 

Fields in xrel.parser declared as Token
 Token ParseException.currentToken
          This is the last token that has been consumed successfully.
protected  Token SimpleNode.first
          Modified
protected  Token SimpleNode.last
          Modified
static Token XRelParser.token
           
static Token XRelParser.jj_nt
           
 Token Token.next
          A reference to the next regular (non-special) token from the input stream.
 Token Token.specialToken
          This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
 

Methods in xrel.parser that return Token
 Token SimpleNode.getFirstToken()
          Returns the first token associated to this node.
 Token SimpleNode.getLastToken()
          Returns the last token associated to this node.
 Token SimpleNode.searchTokenFrom(java.lang.String tk, Token start)
          Searches a token with name tk from the token start.
 Token ASTSwitchCase.getIdToken()
           
 Token ASTAs.getIdToken()
           
static Token XRelParser.getNextToken()
           
static Token XRelParser.getToken(int index)
           
static Token Token.newToken(int ofKind)
          Returns a new Token object, by default.
protected static Token XRelParserTokenManager.jjFillToken()
           
static Token XRelParserTokenManager.getNextToken()
           
 Token ASTTypeDecl.getIdToken()
           
 

Methods in xrel.parser with parameters of type Token
 Token SimpleNode.searchTokenFrom(java.lang.String tk, Token start)
          Searches a token with name tk from the token start.
 void SimpleNode.jjtmSetTokens(Token frst, Token lst)
          Sets the first and the last token of the current node.
 void ASTSwitchCase.setName(java.lang.String n, Token tk)
           
 void ASTAs.setName(int Scope, java.lang.String n, Token tk)
           
 void SymTable.add_parsing_error(Token first, Token last, java.lang.String msg)
           
 void SymTable.add_syntax_error(Token first, Token last, java.lang.String msg)
           
 void SymTable.add_type_error(Token first, Token last, java.lang.String msg)
           
 void SymTable.add_warning(Token first, Token last, java.lang.String msg)
           
protected  void WriteTokensVisitor.print(Token t)
           
 void ASTTypeDecl.setName(int Scope, java.lang.String n, Token tk)
           
 

Constructors in xrel.parser with parameters of type Token
ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
          This constructor is used by the method "generateParseException" in the generated parser.