edu.wpi.ebob.model.parser
Class Token

java.lang.Object
  extended by edu.wpi.ebob.model.parser.Token

public class Token
extends java.lang.Object

Author:
Liam Morley

Field Summary
private  TokenType type
           
private  java.lang.String value
           
 
Constructor Summary
Token(TokenType type)
           
 
Method Summary
 TokenType getType()
           
 java.lang.String getValue()
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private TokenType type

value

private java.lang.String value
Constructor Detail

Token

public Token(TokenType type)
Method Detail

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

getType

public TokenType getType()
Returns:
Returns the type.

getValue

public java.lang.String getValue()
Returns:
Returns the value.