Class JjBinary_c

  • All Implemented Interfaces:
    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 JjBinary_c
    extends polyglot.ext.jl.ast.Binary_c
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface polyglot.ast.Binary

        polyglot.ast.Binary.Operator
    • Field Summary

      • Fields inherited from class polyglot.ext.jl.ast.Binary_c

        left, op, precedence, right
      • Fields inherited from class polyglot.ext.jl.ast.Expr_c

        type
      • Fields inherited from class polyglot.ext.jl.ast.Term_c

        exceptions, reachable
      • Fields inherited from class polyglot.ext.jl.ast.Node_c

        del, 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
    • Constructor Summary

      Constructors 
      Constructor Description
      JjBinary_c​(polyglot.util.Position pos, polyglot.ast.Expr left, polyglot.ast.Binary.Operator op, polyglot.ast.Expr right)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      polyglot.types.Type childExpectedType​(polyglot.ast.Expr child, polyglot.visit.AscriptionVisitor av)  
      • Methods inherited from class polyglot.ext.jl.ast.Binary_c

        acceptCFG, constantValue, dump, entry, isConstant, left, left, operator, operator, precedence, precedence, prettyPrint, reconstruct, right, right, throwsArithmeticException, throwTypes, toString, typeCheck, visitChildren
      • Methods inherited from class polyglot.ext.jl.ast.Expr_c

        booleanValue, buildTypes, byteValue, charValue, doubleValue, floatValue, intValue, longValue, printSubExpr, printSubExpr, shortValue, stringValue, type, type
      • Methods inherited from class polyglot.ext.jl.ast.Term_c

        exceptionCheck, exceptions, exceptions, listEntry, reachable, reachable
      • Methods inherited from class polyglot.ext.jl.ast.Node_c

        addDecls, addMembers, addMembersEnter, addMembersOverride, buildTypesEnter, buildTypesOverride, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, enterScope, enterScope, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, init, node, position, position, print, printBlock, printSubStmt, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList
      • Methods inherited from interface polyglot.util.Copy

        copy
      • Methods inherited from interface polyglot.ast.Expr

        printSubExpr, printSubExpr, type
      • Methods inherited from interface polyglot.ast.JL

        init, node
      • Methods inherited from interface polyglot.ast.Node

        del, del, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList
      • Methods inherited from interface polyglot.ast.NodeOps

        addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, translate, typeCheckEnter
      • Methods inherited from interface polyglot.ast.Term

        exceptions, exceptions, reachable, reachable
      • Methods inherited from interface polyglot.ast.Typed

        type
    • Constructor Detail

      • JjBinary_c

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

      • childExpectedType

        public polyglot.types.Type childExpectedType​(polyglot.ast.Expr child,
                                                     polyglot.visit.AscriptionVisitor av)
        Specified by:
        childExpectedType in interface polyglot.ast.Node
        Overrides:
        childExpectedType in class polyglot.ext.jl.ast.Binary_c