edu.mit.ai.psg.jeva
Class JNEParenthesizedExpression
java.lang.Object
|
+--edu.mit.ai.psg.jeva.SimpleNode
|
+--edu.mit.ai.psg.jeva.JevaNode
|
+--edu.mit.ai.psg.jeva.ExpressionNode
|
+--edu.mit.ai.psg.jeva.JNEParenthesizedExpression
- public class JNEParenthesizedExpression
- extends ExpressionNode
Jeva parse Node for (parenthesized expressions):
This node exists to mark the beginning and end of the
parenthesized expression so it can be reproduced in text
(the "(" and ")" are not part of the expression they contain).
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998 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
getExpression
public IExpressionNode getExpression()
computeType
public IClass computeType(IEnv env)
throws VerifyingException
- Overrides:
- computeType in class ExpressionNode
computeIsConstant
public boolean computeIsConstant(IEnv env)
throws VerifyingException
- Overrides:
- computeIsConstant in class ExpressionNode
eval
public Object eval(IEnv env)
throws ThrowException
- Overrides:
- eval in class ExpressionNode