Searched refs:on_event (Results 1 – 6 of 6) sorted by relevance
/PHP-7.2/ext/tokenizer/ |
H A D | tokenizer.c | 187 void on_event(zend_php_scanner_event event, int token, int line, void *context) in on_event() function 234 LANG_SCNG(on_event) = on_event; in tokenize_parse()
|
/PHP-7.2/Zend/ |
H A D | zend_language_scanner.h | 54 void (*on_event)(zend_php_scanner_event event, int token, int line, void *context); member
|
H A D | zend_language_scanner.l | 197 SCNG(on_event) = NULL; in shutdown_scanner() 228 lex_state->on_event = SCNG(on_event); in zend_save_lexical_state() 268 SCNG(on_event) = lex_state->on_event; in zend_restore_lexical_state() 289 if (SCNG(on_event)) { in zend_lex_tstring() 290 SCNG(on_event)(ON_FEEDBACK, T_STRING, 0, SCNG(on_event_context)); in zend_lex_tstring() 1091 if (SCNG(on_event)) { in emit_token() 1092 SCNG(on_event)(ON_TOKEN, token, token_line, SCNG(on_event_context)); in emit_token() local
|
H A D | zend_globals.h | 294 void (*on_event)(zend_php_scanner_event event, int token, int line, void *context); member
|
H A D | zend_language_scanner.c | 200 SCNG(on_event) = NULL; in shutdown_scanner() 231 lex_state->on_event = SCNG(on_event); in zend_save_lexical_state() 271 SCNG(on_event) = lex_state->on_event; in zend_restore_lexical_state() 292 if (SCNG(on_event)) { in zend_lex_tstring() 293 SCNG(on_event)(ON_FEEDBACK, T_STRING, 0, SCNG(on_event_context)); in zend_lex_tstring() 1094 if (SCNG(on_event)) { in emit_token() 1095 SCNG(on_event)(ON_TOKEN, token, token_line, SCNG(on_event_context)); in emit_token() local
|
H A D | zend_compile.c | 605 if (LANG_SCNG(on_event)) { in zend_stop_lexing() 606 LANG_SCNG(on_event)(ON_STOP, END, 0, LANG_SCNG(on_event_context)); in zend_stop_lexing()
|
Completed in 39 milliseconds