| Modifier and Type | Field and Description |
|---|---|
private ASTJexlScript |
parsedScript
syntax tree.
|
private java.lang.String |
text
text of the script.
|
| Constructor and Description |
|---|
ScriptImpl(java.lang.String scriptText,
ASTJexlScript scriptTree)
Create a new Script from the given string and parsed syntax.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(JexlContext context)
Executes the script with the variables contained in the
supplied
JexlContext. |
java.lang.String |
getText()
Returns the text of this Script.
|
private final java.lang.String text
private final ASTJexlScript parsedScript
public ScriptImpl(java.lang.String scriptText,
ASTJexlScript scriptTree)
scriptText - the text of the script.scriptTree - the parsed script.public java.lang.Object execute(JexlContext context) throws java.lang.Exception
JexlContext.