Lines Matching defs:type

116 				re_token_type_t type);
320 re_token_type_t type = dfa->nodes[node].type;
322 if (type == CHARACTER)
336 && dfa->nodes[node].type == CHARACTER
348 else if (type == SIMPLE_BRACKET)
361 else if (type == COMPLEX_BRACKET)
426 else if (type == OP_PERIOD
428 || type == OP_UTF8_PERIOD
430 || type == END_OF_RE)
433 if (type == END_OF_RE)
1009 re_token_type_t type = dfa->nodes[node_idx].type;
1012 if (type != OP_BACK_REF)
1018 if (clexp_node->type == OP_CLOSE_SUBEXP
1025 if (type == OP_BACK_REF)
1081 switch (dfa->nodes[node].type)
1135 if (dfa->nodes[node].type == CHARACTER
1138 else if (dfa->nodes[node].type == OP_PERIOD)
1139 dfa->nodes[node].type = OP_UTF8_PERIOD;
1286 if (node->token.type == OP_BACK_REF && dfa->subexp_map)
1293 else if (node->token.type == SUBEXP
1294 && node->left && node->left->token.type == SUBEXP)
1318 if (node->left && node->left->token.type == SUBEXP)
1324 if (node->right && node->right->token.type == SUBEXP)
1375 if (node->token.type == CONCAT)
1386 if (node->token.type == ANCHOR)
1396 switch (node->token.type)
1423 switch (node->token.type)
1459 if (node->token.type == OP_BACK_REF)
1464 assert (!IS_EPSILON_NODE (node->token.type));
1487 if (dfa->nodes[org_node].type == OP_BACK_REF)
1716 if (IS_EPSILON_NODE(dfa->nodes[node].type))
1787 token->type = END_OF_RE;
1800 token->type = CHARACTER;
1810 token->type = BACK_SLASH;
1816 token->type = CHARACTER;
1832 token->type = OP_ALT;
1838 token->type = OP_BACK_REF;
1845 token->type = ANCHOR;
1852 token->type = ANCHOR;
1859 token->type = ANCHOR;
1866 token->type = ANCHOR;
1872 token->type = OP_WORD;
1876 token->type = OP_NOTWORD;
1880 token->type = OP_SPACE;
1884 token->type = OP_NOTSPACE;
1889 token->type = ANCHOR;
1896 token->type = ANCHOR;
1902 token->type = OP_OPEN_SUBEXP;
1906 token->type = OP_CLOSE_SUBEXP;
1910 token->type = OP_DUP_PLUS;
1914 token->type = OP_DUP_QUESTION;
1918 token->type = OP_OPEN_DUP_NUM;
1922 token->type = OP_CLOSE_DUP_NUM;
1930 token->type = CHARACTER;
1945 token->type = OP_ALT;
1949 token->type = OP_ALT;
1952 token->type = OP_DUP_ASTERISK;
1956 token->type = OP_DUP_PLUS;
1960 token->type = OP_DUP_QUESTION;
1964 token->type = OP_OPEN_DUP_NUM;
1968 token->type = OP_CLOSE_DUP_NUM;
1972 token->type = OP_OPEN_SUBEXP;
1976 token->type = OP_CLOSE_SUBEXP;
1979 token->type = OP_OPEN_BRACKET;
1982 token->type = OP_PERIOD;
1992 token->type = ANCHOR;
2003 if (next.type != OP_ALT && next.type != OP_CLOSE_SUBEXP)
2006 token->type = ANCHOR;
2025 token->type = END_OF_RE;
2035 token->type = CHARACTER;
2048 token->type = CHARACTER;
2064 token->type = OP_OPEN_COLL_ELEM;
2067 token->type = OP_OPEN_EQUIV_CLASS;
2072 token->type = OP_OPEN_CHAR_CLASS;
2077 token->type = CHARACTER;
2087 token->type = OP_CHARSET_RANGE;
2090 token->type = OP_CLOSE_BRACKET;
2093 token->type = OP_NON_MATCH_LIST;
2096 token->type = CHARACTER;
2160 while (token->type == OP_ALT)
2163 if (token->type != OP_ALT && token->type != END_OF_RE
2164 && (nest == 0 || token->type != OP_CLOSE_SUBEXP))
2201 while (token->type != OP_ALT && token->type != END_OF_RE
2202 && (nest == 0 || token->type != OP_CLOSE_SUBEXP))
2237 switch (token->type)
2313 if ((token->type == OP_CLOSE_SUBEXP) &&
2324 token->type = CHARACTER;
2393 token->type == OP_NOTWORD, err);
2402 token->type == OP_NOTSPACE, err);
2421 while (token->type == OP_DUP_ASTERISK || token->type == OP_DUP_PLUS
2422 || token->type == OP_DUP_QUESTION || token->type == OP_OPEN_DUP_NUM)
2429 && (token->type == OP_DUP_ASTERISK
2430 || token->type == OP_OPEN_DUP_NUM))
2459 if (token->type == OP_CLOSE_SUBEXP)
2464 if (BE (*err == REG_NOERROR && token->type != OP_CLOSE_SUBEXP, 0))
2493 if (token->type == OP_OPEN_DUP_NUM)
2499 if (token->type == CHARACTER && token->opr.c == ',')
2510 end = ((token->type == OP_CLOSE_DUP_NUM) ? start
2511 : ((token->type == CHARACTER && token->opr.c == ',')
2519 if (token->type == END_OF_RE)
2530 token->type = CHARACTER;
2537 || token->type != OP_CLOSE_DUP_NUM, 0))
2546 start = (token->type == OP_DUP_PLUS) ? 1 : 0;
2547 end = (token->type == OP_DUP_QUESTION) ? 1 : REG_MISSING;
2582 if (elem->token.type == SUBEXP)
2591 True if the arithmetic type T is signed. */
2650 if (BE (start_elem->type == EQUIV_CLASS || start_elem->type == CHAR_CLASS
2651 || end_elem->type == EQUIV_CLASS || end_elem->type == CHAR_CLASS,
2657 if (BE ((start_elem->type == COLL_SYM
2659 || (end_elem->type == COLL_SYM
2670 start_ch = ((start_elem->type == SB_CHAR) ? start_elem->opr.ch
2671 : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0]
2673 end_ch = ((end_elem->type == SB_CHAR) ? end_elem->opr.ch
2674 : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0]
2676 start_wc = ((start_elem->type == SB_CHAR || start_elem->type == COLL_SYM)
2678 end_wc = ((end_elem->type == SB_CHAR || end_elem->type == COLL_SYM)
2736 start_ch = ((start_elem->type == SB_CHAR ) ? start_elem->opr.ch
2737 : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0]
2739 end_ch = ((end_elem->type == SB_CHAR ) ? end_elem->opr.ch
2740 : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0]
2842 if (br_elem->type == SB_CHAR)
2855 else if (br_elem->type == MB_CHAR)
2860 else if (br_elem->type == COLL_SYM)
2920 if (BE (start_elem->type == EQUIV_CLASS || start_elem->type == CHAR_CLASS
2921 || end_elem->type == EQUIV_CLASS || end_elem->type == CHAR_CLASS,
3100 if (BE (token->type == END_OF_RE, 0))
3105 if (token->type == OP_NON_MATCH_LIST)
3115 if (BE (token->type == END_OF_RE, 0))
3123 if (token->type == OP_CLOSE_BRACKET)
3124 token->type = CHARACTER;
3150 if (start_elem.type != CHAR_CLASS && start_elem.type != EQUIV_CLASS)
3152 if (BE (token->type == END_OF_RE, 0))
3157 if (token->type == OP_CHARSET_RANGE)
3161 if (BE (token2.type == END_OF_RE, 0))
3166 if (token2.type == OP_CLOSE_BRACKET)
3170 token->type = CHARACTER;
3207 switch (start_elem.type)
3263 if (BE (token->type == END_OF_RE, 0))
3268 if (token->type == OP_CLOSE_BRACKET)
3291 br_token.type = COMPLEX_BRACKET;
3304 br_token.type = SIMPLE_BRACKET;
3329 br_token.type = SIMPLE_BRACKET;
3360 elem->type = MB_CHAR;
3367 if (token->type == OP_OPEN_COLL_ELEM || token->type == OP_OPEN_CHAR_CLASS
3368 || token->type == OP_OPEN_EQUIV_CLASS)
3370 if (BE (token->type == OP_CHARSET_RANGE, 0) && !accept_hyphen)
3376 if (token2.type != OP_CLOSE_BRACKET)
3381 elem->type = SB_CHAR;
3402 if (token->type == OP_OPEN_CHAR_CLASS)
3414 switch (token->type)
3417 elem->type = COLL_SYM;
3420 elem->type = EQUIV_CLASS;
3423 elem->type = CHAR_CLASS;
3690 br_token.type = SIMPLE_BRACKET;
3701 br_token.type = COMPLEX_BRACKET;
3744 if (BE (token->type == END_OF_RE, 0))
3746 if (token->type == OP_CLOSE_DUP_NUM || c == ',')
3748 num = ((token->type != CHARACTER || c < '0' || '9' < c
3781 re_token_type_t type)
3784 t.type = type;
3829 if (node->token.type == SUBEXP && node->token.opr.idx == idx)
3841 if (node->type == COMPLEX_BRACKET && node->duplicated == 0)
3845 if (node->type == SIMPLE_BRACKET && node->duplicated == 0)