kmy.jint.tree
Class TryNode

java.lang.Object
  |
  +--kmy.jint.tree.BasicNode
        |
        +--kmy.jint.tree.StatementNode
              |
              +--kmy.jint.tree.TryNode

public class TryNode
extends StatementNode


Field Summary
 StatementNode body
           
 CatchNode[] catches
           
 
Fields inherited from class kmy.jint.tree.BasicNode
attachment, filePos
 
Constructor Summary
TryNode(int filePos, StatementNode body, CatchNode[] catches)
           
 
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

body

public StatementNode body

catches

public CatchNode[] catches
Constructor Detail

TryNode

public TryNode(int filePos,
               StatementNode body,
               CatchNode[] catches)
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