edu.mit.ai.psg.jeva
Class JNEArguments

java.lang.Object
  |
  +--edu.mit.ai.psg.jeva.SimpleNode
        |
        +--edu.mit.ai.psg.jeva.JevaNode
              |
              +--edu.mit.ai.psg.jeva.JNEArguments

public class JNEArguments
extends JevaNode

JNEArguments: parse node for arguments for method call or constructor call. Eval arguments left to right [JavaLangSpec1.0 sec 15.6.4]


Fields inherited from class edu.mit.ai.psg.jeva.SimpleNode
children, id, parent
 
Method Summary
 boolean computeIsConstant(IEnv env)
           
 Object evalArgumentAt(int index, IEnv env)
          Eval argument at index; used only to implement explicit constructor invocation from proxy class (see GenerateProxyClass)
 Object[] evalArguments(IEnv env)
          Eval arguments left to right [JavaLangSpec1.0 sec 15.6.4]
 IExpressionNode getArgumentExpression(int childIndex)
           
 IClass[] getTypes(IEnv env)
           
 Object jjtAccept(IJevaVisitor visitor, Object data)
          Accept a visitor.
 
Methods inherited from class edu.mit.ai.psg.jeva.JevaNode
checkInsertionPoint, find2ndTokenBeforeEndBody, findChildIndex, findPrecedingToken, findTokenBeforeChild, findTokenBeforeChild, findTokenBeforeEnd, getBeginToken, getEndToken, insertChildTokens, insertNewChildAfter, insertNewChildAt, insertNewChildBefore, jnGetChild, jnGetParent, notVerified, print, print, printSpecialTokens, printToken, printToString, printToString, removeChild, removeChildTokens, replaceChild, replaceChild, setBeginToken, setEndToken, shouldNotHappen, shouldNotHappen, shouldNotHappen, updateEndTokens, updateEndTokensPriorChild, updateEndTokensPriorNode, updateEndTokensPriorNode
 
Methods inherited from class edu.mit.ai.psg.jeva.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

jjtAccept

public Object jjtAccept(IJevaVisitor visitor,
                        Object data)
Description copied from class: JevaNode
Accept a visitor. For Visitor design pattern.
Overrides:
jjtAccept in class JevaNode

getArgumentExpression

public IExpressionNode getArgumentExpression(int childIndex)

getTypes

public IClass[] getTypes(IEnv env)
                  throws VerifyingException

computeIsConstant

public boolean computeIsConstant(IEnv env)
                          throws VerifyingException

evalArguments

public Object[] evalArguments(IEnv env)
                       throws ThrowException
Eval arguments left to right [JavaLangSpec1.0 sec 15.6.4]

evalArgumentAt

public Object evalArgumentAt(int index,
                             IEnv env)
                      throws ThrowException
Eval argument at index; used only to implement explicit constructor invocation from proxy class (see GenerateProxyClass)

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu