Package jaxx.compiler.script
Class ScriptManager
- java.lang.Object
-
- jaxx.compiler.script.ScriptManager
-
public class ScriptManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ScriptManager(JAXXCompiler compiler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckParse(String script)StringpreprocessScript(String script)voidregisterScript(String script)StringtrimScript(String script)Strips unnecessary curly braces from around the script, generating a warning if they are found.
-
-
-
Constructor Detail
-
ScriptManager
public ScriptManager(JAXXCompiler compiler)
-
-
Method Detail
-
trimScript
public String trimScript(String script)
Strips unnecessary curly braces from around the script, generating a warning if they are found.- Parameters:
script- script to trim- Returns:
- the trimed script
-
checkParse
public void checkParse(String script) throws CompilerException
- Throws:
CompilerException
-
preprocessScript
public String preprocessScript(String script) throws CompilerException
- Throws:
CompilerException
-
registerScript
public void registerScript(String script) throws CompilerException
- Throws:
CompilerException
-
-