Lines Matching refs:Function
60 * --main-cycle-in-cpp option. Script must declare a function named
61 * "ProcessLine". The main cycle in C++ reads lines and calls this function
64 function ProcessLine(input_line) {
207 // Bind the global 'print' function to the C++ Print callback.
211 // Bind the global 'read_line' function to the C++ Print callback.
283 // If there is no Process function, or if it is not a function,
286 printf("Error: Script does not declare 'ProcessLine' global function.\n");
290 // It is a function; cast it to a Function
291 v8::Handle<v8::Function> process_fun =
292 v8::Handle<v8::Function>::Cast(process_val);
394 // function is called. Prints its arguments on stdout separated by
416 // function is called. Reads a string from standard input and returns.