Lines Matching refs:Script
45 * script. The script is specified with command line parameters.
52 * --main-cycle-in-cpp option. Script must declare a function named
54 * for processing every time. This is a sample script:
62 * --main-cycle-in-js option. Script gets run one time at all and gets
64 * and print converted lines to output itself. This a sample script:
81 * Normally the program compiles custom script and immediately runs it.
82 * If programmer needs to debug script from the very beginning, he should
89 * respond only when V8 is running some script. In particular, when this program
107 bool RunCppCycle(v8::Handle<v8::Script> script,
194 printf("Script is not specified\n");
198 printf("Only one script may be specified\n");
237 v8::Handle<v8::Script> script;
239 // Compile script in try/catch context.
241 script = v8::Script::Compile(script_source, script_name);
242 if (script.IsEmpty()) {
253 script->Run();
262 bool res = RunCppCycle(script,
273 bool RunCppCycle(v8::Handle<v8::Script> script,
288 printf("Error: Script does not declare 'ProcessLine' global function.\n");