Package gw.lang.ir
Class IRElement
- java.lang.Object
-
- gw.lang.ir.IRElement
-
- Direct Known Subclasses:
IRExpression,IRStatement
public abstract class IRElement extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean_bImplicitprivate int_iLineNumberprivate IRElement_parent
-
Constructor Summary
Constructors Modifier Constructor Description protectedIRElement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLineNumber()IRElementgetParent()booleanisImplicit()protected java.util.List<IRSymbol>maybeEraseStructuralSymbolTypes(java.util.List<IRSymbol> parameters)static IRTypemaybeEraseStructuralType(IRType type)static IRTypemaybeEraseStructuralType(IRType ownersType, IRType type)protected java.util.List<IRType>maybeEraseStructuralTypes(IRType ownersType, java.util.List<IRType> types)voidsetImplicit(boolean bImplicit)voidsetLineNumber(int iLineNumber)voidsetParent(IRElement parent)protected voidsetParentToThis(IRElement element)
-
-
-
Field Detail
-
_parent
private IRElement _parent
-
_iLineNumber
private int _iLineNumber
-
_bImplicit
private boolean _bImplicit
-
-
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 java.util.List<IRType> maybeEraseStructuralTypes(IRType ownersType, java.util.List<IRType> types)
-
-