public class ScriptSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UUID
Artificial filename without extension must be different from any variable name or the variable will get hidden by the script.
|
Constructor and Description |
---|
ScriptSupport(Project project,
java.lang.String text,
java.lang.String name,
java.util.Collection<java.lang.String> variableNames,
MatchOptions matchOptions) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
checkValidScript(java.lang.String scriptText,
MatchOptions matchOptions) |
java.lang.String |
evaluate(MatchResult result,
PsiElement context) |
public static final java.lang.String UUID
public ScriptSupport(Project project, java.lang.String text, java.lang.String name, java.util.Collection<java.lang.String> variableNames, MatchOptions matchOptions)
public java.lang.String evaluate(MatchResult result, PsiElement context)
public static java.lang.String checkValidScript(java.lang.String scriptText, MatchOptions matchOptions)