All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.mit.ai.psg.jevaES.StatementNode

java.lang.Object
   |
   +----edu.mit.ai.psg.jevaES.SimpleNode
           |
           +----edu.mit.ai.psg.jevaES.StatementNode

public class StatementNode
extends SimpleNode
StatementNode is the root class for all Statements.

Author:
CarlManning, caroma@ai.mit.edu
Copyright (c) 1997 Massachusetts Institute of Technology

Constructor Index

 o StatementNode(int)
Creates an StatementNode with the given JevaESParseTreeConstants ID

Method Index

 o eval(IEnv)
Evaluate this Statement.

Constructors

 o StatementNode
 public StatementNode(int id)
Creates an StatementNode with the given JevaESParseTreeConstants ID

Methods

 o eval
 public IEnv eval(IEnv env) throws EvalException
Evaluate this Statement. Don't call this directly, use EvalMethods.eval(). Every statement needs to implement an eval method.

Parameters:
env - is ignored in JevaE.
Returns:
env or possibly extended env
Throws: EvalException
.
See Also:
eval

All Packages  Class Hierarchy  This Package  Previous  Next  Index