|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
ASTStringLiteral support. Will interpolate! *
| Fields inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
|---|
| children, first, id, info, invalid, last, parent, parser, rsvc, state |
| Constructor Summary | |
|---|---|
| ASTStringLiteral(int id) | |
| ASTStringLiteral(NVelocity.Runtime.Parser.Parser p, int id) | |
| Properties inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
|---|
| Column, FirstToken, Info, LastToken, Line, Type |
| Method Summary | |
|---|---|
| object |
init(NVelocity.Context.InternalContextAdapter context, object data) init : we don't have to do much. Init the tree (there shouldn't be one) and then see if interpolation is turned on. |
| object |
jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data) Accept the visitor. * |
| object |
value_Renamed(NVelocity.Context.InternalContextAdapter context) renders the value of the string literal If the properties allow, and the string literal contains a $ or a # the literal is rendered against the context Otherwise, the stringlit is returned. |
| Methods inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
|---|
| childrenAccept, dump, evaluate, execute, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setInvalid, toString |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Constructor Detail |
|---|
public ASTStringLiteral(int id)
public ASTStringLiteral(NVelocity.Runtime.Parser.Parser p,
int id)
| Method Detail |
|---|
public object init(NVelocity.Context.InternalContextAdapter context,
object data)
init : we don't have to do much. Init the tree (there shouldn't be one) and then see if interpolation is turned on.
public object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor,
object data)
Accept the visitor. *
public object value_Renamed(NVelocity.Context.InternalContextAdapter context)
renders the value of the string literal If the properties allow, and the string literal contains a $ or a # the literal is rendered against the context Otherwise, the stringlit is returned.
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||