edu.mit.ai.psg.jevaES
Class JNEAndExpression

java.lang.Object
  |
  +--edu.mit.ai.psg.jevaES.SimpleNode
        |
        +--edu.mit.ai.psg.jevaES.JevaNode
              |
              +--edu.mit.ai.psg.jevaES.ExpressionNode
                    |
                    +--edu.mit.ai.psg.jevaES.LeftAssociativeOperatorExpression
                          |
                          +--edu.mit.ai.psg.jevaES.JNEAndExpression

public class JNEAndExpression
extends LeftAssociativeOperatorExpression

Jeva parse Node for & Expressions [JavaLangSpec 1.0 sec 15.21 Bitwise and Logical Operators].

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

Fields inherited from class edu.mit.ai.psg.jevaES.SimpleNode
children, id, parent
 
Method Summary
 Object binaryCombine(Token operator, Object accumResult, Object nextResult)
           
 Class binaryCombineTypes(Token operator, Class accumType, Class nextType)
           
 
Methods inherited from class edu.mit.ai.psg.jevaES.LeftAssociativeOperatorExpression
computeIsConstant, computeType, eval
 
Methods inherited from class edu.mit.ai.psg.jevaES.ExpressionNode
getType, getValue, isConstant
 
Methods inherited from class edu.mit.ai.psg.jevaES.JevaNode
getBeginToken, getEndToken, print, print, printToken, printToString, printToString, setBeginToken, setEndToken
 
Methods inherited from class edu.mit.ai.psg.jevaES.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

binaryCombineTypes

public Class binaryCombineTypes(Token operator,
                                Class accumType,
                                Class nextType)
Overrides:
binaryCombineTypes in class LeftAssociativeOperatorExpression

binaryCombine

public Object binaryCombine(Token operator,
                            Object accumResult,
                            Object nextResult)
Overrides:
binaryCombine in class LeftAssociativeOperatorExpression

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-bugs@ai.mit.edu