anl.aida.parser
Class ASTNCols

java.lang.Object
  extended by anl.aida.parser.SimpleNode
      extended by anl.aida.parser.ASTNCols
All Implemented Interfaces:
Node

public class ASTNCols
extends SimpleNode


Field Summary
 FormulaArray cols
           
 
Fields inherited from class anl.aida.parser.SimpleNode
children, DEG_TO_RAD_FACTOR, id, info, parent, parser
 
Constructor Summary
ASTNCols(int id)
           
ASTNCols(Parser p, int id)
           
 
Method Summary
 FormulaArray evaluate(Frame frame)
          Evaluates this Node.
 void preprocess(Frame frame)
          Performs any node level preprocessing prior to any evaluation.
 
Methods inherited from class anl.aida.parser.SimpleNode
dump, gatherInfo, getInfo, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setInfo, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cols

public FormulaArray cols
Constructor Detail

ASTNCols

public ASTNCols(int id)

ASTNCols

public ASTNCols(Parser p,
                int id)
Method Detail

evaluate

public FormulaArray evaluate(Frame frame)
                      throws IllegalFormulaException
Evaluates this Node.

Specified by:
evaluate in interface Node
Overrides:
evaluate in class SimpleNode
Parameters:
frame -
Returns:
the result of the evaluation.
Throws:
IllegalFormulaException

preprocess

public void preprocess(Frame frame)
                throws IllegalFormulaException
Performs any node level preprocessing prior to any evaluation. This should only be called once on the tree.

Specified by:
preprocess in interface Node
Overrides:
preprocess in class SimpleNode
Parameters:
frame -
Throws:
IllegalFormulaException