Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_highlight.c81 int token_type; in zend_highlight() local
87 while ((token_type=lex_scan(&token, NULL))) { in zend_highlight()
88 switch (token_type) { in zend_highlight()
142 switch (token_type) { in zend_highlight()
170 int token_type; in zend_strip() local
173 while ((token_type=lex_scan(&token, NULL))) { in zend_strip()
174 switch (token_type) { in zend_strip()
203 switch (token_type) { in zend_strip()
/php-src/ext/tokenizer/
H A Dtokenizer.c283 zval *return_value, int token_type, unsigned char *text, size_t leng, int lineno, in add_token() argument
289 ZVAL_LONG(OBJ_PROP_NUM(obj, 0), token_type); in add_token()
304 } else if (token_type >= 256) { in add_token()
308 ZEND_HASH_FILL_SET_LONG(token_type); in add_token()
326 int token_type; in tokenize() local
340 while ((token_type = lex_scan(&token, NULL))) { in tokenize()
341 ZEND_ASSERT(token_type != T_ERROR); in tokenize()
344 return_value, token_type, zendtext, zendleng, token_line, in tokenize()
354 if (token_type != T_WHITESPACE && token_type != T_OPEN_TAG in tokenize()
355 && token_type != T_COMMENT && token_type != T_DOC_COMMENT in tokenize()
[all …]
H A Dphp_tokenizer.h32 char *get_token_type_name(int token_type);
H A Dtokenizer_data.c24 char *get_token_type_name(int token_type) in get_token_type_name() argument
26 switch (token_type) { in get_token_type_name()

Completed in 8 milliseconds