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 SymbolFunctionSymbolFields 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.StringgenerateGetSymbolASM()java.lang.StringgenerateSetSymbolASM()java.lang.IntegergetSymbolAddress()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:
getSymbolAddressin interfaceSymbol
-
generateGetSymbolASM
public java.lang.String generateGetSymbolASM()- Specified by:
generateGetSymbolASMin interfaceSymbol
-
generateSetSymbolASM
public java.lang.String generateSetSymbolASM()- Specified by:
generateSetSymbolASMin interfaceSymbol
-