Lines Matching refs:tok

76472 …k__objlit_load_key(duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_token *tok, duk_regconst_t reg…  argument
76473 if (tok->t_nores == DUK_TOK_IDENTIFIER || tok->t_nores == DUK_TOK_STRING) {
76475 DUK_ASSERT(tok->str1 != NULL);
76476 duk_push_hstring(comp_ctx->thr, tok->str1);
76477 } else if (tok->t == DUK_TOK_NUMBER) {
76479 duk_push_number(comp_ctx->thr, tok->num);
76783 duk_small_uint_t tok; local
76798 tok = tk->t;
76804 switch (tok) {
77318 duk_small_uint_t tok; local
77330 tok = tk->t;
77337 switch (tok) {
77791 DUK_D(DUK_DPRINT("parse error: unexpected token: %ld", (long) tok));
78291 duk_small_uint_t tok = comp_ctx->curr_token.t; local
78293 DUK_ASSERT_DISABLE(tok >= DUK_TOK_MINVAL); /* unsigned */
78294 DUK_ASSERT(tok <= DUK_TOK_MAXVAL);
78302 if (tok == DUK_TOK_IN && !comp_ctx->curr_func.allow_in) {
78306 if ((tok == DUK_TOK_DECREMENT || tok == DUK_TOK_INCREMENT) &&
78317 return DUK__TOKEN_LBP_GET_BP(duk__token_lbp[tok]); /* format is bit packed */
79029 duk_small_uint_t tok; local
79121 tok = comp_ctx->curr_token.t;
79122 if (tok == DUK_TOK_CASE || tok == DUK_TOK_DEFAULT ||
79123 tok == DUK_TOK_RCURLY) {
79777 duk_small_uint_t tok; local
79814 tok = comp_ctx->curr_token.t;
79815 if (tok == DUK_TOK_FOR || tok == DUK_TOK_DO || tok == DUK_TOK_WHILE ||
79816 tok == DUK_TOK_SWITCH) {
81041 duk_token *tok; local
81071 tok = &comp_ctx->prev_token;
81073 tok = &comp_ctx->curr_token;
81078 if (tok->t_nores == DUK_TOK_IDENTIFIER || tok->t == DUK_TOK_STRING) {
81079 duk_push_hstring(thr, tok->str1); /* keep in valstack */
81080 } else if (tok->t == DUK_TOK_NUMBER) {
81081 duk_push_number(thr, tok->num);
81093 if (tok->t_nores == DUK_TOK_IDENTIFIER) {
81094 duk_push_hstring(thr, tok->str1); /* keep in valstack */
90203 #define DUK__ADVTOK(advbytes,tok) ((((advbytes) * sizeof(duk_lexer_codepoint)) << 8) + (tok)) argument