jaxx.compiler.script
Class ScriptManager

java.lang.Object
  extended by jaxx.compiler.script.ScriptManager

public class ScriptManager
extends java.lang.Object


Constructor Summary
ScriptManager(JAXXCompiler compiler)
           
 
Method Summary
 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 Detail

ScriptManager

public ScriptManager(JAXXCompiler compiler)
Method Detail

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


Copyright © 2008-2009 CodeLutin. All Rights Reserved.