public class ScriptManager extends Object
| Constructor and Description |
|---|
ScriptManager(JAXXCompiler compiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkParse(String script) |
String |
preprocessScript(String script) |
void |
registerScript(String script) |
String |
trimScript(String script)
Strips unnecessary curly braces from around the script, generating a warning if they are found.
|
String |
trimScript(String script,
boolean warn)
Strips unnecessary curly braces from around the script, generating a warning if flag
warn is on
and they are found. |
public ScriptManager(JAXXCompiler compiler)
public String trimScript(String script)
script - script to trimpublic String trimScript(String script, boolean warn)
warn is on
and they are found.script - script to trimwarn - flag to warn if curly braces are foundpublic void checkParse(String script) throws CompilerException
CompilerExceptionpublic String preprocessScript(String script) throws CompilerException
CompilerExceptionpublic void registerScript(String script) throws CompilerException
CompilerExceptionCopyright © 2008–2020 Ultreia.io. All rights reserved.