Method | Description | |
---|---|---|
VMProxyArg ( IRuntimeServices rs, String contextRef, String callerRef, int t ) : System |
ctor for current impl * takes the reference literal we are proxying for, the literal the VM we are for is called with... *
|
|
VMProxyArg ( |
not used in current impl * Constructor for alternate impl where VelProxy class would make new VMProxyArg objects, and use this constructor to avoid re-parsing the reference args * that impl also had the VMProxyArg carry it's context
|
|
getObject ( IInternalContextAdapter context ) : Object |
returns the value of the reference. Generally, this is only called for dynamic proxies, as the static ones should have been stored in the VMContext's localContext store *
|
|
isConstant ( ) : bool |
tells if arg we are proxying for is dynamic or constant. *
|
|
setObject ( IInternalContextAdapter context, Object o ) : Object |
Invoked by VMContext when Context.put() is called for a proxied reference. *
|
Method | Description | |
---|---|---|
setup ( ) : void |
does the housekeeping upon creating. If a dynamic type it needs to make an AST for further get()/set() operations Anything else is constant.
|
public VMProxyArg ( IRuntimeServices rs, String contextRef, String callerRef, int t ) : System | ||
rs | IRuntimeServices | /// |
contextRef | String | reference arg in the definition of the VM, used in the VM /// |
callerRef | String | reference used by the caller as an arg to the VM /// |
t | int | type of arg : JJTREFERENCE, JJTTRUE, etc /// /// |
return | System |
public VMProxyArg ( |
||
model | ||
c | IInternalContextAdapter | |
return | System |
public getObject ( IInternalContextAdapter context ) : Object | ||
context | IInternalContextAdapter | Context to use for getting current value /// |
return | Object |
public setObject ( IInternalContextAdapter context, Object o ) : Object | ||
context | IInternalContextAdapter | context to modify via direct placement, or AST.setValue() /// |
o | Object | new value of reference /// |
return | Object |