tools.blend.expression
Class ParseToken

java.lang.Object
  extended by tools.blend.expression.ParseToken

public class ParseToken
extends java.lang.Object

This class represents a single scanned token from an algebraic expression. It can also be a sublist of tokens like between an open and close parenthesis.


Field Summary
 CodeLine codeLine
          The line of code where this token came from
 int position
          The token's position within the line of code
 java.util.List<ParseToken> subList
          If this is a SUBLIST then the list of sub tokens
 java.lang.String token
          The text of the token itself
 ParseTokenType tokenType
          The type of the token
 
Constructor Summary
ParseToken()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tokenType

public ParseTokenType tokenType
The type of the token


token

public java.lang.String token
The text of the token itself


subList

public java.util.List<ParseToken> subList
If this is a SUBLIST then the list of sub tokens


codeLine

public CodeLine codeLine
The line of code where this token came from


position

public int position
The token's position within the line of code

Constructor Detail

ParseToken

public ParseToken()