Method | Description | |
---|---|---|
interpolate ( String argStr, Context.IContext vars ) : String |
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 ( Token t ) : String |
Collect all the <SPECIAL_TOKEN>s that are carried along with a token. Special tokens do not participate in parsing but can still trigger certain lexical actions. In some cases you may want to retrieve these special tokens, this is simply a way to extract them.
|
|
tokenLiteral ( Token t ) : String |
complete node literal *
|
public static interpolate ( String argStr, Context.IContext vars ) : String | ||
argStr | String | |
vars | Context.IContext | |
return | String |
public static specialText ( Token t ) : String | ||
t | Token | |
return | String |
public static tokenLiteral ( Token t ) : String | ||
t | Token | |
return | String |