Home
last modified time | relevance | path

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

/PHP-7.2/Zend/
H A Dzend_highlight.c89 int token_type; in zend_highlight() local
97 while ((token_type=lex_scan(&token))) { in zend_highlight()
98 switch (token_type) { in zend_highlight()
151 switch (token_type) { in zend_highlight()
180 int token_type; in zend_strip() local
184 while ((token_type=lex_scan(&token))) { in zend_strip()
185 switch (token_type) { in zend_strip()
214 switch (token_type) { in zend_strip()
/PHP-7.2/ext/tokenizer/
H A Dtokenizer.c109 static void add_token(zval *return_value, int token_type, in add_token() argument
111 if (token_type >= 256) { in add_token()
114 add_next_index_long(&keyword, token_type); in add_token()
132 int token_type; in tokenize() local
148 while ((token_type = lex_scan(&token))) { in tokenize()
149 add_token(return_value, token_type, zendtext, zendleng, token_line); in tokenize()
158 if (token_type != T_WHITESPACE && token_type != T_OPEN_TAG in tokenize()
159 && token_type != T_COMMENT && token_type != T_DOC_COMMENT in tokenize()
169 } else if (token_type == T_HALT_COMPILER) { in tokenize()
H A Dphp_tokenizer.h35 char *get_token_type_name(int token_type);
H A Dtokenizer_data.c168 char *get_token_type_name(int token_type) in get_token_type_name() argument
170 switch (token_type) { in get_token_type_name()

Completed in 10 milliseconds