Lines Matching defs:Script
89 struct Script {
93 Script(bool isFile, char *argument)
109 Vector<Script> scripts;
211 Vector<char> script;
212 if (!fillBufferWithContentsOfFile(fileName, script))
219 evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName));
228 Vector<char> script;
229 if (!fillBufferWithContentsOfFile(fileName, script))
233 Completion result = evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName));
242 Vector<char> script;
243 if (!fillBufferWithContentsOfFile(fileName, script))
250 Completion result = checkSyntax(globalObject->globalExec(), makeSource(script.data(), fileName));
374 static bool runWithScripts(GlobalObject* globalObject, const Vector<Script>& scripts, bool dump)
376 UString script;
395 script = scriptBuffer.data();
397 script = scripts[i].argument;
403 Completion completion = evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script, fileName));
471 fprintf(stderr, " -e Evaluate argument as script code\n");
491 options.scripts.append(Script(true, argv[i]));
497 options.scripts.append(Script(false, argv[i]));
523 options.scripts.append(Script(true, argv[i]));