Package jaxx.compiler.script
Class ScriptManager
java.lang.Object
jaxx.compiler.script.ScriptManager
public class ScriptManager
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ScriptManager(JAXXCompiler compiler) -
Method Summary
Modifier and Type Method Description voidcheckParse(java.lang.String script)java.lang.StringpreprocessScript(java.lang.String script)voidregisterScript(java.lang.String script)java.lang.StringtrimScript(java.lang.String script)Strips unnecessary curly braces from around the script, generating a warning if they are found.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScriptManager
-
-
Method Details
-
trimScript
public java.lang.String trimScript(java.lang.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
- Throws:
CompilerException
-
preprocessScript
- Throws:
CompilerException
-
registerScript
- Throws:
CompilerException
-