Uses of Interface
jelan.elan.parser.token.Token

Packages that use Token
jelan.elan.parser This package is responsible for parsing the language Elan. 
jelan.elan.parser.token   
 

Uses of Token in jelan.elan.parser
 

Methods in jelan.elan.parser that return Token
 Token ElanParser.getToken()
          returns the current token, doesn't fetch a new one
 Token ElanParser.match(Token rhs)
          try to match a token, if unsuccessful throw an exception, otherwise match succeeds, and next token is obtained and returned
 

Methods in jelan.elan.parser with parameters of type Token
 void ElanParser.error(Token t)
           
 Token ElanParser.match(Token rhs)
          try to match a token, if unsuccessful throw an exception, otherwise match succeeds, and next token is obtained and returned
 

Uses of Token in jelan.elan.parser.token
 

Classes in jelan.elan.parser.token that implement Token
 class AssignmentToken
          Represents the assignment token ("=")
 class CharToken
          A token represented by a single character, e.g., '*', ';', '[' and so on; the method equals compares a CharToken as equal to another CharToken encapsulating the same character.
 class EOFToken
          This represents an end-of-file token Uses the singleton pattern since there's no reason to have more than one such token.
 class EOLToken
          This represents an end-of-line token Uses the singleton pattern since there's no reason to have more than one such token.
 class EqualToken
           
 class IdentifierToken
          Represents an identifier (a variable name)
 class LeftBracketToken
           
 class LeftParenToken
           
 class MinusToken
           
 class NumberToken
          Represents a number (using doublevalues).
 class PlusToken
           
 class PrintToken
           
 class RepeatToken
           
 class ReservedToken
          Represents a reserved word
 class RightBracketToken
           
 class RightParenToken
           
 class SlashToken
           
 class StarToken
           
 class VariableToken
          Represents a variable
 

Methods in jelan.elan.parser.token that return Token
static Token TokenFactory.parse(java.io.StreamTokenizer tokenizer)