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
    void checkParse​(java.lang.String script)  
    java.lang.String preprocessScript​(java.lang.String script)  
    void registerScript​(java.lang.String script)  
    java.lang.String trimScript​(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

      public ScriptManager​(JAXXCompiler compiler)
  • 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

      public void checkParse​(java.lang.String script) throws CompilerException
      Throws:
      CompilerException
    • preprocessScript

      public java.lang.String preprocessScript​(java.lang.String script) throws CompilerException
      Throws:
      CompilerException
    • registerScript

      public void registerScript​(java.lang.String script) throws CompilerException
      Throws:
      CompilerException