Exception Summary ESException JavaScript exception, filtered to get the line numbers right. The JavaScript compiler package. The Parser class in com.caucho.es.parser.Parser is the primary public entry. The public classes are Parser, Script, and ScriptClosure. Parser is the main entry to the compiler.
Script contains a compiled script.
ScriptClosure lets programs execute the global script and then call back into the JavaScript. The other classes are public only because JavaScript gets compiled to Java. The generated Java classes need to access the JavaScript libraries. The script must first be compiled to a Script object, then executed. The following example gives the bare-bones script invocation.