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, ThisCallAmbAssign, 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, WhileAmbExpr, 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, Unaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAmbAssign, 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, Whilepublic JL5NodeFactory_c()
public JL5NodeFactory_c(J5Lang lang)
public JL5NodeFactory_c(J5Lang lang, JL5ExtFactory extFactory)
public JL5ExtFactory extFactory()
extFactory in class NodeFactory_cpublic J5Lang lang()
NodeFactorylang in interface NodeFactorylang in class NodeFactory_cpublic 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 NodeFactoryCall in class NodeFactory_cpublic 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 NodeFactoryClassDecl in class NodeFactory_cpublic 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 NodeFactoryConstructorCall in class NodeFactory_cpublic 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 NodeFactoryConstructorDecl in class NodeFactory_cpublic 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()
NodeFactorydisamb in interface NodeFactorydisamb in class AbstractNodeFactory_cpublic 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 NodeFactoryFieldDecl in class NodeFactory_cpublic 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 NodeFactoryFormal in class NodeFactory_cpublic 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 NodeFactoryLocalDecl in class NodeFactory_cpublic 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 NodeFactoryMethodDecl in class NodeFactory_cpublic 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 NodeFactoryNew in class NodeFactory_cpublic 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)