Package gw.lang.ir
Class IRSymbol
- java.lang.Object
-
- gw.lang.ir.IRSymbol
-
public class IRSymbol extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<IRAnnotation>_annotationsprivate java.lang.String_nameprivate boolean_tempprivate IRType_type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IRAnnotation>getAnnotations()java.lang.StringgetName()IRTypegetType()booleanisTemp()voidsetAnnotations(java.util.List<IRAnnotation> irAnnotations)voidsetType(IRType type)java.lang.StringtoString()
-
-
-
Field Detail
-
_name
private java.lang.String _name
-
_type
private IRType _type
-
_temp
private boolean _temp
-
_annotations
private java.util.List<IRAnnotation> _annotations
-
-
Constructor Detail
-
IRSymbol
public IRSymbol(java.lang.String name, IRType type, boolean temp)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getType
public IRType getType()
-
setType
public void setType(IRType type)
-
isTemp
public boolean isTemp()
-
setAnnotations
public void setAnnotations(java.util.List<IRAnnotation> irAnnotations)
-
getAnnotations
public java.util.List<IRAnnotation> getAnnotations()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-