sjm.parse.tokens
Class TokenType

java.lang.Object
  |
  +--sjm.parse.tokens.TokenType
Direct Known Subclasses:
TokenType

public class TokenType
extends java.lang.Object

Objects of this class represent a type of token, such as "number" or "word".

Version:
1.0
Author:
Steven J. Metsker

Field Summary
protected  java.lang.String name
           
 
Constructor Summary
TokenType(java.lang.String name)
          Creates a token type of the given name.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Constructor Detail

TokenType

public TokenType(java.lang.String name)
Creates a token type of the given name.