public class TokenStack
extends java.lang.Object
Constructor and Description |
---|
TokenStack() |
Modifier and Type | Method and Description |
---|---|
void |
add(Token token) |
static TokenStack |
eatUntilCloseParenthesisOrComma(Eater eater) |
static void |
eatUntilCloseParenthesisOrComma(TokenIterator it,
StringLocated location) |
TValue |
getResult(StringLocated location,
TContext context,
TMemory memory) |
void |
guessFunctions(StringLocated location) |
int |
size() |
TokenStack |
subTokenStack(int i) |
TokenIterator |
tokenIterator() |
java.lang.String |
toString() |
TokenStack |
withoutSpace() |
public int size()
public TokenStack subTokenStack(int i)
public java.lang.String toString()
toString
in class java.lang.Object
public void add(Token token)
public TokenStack withoutSpace()
public static TokenStack eatUntilCloseParenthesisOrComma(Eater eater) throws EaterException
EaterException
public static void eatUntilCloseParenthesisOrComma(TokenIterator it, StringLocated location) throws EaterException
EaterException
public void guessFunctions(StringLocated location) throws EaterException
EaterException
public TokenIterator tokenIterator()
public TValue getResult(StringLocated location, TContext context, TMemory memory) throws EaterException
EaterException