edu.mit.ai.psg.jeva
Class JNDClassDeclaration

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

public class JNDClassDeclaration
extends JevaNode
implements IDeclarationNode, IClassBodyDeclaration, JevaParserConstants

JNDClassDeclaration: Parse node for class and interface declarations.

Author:
CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998, 1999 Massachusetts Institute of Technology

Fields inherited from class edu.mit.ai.psg.jeva.SimpleNode
children, id, parent
 
Method Summary
 void computeTypeSignatures(IEnv env)
           
 IEnv eval(IEnv env)
           
protected  void evalObjectInitializations(Object obj, IEnv classEnv)
           
 JNDClassBody getBodyNode()
           
 String getFullName()
           
 InterpretedClass getIClass()
           
 JNNameList getInterfaceNamesNode()
           
 String getSimpleName()
           
 JNName getSuperclassNameNode()
           
 Object jjtAccept(IJevaVisitor visitor, Object data)
           
protected  IEnv runInitializations(Vector initializations, IEnv env)
           
 IEnv scanDeclarations(IEnv env)
           
 IEnv verifyTypes(IEnv env)
           
 
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, print, print, printToken, printToString, printToString, removeChild, removeChildTokens, replaceChild, replaceChild, setBeginToken, setEndToken, 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)
Overrides:
jjtAccept in class JevaNode

getIClass

public InterpretedClass getIClass()

getBodyNode

public JNDClassBody getBodyNode()

getSimpleName

public String getSimpleName()

getFullName

public String getFullName()

getSuperclassNameNode

public JNName getSuperclassNameNode()

getInterfaceNamesNode

public JNNameList getInterfaceNamesNode()

scanDeclarations

public IEnv scanDeclarations(IEnv env)
                      throws VerifyingException
Specified by:
scanDeclarations in interface IDeclarationNode

computeTypeSignatures

public void computeTypeSignatures(IEnv env)
                           throws VerifyingException
Specified by:
computeTypeSignatures in interface IDeclarationNode

verifyTypes

public IEnv verifyTypes(IEnv env)
                 throws VerifyingException
Specified by:
verifyTypes in interface IDeclarationNode

eval

public IEnv eval(IEnv env)

evalObjectInitializations

protected void evalObjectInitializations(Object obj,
                                         IEnv classEnv)
                                  throws ThrowException

runInitializations

protected IEnv runInitializations(Vector initializations,
                                  IEnv env)
                           throws ThrowException

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-bugs@ai.mit.edu