Lines Matching refs:token_class

88 		zval *return_value, zend_string *source, zend_long flags, zend_class_entry *token_class);
94 zend_class_entry *token_class; in PHP_METHOD() local
102 token_class = zend_get_called_scope(execute_data); in PHP_METHOD()
105 if (token_class->ce_flags & ZEND_ACC_EXPLICIT_ABSTRACT_CLASS) { in PHP_METHOD()
106 zend_throw_error(NULL, "Cannot instantiate abstract class %s", ZSTR_VAL(token_class->name)); in PHP_METHOD()
109 if (zend_update_class_constants(token_class) == FAILURE) { in PHP_METHOD()
113 if (!tokenize_common(return_value, source, flags, token_class)) { in PHP_METHOD()
284 zend_class_entry *token_class, HashTable *interned_strings) { in add_token() argument
286 if (token_class) { in add_token()
287 zend_object *obj = zend_objects_new(token_class); in add_token()
295 if (UNEXPECTED(token_class->default_properties_count > 4)) { in add_token()
297 zval *src = &token_class->default_properties_table[4]; in add_token()
298 zval *end = token_class->default_properties_table in add_token()
299 + token_class->default_properties_count; in add_token()
321 static bool tokenize(zval *return_value, zend_string *source, zend_class_entry *token_class) in tokenize() argument
345 token_class, &interned_strings); in tokenize()
362 token_line, token_class, &interned_strings); in tokenize()
387 zend_class_entry *token_class; member
428 ctx->tokens, token, (unsigned char *) text, length, line, ctx->token_class, NULL); in on_event()
447 ctx->token_class, NULL); in on_event()
454 zval *return_value, zend_string *source, zend_class_entry *token_class) in tokenize_parse() argument
473 ctx.token_class = token_class; in tokenize_parse()
500 zval *return_value, zend_string *source, zend_long flags, zend_class_entry *token_class) in tokenize_common() argument
503 return tokenize_parse(return_value, source, token_class); in tokenize_common()
505 int success = tokenize(return_value, source, token_class); in tokenize_common()