agg.attribute.parser.javaExpr
Class OpMemberNode

java.lang.Object
  extended by agg.attribute.parser.javaExpr.SimpleNode
      extended by agg.attribute.parser.javaExpr.MemberNode
          extended by agg.attribute.parser.javaExpr.OpMemberNode
All Implemented Interfaces:
Node, java.io.Serializable
Direct Known Subclasses:
ASTAction, ASTMethod

public class OpMemberNode
extends MemberNode

See Also:
Serialized Form

Field Summary
protected  java.lang.reflect.Method method
           
protected  java.lang.Object receivingObj
           
protected  java.lang.Object returnObj
           
 
Fields inherited from class agg.attribute.parser.javaExpr.SimpleNode
children, classResolver, identifier, info, neverCalled, numberTypes, objectClass, parent, stack, stringClass, symtab, top
 
Method Summary
protected static boolean areParamsCompatible(java.lang.Class<?>[] sigTypes, java.lang.Class<?>[] realTypes)
           
 void checkContext(SimpleNode recipient)
           
 Node copy()
          Copys the abstract syntax tree.
 void dump(java.lang.String prefix)
           
protected  void findMethod(SimpleNode recipient)
           
protected static java.lang.reflect.Method getMethod(java.lang.Class<?> clazz, java.lang.String name, java.lang.Class<?>[] paramTypes)
           
protected  java.lang.String getMethodName()
           
 void interpret(SimpleNode recipient)
           
 void invoke(SimpleNode recipient)
           
protected  boolean isConstantExpr()
           
static Node jjtCreate(java.lang.String id)
           
 java.lang.String toString()
           
 
Methods inherited from class agg.attribute.parser.javaExpr.SimpleNode
checkContext, commonNumberType, getAllVariablesinExpression, getError, getIdentifier, getInfo, getNodeClass, getRootResult, getString, getSymbolTable, hasNumberType, hasStringType, interpret, isAction, isArrayIndex, isMember, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, replaceChildWith, rewrite, setClassResolver, setInfo, setNodeClass, setSymbolTable, takeNodeClassFrom, toString, typeCode, typeCode, typeInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

method

protected java.lang.reflect.Method method

receivingObj

protected java.lang.Object receivingObj

returnObj

protected java.lang.Object returnObj
Method Detail

jjtCreate

public static Node jjtCreate(java.lang.String id)

isConstantExpr

protected boolean isConstantExpr()
Overrides:
isConstantExpr in class SimpleNode

getMethodName

protected java.lang.String getMethodName()

toString

public java.lang.String toString()
Overrides:
toString in class SimpleNode

dump

public void dump(java.lang.String prefix)
Specified by:
dump in interface Node
Overrides:
dump in class SimpleNode

areParamsCompatible

protected static boolean areParamsCompatible(java.lang.Class<?>[] sigTypes,
                                             java.lang.Class<?>[] realTypes)

getMethod

protected static java.lang.reflect.Method getMethod(java.lang.Class<?> clazz,
                                                    java.lang.String name,
                                                    java.lang.Class<?>[] paramTypes)

findMethod

protected void findMethod(SimpleNode recipient)
                   throws ASTWrongTypeException
Throws:
ASTWrongTypeException

invoke

public void invoke(SimpleNode recipient)

checkContext

public void checkContext(SimpleNode recipient)
                  throws ASTWrongTypeException
Overrides:
checkContext in class MemberNode
Throws:
ASTWrongTypeException

interpret

public void interpret(SimpleNode recipient)
Overrides:
interpret in class MemberNode

copy

public Node copy()
Description copied from class: SimpleNode
Copys the abstract syntax tree. The information object won't be copied.

Specified by:
copy in interface Node
Overrides:
copy in class SimpleNode