Class ScopeCapture
java.lang.Object
com.bradyrussell.uiscoin.lang.compiler.scope.ScopeBase
com.bradyrussell.uiscoin.lang.compiler.scope.ScopeLocal
com.bradyrussell.uiscoin.lang.compiler.scope.ScopeCapture
public class ScopeCapture extends ScopeLocal
-
Field Summary
Fields inherited from class com.bradyrussell.uiscoin.lang.compiler.scope.ScopeBase
Children, Parent, ScopeAddress, ScopeBaseAddress, ScopeName, structDefinitions, symbolTable
-
Constructor Summary
Constructors Constructor Description ScopeCapture(java.lang.String scopeName, ScopeBase parent)
-
Method Summary
Modifier and Type Method Description ScopeBase
findScopeContaining(java.lang.String Name)
java.lang.String
generateCaptureASM()
java.lang.String
generateRestoreCapturedValuesASM()
java.lang.Object
getSymbol(java.lang.String Name)
boolean
hasSymbol(java.lang.String Name)
Methods inherited from class com.bradyrussell.uiscoin.lang.compiler.scope.ScopeBase
declareArray, declareConstantInlineSymbol, declareStruct, declareSymbol, defineFunction, defineStruct, findStructDefinition, getAllocation, getDeallocation, getDepth, getRecursiveAllocation, size, toString
-
Constructor Details
-
Method Details
-
generateCaptureASM
public java.lang.String generateCaptureASM() -
generateRestoreCapturedValuesASM
public java.lang.String generateRestoreCapturedValuesASM() -
getSymbol
public java.lang.Object getSymbol(java.lang.String Name) -
hasSymbol
public boolean hasSymbol(java.lang.String Name) -
findScopeContaining
- Overrides:
findScopeContaining
in classScopeBase
-