slogo.parser.token
Class TokenFactory
java.lang.Object
slogo.parser.token.TokenFactory
public class TokenFactory
- extends java.lang.Object
Parses a stream into tokens
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 |
tokenNameToToken
private static java.util.Map<java.lang.String,Token> tokenNameToToken
aliasPropertiesFile
private static java.lang.String aliasPropertiesFile
TokenFactory
public TokenFactory()
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