Lines Matching defs:function
25 #include "src/objects/function-kind.h"
64 // Don't include the rest parameter into the function's formal parameter
509 // How many suspends are needed for this function.
512 // How deeply nested we currently are in this function.
520 // A reason, if any, why this function should not be optimized.
523 // Record whether the next (=== immediately following) function literal is
531 // Track if a function or eval occurs within this FunctionState
813 // Creates a function scope that always allocates in zone(). The function
823 // Record presence of an inner function scope
1023 // Checking the name of a function literal. This has to be done after parsing
1024 // the function, since the function can declare itself strict.
1030 // The function name needs to be checked in strict mode.
1120 // It's possible that we're parsing the head of an arrow function, in
1139 // in function_kind for the case of parsing the identifier in a function
1140 // expression, where the relevant "function_kind" bit is of the function being
1141 // parsed, not the containing function.
1269 // Whether we're parsing a single-expression arrow function or something else.
1281 // function f() { { { var x; } let x; } }
1282 // function g() { { var x; let x; } }
1284 // The var declarations are hoisted to the function scope, but originate from
1472 // depending on the current function type.
1586 // This struct is used to move information about the next arrow function from
1607 // case the function ends up becoming strict mode. Only one global place to
1773 // In the case of a top level function, we completely skip
1779 // level function and throw an error if so.
1915 // async function ...
2084 // several function literals separated by comma.
2092 // callers of this function care about the type of the result if there was
2568 // block scope instead of using the synthetic members initializer function
2814 // runtime function passing all the other properties as arguments to
2815 // this runtime function. Here, we make sure that the number of
2982 // Anonymous function name inference applies to =, ||=, &&=, and ??=.
2987 // name if we're dealing with "a = function(){...}();"-like
3264 // Assume "! function ..." indicates the function is likely to be called.
3511 // expressions of the form function(){...}() for which call position
3513 // with positions recorded for function literal and confuse debugger.
3515 // Also the trailing parenthesis are a hint that the function will
3517 // function literal eagerly, we can also compile it eagerly.
3686 // Parse the initial primary or function expression.
3842 // If the tag function looks like an IIFE, set_parenthesized() to
4049 // Don't infer if it is "a = function(){...}();"-like expression.
4157 // 'function' Identifier '(' FormalParameters ')' '{' FunctionBody '}'
4158 // 'function' '(' FormalParameters ')' '{' FunctionBody '}'
4160 // 'function' '*' Identifier '(' FormalParameters ')' '{' FunctionBody '}'
4161 // 'function' '*' '(' FormalParameters ')' '{' FunctionBody '}'
4165 // 'function' and '*' (if present) have been consumed by the caller.
4199 FunctionLiteralT function = impl()->ParseFunctionLiteral(
4203 // In ES6, a function behaves as a lexical binding, except in
4204 // a script scope, or the initial scope of eval or another function.
4220 return impl()->DeclareFunction(variable_name, function, mode, kind, pos,
4266 // through the API's extension mechanism. A native function
4267 // declaration is resolved by looking up the function through a
4294 // async [no LineTerminator here] function BindingIdentifier[Await]
4350 // If we are parsing the source as if it is wrapped in a function, the
4549 // FIXME(marja): Arrow function parameters will be parsed even if the
4560 // For arrow functions, we don't need to retrieve data about function
4574 // function, since the function can declare itself strict.
4577 // In case we did not sucessfully preparse the function because of an
4660 const char* name = "arrow function";
4796 // function so that we can reparse it later.
4855 // async [no LineTerminator here] function ( FormalParameters[Await] )
4858 // async [no LineTerminator here] function BindingIdentifier[Await]
5141 // in the body of a function with non-simple parameter list, on
5394 // The scope of a var declared variable anywhere inside a function
5395 // is the entire function (ECMA-262, 3rd, 10.1.3, and 12.2). Thus we can
5438 // [lookahead notin {{, function, class, let [}] Expression[In, ?Yield] ;
5492 // ES#sec-labelled-function-declarations Labelled Function Declarations
5501 // We allow a native function declaration if we're parsing the source for an
5502 // extension. A native function declaration starts with "native function"