Home
last modified time | relevance | path

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

/PHP-7.3/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.3/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()
130 int token_type; in tokenize() local
145 while ((token_type = lex_scan(&token, NULL))) { in tokenize()
146 add_token(return_value, token_type, zendtext, zendleng, token_line); in tokenize()
155 if (token_type != T_WHITESPACE && token_type != T_OPEN_TAG in tokenize()
156 && token_type != T_COMMENT && token_type != T_DOC_COMMENT in tokenize()
166 } 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.c166 char *get_token_type_name(int token_type) in get_token_type_name() argument
168 switch (token_type) { in get_token_type_name()

Completed in 10 milliseconds