Modifier and Type | Class and Description |
---|---|
class |
SrcResult<T extends SrcExpression> |
Modifier and Type | Method and Description |
---|---|
static SrcExpression |
ExpressionCompiler.compile(CommonCompiler commonCompiler,
javassist.ClassPool classPool,
javassist.CtClass cls,
javassist.CtClass moduleCls,
Expression exp,
ExpressionOrigin expressionOrigin,
Map<String,Type> params,
Set<String> requiredParameters,
Type returnType,
CommonCompiler.JavaTypesResolver javaTypeResolver,
boolean isInRecord,
boolean isInForm,
boolean isInExpression,
boolean isStatic)
Compiles expression to java code.
|
static SrcExpression |
ExpressionCompiler.compileClosure(CommonCompiler namespaceCompiler,
javassist.ClassPool classPool,
javassist.CtClass cls,
javassist.CtClass moduleCls,
Expression exp,
ExpressionOrigin expressionOrigin,
Map<String,Type> params,
Set<String> requiredParameters,
Type returnType,
CommonCompiler.JavaTypesResolver javaTypeResolver,
boolean isInRecord,
boolean isInForm,
boolean isStatic)
Compiles closure to java code.
|
static SrcExpression |
ExpressionCompiler.compileExpression(CommonCompiler commonCompiler,
javassist.ClassPool classPool,
javassist.CtClass cls,
javassist.CtClass moduleCls,
Expression exp,
ExpressionOrigin expressionOrigin,
List<LocalParameter> params,
SrcExpression ctxExp,
Type returnType,
CommonCompiler.JavaTypesResolver javaTypeResolver,
boolean isInRecord,
boolean isInForm,
boolean isStatic,
boolean canReturn)
Compiles expression.
|
protected SrcExpression |
CommonCompiler.createMethodBody(javassist.ClassPool classPool,
javassist.CtClass cls,
javassist.CtClass moduleCls,
RecordType recordType,
FunctionSignature signature,
boolean isInForm) |
SrcExpression |
LocalParameter.getValue() |
SrcExpression |
ExpressionCompiler.visit(AssignmentExpression assignmentExpression) |
SrcExpression |
ExpressionCompiler.visit(BlockExpression expression) |
SrcExpression |
ExpressionCompiler.visit(BreakExpression expression) |
SrcExpression |
ExpressionCompiler.visit(CastExpression castExpression) |
SrcExpression |
ExpressionCompiler.visit(ChainedExpression chainedExpression) |
SrcExpression |
ExpressionCompiler.visit(ClosureExpression closure) |
SrcExpression |
ExpressionCompiler.visit(ClosureInvocationExpression closureCall) |
SrcExpression |
ExpressionCompiler.visit(CompoundAssignmentExpression expression) |
SrcExpression |
ExpressionCompiler.visit(ConditionalExpression conditionalExpression) |
SrcExpression |
ExpressionCompiler.visit(ConstantExpression constant) |
SrcExpression |
ExpressionCompiler.visit(ContinueExpression expression) |
SrcExpression |
ExpressionCompiler.visit(CustomConstantExpression constantExpression) |
SrcExpression |
ExpressionCompiler.visit(DebugExpression expression) |
SrcExpression |
ExpressionCompiler.visit(DefExpression defExpression) |
SrcExpression |
ExpressionCompiler.visit(DereferenceExpression dereferenceExpression) |
SrcExpression |
ExpressionCompiler.visit(EnumerationExpression enumerationExpression) |
SrcExpression |
ExpressionCompiler.visit(ForeachExpression foreachExpression) |
SrcExpression |
ExpressionCompiler.visit(ForExpression forExpression) |
SrcExpression |
ExpressionCompiler.visit(FunctionCallExpression closureCall) |
SrcExpression |
ExpressionCompiler.visit(FunctionCallWithNamedArgs expression) |
SrcExpression |
ExpressionCompiler.visit(FunctionExpression operationExpression) |
SrcExpression |
ExpressionCompiler.visit(IfnullExpression ifnullExpression) |
SrcExpression |
ExpressionCompiler.visit(IncDecExpression expression) |
SrcExpression |
ExpressionCompiler.visit(InstanceofExpression expression) |
SrcExpression |
ExpressionCompiler.visit(ListExpression listExpression) |
SrcExpression |
ExpressionCompiler.visit(MapExpression mapExpression) |
SrcExpression |
ExpressionCompiler.visit(MethodCallExpression closureCall) |
SrcExpression |
ExpressionCompiler.visit(MethodExpression methodExpression) |
SrcExpression |
ExpressionCompiler.visit(PropertyExpression propertyExpression) |
SrcExpression |
ExpressionCompiler.visit(PropertyLiteralExpression expression) |
SrcExpression |
ExpressionCompiler.visit(RecordConstructorExpression expression) |
SrcExpression |
ExpressionCompiler.visit(RecordExpression recordExpression) |
SrcExpression |
ExpressionCompiler.visit(ReferenceExpression referenceExpression) |
SrcExpression |
ExpressionCompiler.visit(SetExpression setExpression) |
SrcExpression |
ExpressionCompiler.visit(SuperConstructorExpression expression) |
SrcExpression |
ExpressionCompiler.visit(SwitchExpression switchExpression) |
SrcExpression |
ExpressionCompiler.visit(SyntheticExpression expression) |
SrcExpression |
ExpressionCompiler.visit(ThisConstructorExpression expression) |
SrcExpression |
ExpressionCompiler.visit(ThisExpression thisExpression) |
SrcExpression |
ExpressionCompiler.visit(TryCatchExpression tryCatchExpression) |
SrcExpression |
ExpressionCompiler.visit(TypeExpression expression) |
SrcExpression |
ExpressionCompiler.visit(UnknownExpression expression) |
SrcExpression |
ExpressionCompiler.visit(VariableExpression variable) |
SrcExpression |
ExpressionCompiler.visit(WhileExpression whileExpression) |
Modifier and Type | Method and Description |
---|---|
List<SrcExpression> |
SrcResult.getAuxExpressions() |
Modifier and Type | Method and Description |
---|---|
void |
SrcResult.addAuxExpression(SrcExpression auxExp) |
protected SrcAssignment |
CommonCompiler.assign(SrcExpression left,
SrcExpression right) |
static SrcExpression |
ExpressionCompiler.compileExpression(CommonCompiler commonCompiler,
javassist.ClassPool classPool,
javassist.CtClass cls,
javassist.CtClass moduleCls,
Expression exp,
ExpressionOrigin expressionOrigin,
List<LocalParameter> params,
SrcExpression ctxExp,
Type returnType,
CommonCompiler.JavaTypesResolver javaTypeResolver,
boolean isInRecord,
boolean isInForm,
boolean isStatic,
boolean canReturn)
Compiles expression.
|
protected SrcMethod |
CommonCompiler.createPrivateMethod(javassist.ClassPool classPool,
javassist.CtClass cls,
javassist.CtClass moduleCls,
boolean isInRecord,
boolean isInForm,
Type returnType,
String methodName,
Expression exp,
ExpressionOrigin expressionOrigin,
List<LocalParameter> params,
CommonCompiler.JavaTypesResolver javaTypeResolver,
SrcExpression namespaceExp) |
protected SrcMethodCall |
CommonCompiler.methodCall(SrcExpression object,
String methodName,
SrcExpression... params) |
protected SrcMethodCall |
CommonCompiler.methodCall(SrcExpression object,
String methodName,
SrcExpression... params) |
protected SrcMethodCall |
CommonCompiler.methodCall(String methodName,
SrcExpression... params) |
protected SrcVariableDef |
CommonCompiler.varDef(String type,
String name,
SrcExpression value) |
Modifier and Type | Method and Description |
---|---|
void |
SrcResult.addAllAuxExpression(List<SrcExpression> list) |
Constructor and Description |
---|
LocalParameter(String name,
Type type,
SrcExpression value) |
Constructor and Description |
---|
SrcResult(T mainExpression,
List<SrcExpression> auxExpressions) |
Modifier and Type | Method and Description |
---|---|
SrcExpression |
DocumentSignatureGeneration.DocOperation.getSrcExpression(FunctionSignature signature) |
Modifier and Type | Class and Description |
---|---|
class |
SrcAssignment |
class |
SrcBinaryOperation |
class |
SrcBlock |
class |
SrcBreak |
class |
SrcCast |
class |
SrcChainedExpression |
class |
SrcClassRef |
class |
SrcConstant |
class |
SrcContinue |
class |
SrcEmpty |
class |
SrcEq |
class |
SrcFor |
class |
SrcForEach |
class |
SrcIfThen |
class |
SrcIfThenElse |
class |
SrcMethodCall |
class |
SrcNewArray |
class |
SrcNewInstance |
class |
SrcNotEq |
class |
SrcNull |
class |
SrcReturn |
class |
SrcStringConstant |
class |
SrcSubstract |
class |
SrcSuper |
class |
SrcThis |
class |
SrcThrow |
class |
SrcTo_boolean |
class |
SrcToBoolean |
class |
SrcTryCatch |
class |
SrcUnaryOperation |
class |
SrcVariable |
class |
SrcVariableDef |
class |
SrcWhile |
Modifier and Type | Method and Description |
---|---|
SrcExpression |
SrcMethod.getBody() |
SrcExpression |
SrcBlock.getExp() |
SrcExpression |
SrcCast.getExpression() |
SrcExpression |
SrcVariableDef.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
SrcChainedExpression.addAllExpressions(Collection<? extends SrcExpression> exps) |
SrcMethodCall |
SrcMethodCall.addAllParameters(List<SrcExpression> list) |
Constructor and Description |
---|
SrcNewArray(String type,
List<? extends SrcExpression> items) |
Modifier and Type | Method and Description |
---|---|
SrcExpression |
CustomCompileToJavaOperation.getSrcExpression(FunctionSignature signature) |
Modifier and Type | Method and Description |
---|---|
SrcExpression |
RoleUnitFunctionOperation.getSrcExpression(FunctionSignature signature) |
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.