edu.mit.ai.psg.jeva
Class JNDPackageDeclaration
java.lang.Object
|
+--edu.mit.ai.psg.jeva.SimpleNode
|
+--edu.mit.ai.psg.jeva.JevaNode
|
+--edu.mit.ai.psg.jeva.JNDPackageDeclaration
- public class JNDPackageDeclaration
- extends JevaNode
- implements IDeclarationNode
JNDPackageDeclaration: parse node for package declarations.
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998, 1999 Massachusetts Institute of Technology
| 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 |
jjtAccept
public Object jjtAccept(IJevaVisitor visitor,
Object data)
- Overrides:
- jjtAccept in class JevaNode
getNameNode
public JNName getNameNode()
scanDeclarations
public IEnv scanDeclarations(IEnv env)
throws VerifyingException
- Specified by:
- scanDeclarations in interface IDeclarationNode
computeTypeSignatures
public void computeTypeSignatures(IEnv env)
- 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)
throws ThrowException