Package net.binis.codegen.compiler
Class CGTag
java.lang.Object
net.binis.codegen.compiler.base.JavaCompilerObject
net.binis.codegen.compiler.CGTag
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic CGTagstatic CGTagAn annotated type tree.static CGTagmetadata: Annotation.static CGTagPatterns.static CGTagMethod invocation expressions, of type Apply.static CGTagAssert statements, of type Assert.static CGTagAssignment expressions, of type Assign.static CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagAssignment operators, of type Assignop.static CGTagstatic CGTagstatic CGTagBlocks, of type Block.static CGTagBreak statements, of type Break.static CGTagCase parts in switch statements/expressions, of type Case.static CGTagCatch clauses in try statements, of type Catch.static CGTagClass definitions, of type ClassDef.static CGTagstatic CGTagConditional expressions, of type Conditional.static CGTagstatic CGTagContinue statements, of type Continue.static CGTagstatic CGTagstatic CGTagstatic CGTagDo-while loops, of type DoLoop.static CGTagstatic CGTagError trees, of type Erroneous.static CGTagExpression statements, of type Exec.static CGTagstatic CGTagForeach-loops, of type ForeachLoop.static CGTagFor-loops, of type ForLoop.static CGTagstatic CGTagstatic CGTagSimple identifiers, of type Ident.static CGTagConditional statements, of type If.static CGTagImport clauses, of type Import.static CGTagIndexed array expressions, of type Indexed.static CGTagLabelled statements, of type Labelled.static CGTagLambda expression, of type Lambda.static CGTagstatic CGTagA synthetic let expression, of type LetExpr.static CGTagLiterals, of type Literal.static CGTagstatic CGTagMethod definitions, of type MethodDef.static CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagmetadata: Modifiersstatic CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagArray creation expressions, of type NewArray.static CGTagClass instance creation expressions, of type NewClass.static CGTagFor methods that return an invalid tag if a given condition is not metstatic CGTagstatic CGTagunary operator for null reference checks, only used internally.static CGTagstatic CGTagBinary operators, of type Binary.static CGTagPackage level definitions.static CGTagParenthesized subexpressions, of type Parens.static CGTagstatic CGTagstatic CGTagstatic CGTagUnary operators, of type Unary.static CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagMember references, of type Reference.static CGTagstatic CGTagReturn statements, of type Return.static CGTagSelections, of type Select.static CGTagThe no-op statement ";", of type Skipstatic CGTagstatic CGTagstatic CGTagstatic CGTagstatic CGTagString template expression.static CGTagSwitch statements, of type Switch.static CGTagSwitch expression statements, of type Switch.static CGTagSynchronized statements, of type Synchronized.static CGTagThrow statements, of type Throw.static CGTagToplevel nodes, of type TopLevel, representing entire source files.static CGTagTry statements, of type Try.static CGTagmetadata: Type annotation.static CGTagParameterized types, of type TypeApply.static CGTagArray types, of type TypeArray.static CGTagBound kind: extends, super, exact, or unboundstatic CGTagType cast expressions, of type TypeCast.static CGTagBasic type identifiers, of type TypeIdent.static CGTagIntersection types, of type TypeIntersection.static CGTagFormal type parameters, of type TypeParameter.static CGTagType test expressions, of type TypeTest.static CGTagUnion types, of type TypeUnion.static CGTagstatic CGTagstatic CGTagstatic CGTagVariable definitions, of type VarDef.static CGTagWhile-loops, of type WhileLoop.static CGTagType argument.static CGTagYield statements, of type Yield.Fields inherited from class net.binis.codegen.compiler.base.JavaCompilerObject
cls, context, env, instance -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.binis.codegen.compiler.base.JavaCompilerObject
getCls, getContext, getInstance, getPos, getType, is, setPos, toName, toString
-
Field Details
-
NO_TAG
For methods that return an invalid tag if a given condition is not met -
TOPLEVEL
Toplevel nodes, of type TopLevel, representing entire source files. -
PACKAGEDEF
Package level definitions. -
IMPORT
Import clauses, of type Import. -
CLASSDEF
Class definitions, of type ClassDef. -
METHODDEF
Method definitions, of type MethodDef. -
VARDEF
Variable definitions, of type VarDef. -
SKIP
The no-op statement ";", of type Skip -
BLOCK
Blocks, of type Block. -
DOLOOP
Do-while loops, of type DoLoop. -
WHILELOOP
While-loops, of type WhileLoop. -
FORLOOP
For-loops, of type ForLoop. -
FOREACHLOOP
Foreach-loops, of type ForeachLoop. -
LABELLED
Labelled statements, of type Labelled. -
SWITCH
Switch statements, of type Switch. -
CASE
Case parts in switch statements/expressions, of type Case. -
SWITCH_EXPRESSION
Switch expression statements, of type Switch. -
SYNCHRONIZED
Synchronized statements, of type Synchronized. -
TRY
Try statements, of type Try. -
CATCH
Catch clauses in try statements, of type Catch. -
CONDEXPR
Conditional expressions, of type Conditional. -
IF
Conditional statements, of type If. -
EXEC
Expression statements, of type Exec. -
BREAK
Break statements, of type Break. -
YIELD
Yield statements, of type Yield. -
CONTINUE
Continue statements, of type Continue. -
RETURN
Return statements, of type Return. -
THROW
Throw statements, of type Throw. -
ASSERT
Assert statements, of type Assert. -
APPLY
Method invocation expressions, of type Apply. -
NEWCLASS
Class instance creation expressions, of type NewClass. -
NEWARRAY
Array creation expressions, of type NewArray. -
LAMBDA
Lambda expression, of type Lambda. -
PARENS
Parenthesized subexpressions, of type Parens. -
ASSIGN
Assignment expressions, of type Assign. -
TYPECAST
Type cast expressions, of type TypeCast. -
TYPETEST
Type test expressions, of type TypeTest. -
ANYPATTERN
Patterns. -
BINDINGPATTERN
-
RECORDPATTERN
-
DEFAULTCASELABEL
-
CONSTANTCASELABEL
-
PATTERNCASELABEL
-
INDEXED
Indexed array expressions, of type Indexed. -
SELECT
Selections, of type Select. -
REFERENCE
Member references, of type Reference. -
IDENT
Simple identifiers, of type Ident. -
LITERAL
Literals, of type Literal. -
STRING_TEMPLATE
String template expression. -
TYPEIDENT
Basic type identifiers, of type TypeIdent. -
TYPEARRAY
Array types, of type TypeArray. -
TYPEAPPLY
Parameterized types, of type TypeApply. -
TYPEUNION
Union types, of type TypeUnion. -
TYPEINTERSECTION
Intersection types, of type TypeIntersection. -
TYPEPARAMETER
Formal type parameters, of type TypeParameter. -
WILDCARD
Type argument. -
TYPEBOUNDKIND
Bound kind: extends, super, exact, or unbound -
ANNOTATION
metadata: Annotation. -
TYPE_ANNOTATION
metadata: Type annotation. -
MODIFIERS
metadata: Modifiers -
ANNOTATED_TYPE
An annotated type tree. -
ERRONEOUS
Error trees, of type Erroneous. -
POS
Unary operators, of type Unary. -
NEG
-
NOT
-
COMPL
-
PREINC
-
PREDEC
-
POSTINC
-
POSTDEC
-
NULLCHK
unary operator for null reference checks, only used internally. -
OR
Binary operators, of type Binary. -
AND
-
BITOR
-
BITXOR
-
BITAND
-
EQ
-
NE
-
LT
-
GT
-
LE
-
GE
-
SL
-
SR
-
USR
-
PLUS
-
MINUS
-
MUL
-
DIV
-
MOD
-
BITOR_ASG
Assignment operators, of type Assignop. -
BITXOR_ASG
-
BITAND_ASG
-
SL_ASG
-
SR_ASG
-
USR_ASG
-
PLUS_ASG
-
MINUS_ASG
-
MUL_ASG
-
DIV_ASG
-
MOD_ASG
-
MODULEDEF
-
EXPORTS
-
OPENS
-
PROVIDES
-
REQUIRES
-
USES
-
LETEXPR
A synthetic let expression, of type LetExpr.
-
-
Constructor Details
-
CGTag
-
-
Method Details
-
theClass
-
initFlag
-
init
protected void init()- Specified by:
initin classJavaCompilerObject
-