summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tokenizer_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tokenizer/tokenizer_arginfo.h')
-rw-r--r--ext/tokenizer/tokenizer_arginfo.h37
1 files changed, 36 insertions, 1 deletions
diff --git a/ext/tokenizer/tokenizer_arginfo.h b/ext/tokenizer/tokenizer_arginfo.h
index 01d37d406e..4b1aac3824 100644
--- a/ext/tokenizer/tokenizer_arginfo.h
+++ b/ext/tokenizer/tokenizer_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: a06da9ea0191ed78ee7af8f0d9eaccb17dfa4b20 */
+ * Stub hash: 60b4c809624eb4c1ef610e5c5820acfc87f6b07f */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_token_get_all, 0, 1, IS_ARRAY, 0)
ZEND_ARG_TYPE_INFO(0, code, IS_STRING, 0)
@@ -59,3 +59,38 @@ static const zend_function_entry class_PhpToken_methods[] = {
ZEND_ME(PhpToken, __toString, arginfo_class_PhpToken___toString, ZEND_ACC_PUBLIC)
ZEND_FE_END
};
+
+static zend_class_entry *register_class_PhpToken(zend_class_entry *class_entry_Stringable)
+{
+ zend_class_entry ce, *class_entry;
+
+ INIT_CLASS_ENTRY(ce, "PhpToken", class_PhpToken_methods);
+ class_entry = zend_register_internal_class_ex(&ce, NULL);
+ zend_class_implements(class_entry, 1, class_entry_Stringable);
+
+ zval property_id_default_value;
+ ZVAL_UNDEF(&property_id_default_value);
+ zend_string *property_id_name = zend_string_init("id", sizeof("id") - 1, 1);
+ zend_declare_typed_property(class_entry, property_id_name, &property_id_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
+ zend_string_release(property_id_name);
+
+ zval property_text_default_value;
+ ZVAL_UNDEF(&property_text_default_value);
+ zend_string *property_text_name = zend_string_init("text", sizeof("text") - 1, 1);
+ zend_declare_typed_property(class_entry, property_text_name, &property_text_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
+ zend_string_release(property_text_name);
+
+ zval property_line_default_value;
+ ZVAL_UNDEF(&property_line_default_value);
+ zend_string *property_line_name = zend_string_init("line", sizeof("line") - 1, 1);
+ zend_declare_typed_property(class_entry, property_line_name, &property_line_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
+ zend_string_release(property_line_name);
+
+ zval property_pos_default_value;
+ ZVAL_UNDEF(&property_pos_default_value);
+ zend_string *property_pos_name = zend_string_init("pos", sizeof("pos") - 1, 1);
+ zend_declare_typed_property(class_entry, property_pos_name, &property_pos_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
+ zend_string_release(property_pos_name);
+
+ return class_entry;
+}