Home
last modified time | relevance | path

Searched refs:SCANNER_LITERAL_IS_FUNC (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-util.c499 can_eval_types |= SCANNER_LITERAL_IS_FUNC; in scanner_pop_literal_pool()
536 if (type & (SCANNER_LITERAL_IS_ARG | SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_LOCAL)) in scanner_pop_literal_pool()
550 …&& (type & (SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_FUNC_DECLARATION)) == SCANNER_LITERAL_IS_… in scanner_pop_literal_pool()
565 type &= (uint8_t) ~SCANNER_LITERAL_IS_FUNC; in scanner_pop_literal_pool()
591 if (type & SCANNER_LITERAL_IS_FUNC) in scanner_pop_literal_pool()
601 literal_p->type = (uint8_t) (type & ~SCANNER_LITERAL_IS_FUNC); in scanner_pop_literal_pool()
608 literal_p->type = (uint8_t) (type & ~SCANNER_LITERAL_IS_FUNC); in scanner_pop_literal_pool()
633 || ((type & SCANNER_LITERAL_IS_FUNC) && (status_flags & SCANNER_LITERAL_POOL_IS_STRICT)) in scanner_pop_literal_pool()
635 || !(type & (SCANNER_LITERAL_IS_VAR | SCANNER_LITERAL_IS_FUNC))) in scanner_pop_literal_pool()
674 type = (uint8_t) (type & (SCANNER_LITERAL_IS_VAR | SCANNER_LITERAL_IS_FUNC)); in scanner_pop_literal_pool()
[all …]
Djs-scanner.c1402 …const uint8_t mask = (SCANNER_LITERAL_IS_ARG | SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_LOCAL); in scanner_scan_statement()
1406 … && (literal_p->type & mask) != (SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_FUNC_DECLARATION)) in scanner_scan_statement()
1411 literal_p->type |= SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_FUNC_DECLARATION; in scanner_scan_statement()
1415 literal_p->type |= SCANNER_LITERAL_IS_VAR | SCANNER_LITERAL_IS_FUNC; in scanner_scan_statement()
1575 if (literal_p->type & SCANNER_LITERAL_IS_FUNC) in scanner_scan_statement()
1577 literal_p->type &= (uint8_t) ~SCANNER_LITERAL_IS_FUNC; 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()
1664 location_p->type |= SCANNER_LITERAL_IS_FUNC | SCANNER_LITERAL_IS_LET; in scanner_scan_statement()
[all …]
Djs-scanner-internal.h168 SCANNER_LITERAL_IS_FUNC = (1 << 2), /**< literal is function */ enumerator