| java.lang.Object oscript.OscriptInterpreter oscript.Main
Main | public class Main extends OscriptInterpreter (Code) | | An interactive oscript interpreter. This basically creates an instance
of OscriptInterpreter and then enters a read-eval-print
loop, or reads and evalates a file.
author: Rob Clark (rob@ti.com) author: version: 1.21 |
Method Summary | |
public static void | main(String[] args) |
Methods inherited from oscript.OscriptInterpreter | final public static void __declareInScope(String name, Value val, Scope scope)(Code)(Java Doc) final public static Value __eval(String str) throws ParseException(Code)(Java Doc) final public static Value __eval(String str, Scope scope) throws ParseException(Code)(Java Doc) public static void addParser(Parser parser)(Code)(Java Doc) public static void addScriptPath(String path)(Code)(Java Doc) public static NodeEvaluator createNodeEvaluator(String name, Node node)(Code)(Java Doc) public static Value eval(AbstractFile file) throws ParseException, IOException(Code)(Java Doc) public static Value eval(AbstractFile file, Scope scope) throws ParseException, IOException(Code)(Java Doc) public static Value eval(String str) throws ParseException(Code)(Java Doc) public static Value eval(String str, Scope scope) throws ParseException(Code)(Java Doc) static void flushNodeEvaluatorCache()(Code)(Java Doc) public static Scope getGlobalScope()(Code)(Java Doc) public static Iterator getScriptPath()(Code)(Java Doc) public static String getVersionString()(Code)(Java Doc) public static Value importHelper(String path, Scope scope)(Code)(Java Doc) public static Class loadClassFromCache(String className) throws ClassNotFoundException(Code)(Java Doc) final public static void mountJarFile(AbstractFile file) throws Exception(Code)(Java Doc) public static Node parse(AbstractFile file) throws ParseException, IOException(Code)(Java Doc) public static Node parse(String str) throws ParseException(Code)(Java Doc) public static void registerClassLoader(ClassLoader loader)(Code)(Java Doc) public static void removeParser(Parser parser)(Code)(Java Doc) public static void removeScriptPath(String path)(Code)(Java Doc) public static AbstractFile resolve(String path, boolean create) throws IOException(Code)(Java Doc) public static void setErr(PrintStream err)(Code)(Java Doc) public static void setIn(InputStream in)(Code)(Java Doc) public static void setOut(PrintStream out)(Code)(Java Doc) public static void useCompiler(boolean useCompiler)(Code)(Java Doc)
|
|
|