kmy.jint.tree
Class CatchNode

java.lang.Object
  |
  +--kmy.jint.tree.BasicNode
        |
        +--kmy.jint.tree.CatchNode

public class CatchNode
extends BasicNode


Field Summary
 StatementNode body
           
 IdentifierNode name
           
 IdentifierNode type
           
 
Fields inherited from class kmy.jint.tree.BasicNode
attachment, filePos
 
Constructor Summary
CatchNode(int filePos, IdentifierNode type, IdentifierNode name, StatementNode body)
           
CatchNode(int filePos, StatementNode body)
           
 
Method Summary
 java.lang.Object eval(Context context)
          Calls corresponding eval* method in the given Context.
 
Methods inherited from class kmy.jint.tree.BasicNode
getAttachment, getFilePos, getLine, setAttachment, setFilePos, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

type

public IdentifierNode type

name

public IdentifierNode name

body

public StatementNode body
Constructor Detail

CatchNode

public CatchNode(int filePos,
                 IdentifierNode type,
                 IdentifierNode name,
                 StatementNode body)

CatchNode

public CatchNode(int filePos,
                 StatementNode body)
Method Detail

eval

public java.lang.Object eval(Context context)
Description copied from class: BasicNode
Calls corresponding eval* method in the given Context.
Overrides:
eval in class BasicNode