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) |
|