Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-internal.h175 SCANNER_LITERAL_IS_CONST = (1 << 5), /**< literal is const */ enumerator
178 SCANNER_LITERAL_IS_DESTRUCTURED_ARG = SCANNER_LITERAL_IS_CONST,
202 #define SCANNER_LITERAL_IS_LOCAL (SCANNER_LITERAL_IS_LET | SCANNER_LITERAL_IS_CONST)
Djs-scanner-util.c45 JERRY_STATIC_ASSERT ((SCANNER_LITERAL_IS_CONST & SCANNER_LITERAL_IS_LOCAL) != 0,
596 … if ((type & (SCANNER_LITERAL_IS_CONST | SCANNER_LITERAL_IS_ARG)) == SCANNER_LITERAL_IS_CONST) in scanner_pop_literal_pool()
666 || (literal_location_p->type & mask) == SCANNER_LITERAL_IS_CONST) in scanner_pop_literal_pool()
825 if (!(literal_p->type & SCANNER_LITERAL_IS_CONST)) in scanner_pop_literal_pool()
845 else if (literal_p->type & SCANNER_LITERAL_IS_CONST) in scanner_pop_literal_pool()
Djs-scanner.c2110 if ((literal_p->type & (SCANNER_LITERAL_IS_LET | SCANNER_LITERAL_IS_CONST)) in scanner_scan_statement_end()
2617 literal_p->type |= SCANNER_LITERAL_IS_CONST; in scanner_scan_all()
3101 literal_p->type |= SCANNER_LITERAL_IS_CONST; in scanner_scan_all()