Class JjNodeFactory_c

  • All Implemented Interfaces:
    polyglot.ast.NodeFactory, JjNodeFactory

    public class JjNodeFactory_c
    extends polyglot.ext.jl.ast.NodeFactory_c
    implements JjNodeFactory
    NodeFactory for jj extension.
    • Constructor Summary

      Constructors 
      Constructor Description
      JjNodeFactory_c()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      polyglot.ast.ArrayAccessAssign ArrayAccessAssign​(polyglot.util.Position pos, polyglot.ast.ArrayAccess left, polyglot.ast.Assign.Operator op, polyglot.ast.Expr right)  
      polyglot.ast.ArrayInit ArrayInit​(polyglot.util.Position pos, List elements)  
      polyglot.ast.Assign Assign​(polyglot.util.Position pos, polyglot.ast.Expr left, polyglot.ast.Assign.Operator op, polyglot.ast.Expr right)  
      polyglot.ast.Binary Binary​(polyglot.util.Position pos, polyglot.ast.Expr left, polyglot.ast.Binary.Operator op, polyglot.ast.Expr right)  
      polyglot.ast.Cast Cast​(polyglot.util.Position pos, polyglot.ast.TypeNode type, polyglot.ast.Expr expr)  
      polyglot.ast.FieldAssign FieldAssign​(polyglot.util.Position pos, polyglot.ast.Field left, polyglot.ast.Assign.Operator op, polyglot.ast.Expr right)  
      polyglot.ast.FieldDecl FieldDecl​(polyglot.util.Position pos, polyglot.types.Flags flags, polyglot.ast.TypeNode type, String name, polyglot.ast.Expr init)  
      JjAccessField_c JjAccessField​(polyglot.util.Position pos, polyglot.ast.Call getMeth, polyglot.ast.Call setMeth, polyglot.ast.Field field)  
      JjComma_c JjComma​(polyglot.util.Position pos, polyglot.ast.Expr first, polyglot.ast.Expr second)  
      polyglot.ast.LocalAssign LocalAssign​(polyglot.util.Position pos, polyglot.ast.Local left, polyglot.ast.Assign.Operator op, polyglot.ast.Expr right)  
      polyglot.ast.LocalDecl LocalDecl​(polyglot.util.Position pos, polyglot.types.Flags flags, polyglot.ast.TypeNode type, String name, polyglot.ast.Expr init)  
      polyglot.ast.NewArray NewArray​(polyglot.util.Position pos, polyglot.ast.TypeNode base, List dims, int addDims, polyglot.ast.ArrayInit init)  
      polyglot.ast.Return Return​(polyglot.util.Position pos, polyglot.ast.Expr expr)  
      polyglot.ast.Unary Unary​(polyglot.util.Position pos, polyglot.ast.Unary.Operator op, polyglot.ast.Expr expr)  
      • Methods inherited from class polyglot.ext.jl.ast.NodeFactory_c

        AmbAssign, AmbExpr, AmbPrefix, AmbQualifierNode, AmbReceiver, AmbTypeNode, ArrayAccess, ArrayTypeNode, Assert, Block, BooleanLit, Branch, Call, CanonicalTypeNode, Case, Catch, CharLit, ClassBody, ClassDecl, ClassLit, Conditional, ConstructorCall, ConstructorDecl, delFactory, Do, Empty, Eval, extFactory, Field, findExtFactInstance, FloatLit, For, Formal, If, Import, Initializer, Instanceof, IntLit, Labeled, Local, LocalClassDecl, MethodDecl, New, NullLit, PackageNode, SourceCollection, SourceFile, Special, StringLit, Switch, SwitchBlock, Synchronized, Throw, Try, While
      • Methods inherited from class polyglot.ext.jl.ast.AbstractNodeFactory_c

        AmbPrefix, AmbQualifierNode, AmbReceiver, AmbTypeNode, ArrayInit, Assert, Block, Block, Block, Block, Block, Branch, Break, Break, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, ConstructorCall, Continue, Continue, Default, disamb, Field, FieldDecl, If, LocalDecl, New, New, New, NewArray, NewArray, NewArray, Return, SourceFile, SourceFile, Special, Super, Super, SuperCall, SuperCall, This, This, ThisCall, ThisCall, Try, Unary
      • Methods inherited from interface polyglot.ast.NodeFactory

        AmbAssign, AmbExpr, AmbPrefix, AmbPrefix, AmbQualifierNode, AmbQualifierNode, AmbReceiver, AmbReceiver, AmbTypeNode, AmbTypeNode, ArrayAccess, ArrayInit, ArrayTypeNode, Assert, Assert, Block, Block, Block, Block, Block, Block, BooleanLit, Branch, Branch, Break, Break, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, CanonicalTypeNode, Case, Catch, CharLit, ClassBody, ClassDecl, ClassLit, Conditional, ConstructorCall, ConstructorCall, ConstructorDecl, Continue, Continue, Default, disamb, Do, Empty, Eval, Field, Field, FieldDecl, FloatLit, For, Formal, If, If, Import, Initializer, Instanceof, IntLit, Labeled, Local, LocalClassDecl, LocalDecl, MethodDecl, New, New, New, New, NewArray, NewArray, NewArray, NullLit, PackageNode, Return, SourceCollection, SourceFile, SourceFile, SourceFile, Special, Special, StringLit, Super, Super, SuperCall, SuperCall, Switch, SwitchBlock, Synchronized, This, This, ThisCall, ThisCall, Throw, Try, Try, Unary, While
    • Constructor Detail

      • JjNodeFactory_c

        public JjNodeFactory_c()
    • Method Detail

      • JjComma

        public JjComma_c JjComma​(polyglot.util.Position pos,
                                 polyglot.ast.Expr first,
                                 polyglot.ast.Expr second)
        Specified by:
        JjComma in interface JjNodeFactory
      • JjAccessField

        public JjAccessField_c JjAccessField​(polyglot.util.Position pos,
                                             polyglot.ast.Call getMeth,
                                             polyglot.ast.Call setMeth,
                                             polyglot.ast.Field field)
      • Unary

        public polyglot.ast.Unary Unary​(polyglot.util.Position pos,
                                        polyglot.ast.Unary.Operator op,
                                        polyglot.ast.Expr expr)
        Specified by:
        Unary in interface polyglot.ast.NodeFactory
        Overrides:
        Unary in class polyglot.ext.jl.ast.NodeFactory_c
      • Binary

        public polyglot.ast.Binary Binary​(polyglot.util.Position pos,
                                          polyglot.ast.Expr left,
                                          polyglot.ast.Binary.Operator op,
                                          polyglot.ast.Expr right)
        Specified by:
        Binary in interface polyglot.ast.NodeFactory
        Overrides:
        Binary in class polyglot.ext.jl.ast.NodeFactory_c
      • Assign

        public polyglot.ast.Assign Assign​(polyglot.util.Position pos,
                                          polyglot.ast.Expr left,
                                          polyglot.ast.Assign.Operator op,
                                          polyglot.ast.Expr right)
        Specified by:
        Assign in interface polyglot.ast.NodeFactory
        Overrides:
        Assign in class polyglot.ext.jl.ast.NodeFactory_c
      • LocalAssign

        public polyglot.ast.LocalAssign LocalAssign​(polyglot.util.Position pos,
                                                    polyglot.ast.Local left,
                                                    polyglot.ast.Assign.Operator op,
                                                    polyglot.ast.Expr right)
        Specified by:
        LocalAssign in interface polyglot.ast.NodeFactory
        Overrides:
        LocalAssign in class polyglot.ext.jl.ast.NodeFactory_c
      • LocalDecl

        public polyglot.ast.LocalDecl LocalDecl​(polyglot.util.Position pos,
                                                polyglot.types.Flags flags,
                                                polyglot.ast.TypeNode type,
                                                String name,
                                                polyglot.ast.Expr init)
        Specified by:
        LocalDecl in interface polyglot.ast.NodeFactory
        Overrides:
        LocalDecl in class polyglot.ext.jl.ast.NodeFactory_c
      • FieldAssign

        public polyglot.ast.FieldAssign FieldAssign​(polyglot.util.Position pos,
                                                    polyglot.ast.Field left,
                                                    polyglot.ast.Assign.Operator op,
                                                    polyglot.ast.Expr right)
        Specified by:
        FieldAssign in interface polyglot.ast.NodeFactory
        Overrides:
        FieldAssign in class polyglot.ext.jl.ast.NodeFactory_c
      • FieldDecl

        public polyglot.ast.FieldDecl FieldDecl​(polyglot.util.Position pos,
                                                polyglot.types.Flags flags,
                                                polyglot.ast.TypeNode type,
                                                String name,
                                                polyglot.ast.Expr init)
        Specified by:
        FieldDecl in interface polyglot.ast.NodeFactory
        Overrides:
        FieldDecl in class polyglot.ext.jl.ast.NodeFactory_c
      • ArrayAccessAssign

        public polyglot.ast.ArrayAccessAssign ArrayAccessAssign​(polyglot.util.Position pos,
                                                                polyglot.ast.ArrayAccess left,
                                                                polyglot.ast.Assign.Operator op,
                                                                polyglot.ast.Expr right)
        Specified by:
        ArrayAccessAssign in interface polyglot.ast.NodeFactory
        Overrides:
        ArrayAccessAssign in class polyglot.ext.jl.ast.NodeFactory_c
      • Cast

        public polyglot.ast.Cast Cast​(polyglot.util.Position pos,
                                      polyglot.ast.TypeNode type,
                                      polyglot.ast.Expr expr)
        Specified by:
        Cast in interface polyglot.ast.NodeFactory
        Overrides:
        Cast in class polyglot.ext.jl.ast.NodeFactory_c
      • NewArray

        public polyglot.ast.NewArray NewArray​(polyglot.util.Position pos,
                                              polyglot.ast.TypeNode base,
                                              List dims,
                                              int addDims,
                                              polyglot.ast.ArrayInit init)
        Specified by:
        NewArray in interface polyglot.ast.NodeFactory
        Overrides:
        NewArray in class polyglot.ext.jl.ast.NodeFactory_c
      • ArrayInit

        public polyglot.ast.ArrayInit ArrayInit​(polyglot.util.Position pos,
                                                List elements)
        Specified by:
        ArrayInit in interface polyglot.ast.NodeFactory
        Overrides:
        ArrayInit in class polyglot.ext.jl.ast.NodeFactory_c
      • Return

        public polyglot.ast.Return Return​(polyglot.util.Position pos,
                                          polyglot.ast.Expr expr)
        Specified by:
        Return in interface polyglot.ast.NodeFactory
        Overrides:
        Return in class polyglot.ext.jl.ast.NodeFactory_c