kmy.jint.tree
Class IdentifierNode

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

public class IdentifierNode
extends ExpressionNode


Field Summary
 Identifier[] idList
           
 ExpressionNode[] indexes
           
 
Fields inherited from class kmy.jint.tree.ExpressionNode
clazz, NOT_CONST
 
Fields inherited from class kmy.jint.tree.BasicNode
attachment, filePos
 
Constructor Summary
IdentifierNode(IdentifierNode orig, ExpressionNode[] indexes)
           
IdentifierNode(int filePos, Identifier id)
           
IdentifierNode(int filePos, Identifier[] idList)
           
IdentifierNode(int filePos, Identifier[] idList, ExpressionNode[] indexes)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.Object eval(Context context)
          Calls corresponding eval* method in the given Context.
 int hashCode()
           
 
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, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

idList

public Identifier[] idList

indexes

public ExpressionNode[] indexes
Constructor Detail

IdentifierNode

public IdentifierNode(int filePos,
                      Identifier[] idList)

IdentifierNode

public IdentifierNode(int filePos,
                      Identifier id)

IdentifierNode

public IdentifierNode(IdentifierNode orig,
                      ExpressionNode[] indexes)

IdentifierNode

public IdentifierNode(int filePos,
                      Identifier[] idList,
                      ExpressionNode[] indexes)
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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object