Package gw.lang.ir
Class IRElement
- java.lang.Object
-
- gw.lang.ir.IRElement
-
- Direct Known Subclasses:
IRExpression
,IRStatement
public abstract class IRElement extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IRElement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLineNumber()
IRElement
getParent()
boolean
isImplicit()
protected List<IRSymbol>
maybeEraseStructuralSymbolTypes(List<IRSymbol> parameters)
static IRType
maybeEraseStructuralType(IRType type)
static IRType
maybeEraseStructuralType(IRType ownersType, IRType type)
protected List<IRType>
maybeEraseStructuralTypes(IRType ownersType, List<IRType> types)
void
setImplicit(boolean bImplicit)
void
setLineNumber(int iLineNumber)
void
setParent(IRElement parent)
protected void
setParentToThis(IRElement element)
-
-
-
Method Detail
-
getParent
public IRElement getParent()
-
setParent
public void setParent(IRElement parent)
-
setParentToThis
protected void setParentToThis(IRElement element)
-
isImplicit
public boolean isImplicit()
-
setImplicit
public void setImplicit(boolean bImplicit)
-
getLineNumber
public int getLineNumber()
-
setLineNumber
public void setLineNumber(int iLineNumber)
-
maybeEraseStructuralType
public static IRType maybeEraseStructuralType(IRType ownersType, IRType type)
-
maybeEraseStructuralTypes
protected List<IRType> maybeEraseStructuralTypes(IRType ownersType, List<IRType> types)
-
-