Home | History | Annotate | Download | only in samples

Lines Matching refs:Script

81   // Process function of the JavaScript script given as an argument.
82 explicit JsHttpRequestProcessor(Handle<String> script) : script_(script) { }
90 // Execute the script associated with this processor and extract the
92 bool ExecuteScript(Handle<String> script);
146 // Execute the script and fetch the Process method.
172 // Compile and run the script
176 // The script compiled and ran correctly. Now we fetch out the
197 bool JsHttpRequestProcessor::ExecuteScript(Handle<String> script) {
200 // We're just about to compile the script; set up an error handler to
201 // catch any exceptions the script might throw.
204 // Compile the script and check for errors.
205 Handle<Script> compiled_script = Script::Compile(script);
209 // The script failed to compile; bail out.
213 // Run the script!
219 // Running the script failed; bail out.
604 fprintf(stderr, "No script was specified.\n");