Class TokenStack
- java.lang.Object
-
- net.sourceforge.plantuml.tim.expression.TokenStack
-
public class TokenStack extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TokenStack()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Token token)static TokenStackeatUntilCloseParenthesisOrComma(Eater eater)static voideatUntilCloseParenthesisOrComma(TokenIterator it, StringLocated location)TValuegetResult(StringLocated location, TContext context, TMemory memory)voidguessFunctions(StringLocated location)intsize()TokenStacksubTokenStack(int i)TokenIteratortokenIterator()java.lang.StringtoString()TokenStackwithoutSpace()
-
-
-
Method Detail
-
size
public int size()
-
subTokenStack
public TokenStack subTokenStack(int i)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
add
public void add(Token token)
-
withoutSpace
public TokenStack withoutSpace()
-
eatUntilCloseParenthesisOrComma
public static TokenStack eatUntilCloseParenthesisOrComma(Eater eater) throws EaterException
- Throws:
EaterException
-
eatUntilCloseParenthesisOrComma
public static void eatUntilCloseParenthesisOrComma(TokenIterator it, StringLocated location) throws EaterException
- Throws:
EaterException
-
guessFunctions
public void guessFunctions(StringLocated location) throws EaterException
- Throws:
EaterException
-
tokenIterator
public TokenIterator tokenIterator()
-
getResult
public TValue getResult(StringLocated location, TContext context, TMemory memory) throws EaterException
- Throws:
EaterException
-
-