Home
last modified time | relevance | path

Searched refs:token_type (Results 1 – 4 of 4) sorted by relevance

/PHP-7.4/Zend/
H A Dzend_highlight.c87 int token_type; in zend_highlight() local
94 while ((token_type=lex_scan(&token, NULL))) { in zend_highlight()
95 switch (token_type) { in zend_highlight()
148 switch (token_type) { in zend_highlight()
177 int token_type; in zend_strip() local
180 while ((token_type=lex_scan(&token, NULL))) { in zend_strip()
181 switch (token_type) { in zend_strip()
210 switch (token_type) { in zend_strip()
/PHP-7.4/ext/tokenizer/
H A Dtokenizer.c107 static void add_token(zval *return_value, int token_type, in add_token() argument
109 if (token_type >= 256) { in add_token()
112 add_next_index_long(&keyword, token_type); in add_token()
134 int token_type; in tokenize() local
149 while ((token_type = lex_scan(&token, NULL))) { in tokenize()
150 add_token(return_value, token_type, zendtext, zendleng, token_line); in tokenize()
159 if (token_type != T_WHITESPACE && token_type != T_OPEN_TAG in tokenize()
160 && token_type != T_COMMENT && token_type != T_DOC_COMMENT in tokenize()
170 } else if (token_type == T_HALT_COMPILER) { in tokenize()
H A Dphp_tokenizer.h33 char *get_token_type_name(int token_type);
H A Dtokenizer_data.c169 char *get_token_type_name(int token_type) in get_token_type_name() argument
171 switch (token_type) { in get_token_type_name()

Completed in 9 milliseconds