Home
last modified time | relevance | path

Searched refs:location_p (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner.c1642 lexer_lit_location_t *location_p = scanner_add_literal (context_p, scanner_context_p); in scanner_scan_statement() local
1645 if (location_p->type & SCANNER_LITERAL_IS_LOCAL in scanner_scan_statement()
1646 && !(location_p->type & SCANNER_LITERAL_IS_FUNC)) in scanner_scan_statement()
1650 location_p->type |= SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_LET; in scanner_scan_statement()
1652 location_p->type |= SCANNER_LITERAL_IS_VAR | SCANNER_LITERAL_IS_FUNC; in scanner_scan_statement()
1659 lexer_lit_location_t *location_p; in scanner_scan_statement() local
1660 location_p = scanner_add_custom_literal (context_p, in scanner_scan_statement()
1664 location_p->type |= SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_LET; in scanner_scan_statement()
1666 location_p->type |= SCANNER_LITERAL_IS_VAR | SCANNER_LITERAL_IS_FUNC; in scanner_scan_statement()
1701 lexer_lit_location_t *location_p; in scanner_scan_statement() local
[all …]
Djs-scanner-util.c2463 scanner_get_location (scanner_location_t *location_p, /**< location */ in scanner_get_location() argument
2466 location_p->source_p = context_p->source_p; in scanner_get_location()
2467 location_p->line = context_p->line; in scanner_get_location()
2468 location_p->column = context_p->column; in scanner_get_location()
2476 scanner_location_t *location_p) /**< location */ in scanner_set_location() argument
2478 context_p->source_p = location_p->source_p; in scanner_set_location()
2479 context_p->line = location_p->line; in scanner_set_location()
2480 context_p->column = location_p->column; in scanner_set_location()
Djs-scanner-ops.c155 lexer_lit_location_t *location_p = scanner_add_literal (context_p, scanner_context_p); in scanner_scan_simple_arrow() local
156 location_p->type |= SCANNER_LITERAL_IS_ARG; in scanner_scan_simple_arrow()
Djs-parser-internal.h770 void scanner_get_location (scanner_location_t *location_p, parser_context_t *context_p);
771 void scanner_set_location (parser_context_t *context_p, scanner_location_t *location_p);