org.apache.hivemind.conditional
Interface Node

All Known Implementing Classes:
NodeImpl

public interface Node

An AST node in the tree parsed from the conditional expression. Nodes form a binary tree, each node may have a left and a right sub-node.

Since:
1.1
Author:
Howard M. Lewis Ship

Method Summary
 boolean evaluate(EvaluationContext context)
          Evaluates the nodes using the context to provide access to runtime information.
 Node getLeft()
           
 Node getRight()
           
 

Method Detail

getLeft

public Node getLeft()

getRight

public Node getRight()

evaluate

public boolean evaluate(EvaluationContext context)
Evaluates the nodes using the context to provide access to runtime information.