|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Constructor Summary | |
---|---|
VMProxyArg(NVelocity.Runtime.RuntimeServices rs, string contextRef, string callerRef, int t) ctor for current impl * takes the reference literal we are proxying for, the literal the VM we are for is called with... * |
|
VMProxyArg(NVelocity.Runtime.Directive.VMProxyArg model, NVelocity.Context.InternalContextAdapter c) not used in current impl * Constructor for alternate impl where VelProxy class would make new VMProxyArg objects, and use this contructor to avoid reparsing the reference args * that impl also had the VMProxyArg carry it's context |
Property Summary | |
---|---|
string | CallerReference |
string | ContextReference |
NVelocity.Runtime.Parser.Node.SimpleNode | NodeTree |
object | StaticObject |
int | Type |
Method Summary | |
---|---|
object |
getObject(NVelocity.Context.InternalContextAdapter context) 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 * |
bool |
isConstant() tells if arg we are poxying for is dynamic or constant. * |
object |
setObject(NVelocity.Context.InternalContextAdapter context, object o) Invoked by VMContext when Context.put() is called for a proxied reference. * |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public VMProxyArg(NVelocity.Runtime.RuntimeServices rs, string contextRef, string callerRef, int t)
ctor for current impl * takes the reference literal we are proxying for, the literal the VM we are for is called with... *
Parameters:
contextRef
- reference arg in the definition of the VM, used in the VM
callerRef
- reference used by the caller as an arg to the VM
t
- type of arg : JJTREFERENCE, JJTTRUE, etc
public VMProxyArg(NVelocity.Runtime.Directive.VMProxyArg model, NVelocity.Context.InternalContextAdapter c)
not used in current impl * Constructor for alternate impl where VelProxy class would make new VMProxyArg objects, and use this contructor to avoid reparsing the reference args * that impl also had the VMProxyArg carry it's context
Property Detail |
---|
public string CallerReference
public string ContextReference
public NVelocity.Runtime.Parser.Node.SimpleNode NodeTree
public object StaticObject
public int Type
Method Detail |
---|
public object getObject(NVelocity.Context.InternalContextAdapter context)
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 *
Parameters:
context
- Context to use for getting current value
public bool isConstant()
tells if arg we are poxying for is dynamic or constant. *
Returns:
public object setObject(NVelocity.Context.InternalContextAdapter context, object o)
Invoked by VMContext when Context.put() is called for a proxied reference. *
Parameters:
context
- context to modify via direct placement, or AST.setValue()
o
- new value of reference
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |