Class ScopeWithSymbol
java.lang.Object
com.bradyrussell.uiscoin.lang.compiler.scope.ScopeBase
com.bradyrussell.uiscoin.lang.compiler.scope.ScopeLocal
com.bradyrussell.uiscoin.lang.compiler.scope.ScopeWithSymbol
- All Implemented Interfaces:
Symbol
public class ScopeWithSymbol extends ScopeLocal implements Symbol
-
Field Summary
Fields Modifier and Type Field Description SymbolFunction
Symbol
Fields inherited from class com.bradyrussell.uiscoin.lang.compiler.scope.ScopeBase
Children, Parent, ScopeAddress, ScopeBaseAddress, ScopeName, structDefinitions, symbolTable
-
Constructor Summary
Constructors Constructor Description ScopeWithSymbol(java.lang.String scopeName, ScopeBase parent, SymbolFunction symbol)
-
Method Summary
Modifier and Type Method Description java.lang.String
generateGetSymbolASM()
java.lang.String
generateSetSymbolASM()
java.lang.Integer
getSymbolAddress()
Methods inherited from class com.bradyrussell.uiscoin.lang.compiler.scope.ScopeBase
declareArray, declareConstantInlineSymbol, declareStruct, declareSymbol, defineFunction, defineStruct, findScopeContaining, findStructDefinition, getAllocation, getDeallocation, getDepth, getRecursiveAllocation, getSymbol, hasSymbol, size, toString
-
Field Details
-
Constructor Details
-
Method Details
-
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
-