| Package | Description |
|---|---|
| brennus | |
| brennus.model | |
| brennus.printer |
| Modifier and Type | Method and Description |
|---|---|
Type |
MethodContext.getReturnType() |
Type |
LocalVarContext.getType() |
| Modifier and Type | Method and Description |
|---|---|
VEB |
ValueExpressionBuilder.castTo(Type type) |
LocalVarContext |
MethodContext.defineLocalVar(Type type,
String varName) |
ClassBuilder |
ClassBuilder.field(Protection protection,
Type type,
String name) |
TypeConversion |
MethodContext.getTypeConversion(Type from,
Type to) |
NewArrayExpressionBuilder<VEB> |
ExpressionBuilder.newArrayOfSize(Type type) |
VEB |
ExpressionBuilder.newInstanceNoParam(Type type) |
MethodDeclarationBuilder |
MethodDeclarationBuilder.param(Type type,
String name)
declares a parameter
|
ConstructorDeclarationBuilder |
ConstructorDeclarationBuilder.param(Type type,
String name)
declares a parameter
|
ClassBuilder |
Builder.startClass(String name,
Type extending)
startClass(name, extending)[.[static]field(protection, type, name)]*[.start[Static]Method(protection, return, name){statements}.endMethod()]*.endClass()
|
MethodDeclarationBuilder |
ClassBuilder.startMethod(Protection protection,
Type returnType,
String methodName)
.startMethod(protection, return, name){statements}.endMethod()
|
MethodDeclarationBuilder |
ClassBuilder.startStaticMethod(Protection protection,
Type returnType,
String methodName)
.startStaticMethod(protection, return, name){statements}.endMethod()
|
ClassBuilder |
ClassBuilder.staticField(Protection protection,
Type type,
String name) |
T |
StatementBuilder.var(Type type,
String varName) |
| Constructor and Description |
|---|
LocalVarContext(String name,
int index,
Type type) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExistingType |
class |
FutureType |
class |
PrimitiveType |
| Modifier and Type | Method and Description |
|---|---|
Type |
PrimitiveType.getBoxedType() |
Type |
FutureType.getExtending() |
Type |
Method.getReturnType() |
Type |
Parameter.getType() |
Type |
NewArrayExpression.getType() |
Type |
LocalVariableAccessType.getType() |
Type |
InstantiationExpression.getType() |
Type |
InstanceOfExpression.getType() |
Type |
Field.getType() |
Type |
DefineVarStatement.getType() |
Type |
CastTypeConversion.getType() |
Type |
CastExpression.getType() |
abstract Type |
Type.nestArray() |
Type |
FutureType.nestArray() |
Type |
ExistingType.nestArray() |
abstract Type |
Type.unNestArray() |
Type |
FutureType.unNestArray() |
Type |
ExistingType.unNestArray() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
Type.isAssignableFrom(Type type) |
boolean |
FutureType.isAssignableFrom(Type type) |
boolean |
ExistingType.isAssignableFrom(Type type) |
| Constructor and Description |
|---|
CastExpression(Type type,
Expression expression) |
CastTypeConversion(Type type) |
DefineVarStatement(int sourceLineNumber,
Type type,
String varName) |
Field(MemberFlags flags,
Type type,
String name) |
FutureType(String name,
Type extending,
ImmutableList<Field> fields,
ImmutableList<Field> staticFields,
ImmutableList<Method> methods,
ImmutableList<Method> staticMethods,
ImmutableList<Method> constructors,
String sourceFile) |
InstanceOfExpression(Expression expression,
Type type) |
InstantiationExpression(Type type,
ImmutableList<Expression> parameters) |
LocalVariableAccessType(String varName,
int varIndex,
Type type) |
Method(String typeName,
MemberFlags memberFlags,
Type returnType,
String name,
ImmutableList<Parameter> parameters,
ImmutableList<Statement> statements,
boolean interfaceMethod) |
NewArrayExpression(Type type,
Expression size) |
Parameter(Type type,
String name,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
TypePrinter.print(Type type) |
Copyright © 2014. All Rights Reserved.