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 IRType
currentClassSuperType()
IRType
currentReturnType()
IRFieldDecl
findField(String name)
IRMethodStatement
findMethod(String name, int numArgs)
IRSymbol
findVar(String name)
IRSymbol
getOrCreateVar(String name, IRType type)
IRType
owningType()
IRSymbol
tempSymbol(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()
-
-