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.Objectpublic void add(Token token)
public TokenStack withoutSpace()
public static TokenStack eatUntilCloseParenthesisOrComma(Eater eater) throws EaterException
EaterExceptionpublic static void eatUntilCloseParenthesisOrComma(TokenIterator it, StringLocated location) throws EaterException
EaterExceptionpublic void guessFunctions(StringLocated location) throws EaterException
EaterExceptionpublic TokenIterator tokenIterator()
public TValue getResult(StringLocated location, TContext context, TMemory memory) throws EaterException
EaterException