Lines Matching defs:source
2 // Use of this source code is governed by a BSD-style license that can be
326 !Script::cast(script()).source().IsUndefined(roots) &&
327 String::cast(Script::cast(script()).source()).length() > 0;
397 Handle<String> source(String::cast(Script::cast(shared->script()).source()),
399 return isolate->factory()->NewSubString(source, shared->StartPosition(),
409 String::cast(Script::cast(shared->script()).source()), isolate);
412 Handle<String> source = isolate->factory()->NewSubString(
414 if (!shared->is_wrapped()) return source;
429 builder.AppendString(source);
436 // Output the source code without any allocation in the heap.
439 // For some native functions there is no source.
442 // Get the source for the script which this function came from.
446 String::unchecked_cast(Script::cast(s.script()).source());