Home | History | Annotate | Download | only in src

Lines Matching refs:function

35   called_non_callable:           ["%0", " is not a function"],
37 property_not_function: ["Property '", "%0", "' of object ", "%1", " is not a function"],
48 apply_non_function: ["Function.prototype.apply was called on ", "%0", ", which is a ", "%1", " and not a function"],
49 apply_wrong_args: ["Function.prototype.apply: Arguments list has wrong type"],
50 toMethod_non_function: ["Function.prototype.toMethod was called on ", "%0", ", which is a ", "%1", " and not a function"],
51 toMethod_non_object: ["Function.prototype.toMethod: home object ", "%0", " is not an object"],
53 instanceof_function_expected: ["Expecting a function in instanceof check, but got ", "%0"],
54 instanceof_nonobject_proto: ["Function has non-object prototype '", "%0", "' in instanceof check"],
57 getter_must_be_callable: ["Getter must be a function: ", "%0"],
58 setter_must_be_callable: ["Setter must be a function: ", "%0"],
67 trap_function_expected: ["Proxy.", "%0", " called with non-function for '", "%1", "' trap"],
79 observe_non_function: ["Object.", "%0", " cannot deliver to non-function"],
80 observe_callback_frozen: ["Object.observe cannot deliver to a frozen function object"],
84 observe_perform_non_function: ["Cannot perform non-function"],
93 resolver_not_a_function: ["Promise resolver ", "%0", " is not a function"],
128 paren_in_arg_string: ["Function arg string contains parenthesis"],
130 single_function_literal: ["Single function literal required"],
148 too_many_arguments: ["Too many arguments in function call (only 65535 allowed)"],
149 too_many_parameters: ["Too many parameters in function definition (only 65535 allowed)"],
151 strict_param_dupe: ["Strict mode function may not have duplicate parameter names"],
159 strict_function: ["In strict mode code, functions can only be declared at top level or immediately within another function." ],
163 strict_caller: ["Illegal access to a strict mode caller function."],
164 malformed_arrow_function_parameter_list: ["Malformed arrow function parameter list"],
181 function FormatString(format, args) {
209 function NoSideEffectToString(obj) {
226 if (typeof constructor == "function") {
244 function CanBeSafelyTreatedAsAnErrorObject(obj) {
265 function ToStringCheckErrorObject(obj) {
274 function ToDetailString(obj) {
277 if (typeof constructor == "function") {
288 function MakeGenericError(constructor, type, args) {
295 * Set up the Script function and constructor.
300 %SetCode(Script, function(x) {
307 function FormatMessage(type, args) {
314 function GetLineNumber(message) {
326 function GetSourceLine(message) {
336 function MakeTypeError(type, args) {
341 function MakeRangeError(type, args) {
346 function MakeSyntaxError(type, args) {
351 function MakeReferenceError(type, args) {
356 function MakeEvalError(type, args) {
361 function MakeError(type, args) {
371 function ScriptLineFromPosition(position) {
410 function ScriptLocationFromPosition(position,
438 * fixed source position. This function is used to find a source position from
440 * used to find a source position in a function based on a line and column in
441 * the source for the function alone. The offset passed will then be the
442 * start position of the source for the function within the full script source.
451 function ScriptLocationFromLine(opt_line, opt_column, opt_offset_position) {
494 function ScriptSourceSlice(opt_from_line, opt_to_line) {
525 function ScriptSourceLine(opt_line) {
551 function ScriptLineCount() {
567 function ScriptNameOrSourceURL() {
614 function SourceLocation(script, position, line, column, start, end) {
633 function SourceLocationRestrict(opt_limit, opt_before) {
680 function SourceLocationSourceText() {
715 function SourceSlice(script, from_line, to_line, from_position, to_position) {
728 function SourceSliceSourceText() {
743 function GetPositionInLine(message) {
753 function GetStackTraceLine(recv, fun, pos, isGlobal) {
761 var CallSiteFunctionKey = NEW_PRIVATE_OWN("CallSite#function");
765 function CallSite(receiver, fun, pos, strict_mode) {
772 function CallSiteGetThis() {
777 function CallSiteGetTypeName() {
781 function
788 function CallSiteIsEval() {
793 function CallSiteGetEvalOrigin() {
798 function CallSiteGetScriptNameOrSourceURL() {
803 function CallSiteGetFunction() {
808 function CallSiteGetFunctionName() {
809 // See if the function knows its own name
826 function CallSiteGetMethodName() {
828 // this function.
837 // the same name as the function.
858 function CallSiteGetFileName() {
863 function CallSiteGetLineNumber() {
876 function CallSiteGetColumnNumber() {
889 function CallSiteIsNative() {
894 function CallSiteGetPosition() {
898 function CallSiteIsConstructor() {
906 function CallSiteToString() {
992 function FormatEvalOrigin(script) {
1031 function FormatErrorString(error) {
1044 function GetStackFrames(raw_stack) {
1064 function FormatStackTrace(obj, raw_stack) {
1074 throw e; // The custom formatting function threw. Rethrow.
1102 function GetTypeName(receiver, requireConstructor) {
1123 var StackTraceGetter = function() {
1150 var StackTraceSetter = function(v) {
1158 // Use a dummy function since we do not actually want to capture a stack trace
1160 var captureStackTrace = function captureStackTrace(obj, cons_opt) {
1169 function SetUpError() {
1172 var DefineError = function(f) {
1173 // Store the error function in both the global object
1174 // and the runtime object. The function is fetched
1183 // Configure the error function.
1189 var ErrorPrototype = function() {};
1199 %SetCode(f, function(m) {
1216 DefineError(function Error() { });
1217 DefineError(function TypeError() { });
1218 DefineError(function RangeError() { });
1219 DefineError(function SyntaxError() { });
1220 DefineError(function ReferenceError() { });
1221 DefineError(function EvalError() { });
1222 DefineError(function URIError() { });
1236 function GetPropertyWithoutInvokingMonkeyGetters(error, name) {
1261 function ErrorToStringDetectCycle(error) {
1276 function ErrorToString() {
1298 function SetUpStackOverflowBoilerplate() {