protected static class AbstractParameter.WorkArea extends java.lang.Object implements Scopeable
OutputParameterAssigner objects. As the
currently executing program's block scopes open and close, these scopes are pushed and
popped from the deque.| Modifier and Type | Field and Description |
|---|---|
private java.util.Deque<AbstractParameter.Scope> |
scopes
Deque containing field assigners by scope
|
| Modifier | Constructor and Description |
|---|---|
private |
WorkArea()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractParameter.Scope |
getCurrentScope()
Get the object which manages field assigners for the current scope.
|
ScopeId |
getScopeId()
Get the
ScopeId for the instance. |
void |
scopeDeleted()
No-op.
|
void |
scopeFinished()
Called as each block scope closes, at which time we pop a scope from the deque.
|
void |
scopeStart(BlockDefinition block)
Called as each block scope opens, at which time we push a scope onto the deque.
|
private final java.util.Deque<AbstractParameter.Scope> scopes
public void scopeStart(BlockDefinition block)
scopeStart in interface Scopeableblock - The explicit block definition which required this notification.Scopeable.scopeStart(com.goldencode.p2j.util.BlockDefinition)public void scopeFinished()
scopeFinished in interface ScopeableScopeable.scopeFinished()public void scopeDeleted()
scopeDeleted in interface Scopeablepublic ScopeId getScopeId()
ScopeId for the instance.getScopeId in interface ScopeableScopeId.ABSTRACT_PARAMETER.protected AbstractParameter.Scope getCurrentScope()