edu.mit.ai.psg.jevaES
Class JNSThrowStatement

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

public class JNSThrowStatement
extends JevaNode
implements IStatementNode

Jeva parse Node for throw Statements.

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

Fields inherited from class edu.mit.ai.psg.jevaES.SimpleNode
children, id, parent
 
Method Summary
 IEnv eval(IEnv env)
           
 IExpressionNode getThrownExpressionNode()
           
 IEnv verifyTypes(IEnv env)
           
 
Methods inherited from class edu.mit.ai.psg.jevaES.JevaNode
getBeginToken, getEndToken, print, print, printToken, printToString, printToString, setBeginToken, setEndToken
 
Methods inherited from class edu.mit.ai.psg.jevaES.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getThrownExpressionNode

public IExpressionNode getThrownExpressionNode()

verifyTypes

public IEnv verifyTypes(IEnv env)
                 throws VerifyingException
Specified by:
verifyTypes in interface IStatementNode

eval

public IEnv eval(IEnv env)
          throws ThrowException
Specified by:
eval in interface IStatementNode

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-bugs@ai.mit.edu