kmy.jint.tree
Class NewNode

java.lang.Object
  |
  +--kmy.jint.tree.BasicNode
        |
        +--kmy.jint.tree.ExpressionNode
              |
              +--kmy.jint.tree.NewNode

public class NewNode
extends ExpressionNode


Field Summary
 ExpressionNode[] args
           
 ExpressionNode base
           
 ClassNode inlineClass
           
 IdentifierNode type
           
 
Fields inherited from class kmy.jint.tree.ExpressionNode
clazz, NOT_CONST
 
Fields inherited from class kmy.jint.tree.BasicNode
attachment, filePos
 
Constructor Summary
NewNode(int filePos, ExpressionNode base, IdentifierNode type, ExpressionNode[] args, ClassNode inlineClass)
           
 
Method Summary
 java.lang.Object eval(Context context)
          Calls corresponding eval* method in the given Context.
 
Methods inherited from class kmy.jint.tree.ExpressionNode
getConstValue
 
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

base

public ExpressionNode base

args

public ExpressionNode[] args

inlineClass

public ClassNode inlineClass
Constructor Detail

NewNode

public NewNode(int filePos,
               ExpressionNode base,
               IdentifierNode type,
               ExpressionNode[] args,
               ClassNode inlineClass)
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