Home
last modified time | relevance | path

Searched refs:LEXER_WAS_NEWLINE (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-ops.c93 || (context_p->token.flags & LEXER_WAS_NEWLINE)) in scanner_check_arrow()
271 if (!(context_p->token.flags & LEXER_WAS_NEWLINE)) in scanner_check_async_function()
Djs-lexer.h246 LEXER_WAS_NEWLINE = (1u << 0), /**< newline was seen */ enumerator
Djs-scanner.c342 if (context_p->token.flags & LEXER_WAS_NEWLINE) in scanner_scan_post_primary_expression()
1306 if (!(context_p->token.flags & LEXER_WAS_NEWLINE) in scanner_scan_statement()
1324 if (!(context_p->token.flags & LEXER_WAS_NEWLINE) in scanner_scan_statement()
2046 && (terminator_found || (context_p->token.flags & LEXER_WAS_NEWLINE))) in scanner_scan_statement_end()
2079 || (!terminator_found && !(context_p->token.flags & LEXER_WAS_NEWLINE))) in scanner_scan_statement_end()
2243 if (!terminator_found && !(context_p->token.flags & LEXER_WAS_NEWLINE)) in scanner_scan_statement_end()
Djs-lexer.c265 context_p->token.flags = LEXER_WAS_NEWLINE; in lexer_skip_spaces()
352 context_p->token.flags = LEXER_WAS_NEWLINE; in lexer_skip_spaces()
1879 return (!(context_p->token.flags & LEXER_WAS_NEWLINE) in lexer_check_post_primary_exp()
1911 return (!(context_p->token.flags & LEXER_WAS_NEWLINE) in lexer_check_arrow()
1954 if (context_p->token.flags & LEXER_WAS_NEWLINE) in lexer_check_yield_no_arg()
3382 || ((context_p->token.flags & LEXER_WAS_NEWLINE) in lexer_string_is_directive()
Djs-parser-statm.c2129 if (!(context_p->token.flags & LEXER_WAS_NEWLINE) in parser_parse_break_statement()
2215 if (!(context_p->token.flags & LEXER_WAS_NEWLINE) in parser_parse_continue_statement()
2982 if (context_p->token.flags & LEXER_WAS_NEWLINE) in parser_parse_statements()
3000 if ((context_p->token.flags & LEXER_WAS_NEWLINE) in parser_parse_statements()
3216 && !(context_p->token.flags & LEXER_WAS_NEWLINE)) in parser_parse_statements()
Djs-parser-expr.c2249 if (!(context_p->token.flags & LEXER_WAS_NEWLINE) in parser_process_unary_expression()