Class JjCast_c

  • All Implemented Interfaces:
    Cloneable, polyglot.ast.Cast, 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 JjCast_c
    extends polyglot.ext.jl.ast.Cast_c
    • Field Summary

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

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

      Constructors 
      Constructor Description
      JjCast_c​(polyglot.util.Position pos, polyglot.ast.TypeNode castType, polyglot.ast.Expr expr)  
    • 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.Cast_c

        acceptCFG, castType, castType, constantValue, entry, expr, expr, isConstant, precedence, prettyPrint, reconstruct, throwTypes, toString, typeCheck, visitChildren
      • Methods inherited from class polyglot.ext.jl.ast.Expr_c

        booleanValue, buildTypes, byteValue, charValue, doubleValue, dump, 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, dump, 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

      • JjCast_c

        public JjCast_c​(polyglot.util.Position pos,
                        polyglot.ast.TypeNode castType,
                        polyglot.ast.Expr expr)
    • 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.Cast_c