tok 306 ext/racc/cparse/cparse.c VALUE tok, val; tok 310 ext/racc/cparse/cparse.c extract_user_token(v, block_args, &tok, &val); tok 311 ext/racc/cparse/cparse.c parse_main(v, tok, val, 1); tok 436 ext/racc/cparse/cparse.c *tok = Qfalse; tok 455 ext/racc/cparse/cparse.c *tok = AREF(block_args, 0); tok 459 ext/racc/cparse/cparse.c #define SHIFT(v,act,tok,val) shift(v,act,tok,val) tok 511 ext/racc/cparse/cparse.c extract_user_token(v, tmp, &tok, &val); tok 514 ext/racc/cparse/cparse.c v->t = rb_hash_aref(v->token_table, tok); tok 521 ext/racc/cparse/cparse.c 3, v->t, tok, val); tok 688 ext/racc/cparse/cparse.c PUSH(v->tstack, tok); tok 690 ext/racc/cparse/cparse.c 3, tok, v->tstack, v->vstack); tok 297 ext/ripper/eventids2.c if (a->token == tok) tok 300 ext/ripper/eventids2.c if (tok < 256) { tok 303 ext/ripper/eventids2.c rb_raise(rb_eRuntimeError, "[Ripper FATAL] unknown token %d", tok); tok 398 ext/ripper/ripper.c #define TOK_INTERN() intern_cstr(tok(), toklen(), current_enc) tok 11943 ext/ripper/ripper.c toklen() > 1 ? "s" : "", tok()); tok 12288 ext/ripper/ripper.c set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 12353 ext/ripper/ripper.c STR_NEW(tok(), toklen()), /* nd_lit */ tok 12668 ext/ripper/ripper.c set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 12680 ext/ripper/ripper.c str = STR_NEW3(tok(), toklen(), enc, func); tok 13171 ext/ripper/ripper.c return set_integer_literal(rb_cstr_to_inum(tok(), 16, FALSE), suffix); tok 13195 ext/ripper/ripper.c return set_integer_literal(rb_cstr_to_inum(tok(), 2, FALSE), suffix); tok 13219 ext/ripper/ripper.c return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 13251 ext/ripper/ripper.c return set_integer_literal(rb_cstr_to_inum(tok(), 8, FALSE), suffix); tok 13351 ext/ripper/ripper.c v = parse_rational(parser, tok(), toklen(), seen_point); tok 13354 ext/ripper/ripper.c double d = strtod(tok(), 0); tok 13356 ext/ripper/ripper.c rb_warning1("Float %s out of range", WARN_S(tok())); tok 13364 ext/ripper/ripper.c return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 13447 ext/ripper/ripper.c set_yylval_str(STR_NEW3(tok(), toklen(), enc, 0)); tok 13576 ext/ripper/ripper.c unsigned long n = ruby_scan_digits(tok()+1, toklen()-1, 10, &len, &overflow); tok 13584 ext/ripper/ripper.c rb_warn1("`%s' is too big for a number variable, always nil", WARN_S(tok())); tok 13770 ext/ripper/ripper.c if (result == 0 && ISUPPER(tok()[0])) { tok 13790 ext/ripper/ripper.c kw = rb_reserved_word(tok(), toklen()); tok 13795 ext/ripper/ripper.c set_yylval_name(rb_intern2(tok(), toklen())); tok 344 ext/ripper/ripper.y #define TOK_INTERN() intern_cstr(tok(), toklen(), current_enc) tok 6194 ext/ripper/ripper.y toklen() > 1 ? "s" : "", tok()); tok 6539 ext/ripper/ripper.y set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 6604 ext/ripper/ripper.y STR_NEW(tok(), toklen()), /* nd_lit */ tok 6919 ext/ripper/ripper.y set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 6931 ext/ripper/ripper.y str = STR_NEW3(tok(), toklen(), enc, func); tok 7422 ext/ripper/ripper.y return set_integer_literal(rb_cstr_to_inum(tok(), 16, FALSE), suffix); tok 7446 ext/ripper/ripper.y return set_integer_literal(rb_cstr_to_inum(tok(), 2, FALSE), suffix); tok 7470 ext/ripper/ripper.y return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 7502 ext/ripper/ripper.y return set_integer_literal(rb_cstr_to_inum(tok(), 8, FALSE), suffix); tok 7602 ext/ripper/ripper.y v = parse_rational(parser, tok(), toklen(), seen_point); tok 7605 ext/ripper/ripper.y double d = strtod(tok(), 0); tok 7607 ext/ripper/ripper.y rb_warning1("Float %s out of range", WARN_S(tok())); tok 7615 ext/ripper/ripper.y return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 7698 ext/ripper/ripper.y set_yylval_str(STR_NEW3(tok(), toklen(), enc, 0)); tok 7827 ext/ripper/ripper.y unsigned long n = ruby_scan_digits(tok()+1, toklen()-1, 10, &len, &overflow); tok 7835 ext/ripper/ripper.y rb_warn1("`%s' is too big for a number variable, always nil", WARN_S(tok())); tok 8021 ext/ripper/ripper.y if (result == 0 && ISUPPER(tok()[0])) { tok 8041 ext/ripper/ripper.y kw = rb_reserved_word(tok(), toklen()); tok 8046 ext/ripper/ripper.y set_yylval_name(rb_intern2(tok(), toklen())); tok 398 parse.c #define TOK_INTERN() intern_cstr(tok(), toklen(), current_enc) tok 11867 parse.c toklen() > 1 ? "s" : "", tok()); tok 12212 parse.c set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 12277 parse.c STR_NEW(tok(), toklen()), /* nd_lit */ tok 12592 parse.c set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 12604 parse.c str = STR_NEW3(tok(), toklen(), enc, func); tok 13095 parse.c return set_integer_literal(rb_cstr_to_inum(tok(), 16, FALSE), suffix); tok 13119 parse.c return set_integer_literal(rb_cstr_to_inum(tok(), 2, FALSE), suffix); tok 13143 parse.c return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 13175 parse.c return set_integer_literal(rb_cstr_to_inum(tok(), 8, FALSE), suffix); tok 13275 parse.c v = parse_rational(parser, tok(), toklen(), seen_point); tok 13278 parse.c double d = strtod(tok(), 0); tok 13280 parse.c rb_warning1("Float %s out of range", WARN_S(tok())); tok 13288 parse.c return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 13371 parse.c set_yylval_str(STR_NEW3(tok(), toklen(), enc, 0)); tok 13500 parse.c unsigned long n = ruby_scan_digits(tok()+1, toklen()-1, 10, &len, &overflow); tok 13508 parse.c rb_warn1("`%s' is too big for a number variable, always nil", WARN_S(tok())); tok 13694 parse.c if (result == 0 && ISUPPER(tok()[0])) { tok 13714 parse.c kw = rb_reserved_word(tok(), toklen()); tok 13719 parse.c set_yylval_name(rb_intern2(tok(), toklen())); tok 344 parse.y #define TOK_INTERN() intern_cstr(tok(), toklen(), current_enc) tok 6194 parse.y toklen() > 1 ? "s" : "", tok()); tok 6539 parse.y set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 6604 parse.y STR_NEW(tok(), toklen()), /* nd_lit */ tok 6919 parse.y set_yylval_str(STR_NEW3(tok(), toklen(), enc, func)); tok 6931 parse.y str = STR_NEW3(tok(), toklen(), enc, func); tok 7422 parse.y return set_integer_literal(rb_cstr_to_inum(tok(), 16, FALSE), suffix); tok 7446 parse.y return set_integer_literal(rb_cstr_to_inum(tok(), 2, FALSE), suffix); tok 7470 parse.y return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 7502 parse.y return set_integer_literal(rb_cstr_to_inum(tok(), 8, FALSE), suffix); tok 7602 parse.y v = parse_rational(parser, tok(), toklen(), seen_point); tok 7605 parse.y double d = strtod(tok(), 0); tok 7607 parse.y rb_warning1("Float %s out of range", WARN_S(tok())); tok 7615 parse.y return set_integer_literal(rb_cstr_to_inum(tok(), 10, FALSE), suffix); tok 7698 parse.y set_yylval_str(STR_NEW3(tok(), toklen(), enc, 0)); tok 7827 parse.y unsigned long n = ruby_scan_digits(tok()+1, toklen()-1, 10, &len, &overflow); tok 7835 parse.y rb_warn1("`%s' is too big for a number variable, always nil", WARN_S(tok())); tok 8021 parse.y if (result == 0 && ISUPPER(tok()[0])) { tok 8041 parse.y kw = rb_reserved_word(tok(), toklen()); tok 8046 parse.y set_yylval_name(rb_intern2(tok(), toklen())); tok 2516 regparse.c tok->type = TK_INTERVAL; tok 2517 regparse.c tok->u.repeat.lower = low; tok 2518 regparse.c tok->u.repeat.upper = up; tok 3080 regparse.c tok->type = TK_EOT; tok 3081 regparse.c return tok->type; tok 3085 regparse.c tok->type = TK_CHAR; tok 3086 regparse.c tok->base = 0; tok 3087 regparse.c tok->u.c = c; tok 3088 regparse.c tok->escaped = 0; tok 3091 regparse.c tok->type = TK_CC_CLOSE; tok 3094 regparse.c tok->type = TK_CC_RANGE; tok 3103 regparse.c tok->escaped = 1; tok 3104 regparse.c tok->u.c = c; tok 3107 regparse.c tok->type = TK_CHAR_TYPE; tok 3108 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_WORD; tok 3109 regparse.c tok->u.prop.not = 0; tok 3112 regparse.c tok->type = TK_CHAR_TYPE; tok 3113 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_WORD; tok 3114 regparse.c tok->u.prop.not = 1; tok 3117 regparse.c tok->type = TK_CHAR_TYPE; tok 3118 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_DIGIT; tok 3119 regparse.c tok->u.prop.not = 0; tok 3122 regparse.c tok->type = TK_CHAR_TYPE; tok 3123 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_DIGIT; tok 3124 regparse.c tok->u.prop.not = 1; tok 3127 regparse.c tok->type = TK_CHAR_TYPE; tok 3128 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_SPACE; tok 3129 regparse.c tok->u.prop.not = 0; tok 3132 regparse.c tok->type = TK_CHAR_TYPE; tok 3133 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_SPACE; tok 3134 regparse.c tok->u.prop.not = 1; tok 3138 regparse.c tok->type = TK_CHAR_TYPE; tok 3139 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_XDIGIT; tok 3140 regparse.c tok->u.prop.not = 0; tok 3144 regparse.c tok->type = TK_CHAR_TYPE; tok 3145 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_XDIGIT; tok 3146 regparse.c tok->u.prop.not = 1; tok 3155 regparse.c tok->type = TK_CHAR_PROPERTY; tok 3156 regparse.c tok->u.prop.not = (c == 'P' ? 1 : 0); tok 3161 regparse.c tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); tok 3188 regparse.c tok->type = TK_CODE_POINT; tok 3189 regparse.c tok->base = 16; tok 3190 regparse.c tok->u.code = (OnigCodePoint )num; tok 3203 regparse.c tok->type = TK_RAW_BYTE; tok 3204 regparse.c tok->base = 16; tok 3205 regparse.c tok->u.c = num; tok 3220 regparse.c tok->type = TK_CODE_POINT; tok 3221 regparse.c tok->base = 16; tok 3222 regparse.c tok->u.code = (OnigCodePoint )num; tok 3236 regparse.c tok->type = TK_RAW_BYTE; tok 3237 regparse.c tok->base = 8; tok 3238 regparse.c tok->u.c = num; tok 3246 regparse.c if (tok->u.c != num) { tok 3247 regparse.c tok->u.code = (OnigCodePoint )num; tok 3248 regparse.c tok->type = TK_CODE_POINT; tok 3256 regparse.c tok->backp = p; /* point at '[' is read */ tok 3260 regparse.c tok->type = TK_POSIX_BRACKET_OPEN; tok 3270 regparse.c tok->type = TK_CC_CC_OPEN; tok 3281 regparse.c tok->type = TK_CC_AND; tok 3287 regparse.c return tok->type; tok 3308 regparse.c env, &back_num, &tok->u.backref.level); tok 3309 regparse.c if (r == 1) tok->u.backref.exist_level = 1; tok 3310 regparse.c else tok->u.backref.exist_level = 0; tok 3328 regparse.c tok->type = TK_BACKREF; tok 3329 regparse.c tok->u.backref.by_name = 0; tok 3330 regparse.c tok->u.backref.num = 1; tok 3331 regparse.c tok->u.backref.ref1 = back_num; tok 3349 regparse.c tok->type = TK_BACKREF; tok 3350 regparse.c tok->u.backref.by_name = 1; tok 3352 regparse.c tok->u.backref.num = 1; tok 3353 regparse.c tok->u.backref.ref1 = backs[0]; tok 3356 regparse.c tok->u.backref.num = num; tok 3357 regparse.c tok->u.backref.refs = backs; tok 3378 regparse.c tok->type = TK_EOT; tok 3379 regparse.c return tok->type; tok 3382 regparse.c tok->type = TK_STRING; tok 3383 regparse.c tok->base = 0; tok 3384 regparse.c tok->backp = p; tok 3390 regparse.c tok->backp = p; tok 3393 regparse.c tok->u.c = c; tok 3394 regparse.c tok->escaped = 1; tok 3398 regparse.c tok->type = TK_OP_REPEAT; tok 3399 regparse.c tok->u.repeat.lower = 0; tok 3400 regparse.c tok->u.repeat.upper = REPEAT_INFINITE; tok 3406 regparse.c tok->type = TK_OP_REPEAT; tok 3407 regparse.c tok->u.repeat.lower = 1; tok 3408 regparse.c tok->u.repeat.upper = REPEAT_INFINITE; tok 3414 regparse.c tok->type = TK_OP_REPEAT; tok 3415 regparse.c tok->u.repeat.lower = 0; tok 3416 regparse.c tok->u.repeat.upper = 1; tok 3421 regparse.c tok->u.repeat.greedy = 0; tok 3422 regparse.c tok->u.repeat.possessive = 0; tok 3428 regparse.c tok->type != TK_INTERVAL) || tok 3430 regparse.c tok->type == TK_INTERVAL))) { tok 3432 regparse.c tok->u.repeat.greedy = 1; tok 3433 regparse.c tok->u.repeat.possessive = 1; tok 3436 regparse.c tok->u.repeat.greedy = 1; tok 3437 regparse.c tok->u.repeat.possessive = 0; tok 3444 regparse.c r = fetch_range_quantifier(&p, end, tok, env); tok 3458 regparse.c tok->type = TK_ALT; tok 3463 regparse.c tok->type = TK_SUBEXP_OPEN; tok 3468 regparse.c tok->type = TK_SUBEXP_CLOSE; tok 3473 regparse.c tok->type = TK_CHAR_TYPE; tok 3474 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_WORD; tok 3475 regparse.c tok->u.prop.not = 0; tok 3480 regparse.c tok->type = TK_CHAR_TYPE; tok 3481 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_WORD; tok 3482 regparse.c tok->u.prop.not = 1; tok 3487 regparse.c tok->type = TK_ANCHOR; tok 3488 regparse.c tok->u.anchor.subtype = ANCHOR_WORD_BOUND; tok 3489 regparse.c tok->u.anchor.ascii_range = IS_ASCII_RANGE(env->option) tok 3495 regparse.c tok->type = TK_ANCHOR; tok 3496 regparse.c tok->u.anchor.subtype = ANCHOR_NOT_WORD_BOUND; tok 3497 regparse.c tok->u.anchor.ascii_range = IS_ASCII_RANGE(env->option) tok 3504 regparse.c tok->type = TK_ANCHOR; tok 3505 regparse.c tok->u.anchor.subtype = ANCHOR_WORD_BEGIN; tok 3506 regparse.c tok->u.anchor.ascii_range = IS_ASCII_RANGE(env->option); tok 3511 regparse.c tok->type = TK_ANCHOR; tok 3512 regparse.c tok->u.anchor.subtype = ANCHOR_WORD_END; tok 3513 regparse.c tok->u.anchor.ascii_range = IS_ASCII_RANGE(env->option); tok 3519 regparse.c tok->type = TK_CHAR_TYPE; tok 3520 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_SPACE; tok 3521 regparse.c tok->u.prop.not = 0; tok 3526 regparse.c tok->type = TK_CHAR_TYPE; tok 3527 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_SPACE; tok 3528 regparse.c tok->u.prop.not = 1; tok 3533 regparse.c tok->type = TK_CHAR_TYPE; tok 3534 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_DIGIT; tok 3535 regparse.c tok->u.prop.not = 0; tok 3540 regparse.c tok->type = TK_CHAR_TYPE; tok 3541 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_DIGIT; tok 3542 regparse.c tok->u.prop.not = 1; tok 3547 regparse.c tok->type = TK_CHAR_TYPE; tok 3548 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_XDIGIT; tok 3549 regparse.c tok->u.prop.not = 0; tok 3554 regparse.c tok->type = TK_CHAR_TYPE; tok 3555 regparse.c tok->u.prop.ctype = ONIGENC_CTYPE_XDIGIT; tok 3556 regparse.c tok->u.prop.not = 1; tok 3562 regparse.c tok->type = TK_ANCHOR; tok 3563 regparse.c tok->u.anchor.subtype = ANCHOR_BEGIN_BUF; tok 3568 regparse.c tok->type = TK_ANCHOR; tok 3569 regparse.c tok->u.anchor.subtype = ANCHOR_SEMI_END_BUF; tok 3575 regparse.c tok->type = TK_ANCHOR; tok 3576 regparse.c tok->u.anchor.subtype = ANCHOR_END_BUF; tok 3581 regparse.c tok->type = TK_ANCHOR; tok 3582 regparse.c tok->u.anchor.subtype = ANCHOR_BEGIN_POSITION; tok 3610 regparse.c tok->type = TK_CODE_POINT; tok 3611 regparse.c tok->u.code = (OnigCodePoint )num; tok 3624 regparse.c tok->type = TK_RAW_BYTE; tok 3625 regparse.c tok->base = 16; tok 3626 regparse.c tok->u.c = num; tok 3641 regparse.c tok->type = TK_CODE_POINT; tok 3642 regparse.c tok->base = 16; tok 3643 regparse.c tok->u.code = (OnigCodePoint )num; tok 3663 regparse.c tok->type = TK_BACKREF; tok 3664 regparse.c tok->u.backref.num = 1; tok 3665 regparse.c tok->u.backref.ref1 = num; tok 3666 regparse.c tok->u.backref.by_name = 0; tok 3668 regparse.c tok->u.backref.exist_level = 0; tok 3690 regparse.c tok->type = TK_RAW_BYTE; tok 3691 regparse.c tok->base = 8; tok 3692 regparse.c tok->u.c = num; tok 3704 regparse.c r = fetch_named_backref_token(c, tok, &p, end, env); tok 3721 regparse.c r = fetch_named_backref_token(c, tok, &p, end, env); tok 3755 regparse.c tok->type = TK_CALL; tok 3756 regparse.c tok->u.call.name = prev; tok 3757 regparse.c tok->u.call.name_end = name_end; tok 3758 regparse.c tok->u.call.gnum = gnum; tok 3759 regparse.c tok->u.call.rel = rel; tok 3772 regparse.c tok->type = TK_QUOTE_OPEN; tok 3781 regparse.c tok->type = TK_CHAR_PROPERTY; tok 3782 regparse.c tok->u.prop.not = (c == 'P' ? 1 : 0); tok 3787 regparse.c tok->u.prop.not = (tok->u.prop.not == 0 ? 1 : 0); tok 3800 regparse.c tok->type = TK_LINEBREAK; tok 3806 regparse.c tok->type = TK_EXTENDED_GRAPHEME_CLUSTER; tok 3812 regparse.c tok->type = TK_KEEP; tok 3821 regparse.c if (tok->u.c != num) { tok 3822 regparse.c tok->type = TK_CODE_POINT; tok 3823 regparse.c tok->u.code = (OnigCodePoint )num; tok 3826 regparse.c p = tok->backp + enclen(enc, tok->backp, end); tok 3832 regparse.c tok->u.c = c; tok 3833 regparse.c tok->escaped = 0; tok 3847 regparse.c tok->type = TK_ANYCHAR_ANYTIME; tok 3859 regparse.c tok->type = TK_ANYCHAR; tok 3867 regparse.c tok->type = TK_OP_REPEAT; tok 3868 regparse.c tok->u.repeat.lower = 0; tok 3869 regparse.c tok->u.repeat.upper = REPEAT_INFINITE; tok 3878 regparse.c tok->type = TK_OP_REPEAT; tok 3879 regparse.c tok->u.repeat.lower = 1; tok 3880 regparse.c tok->u.repeat.upper = REPEAT_INFINITE; tok 3889 regparse.c tok->type = TK_OP_REPEAT; tok 3890 regparse.c tok->u.repeat.lower = 0; tok 3891 regparse.c tok->u.repeat.upper = 1; tok 3897 regparse.c r = fetch_range_quantifier(&p, end, tok, env); tok 3911 regparse.c tok->type = TK_ALT; tok 3960 regparse.c tok->type = TK_CALL; tok 3961 regparse.c tok->u.call.name = name; tok 3962 regparse.c tok->u.call.name_end = name_end; tok 3963 regparse.c tok->u.call.gnum = gnum; tok 3964 regparse.c tok->u.call.rel = 0; tok 3984 regparse.c tok->type = TK_CALL; tok 3985 regparse.c tok->u.call.name = name; tok 3986 regparse.c tok->u.call.name_end = name_end; tok 3987 regparse.c tok->u.call.gnum = gnum; tok 3988 regparse.c tok->u.call.rel = 1; tok 4004 regparse.c r = fetch_named_backref_token((OnigCodePoint )'(', tok, &p, end, env); tok 4013 regparse.c tok->type = TK_CALL; tok 4014 regparse.c tok->u.call.name = name; tok 4015 regparse.c tok->u.call.name_end = name_end; tok 4016 regparse.c tok->u.call.gnum = gnum; tok 4017 regparse.c tok->u.call.rel = 0; tok 4027 regparse.c tok->type = TK_SUBEXP_OPEN; tok 4032 regparse.c tok->type = TK_SUBEXP_CLOSE; tok 4037 regparse.c tok->type = TK_ANCHOR; tok 4038 regparse.c tok->u.anchor.subtype = (IS_SINGLELINE(env->option) tok 4044 regparse.c tok->type = TK_ANCHOR; tok 4045 regparse.c tok->u.anchor.subtype = (IS_SINGLELINE(env->option) tok 4051 regparse.c tok->type = TK_CC_OPEN; tok 4086 regparse.c return tok->type; tok 4419 regparse.c if (tok->u.prop.not != 0) NCCLASS_SET_NOT(cc); tok 4609 regparse.c r = fetch_token_in_cc(tok, src, end, env); tok 4610 regparse.c if (r == TK_CHAR && tok->u.c == '^' && tok->escaped == 0) { tok 4612 regparse.c r = fetch_token_in_cc(tok, src, end, env); tok 4625 regparse.c r = tok->type = TK_CHAR; /* allow []...] */ tok 4649 regparse.c if ((tok->u.code >= SINGLE_BYTE_SIZE) || tok 4650 regparse.c (len = ONIGENC_CODE_TO_MBCLEN(env->enc, tok->u.c)) > 1) { tok 4661 regparse.c v = (OnigCodePoint )tok->u.c; tok 4668 regparse.c if (! ONIGENC_IS_SINGLEBYTE(env->enc) && tok->base != 0) { tok 4672 regparse.c int i, base = tok->base; tok 4674 regparse.c buf[0] = (UChar )tok->u.c; tok 4676 regparse.c r = fetch_token_in_cc(tok, &p, end, env); tok 4678 regparse.c if (r != TK_RAW_BYTE || tok->base != base) { tok 4682 regparse.c buf[i] = (UChar )tok->u.c; tok 4698 regparse.c r = fetch_token_in_cc(tok, &p, end, env); tok 4713 regparse.c v = (OnigCodePoint )tok->u.c; tok 4722 regparse.c v = tok->u.code; tok 4742 regparse.c p = tok->backp; tok 4743 regparse.c v = (OnigCodePoint )tok->u.c; tok 4751 regparse.c r = add_ctype_to_cc(cc, tok->u.prop.ctype, tok->u.prop.not, tok 4755 regparse.c if (tok->u.prop.ctype != ONIGENC_CTYPE_WORD) tok 4756 regparse.c r = add_ctype_to_cc(asc_cc, tok->u.prop.ctype, tok->u.prop.not, tok 4772 regparse.c r = add_ctype_to_cc(cc, ctype, tok->u.prop.not, 0, env); tok 4776 regparse.c r = add_ctype_to_cc(asc_cc, ctype, tok->u.prop.not, 0, env); tok 4785 regparse.c r = fetch_token_in_cc(tok, &p, end, env); tok 4802 regparse.c v = (OnigCodePoint )tok->u.c; tok 4805 regparse.c r = fetch_token_in_cc(tok, &p, end, env); tok 4819 regparse.c r = fetch_token_in_cc(tok, &p, end, env); tok 4842 regparse.c r = parse_char_class(&anode, &aasc_node, tok, &p, end, env); tok 4903 regparse.c r = tok->type; tok 4905 regparse.c r = fetch_token_in_cc(tok, &p, end, env); tok 5004 regparse.c r = fetch_token(tok, &p, end, env); tok 5006 regparse.c r = parse_subexp(np, tok, term, &p, end, env); tok 5317 regparse.c r = fetch_token(tok, &p, end, env); tok 5319 regparse.c r = parse_subexp(&target, tok, term, &p, end, env); tok 5351 regparse.c r = fetch_token(tok, &p, end, env); tok 5353 regparse.c r = parse_subexp(&target, tok, term, &p, end, env); tok 5936 regparse.c if (tok->type == (enum TokenSyms )term) tok 5939 regparse.c switch (tok->type) { tok 5944 regparse.c return tok->type; tok 5948 regparse.c r = parse_enclose(np, tok, TK_SUBEXP_CLOSE, src, end, env); tok 5956 regparse.c r = fetch_token(tok, src, end, env); tok 5958 regparse.c r = parse_subexp(&target, tok, term, src, end, env); tok 5965 regparse.c return tok->type; tok 5973 regparse.c if (tok->escaped) goto tk_raw_byte; tok 5995 regparse.c *np = node_new_str(tok->backp, *src); tok 6000 regparse.c r = fetch_token(tok, src, end, env); tok 6003 regparse.c r = onig_node_str_cat(*np, tok->backp, *src); tok 6007 regparse.c r = node_str_cat_codepoint(*np, env->enc, tok->u.code); tok 6025 regparse.c *np = node_new_str_raw_char((UChar )tok->u.c); tok 6031 regparse.c r = fetch_token(tok, src, end, env); tok 6037 regparse.c r = fetch_token(tok, src, end, env); tok 6055 regparse.c r = node_str_cat_char(*np, (UChar )tok->u.c); tok 6067 regparse.c r = node_str_cat_codepoint(*np, env->enc, tok->u.code); tok 6097 regparse.c switch (tok->u.prop.ctype) { tok 6099 regparse.c *np = node_new_ctype(tok->u.prop.ctype, tok->u.prop.not, tok 6114 regparse.c r = ONIGENC_GET_CTYPE_CODE_RANGE(env->enc, tok->u.prop.ctype, tok 6124 regparse.c key.not = tok->u.prop.not; tok 6125 regparse.c key.type = tok->u.prop.ctype; tok 6145 regparse.c *np = node_new_cclass_by_codepoint_range(tok->u.prop.not, tok 6166 regparse.c r = add_ctype_to_cc(cc, tok->u.prop.ctype, 0, tok 6169 regparse.c if (tok->u.prop.not != 0) NCCLASS_SET_NOT(cc); tok 6184 regparse.c r = parse_char_property(np, tok, src, end, env); tok 6194 regparse.c r = parse_char_class(np, &asc_node, tok, src, end, env); tok 6236 regparse.c len = tok->u.backref.num; tok 6238 regparse.c (len > 1 ? tok->u.backref.refs : &(tok->u.backref.ref1)), tok 6239 regparse.c tok->u.backref.by_name, tok 6241 regparse.c tok->u.backref.exist_level, tok 6242 regparse.c tok->u.backref.level, tok 6251 regparse.c int gnum = tok->u.call.gnum; tok 6253 regparse.c if (gnum < 0 || tok->u.call.rel != 0) { tok 6259 regparse.c *np = node_new_call(tok->u.call.name, tok->u.call.name_end, gnum); tok 6267 regparse.c *np = onig_node_new_anchor(tok->u.anchor.subtype); tok 6269 regparse.c NANCHOR(*np)->ascii_range = tok->u.anchor.ascii_range; tok 6294 regparse.c r = fetch_token(tok, src, end, env); tok 6302 regparse.c qn = node_new_quantifier(tok->u.repeat.lower, tok->u.repeat.upper, tok 6305 regparse.c NQTFR(qn)->greedy = tok->u.repeat.greedy; tok 6312 regparse.c if (tok->u.repeat.possessive != 0) { tok 6359 regparse.c r = parse_exp(&node, tok, term, src, end, env); tok 6372 regparse.c r = parse_exp(&node, tok, term, src, end, env); tok 6402 regparse.c r = parse_branch(&node, tok, term, src, end, env); tok 6415 regparse.c r = fetch_token(tok, src, end, env); tok 6417 regparse.c r = parse_branch(&node, tok, term, src, end, env); tok 6427 regparse.c if (tok->type != (enum TokenSyms )term) tok 6446 regparse.c OnigToken tok; tok 6448 regparse.c r = fetch_token(&tok, src, end, env); tok 6450 regparse.c r = parse_subexp(top, &tok, TK_EOT, src, end, env);