Home | History | Annotate | Download | only in parsing

Lines Matching refs:Identifier

206 //   typedef Identifier;
236 typedef typename Types::Identifier IdentifierT;
782 return token == Token::IDENTIFIER || token == Token::ENUM ||
792 Consume(Token::IDENTIFIER);
800 return peek() == Token::IDENTIFIER &&
809 Expect(Token::IDENTIFIER, CHECK_OK_CUSTOM(Void));
1016 // A simple arrow formal parameter: IDENTIFIER => BODY.
1072 // Parses an identifier that is valid for the current scope, in particular it
1075 // "arguments" as identifier even in strict mode (this is needed in cases like
1079 // Parses an identifier or a strict mode future reserved word, and indicate
1081 // for the case of parsing the identifier in a function expression, where the
1218 // - all starting with an identifier (i.e., no if, for, while, etc.)
1633 case Token::IDENTIFIER:
1707 if (next == Token::IDENTIFIER || next == Token::ASYNC ||
1719 // arrow functions we don't always know that the identifier we are reading
1772 if (next == Token::IDENTIFIER || (next == Token::AWAIT && !parsing_module_ &&
1795 if (next != Token::IDENTIFIER && next != Token::ASYNC &&
1862 // Identifier
1901 case Token::IDENTIFIER:
1932 // Arrow function formal parameters are either a single identifier or a
2213 if (token == Token::IDENTIFIER && !*is_generator && !*is_async) {
2215 Consume(Token::IDENTIFIER);
2232 // identifier -> "identifier"
2914 // async Identifier => AsyncConciseBody
3255 // "delete identifier" is a syntax error in strict mode.
3372 if (scanner()->current_token() == Token::IDENTIFIER ||
3375 // For call of an identifier we want to report position of
3376 // the identifier as position of the call in the stack trace.
3549 // ('[' Expression ']' | '.' Identifier | Arguments | TemplateLiteral)*
3553 // ('[' Expression ']' | '.' Identifier | Arguments | TemplateLiteral)*
3555 // The '[' Expression ']' and '.' Identifier parts are parsed by
3583 Consume(Token::IDENTIFIER);
3713 // ('[' Expression ']' | '.' Identifier | TemplateLiteral)*
3750 if (scanner()->current_token() == Token::IDENTIFIER) {
3870 // ('var' | 'const' | 'let') (Identifier ('=' AssignmentExpression)?)+[',']
4042 // 'function' Identifier '(' FormalParameters ')' '{' FunctionBody '}'
4045 // 'function' '*' Identifier '(' FormalParameters ')' '{' FunctionBody '}'
4110 // 'class' Identifier ('extends' LeftHandExpression)? '{' ClassBody '}'
4323 case Token::IDENTIFIER:
4347 peek_token == Token::STRING || peek_token == Token::IDENTIFIER ||
4647 Consume(Token::IDENTIFIER);
4826 // '%' Identifier Arguments
4885 bool starts_with_identifier = peek() == Token::IDENTIFIER;
4936 // - all starting with an identifier (i.e., no if, for, while, etc.)
5202 // Identifier ':' Statement
5219 // "let" followed by either "[", "{" or an identifier means a lexical
5221 // However, ASI may insert a line break before an identifier or a brace.
5223 ((next_next != Token::LBRACE && next_next != Token::IDENTIFIER) ||
5240 // The whole expression was a single identifier, and not, e.g.,
5241 // something starting with an identifier or a parenthesized identifier.
5304 // 'continue' Identifier? ';'
5341 // 'break' Identifier? ';'
5611 // 'catch' '(' Identifier ')' Block