slogo.parser.token
Class TokenFactory

java.lang.Object
  extended by slogo.parser.token.TokenFactory

public class TokenFactory
extends java.lang.Object

Parses a stream into tokens


Field Summary
private static java.lang.String aliasPropertiesFile
           
private static java.util.Map<java.lang.String,Token> tokenNameToToken
           
 
Constructor Summary
TokenFactory()
           
 
Method Summary
private static void allowLowerCase()
          Allow lower case commands too
private static void initAliases()
          Add the alias to the list
static Token parse(java.io.StreamTokenizer tokenizer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tokenNameToToken

private static java.util.Map<java.lang.String,Token> tokenNameToToken

aliasPropertiesFile

private static java.lang.String aliasPropertiesFile
Constructor Detail

TokenFactory

public TokenFactory()
Method Detail

parse

public static Token parse(java.io.StreamTokenizer tokenizer)

allowLowerCase

private static void allowLowerCase()
Allow lower case commands too


initAliases

private static void initAliases()
Add the alias to the list