NVelocity.Runtime.Parser.Node
Class NodeUtils

Utilities for dealing with the AST node structure. *

Constructor Summary
NodeUtils()
        Initializes a new instance of the NodeUtils class.

Method Summary
string interpolate(string argStr, NVelocity.Context.IContext vars)
         Utility method to interpolate context variables into string literals. So that the following will work: * #set $name = "candy" $image.getURI("${name}.jpg") * And the string literal argument will be transformed into "candy.jpg" before the method is executed.
string specialText(NVelocity.Runtime.Parser.Token t)
string tokenLiteral(NVelocity.Runtime.Parser.Token t)
         complete node literal *

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Constructor Detail

NodeUtils

public NodeUtils()

Initializes a new instance of the NodeUtils class.

Method Detail

interpolate

public string interpolate(string argStr,
                          NVelocity.Context.IContext vars)

Utility method to interpolate context variables into string literals. So that the following will work: * #set $name = "candy" $image.getURI("${name}.jpg") * And the string literal argument will be transformed into "candy.jpg" before the method is executed.


specialText

public string specialText(NVelocity.Runtime.Parser.Token t)


tokenLiteral

public string tokenLiteral(NVelocity.Runtime.Parser.Token t)

complete node literal *