|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--edu.mit.ai.psg.jeva.SimpleNode
|
+--edu.mit.ai.psg.jeva.JevaNode
|
+--edu.mit.ai.psg.jeva.JNSExplicitConstructorInvocation
Jeva parse node for this(...) or super(...) constructor invocations. [JavaLangSpec1.0 sec8.6.5 Constructor Body]
| Fields inherited from class edu.mit.ai.psg.jeva.SimpleNode |
children,
id,
parent |
| Method Summary | |
IEnv |
eval(IEnv env)
Throws Error, as interpreter should never call this. |
Object |
evalArgumentAt(int index,
IEnv env)
|
JNEArguments |
getArgumentsNode()
|
protected void |
initConstructorSignature(IEnv env)
[JavaLangSpec1.0 sec8.6.5 Constructor Body] Constructor selection is similar to method selection. |
Object |
jjtAccept(IJevaVisitor visitor,
Object data)
Accept a visitor. |
IEnv |
verifyTypes(IEnv env)
Explicit Constructor invocations must appear as the first statement of a constructor, and may not refer to fields of the class (which are not initialized yet). |
| 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 |
public Object jjtAccept(IJevaVisitor visitor,
Object data)
return visitor.visit(this, data);which dispatches on the type of this to appropriate method of visitor
public JNEArguments getArgumentsNode()
public IEnv verifyTypes(IEnv env)
throws VerifyingException
env - environment of names bindings.EvalMethods.verifyTypes(IStatementNode, IEnv)
public IEnv eval(IEnv env)
throws ThrowException
env - environment of names bindings.EvalMethods.eval(IStatementNode, IEnv)
public Object evalArgumentAt(int index,
IEnv env)
throws ThrowException
protected void initConstructorSignature(IEnv env)
throws VerifyingException
|
Copyright (c) 1996-1999 Massachusetts Institute of Technology Feedback: jeva-feedback@ai.mit.edu |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||