|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
| Fields inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
|---|
| children, first, id, info, invalid, last, parent, parser, rsvc, state |
| Constructor Summary | |
|---|---|
| ASTReference(int id) | |
| ASTReference(NVelocity.Runtime.Parser.Parser p, int id) | |
| Property Summary | |
|---|---|
| string | Literal |
| string | RootString |
| Properties inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
|---|
| Column, FirstToken, Info, LastToken, Line, Type |
| Method Summary | |
|---|---|
| bool |
evaluate(NVelocity.Context.InternalContextAdapter context) Computes boolean value of this reference Returns the actual value of reference return type boolean, and 'true' if value is not null * |
| object |
execute(object o, NVelocity.Context.InternalContextAdapter context) gets an Object that 'is' the value of the reference * |
| object | getVariableValue(NVelocity.Context.IContext context, string variable) |
| object | init(NVelocity.Context.InternalContextAdapter context, object data) |
| object |
jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data) Accept the visitor. |
| string | literal() |
| bool |
render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer) gets the value of the reference and outputs it to the writer. * |
| bool |
setValue(NVelocity.Context.InternalContextAdapter context, object value_Renamed) Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference() * |
| object | value_Renamed(NVelocity.Context.InternalContextAdapter context) |
| Methods inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
|---|
| childrenAccept, dump, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setInvalid, toString |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Constructor Detail |
|---|
public ASTReference(int id)
public ASTReference(NVelocity.Runtime.Parser.Parser p,
int id)
| Property Detail |
|---|
public string Literal
public string RootString
| Method Detail |
|---|
public bool evaluate(NVelocity.Context.InternalContextAdapter context)
Computes boolean value of this reference Returns the actual value of reference return type boolean, and 'true' if value is not null *
Parameters:
context - context to compute value with
public object execute(object o,
NVelocity.Context.InternalContextAdapter context)
gets an Object that 'is' the value of the reference *
Parameters:
o - unused Object parameter
context - context used to generate value
public object getVariableValue(NVelocity.Context.IContext context,
string variable)
public object init(NVelocity.Context.InternalContextAdapter context,
object data)
public object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor,
object data)
Accept the visitor.
public string literal()
public bool render(NVelocity.Context.InternalContextAdapter context,
System.IO.TextWriter writer)
gets the value of the reference and outputs it to the writer. *
Parameters:
context - context of data to use in getting value
writer - writer to render to
public bool setValue(NVelocity.Context.InternalContextAdapter context,
object value_Renamed)
Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference() *
Parameters:
context - context object containing this reference
value - Object to set as value
public object value_Renamed(NVelocity.Context.InternalContextAdapter context)
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||