Lines Matching refs:token_class

89 		zval *return_value, zend_string *source, zend_long flags, zend_class_entry *token_class);
95 zend_class_entry *token_class; in PHP_METHOD() local
103 token_class = zend_get_called_scope(execute_data); in PHP_METHOD()
106 if (token_class->ce_flags & ZEND_ACC_EXPLICIT_ABSTRACT_CLASS) { in PHP_METHOD()
107 zend_throw_error(NULL, "Cannot instantiate abstract class %s", ZSTR_VAL(token_class->name)); in PHP_METHOD()
110 if (zend_update_class_constants(token_class) == FAILURE) { in PHP_METHOD()
114 if (!tokenize_common(return_value, source, flags, token_class)) { in PHP_METHOD()
285 zend_class_entry *token_class, HashTable *interned_strings) { in add_token() argument
287 if (token_class) { in add_token()
288 zend_object *obj = zend_objects_new(token_class); in add_token()
296 if (UNEXPECTED(token_class->default_properties_count > 4)) { in add_token()
298 zval *src = &token_class->default_properties_table[4]; in add_token()
299 zval *end = token_class->default_properties_table in add_token()
300 + token_class->default_properties_count; in add_token()
322 static bool tokenize(zval *return_value, zend_string *source, zend_class_entry *token_class) in tokenize() argument
346 token_class, &interned_strings); in tokenize()
363 token_line, token_class, &interned_strings); in tokenize()
388 zend_class_entry *token_class; member
429 ctx->tokens, token, (unsigned char *) text, length, line, ctx->token_class, NULL); in on_event()
448 ctx->token_class, NULL); in on_event()
455 zval *return_value, zend_string *source, zend_class_entry *token_class) in tokenize_parse() argument
474 ctx.token_class = token_class; in tokenize_parse()
501 zval *return_value, zend_string *source, zend_long flags, zend_class_entry *token_class) in tokenize_common() argument
504 return tokenize_parse(return_value, source, token_class); in tokenize_common()
506 int success = tokenize(return_value, source, token_class); in tokenize_common()