Méthode | Description | |
---|---|---|
ASTStringLiteral ( Parser p, int id ) : System |
Initializes a new instance of the ASTStringLiteral class.
|
|
ASTStringLiteral ( int id ) : System |
Initializes a new instance of the ASTStringLiteral class.
|
|
Accept ( IParserVisitor visitor, Object data ) : Object |
Accept the visitor. *
|
|
Init ( IInternalContextAdapter context, Object data ) : Object |
init : we don't have to do much. Init the tree (there shouldn't be one) and then see if interpolation is turned on.
|
|
Value ( IInternalContextAdapter context ) : Object |
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.
|
Méthode | Description | |
---|---|---|
Evaluate ( NVelocity.Runtime.Parser.Node.SimpleNode inlineNode, IInternalContextAdapter context ) : object | ||
EvaluateInPlace ( string content, IInternalContextAdapter context ) : object | ||
InterpolateDictionaryString ( string str, IInternalContextAdapter context ) : |
Interpolates the dictionary string. dictionary string is any string in the format "%{ key='value' [,key2='value2' }" "%{ key='value' [,key2='value2'] }"
|
|
IsDictionaryString ( string str ) : bool | ||
ProcessDictEntry ( |
||
ProcessDictEntry ( |
||
RecursiveBuildDictionary ( char contents, int fromIndex, IInternalContextAdapter context, int &lastIndex ) : |
public ASTStringLiteral ( Parser p, int id ) : System | ||
p | Parser | The p. |
id | int | The id. |
Résultat | System |
public ASTStringLiteral ( int id ) : System | ||
id | int | The id. |
Résultat | System |
public Accept ( IParserVisitor visitor, Object data ) : Object | ||
visitor | IParserVisitor | |
data | Object | |
Résultat | Object |
public Init ( IInternalContextAdapter context, Object data ) : Object | ||
context | IInternalContextAdapter | |
data | Object | |
Résultat | Object |
public Value ( IInternalContextAdapter context ) : Object | ||
context | IInternalContextAdapter | |
Résultat | Object |