Package gw.internal.gosu.ir.transform
Interface TopLevelTransformationContext
-
- All Known Implementing Classes:
GosuClassTransformationContext
,GosuFragmentTransformationContext
,TransformationContextBase
public interface TopLevelTransformationContext
-
-
Method Summary
-
-
-
Method Detail
-
maybeAssignOuterRef
void maybeAssignOuterRef(List<IRStatement> statements)
-
maybePushSupersEnclosingThisRef
void maybePushSupersEnclosingThisRef(List<IRExpression> arguments)
-
pushEnumNameAndOrdinal
void pushEnumNameAndOrdinal(IType type, List<IRExpression> args)
-
initCapturedSymbolFields
void initCapturedSymbolFields(List<IRStatement> statements)
-
initTypeVarFields
void initTypeVarFields(List<IRStatement> statements)
-
initializeInstanceFields
void initializeInstanceFields(List<IRStatement> statements)
-
addAssertionsStaticField
void addAssertionsStaticField()
-
getGosuClass
ICompilableTypeInternal getGosuClass()
-
getIrClass
IRClass getIrClass()
-
setIrClass
void setIrClass(IRClass irClass)
-
shouldUseReflection
boolean shouldUseReflection(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
-
isIllegalProtectedCall
boolean isIllegalProtectedCall(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
-
getOuterThisFieldName
String getOuterThisFieldName()
-
getOuterThisParamName
String getOuterThisParamName()
-
getSuperType
IType getSuperType()
-
getEnclosingType
ICompilableTypeInternal getEnclosingType()
-
getSourceFileRef
String getSourceFileRef()
-
getSourceLine
String getSourceLine(int lineNumber)
-
isNonStaticInnerClass
boolean isNonStaticInnerClass()
-
compilingEnhancement
boolean compilingEnhancement()
-
compilingEnum
boolean compilingEnum()
-
compilingBlock
boolean compilingBlock()
-
compilingProgram
boolean compilingProgram()
-
getIRTypeForCurrentClass
IRType getIRTypeForCurrentClass()
-
isExternalSymbol
boolean isExternalSymbol(String name)
-
getTypeParamIndex
IRSymbol getTypeParamIndex(TypeVariableType type)
-
hasSymbol
boolean hasSymbol(String strSymbol)
-
pushScope
void pushScope(boolean bInitialInstanceMethodScope)
-
popScope
void popScope()
-
putSymbol
void putSymbol(IRSymbol symbol)
-
makeTempSymbolName
String makeTempSymbolName()
-
isBlockInvoke
boolean isBlockInvoke()
-
isFragmentEvaluation
boolean isFragmentEvaluation()
-
compile
IRStatement compile(IStatement stmt)
-
hasSuperBeenInvoked
boolean hasSuperBeenInvoked()
-
isStatic
boolean isStatic()
-
markInvokingSuper
void markInvokingSuper()
-
markSuperInvoked
void markSuperInvoked()
-
updateSuperInvokedAfterLastExpressionCompiles
void updateSuperInvokedAfterLastExpressionCompiles()
-
getCurrentFunctionName
String getCurrentFunctionName()
-
isCurrentFunctionStatic
boolean isCurrentFunctionStatic()
-
getCurrentFunctionReturnType
IType getCurrentFunctionReturnType()
-
compileInitializerAssignment
IRStatement compileInitializerAssignment(InitializerAssignment stmt, IRExpression root)
-
currentlyCompilingBlock
boolean currentlyCompilingBlock()
-
getCurrentFunction
DynamicFunctionSymbol getCurrentFunction()
-
incrementLazyTypeMethodCount
int incrementLazyTypeMethodCount()
-
-