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.BracketListExpression. mkBracketList(Vector<Token> tokens)static ExpressionExpression. 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.ArithmeticExpressionExpression. mkLongestArithmeticExpression(Vector<Token> tokens)Creates the longest ArithmeticExpression starting at the beginning of the tokens array.static Expression.ArithmeticExpressionExpression. mkLongestE1(Vector<Token> tokens)E1 := (E) | Id.Id | Id | Num | [E,E,...]static StringToken. toString(Vector<Token> tokens)
-