public class JL5NodeFactory_c extends JL5AbstractNodeFactory_c
emptyDelFactory
Constructor and Description |
---|
JL5NodeFactory_c() |
JL5NodeFactory_c(J5Lang lang) |
JL5NodeFactory_c(J5Lang lang,
JL5ExtFactory extFactory) |
Modifier and Type | Method and Description |
---|---|
AmbTypeInstantiation |
AmbTypeInstantiation(Position pos,
TypeNode base,
java.util.List<TypeNode> typeArguments) |
AmbWildCard |
AmbWildCard(Position pos) |
AmbWildCard |
AmbWildCardExtends(Position pos,
TypeNode extendsNode) |
AmbWildCard |
AmbWildCardSuper(Position pos,
TypeNode superNode) |
AnnotationElemDecl |
AnnotationElemDecl(Position pos,
Flags flags,
TypeNode type,
Id name,
Term defaultValue) |
Call |
Call(Position pos,
Receiver target,
Id name,
java.util.List<Expr> args) |
Call |
Call(Position pos,
Receiver target,
java.util.List<TypeNode> typeArgs,
Id name,
java.util.List<Expr> args) |
ClassDecl |
ClassDecl(Position pos,
Flags flags,
Id name,
TypeNode superClass,
java.util.List<TypeNode> interfaces,
ClassBody body) |
ClassDecl |
ClassDecl(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
Id name,
TypeNode superType,
java.util.List<TypeNode> interfaces,
ClassBody body,
java.util.List<ParamTypeNode> paramTypes) |
ConstructorCall |
ConstructorCall(Position pos,
ConstructorCall.Kind kind,
Expr outer,
java.util.List<Expr> args) |
ConstructorCall |
ConstructorCall(Position pos,
ConstructorCall.Kind kind,
java.util.List<TypeNode> typeArgs,
Expr outer,
java.util.List<Expr> args,
boolean isEnumConstructorCall) |
ConstructorDecl |
ConstructorDecl(Position pos,
Flags flags,
Id name,
java.util.List<Formal> formals,
java.util.List<TypeNode> throwTypes,
Block body) |
ConstructorDecl |
ConstructorDecl(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
Id name,
java.util.List<Formal> formals,
java.util.List<TypeNode> throwTypes,
Block body,
java.util.List<ParamTypeNode> typeParams) |
Disamb |
disamb()
Returns a disambiguator for nodes from this factory.
|
ElementValueArrayInit |
ElementValueArrayInit(Position pos,
java.util.List<Term> elements) |
ElementValuePair |
ElementValuePair(Position pos,
Id name,
Term value) |
EnumConstant |
EnumConstant(Position pos,
Receiver target,
Id name) |
EnumConstantDecl |
EnumConstantDecl(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
Id name,
java.util.List<Expr> args,
ClassBody body) |
ClassDecl |
EnumDecl(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
Id name,
TypeNode superType,
java.util.List<TypeNode> interfaces,
ClassBody body) |
ExtendedFor |
ExtendedFor(Position pos,
LocalDecl decl,
Expr expr,
Stmt body) |
JL5ExtFactory |
extFactory() |
FieldDecl |
FieldDecl(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
TypeNode type,
Id name,
Expr init) |
FieldDecl |
FieldDecl(Position pos,
Flags flags,
TypeNode type,
Id name,
Expr init) |
Formal |
Formal(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
TypeNode type,
Id name,
boolean var_args) |
Formal |
Formal(Position pos,
Flags flags,
TypeNode type,
Id name) |
J5Lang |
lang()
Returns the language associated with this NodeFactory.
|
LocalDecl |
LocalDecl(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
TypeNode type,
Id name,
Expr init) |
LocalDecl |
LocalDecl(Position pos,
Flags flags,
TypeNode type,
Id name,
Expr init) |
MethodDecl |
MethodDecl(Position pos,
Flags flags,
java.util.List<AnnotationElem> annotations,
TypeNode returnType,
Id name,
java.util.List<Formal> formals,
java.util.List<TypeNode> throwTypes,
Block body,
java.util.List<ParamTypeNode> typeParams) |
MethodDecl |
MethodDecl(Position pos,
Flags flags,
TypeNode returnType,
Id name,
java.util.List<Formal> formals,
java.util.List<TypeNode> throwTypes,
Block body) |
New |
New(Position pos,
Expr outer,
java.util.List<TypeNode> typeArgs,
TypeNode objectType,
java.util.List<Expr> args,
ClassBody body) |
New |
New(Position pos,
Expr outer,
TypeNode objectType,
java.util.List<Expr> args,
ClassBody body) |
AnnotationElem |
NormalAnnotationElem(Position pos,
TypeNode name,
java.util.List<ElementValuePair> elements) |
ParamTypeNode |
ParamTypeNode(Position pos,
Id id,
java.util.List<TypeNode> bounds) |
AnnotationElem |
SingleElementAnnotationElem(Position pos,
TypeNode name,
Term value) |
TypeNode |
TypeNodeFromQualifiedName(Position pos,
java.lang.String qualifiedName,
java.util.List<TypeNode> typeArguments) |
ConstructorCall, ConstructorCall, ConstructorCall, ElementValueArrayInit, EnumConstantDecl, FieldDecl, Formal, LocalDecl, MarkerAnnotationElem, New, SuperCall, SuperCall, ThisCall, ThisCall
AmbAssign, AmbExpr, AmbPrefix, AmbQualifierNode, AmbReceiver, AmbTypeNode, ArrayAccess, ArrayAccessAssign, ArrayInit, ArrayTypeNode, Assert, Assign, Binary, Block, BooleanLit, Branch, CanonicalTypeNode, Case, Cast, Catch, CharLit, ClassBody, ClassLit, composeExts, Conditional, del, delFactory, Do, Empty, Eval, ext, Field, FieldAssign, findExtFactInstance, FloatLit, For, Id, If, Import, initEnums, Initializer, Instanceof, IntLit, Labeled, Local, LocalAssign, LocalClassDecl, NewArray, NullLit, PackageNode, Return, SourceCollection, SourceFile, Special, StringLit, Switch, SwitchBlock, Synchronized, Throw, Try, Unary, While
AmbExpr, AmbPrefix, AmbPrefix, AmbPrefix, AmbQualifierNode, AmbQualifierNode, AmbQualifierNode, AmbReceiver, AmbReceiver, AmbReceiver, AmbTypeNode, AmbTypeNode, AmbTypeNode, ArrayInit, Assert, Block, Branch, Branch, Break, Break, Break, Call, Call, Call, Call, Call, Call, Call, ClassDecl, ConstructorCall, ConstructorDecl, Continue, Continue, Continue, Default, ExprFromQualifiedName, Field, Field, Field, FieldDecl, FieldDecl, FieldDecl, Formal, If, Labeled, Local, LocalDecl, LocalDecl, LocalDecl, MethodDecl, New, New, New, NewArray, NewArray, NewArray, PrefixFromQualifiedName, QualifierNodeFromQualifiedName, ReceiverFromQualifiedName, Return, SourceFile, SourceFile, Special, Super, Super, SuperCall, SuperCall, This, This, ThisCall, ThisCall, Try, TypeNodeFromQualifiedName, Unary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
AmbAssign, AmbExpr, AmbExpr, AmbPrefix, AmbPrefix, AmbPrefix, AmbPrefix, AmbQualifierNode, AmbQualifierNode, AmbQualifierNode, AmbQualifierNode, AmbReceiver, AmbReceiver, AmbReceiver, AmbReceiver, AmbTypeNode, AmbTypeNode, AmbTypeNode, AmbTypeNode, ArrayAccess, ArrayAccessAssign, ArrayInit, ArrayInit, ArrayTypeNode, Assert, Assert, Assign, Binary, Block, Block, BooleanLit, Branch, Branch, Branch, Break, Break, Break, Call, Call, Call, Call, Call, Call, Call, CanonicalTypeNode, Case, Cast, Catch, CharLit, ClassBody, ClassDecl, ClassLit, Conditional, ConstructorCall, ConstructorDecl, Continue, Continue, Continue, Default, Do, Empty, Eval, ExprFromQualifiedName, Field, Field, Field, Field, FieldAssign, FieldDecl, FieldDecl, FieldDecl, FloatLit, For, Formal, Id, If, If, Import, Initializer, Instanceof, IntLit, Labeled, Labeled, Local, Local, LocalAssign, LocalClassDecl, LocalDecl, LocalDecl, LocalDecl, MethodDecl, New, New, New, NewArray, NewArray, NewArray, NewArray, NullLit, PackageNode, PrefixFromQualifiedName, QualifierNodeFromQualifiedName, ReceiverFromQualifiedName, Return, Return, SourceCollection, SourceFile, SourceFile, SourceFile, Special, Special, StringLit, Super, Super, SuperCall, SuperCall, Switch, SwitchBlock, Synchronized, This, This, ThisCall, ThisCall, Throw, Try, Try, TypeNodeFromQualifiedName, Unary, Unary, While
public JL5NodeFactory_c()
public JL5NodeFactory_c(J5Lang lang)
public JL5NodeFactory_c(J5Lang lang, JL5ExtFactory extFactory)
public JL5ExtFactory extFactory()
extFactory
in class NodeFactory_c
public J5Lang lang()
NodeFactory
lang
in interface NodeFactory
lang
in class NodeFactory_c
public AmbTypeInstantiation AmbTypeInstantiation(Position pos, TypeNode base, java.util.List<TypeNode> typeArguments)
public AmbWildCard AmbWildCard(Position pos)
public AmbWildCard AmbWildCardExtends(Position pos, TypeNode extendsNode)
public AmbWildCard AmbWildCardSuper(Position pos, TypeNode superNode)
public AnnotationElemDecl AnnotationElemDecl(Position pos, Flags flags, TypeNode type, Id name, Term defaultValue)
public ClassDecl EnumDecl(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, Id name, TypeNode superType, java.util.List<TypeNode> interfaces, ClassBody body)
public final Call Call(Position pos, Receiver target, Id name, java.util.List<Expr> args)
Call
in interface NodeFactory
Call
in class NodeFactory_c
public Call Call(Position pos, Receiver target, java.util.List<TypeNode> typeArgs, Id name, java.util.List<Expr> args)
public final ClassDecl ClassDecl(Position pos, Flags flags, Id name, TypeNode superClass, java.util.List<TypeNode> interfaces, ClassBody body)
ClassDecl
in interface NodeFactory
ClassDecl
in class NodeFactory_c
public ClassDecl ClassDecl(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, Id name, TypeNode superType, java.util.List<TypeNode> interfaces, ClassBody body, java.util.List<ParamTypeNode> paramTypes)
public final ConstructorCall ConstructorCall(Position pos, ConstructorCall.Kind kind, Expr outer, java.util.List<Expr> args)
ConstructorCall
in interface NodeFactory
ConstructorCall
in class NodeFactory_c
public ConstructorCall ConstructorCall(Position pos, ConstructorCall.Kind kind, java.util.List<TypeNode> typeArgs, Expr outer, java.util.List<Expr> args, boolean isEnumConstructorCall)
public final ConstructorDecl ConstructorDecl(Position pos, Flags flags, Id name, java.util.List<Formal> formals, java.util.List<TypeNode> throwTypes, Block body)
ConstructorDecl
in interface NodeFactory
ConstructorDecl
in class NodeFactory_c
public ConstructorDecl ConstructorDecl(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, Id name, java.util.List<Formal> formals, java.util.List<TypeNode> throwTypes, Block body, java.util.List<ParamTypeNode> typeParams)
public Disamb disamb()
NodeFactory
disamb
in interface NodeFactory
disamb
in class AbstractNodeFactory_c
public ElementValueArrayInit ElementValueArrayInit(Position pos, java.util.List<Term> elements)
public ElementValuePair ElementValuePair(Position pos, Id name, Term value)
public EnumConstant EnumConstant(Position pos, Receiver target, Id name)
public EnumConstantDecl EnumConstantDecl(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, Id name, java.util.List<Expr> args, ClassBody body)
public ExtendedFor ExtendedFor(Position pos, LocalDecl decl, Expr expr, Stmt body)
public final FieldDecl FieldDecl(Position pos, Flags flags, TypeNode type, Id name, Expr init)
FieldDecl
in interface NodeFactory
FieldDecl
in class NodeFactory_c
public FieldDecl FieldDecl(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, TypeNode type, Id name, Expr init)
public final Formal Formal(Position pos, Flags flags, TypeNode type, Id name)
Formal
in interface NodeFactory
Formal
in class NodeFactory_c
public Formal Formal(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, TypeNode type, Id name, boolean var_args)
public final LocalDecl LocalDecl(Position pos, Flags flags, TypeNode type, Id name, Expr init)
LocalDecl
in interface NodeFactory
LocalDecl
in class NodeFactory_c
public LocalDecl LocalDecl(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, TypeNode type, Id name, Expr init)
public final MethodDecl MethodDecl(Position pos, Flags flags, TypeNode returnType, Id name, java.util.List<Formal> formals, java.util.List<TypeNode> throwTypes, Block body)
MethodDecl
in interface NodeFactory
MethodDecl
in class NodeFactory_c
public MethodDecl MethodDecl(Position pos, Flags flags, java.util.List<AnnotationElem> annotations, TypeNode returnType, Id name, java.util.List<Formal> formals, java.util.List<TypeNode> throwTypes, Block body, java.util.List<ParamTypeNode> typeParams)
public final New New(Position pos, Expr outer, TypeNode objectType, java.util.List<Expr> args, ClassBody body)
New
in interface NodeFactory
New
in class NodeFactory_c
public New New(Position pos, Expr outer, java.util.List<TypeNode> typeArgs, TypeNode objectType, java.util.List<Expr> args, ClassBody body)
public AnnotationElem NormalAnnotationElem(Position pos, TypeNode name, java.util.List<ElementValuePair> elements)
public ParamTypeNode ParamTypeNode(Position pos, Id id, java.util.List<TypeNode> bounds)
public AnnotationElem SingleElementAnnotationElem(Position pos, TypeNode name, Term value)