ponderToolkit.compiler.codeGen.interfaces.expressions
Interface EvaluationStackI


public interface EvaluationStackI

Function: Models an Evaluation Stack. This is the stack used by the expression evaluators at runtime to evaluate expressions. Operators are given an instance of the Evaluation Stack to be applied to.


Method Summary
 boolean isEmpty()
          Return True if the stack is empty.
 ValueI pop()
          Pop value from the top of the stack
 void push(ValueI newValue)
          Push a new Value to the top of the stack
 

Method Detail

pop

public ValueI pop()
Pop value from the top of the stack

push

public void push(ValueI newValue)
Push a new Value to the top of the stack

isEmpty

public boolean isEmpty()
Return True if the stack is empty. False otherwise