Lines Matching defs:token_type

20 enum token_type {
302 enum token_type token_type : 8;
435 tokens[tix++].token_type = TOKEN_ELEMENT_NAME;
447 tokens[tix++].token_type = dir - directives;
451 tokens[tix++].token_type = TOKEN_TYPE_NAME;
470 tokens[tix++].token_type = TOKEN_NUMBER;
479 tokens[tix++].token_type = TOKEN_ASSIGNMENT;
489 tokens[tix++].token_type = TOKEN_OPEN_ACTION;
496 tokens[tix++].token_type = TOKEN_CLOSE_ACTION;
507 tokens[tix++].token_type = TOKEN_OPEN_CURLY;
512 tokens[tix++].token_type = TOKEN_CLOSE_CURLY;
517 tokens[tix++].token_type = TOKEN_OPEN_SQUARE;
522 tokens[tix++].token_type = TOKEN_CLOSE_SQUARE;
527 tokens[tix++].token_type = TOKEN_COMMA;
753 if (token_list[n + 0].token_type == TOKEN_TYPE_NAME &&
754 token_list[n + 1].token_type == TOKEN_ASSIGNMENT)
777 if (token_list[n + 0].token_type == TOKEN_TYPE_NAME &&
778 token_list[n + 1].token_type == TOKEN_ASSIGNMENT) {
814 if (cursor[0].token_type != TOKEN_TYPE_NAME ||
815 cursor[1].token_type != TOKEN_ASSIGNMENT)
866 element->tag = token_to_tag[cursor->token_type];
870 if (cursor->token_type == TOKEN_OPEN_SQUARE) {
874 switch (cursor->token_type) {
898 if (cursor->token_type != TOKEN_NUMBER) {
913 if (cursor->token_type != TOKEN_CLOSE_SQUARE) {
925 if (cursor->token_type == DIRECTIVE_IMPLICIT) {
931 } else if (cursor->token_type == DIRECTIVE_EXPLICIT) {
946 element->tag = token_to_tag[cursor->token_type];
952 switch (cursor->token_type) {
995 if (cursor->token_type != DIRECTIVE_STRING)
1005 if (cursor->token_type != DIRECTIVE_IDENTIFIER)
1036 if (cursor->token_type == DIRECTIVE_OF) {
1053 if (cursor->token_type == DIRECTIVE_OF) {
1071 if (cursor < end && (cursor->token_type == DIRECTIVE_OPTIONAL ||
1072 cursor->token_type == DIRECTIVE_DEFAULT)
1078 if (cursor < end && cursor->token_type == TOKEN_OPEN_ACTION) {
1082 if (cursor->token_type != TOKEN_ELEMENT_NAME) {
1123 if (cursor->token_type != TOKEN_CLOSE_ACTION) {
1153 if (cursor->token_type != TOKEN_OPEN_CURLY) {
1162 if (cursor->token_type == TOKEN_OPEN_CURLY) {
1170 if (cursor->token_type == TOKEN_ELEMENT_NAME) {
1186 if (cursor->token_type != TOKEN_COMMA)
1195 if (cursor->token_type != TOKEN_CLOSE_CURLY) {