Package VASSAL.script.expression
Class FormattedStringExpression
java.lang.Object
VASSAL.script.expression.Expression
VASSAL.script.expression.FormattedStringExpression
Report Format or old-style Formatted String expression containing at
least one $variable$ name reference
-
Field Summary
Fields inherited from class VASSAL.script.expression.Expression
CACHE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(PropertySource ps, Map<String,String> properties, boolean localized)
Evaluate this expression.static Expression
Convert to a BeanShell expressionMethods inherited from class VASSAL.script.expression.Expression
createExpression, createPropertyExpression, createSimplePropertyExpression, equals, evaluate, evaluate, evaluate, evaluate, getExpression, getFilter, getFilter, handleError, hashCode, reset, resetCachedExpressions, setExpression, tryEvaluate, tryEvaluate, tryEvaluate, tryEvaluate, tryEvaluate
-
Constructor Details
-
FormattedStringExpression
-
-
Method Details
-
evaluate
Evaluate this expression. NB. Code moved from FormattedString.java- Overrides:
evaluate
in classExpression
- Parameters:
ps
- Property Source providing property valuesproperties
- default property valueslocalized
- localize property calls?- Returns:
- evaluated String.
-
toBeanShellString
Convert to a BeanShell expression- Overrides:
toBeanShellString
in classExpression
- Returns:
- BeanShell equivalent
-
instance
-