Class JjLocalDecl_c

  • All Implemented Interfaces:
    Cloneable, polyglot.ast.ForInit, polyglot.ast.JL, polyglot.ast.LocalDecl, polyglot.ast.Node, polyglot.ast.NodeOps, polyglot.ast.Stmt, polyglot.ast.Term, polyglot.ast.VarDecl, polyglot.util.Copy

    public class JjLocalDecl_c
    extends polyglot.ext.jl.ast.LocalDecl_c
    • Field Summary

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

        flags, init, li, name, 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
      JjLocalDecl_c​(polyglot.util.Position pos, polyglot.types.Flags flags, polyglot.ast.TypeNode type, String name, polyglot.ast.Expr init)  
    • 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.LocalDecl_c

        acceptCFG, addDecls, buildTypes, declType, disambiguate, dump, enterScope, entry, flags, flags, init, init, localInstance, localInstance, name, name, prettyPrint, reconstruct, toString, type, type, typeCheck, typeCheckEnter, visitChildren
      • 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

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

        copy
      • 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

        addMembers, addMembersEnter, buildTypesEnter, disambiguateEnter, enterScope, exceptionCheck, exceptionCheckEnter, throwTypes, translate
      • Methods inherited from interface polyglot.ast.Term

        exceptions, exceptions, reachable, reachable
    • Constructor Detail

      • JjLocalDecl_c

        public JjLocalDecl_c​(polyglot.util.Position pos,
                             polyglot.types.Flags flags,
                             polyglot.ast.TypeNode type,
                             String name,
                             polyglot.ast.Expr init)
    • 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.LocalDecl_c