Package net.binis.codegen.compiler
Class TreeMaker
java.lang.Object
net.binis.codegen.compiler.base.BaseJavaCompilerObject
net.binis.codegen.compiler.TreeMaker
-
Field Summary
FieldsFields inherited from class net.binis.codegen.compiler.base.BaseJavaCompilerObject
cls, context, env, instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnnotation(CGExpression annotationType, CGList<CGExpression> args) Assign(CGExpression lhs, CGExpression rhs) static TreeMakercreate()getTrees()protected voidinit()NewArray(CGExpression elemtype, CGList<CGExpression> dims, CGList<CGExpression> elems) Select(CGExpression selected, CGName selector) Select(CGExpression base, CGSymbol sym) TypeCast(CGTree clazz, CGExpression expr) Methods inherited from class net.binis.codegen.compiler.base.BaseJavaCompilerObject
getCls, getInstance
-
Field Details
-
trees
-
-
Constructor Details
-
TreeMaker
public TreeMaker()
-
-
Method Details
-
create
-
init
protected void init()- Specified by:
initin classBaseJavaCompilerObject
-
getTrees
-
QualIdent
-
Annotation
-
Assign
-
Ident
-
Literal
-
Select
-
Select
-
NewArray
public CGNewArray NewArray(CGExpression elemtype, CGList<CGExpression> dims, CGList<CGExpression> elems) -
TypeIdent
-
TypeCast
-
getSymbol
-