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()
141 switch (token_type) { in zend_highlight()
169 int token_type; in zend_strip() local
172 while ((token_type=lex_scan(&token, NULL))) { in zend_strip()
173 switch (token_type) { in zend_strip()
202 switch (token_type) { in zend_strip()
/php-src/ext/tokenizer/
H A Dtokenizer.c284 zval *return_value, int token_type, unsigned char *text, size_t leng, int lineno, in add_token() argument
290 ZVAL_LONG(OBJ_PROP_NUM(obj, 0), token_type); in add_token()
305 } else if (token_type >= 256) { in add_token()
309 ZEND_HASH_FILL_SET_LONG(token_type); in add_token()
327 int token_type; in tokenize() local
341 while ((token_type = lex_scan(&token, NULL))) { in tokenize()
342 ZEND_ASSERT(token_type != T_ERROR); in tokenize()
345 return_value, token_type, zendtext, zendleng, token_line, in tokenize()
355 if (token_type != T_WHITESPACE && token_type != T_OPEN_TAG in tokenize()
356 && 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.c26 char *get_token_type_name(int token_type) in get_token_type_name() argument
28 switch (token_type) { in get_token_type_name()

Completed in 22 milliseconds