Home | History | Annotate | Download | only in parsing

Lines Matching refs:ARROW

288   // Annoyingly, arrow functions first parse as comma expressions, then when we
633 // A simple arrow formal parameter: IDENTIFIER => BODY.
643 // parameter list, show the "arrow formal parameters" error if the formals
1064 // arrow functions we don't always know that the identifier we are reading
1255 // TODO(rossberg): this does not work with arrow functions yet.
1318 // Arrow function formal parameters are either a single identifier or a
1363 if (peek() != Token::ARROW) {
1996 if (peek() == Token::ARROW) {
2003 // Because the arrow's parameters were parsed in the outer scope, any
2005 // to the arrow scope.
2040 // "expression" was not itself an arrow function parameter list, but it might
2724 // TODO(rossberg): This doesn't work with arrow functions yet.
3032 if (peek() == Token::ARROW && scanner_->HasAnyLineTerminatorBeforeNext()) {
3033 // ASI inserts `;` after arrow parameters if a line terminator is found.
3036 ReportUnexpectedTokenAt(scanner_->peek_location(), Token::ARROW);
3058 Expect(Token::ARROW, CHECK_OK);
3099 // Arrow function formal parameters are parsed as StrictFormalParameterList,
3101 // that duplicates are not allowed. Of course, the arrow function may