## Uses of Class
edu.wisc.game.parser.Token

- Packages that use Token
  Package | Description
  --- | ---
  edu.wisc.game.parser | Tools for parsing rule set descriptions

- - ### Uses of Token in edu.wisc.game.parser

    Methods in edu.wisc.game.parser that return types with arguments of type Token
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Vector<Token>` | Token.`tokenize​(String x)` |

    Method parameters in edu.wisc.game.parser with type arguments of type Token
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Expression.BracketList` | Expression.`mkBracketList​(Vector<Token> tokens)` |
    `static Expression` | Expression.`mkCounterOrAtom​(Vector<Token> tokens)` | Extracts one of the sections of a rule line: either the leading counter (int or star), or one of the atoms (paren lists that may include arithmetic expressions or stars)
    `static Expression.ArithmeticExpression` | Expression.`mkLongestArithmeticExpression​(Vector<Token> tokens)` | Creates the longest ArithmeticExpression starting at the beginning of the tokens array.
    `static Expression.ArithmeticExpression` | Expression.`mkLongestE1​(Vector<Token> tokens)` | E1 := (E) | Id.Id | Id | Num | -Num | [E,E,...]
    `static Expression.ArithmeticExpression` | Expression.`mkLongestE2​(Vector<Token> tokens)` | E2 := E1 | !E2
    `static Expression.ArithmeticExpression` | Expression.`mkLongestE3​(Vector<Token> tokens)` | E3 := E2 | E2*E2...
    `static Expression.ArithmeticExpression` | Expression.`mkLongestE4​(Vector<Token> tokens)` |
    `static Expression.ArithmeticExpression` | Expression.`mkLongestE5​(Vector<Token> tokens)` |
    `static Expression.RangeExpression` | Expression.`mkRangeExpression​(Vector<Token> tokens)` | If the given sequence of tokens starts with a range expression, extracts it; otherwise, returns null
    `static String` | Token.`toString​(Vector<Token> tokens)` |