Package gw.lang.ir.builder
Class IRBuilderContext
- java.lang.Object
-
- gw.lang.ir.builder.IRBuilderContext
-
public class IRBuilderContext extends Object
-
-
Constructor Summary
Constructors Constructor Description IRBuilderContext(IRMethodBuilder methodBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRTypecurrentClassSuperType()IRTypecurrentReturnType()IRFieldDeclfindField(String name)IRMethodStatementfindMethod(String name, int numArgs)IRSymbolfindVar(String name)IRSymbolgetOrCreateVar(String name, IRType type)IRTypeowningType()IRSymboltempSymbol(IRType type)
-
-
-
Constructor Detail
-
IRBuilderContext
public IRBuilderContext(IRMethodBuilder methodBuilder)
-
-
Method Detail
-
findField
public IRFieldDecl findField(String name)
-
findMethod
public IRMethodStatement findMethod(String name, int numArgs)
-
owningType
public IRType owningType()
-
currentClassSuperType
public IRType currentClassSuperType()
-
currentReturnType
public IRType currentReturnType()
-
-