jif.ast
Class JifBinary_c

java.lang.Object
  extended by polyglot.ast.Node_c
      extended by polyglot.ast.Term_c
          extended by polyglot.ast.Expr_c
              extended by polyglot.ast.Binary_c
                  extended by jif.ast.JifBinary_c
All Implemented Interfaces:
java.lang.Cloneable, polyglot.ast.Binary, polyglot.ast.Expr, polyglot.ast.JL, polyglot.ast.Node, polyglot.ast.NodeOps, polyglot.ast.Prefix, polyglot.ast.Receiver, polyglot.ast.Term, polyglot.ast.Typed, polyglot.util.Copy

public class JifBinary_c
extends polyglot.ast.Binary_c
implements polyglot.ast.Binary


Nested Class Summary
 
Nested classes/interfaces inherited from interface polyglot.ast.Binary
polyglot.ast.Binary.Operator
 
Field Summary
 
Fields inherited from class polyglot.ast.Binary_c
left, op, precedence, right
 
Fields inherited from class polyglot.ast.Expr_c
type
 
Fields inherited from class polyglot.ast.Term_c
exceptions, reachable
 
Fields inherited from class polyglot.ast.Node_c
del, error, ext, position
 
Fields inherited from interface polyglot.ast.Binary
ADD, BIT_AND, BIT_OR, BIT_XOR, COND_AND, COND_OR, DIV, EQ, GE, GT, LE, LT, MOD, MUL, NE, SHL, SHR, SUB, USHR
 
Fields inherited from interface polyglot.ast.Term
ENTRY, EXIT
 
Constructor Summary
JifBinary_c(polyglot.util.Position pos, polyglot.ast.Expr left, polyglot.ast.Binary.Operator op, polyglot.ast.Expr right)
           
 
Method Summary
 boolean throwsArithmeticException()
           
 
Methods inherited from class polyglot.ast.Binary_c
acceptCFG, childExpectedType, constantValue, constantValueSet, copy, dump, firstChild, isConstant, left, left, operator, operator, precedence, precedence, prettyPrint, reconstruct, right, right, throwTypes, toString, typeCheck, visitChildren
 
Methods inherited from class polyglot.ast.Expr_c
booleanValue, buildTypes, byteValue, charValue, doubleValue, floatValue, intValue, isTypeChecked, longValue, printSubExpr, printSubExpr, shortValue, stringValue, type, type
 
Methods inherited from class polyglot.ast.Term_c
exceptionCheck, exceptions, exceptions, listChild, reachable, reachable
 
Methods inherited from class polyglot.ast.Node_c
addDecls, buildTypesEnter, checkConstants, copy, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, error, error, exceptionCheckEnter, ext, ext, ext, ext, init, isDisambiguated, node, position, position, prettyPrint, prettyPrint, print, printBlock, printSubStmt, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface polyglot.ast.Binary
left, left, operator, operator, precedence, right, right
 
Methods inherited from interface polyglot.ast.Expr
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, type
 
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList
 
Methods inherited from interface polyglot.ast.JL
init, node
 
Methods inherited from interface polyglot.ast.NodeOps
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren
 
Methods inherited from interface polyglot.util.Copy
copy
 
Methods inherited from interface polyglot.ast.Typed
type
 
Methods inherited from interface polyglot.ast.Term
acceptCFG, exceptions, exceptions, firstChild, reachable, reachable
 

Constructor Detail

JifBinary_c

public JifBinary_c(polyglot.util.Position pos,
                   polyglot.ast.Expr left,
                   polyglot.ast.Binary.Operator op,
                   polyglot.ast.Expr right)
Method Detail

throwsArithmeticException

public boolean throwsArithmeticException()
Specified by:
throwsArithmeticException in interface polyglot.ast.Binary
Overrides:
throwsArithmeticException in class polyglot.ast.Binary_c