public static object ParseAndExecute(string sScript) { Init(); ClassNode classNode = Parse(sScript); Functions.ThisNode = classNode; MethodNode main = classNode.GetMethod("main"); Executer exe = new Executer(main); return(exe.Run()); }
public static object ParseAndExecute(string sScript) { Init(); ClassNode classNode = Parse(sScript); Functions.ThisNode = classNode; MethodNode main = classNode.GetMethod("main"); Executer exe = new Executer(main); return(exe.Run()); }