Class SymbolBase
java.lang.Object
com.bradyrussell.uiscoin.lang.compiler.symbol.SymbolBase
- All Implemented Interfaces:
Symbol
- Direct Known Subclasses:
SymbolArray
,SymbolFunction
,SymbolStruct
public class SymbolBase extends java.lang.Object implements Symbol
-
Field Summary
Fields Modifier and Type Field Description int
address
PrimitiveType
type
-
Constructor Summary
Constructors Constructor Description SymbolBase(PrimitiveType type, int address)
-
Method Summary
Modifier and Type Method Description java.lang.String
generateGetSymbolASM()
java.lang.String
generateSetSymbolASM()
java.lang.Integer
getSymbolAddress()
java.lang.String
toString()
-
Field Details
-
Constructor Details
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getSymbolAddress
public java.lang.Integer getSymbolAddress()- Specified by:
getSymbolAddress
in interfaceSymbol
-
generateGetSymbolASM
public java.lang.String generateGetSymbolASM()- Specified by:
generateGetSymbolASM
in interfaceSymbol
-
generateSetSymbolASM
public java.lang.String generateSetSymbolASM()- Specified by:
generateSetSymbolASM
in interfaceSymbol
-