diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_identifier.195653c1.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_identifier.195653c1.txt new file mode 100644 index 0000000..7b5e3a4 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_identifier.195653c1.txt @@ -0,0 +1 @@ +O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Some";} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_boolliteralnode.c8ab6115.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_boolliteralnode.c8ab6115.txt new file mode 100644 index 0000000..ab23aa4 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_boolliteralnode.c8ab6115.txt @@ -0,0 +1 @@ +O:44:"TypeLang\Parser\Node\Literal\BoolLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:4:"true";s:5:"value";b:1;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_floatliteralnode.6f8f355e.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_floatliteralnode.6f8f355e.txt new file mode 100644 index 0000000..3658ac0 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_floatliteralnode.6f8f355e.txt @@ -0,0 +1 @@ +O:45:"TypeLang\Parser\Node\Literal\FloatLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:4:"0.42";s:5:"value";d:0.42;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_intliteralnode.04630b37.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_intliteralnode.04630b37.txt new file mode 100644 index 0000000..9f66b06 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_intliteralnode.04630b37.txt @@ -0,0 +1 @@ +O:43:"TypeLang\Parser\Node\Literal\IntLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:2:"42";s:5:"value";i:42;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_nullliteralnode.1e22df25.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_nullliteralnode.1e22df25.txt new file mode 100644 index 0000000..b3534d0 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_nullliteralnode.1e22df25.txt @@ -0,0 +1 @@ +O:44:"TypeLang\Parser\Node\Literal\NullLiteralNode":2:{s:6:"offset";i:0;s:3:"raw";s:4:"NulL";} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_stringliteralnode.8d9b84d9.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_stringliteralnode.8d9b84d9.txt new file mode 100644 index 0000000..d37e794 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_stringliteralnode.8d9b84d9.txt @@ -0,0 +1 @@ +O:46:"TypeLang\Parser\Node\Literal\StringLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:10:"0xDEADBEEF";s:5:"value";s:10:"0xDEADBEEF";} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_variableliteralnode.abe6d17e.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_variableliteralnode.abe6d17e.txt new file mode 100644 index 0000000..4cbc38a Binary files /dev/null and b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_literal_variableliteralnode.abe6d17e.txt differ diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_name.42065e00.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_name.42065e00.txt new file mode 100644 index 0000000..d400989 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_name.42065e00.txt @@ -0,0 +1 @@ +O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:2:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Some";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"Any";}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_name.b5fc52cd.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_name.b5fc52cd.txt new file mode 100644 index 0000000..d400989 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_name.b5fc52cd.txt @@ -0,0 +1 @@ +O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:2:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Some";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"Any";}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameternode.80810d7f.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameternode.80810d7f.txt new file mode 100644 index 0000000..44c174d --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameternode.80810d7f.txt @@ -0,0 +1 @@ +O:48:"TypeLang\Parser\Node\Stmt\Callable\ParameterNode":7:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:4:"name";N;s:6:"output";b:0;s:8:"variadic";b:0;s:8:"optional";b:0;s:10:"attributes";N;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameternode.e3e93774.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameternode.e3e93774.txt new file mode 100644 index 0000000..38555dc Binary files /dev/null and b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameternode.e3e93774.txt differ diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameterslistnode.86015acc.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameterslistnode.86015acc.txt new file mode 100644 index 0000000..34a8f2a --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callable_parameterslistnode.86015acc.txt @@ -0,0 +1 @@ +O:53:"TypeLang\Parser\Node\Stmt\Callable\ParametersListNode":2:{s:6:"offset";i:0;s:5:"items";a:1:{i:0;O:48:"TypeLang\Parser\Node\Stmt\Callable\ParameterNode":7:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:4:"name";N;s:6:"output";b:0;s:8:"variadic";b:0;s:8:"optional";b:0;s:10:"attributes";N;}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callabletypenode.26818717.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callabletypenode.26818717.txt new file mode 100644 index 0000000..f423ca4 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callabletypenode.26818717.txt @@ -0,0 +1 @@ +O:42:"TypeLang\Parser\Node\Stmt\CallableTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"foo";}}}s:10:"parameters";O:53:"TypeLang\Parser\Node\Stmt\Callable\ParametersListNode":2:{s:6:"offset";i:0;s:5:"items";a:1:{i:0;O:48:"TypeLang\Parser\Node\Stmt\Callable\ParameterNode":7:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:4:"name";N;s:6:"output";b:0;s:8:"variadic";b:0;s:8:"optional";b:0;s:10:"attributes";N;}}}s:4:"type";N;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callabletypenode.9c6b215b.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callabletypenode.9c6b215b.txt new file mode 100644 index 0000000..13bc5ec --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_callabletypenode.9c6b215b.txt @@ -0,0 +1 @@ +O:42:"TypeLang\Parser\Node\Stmt\CallableTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"foo";}}}s:10:"parameters";O:53:"TypeLang\Parser\Node\Stmt\Callable\ParametersListNode":2:{s:6:"offset";i:0;s:5:"items";a:1:{i:0;O:48:"TypeLang\Parser\Node\Stmt\Callable\ParameterNode":7:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:4:"name";N;s:6:"output";b:0;s:8:"variadic";b:0;s:8:"optional";b:0;s:10:"attributes";N;}}}s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"void";}}}s:9:"arguments";N;s:6:"fields";N;}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstmasknode.495d6b64.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstmasknode.495d6b64.txt new file mode 100644 index 0000000..86abf9d --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstmasknode.495d6b64.txt @@ -0,0 +1 @@ +O:44:"TypeLang\Parser\Node\Stmt\ClassConstMaskNode":3:{s:6:"offset";i:0;s:8:"constant";N;s:5:"class";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:3:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:7:"Example";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:5:"Class";}i:2;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Name";}}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstmasknode.6c3dd01c.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstmasknode.6c3dd01c.txt new file mode 100644 index 0000000..f7a84f4 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstmasknode.6c3dd01c.txt @@ -0,0 +1 @@ +O:44:"TypeLang\Parser\Node\Stmt\ClassConstMaskNode":3:{s:6:"offset";i:0;s:8:"constant";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:5:"SOME_";}s:5:"class";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:3:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:7:"Example";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:5:"Class";}i:2;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Name";}}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstnode.5ab0fa3d.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstnode.5ab0fa3d.txt new file mode 100644 index 0000000..5929b47 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_classconstnode.5ab0fa3d.txt @@ -0,0 +1 @@ +O:40:"TypeLang\Parser\Node\Stmt\ClassConstNode":3:{s:6:"offset";i:0;s:8:"constant";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:8:"CONSTANT";}s:5:"class";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:3:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:7:"Example";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:5:"Class";}i:2;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Name";}}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_condition_equalconditionnode.3b77761c.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_condition_equalconditionnode.3b77761c.txt new file mode 100644 index 0000000..c8d902b Binary files /dev/null and b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_condition_equalconditionnode.3b77761c.txt differ diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_condition_notequalconditionnode.b55cbf4d.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_condition_notequalconditionnode.b55cbf4d.txt new file mode 100644 index 0000000..7519d04 Binary files /dev/null and b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_condition_notequalconditionnode.b55cbf4d.txt differ diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_constmasknode.a987bd39.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_constmasknode.a987bd39.txt new file mode 100644 index 0000000..ef758c1 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_constmasknode.a987bd39.txt @@ -0,0 +1 @@ +O:39:"TypeLang\Parser\Node\Stmt\ConstMaskNode":2:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:3:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Some";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"Any";}i:2;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"CONST_";}}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_intersectiontypenode.e7400124.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_intersectiontypenode.e7400124.txt new file mode 100644 index 0000000..4d6b957 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_intersectiontypenode.e7400124.txt @@ -0,0 +1 @@ +O:46:"TypeLang\Parser\Node\Stmt\IntersectionTypeNode":2:{i:0;i:0;i:1;a:2:{i:0;O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}i:1;O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:5:"float";}}}s:9:"arguments";N;s:6:"fields";N;}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.480626c5.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.480626c5.txt new file mode 100644 index 0000000..5642c3b --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.480626c5.txt @@ -0,0 +1 @@ +O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";O:60:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentsListNode":2:{s:6:"offset";i:0;s:5:"items";a:2:{i:0;O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";N;s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;}i:1;O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:9:"covariant";}s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;}}}s:6:"fields";O:46:"TypeLang\Parser\Node\Stmt\Shape\FieldsListNode":3:{s:6:"offset";i:0;s:5:"items";a:4:{i:0;O:49:"TypeLang\Parser\Node\Stmt\Shape\ImplicitFieldNode":4:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;}i:1;O:46:"TypeLang\Parser\Node\Stmt\Shape\NamedFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}i:2;O:48:"TypeLang\Parser\Node\Stmt\Shape\NumericFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:43:"TypeLang\Parser\Node\Literal\IntLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:2:"42";s:5:"value";i:42;}}i:3;O:52:"TypeLang\Parser\Node\Stmt\Shape\StringNamedFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:46:"TypeLang\Parser\Node\Literal\StringLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:3:"key";s:5:"value";s:3:"key";}}}s:6:"sealed";b:0;}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.720bf4a8.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.720bf4a8.txt new file mode 100644 index 0000000..76cce6d --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.720bf4a8.txt @@ -0,0 +1 @@ +O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";O:46:"TypeLang\Parser\Node\Stmt\Shape\FieldsListNode":3:{s:6:"offset";i:0;s:5:"items";a:4:{i:0;O:49:"TypeLang\Parser\Node\Stmt\Shape\ImplicitFieldNode":4:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;}i:1;O:46:"TypeLang\Parser\Node\Stmt\Shape\NamedFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}i:2;O:48:"TypeLang\Parser\Node\Stmt\Shape\NumericFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:43:"TypeLang\Parser\Node\Literal\IntLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:2:"42";s:5:"value";i:42;}}i:3;O:52:"TypeLang\Parser\Node\Stmt\Shape\StringNamedFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:46:"TypeLang\Parser\Node\Literal\StringLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:3:"key";s:5:"value";s:3:"key";}}}s:6:"sealed";b:0;}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.a6561557.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.a6561557.txt new file mode 100644 index 0000000..c36f021 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.a6561557.txt @@ -0,0 +1 @@ +O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";O:60:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentsListNode":2:{s:6:"offset";i:0;s:5:"items";a:2:{i:0;O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";N;s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;}i:1;O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:9:"covariant";}s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;}}}s:6:"fields";N;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.b44ba13b.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.b44ba13b.txt new file mode 100644 index 0000000..5bf6007 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_namedtypenode.b44ba13b.txt @@ -0,0 +1 @@ +O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_nullabletypenode.1c482116.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_nullabletypenode.1c482116.txt new file mode 100644 index 0000000..ed7bc02 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_nullabletypenode.1c482116.txt @@ -0,0 +1 @@ +O:42:"TypeLang\Parser\Node\Stmt\NullableTypeNode":2:{i:0;i:0;i:1;O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_fieldslistnode.40dc9a24.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_fieldslistnode.40dc9a24.txt new file mode 100644 index 0000000..4e0541e --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_fieldslistnode.40dc9a24.txt @@ -0,0 +1 @@ +O:46:"TypeLang\Parser\Node\Stmt\Shape\FieldsListNode":3:{s:6:"offset";i:0;s:5:"items";a:1:{i:0;O:49:"TypeLang\Parser\Node\Stmt\Shape\ImplicitFieldNode":4:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;}}s:6:"sealed";b:0;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_implicitfieldnode.90fb6574.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_implicitfieldnode.90fb6574.txt new file mode 100644 index 0000000..846cd36 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_implicitfieldnode.90fb6574.txt @@ -0,0 +1 @@ +O:49:"TypeLang\Parser\Node\Stmt\Shape\ImplicitFieldNode":4:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_namedfieldnode.656f7886.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_namedfieldnode.656f7886.txt new file mode 100644 index 0000000..2977d3c --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_namedfieldnode.656f7886.txt @@ -0,0 +1 @@ +O:46:"TypeLang\Parser\Node\Stmt\Shape\NamedFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_numericfieldnode.2db6bb54.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_numericfieldnode.2db6bb54.txt new file mode 100644 index 0000000..db28bed --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_numericfieldnode.2db6bb54.txt @@ -0,0 +1 @@ +O:48:"TypeLang\Parser\Node\Stmt\Shape\NumericFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:43:"TypeLang\Parser\Node\Literal\IntLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:2:"42";s:5:"value";i:42;}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_stringnamedfieldnode.6fbfd30e.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_stringnamedfieldnode.6fbfd30e.txt new file mode 100644 index 0000000..c57a3ab --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_shape_stringnamedfieldnode.6fbfd30e.txt @@ -0,0 +1 @@ +O:52:"TypeLang\Parser\Node\Stmt\Shape\StringNamedFieldNode":5:{s:6:"offset";i:0;s:4:"type";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:6:"string";}}}s:9:"arguments";N;s:6:"fields";N;}s:8:"optional";b:1;s:10:"attributes";N;s:3:"key";O:46:"TypeLang\Parser\Node\Literal\StringLiteralNode":3:{s:6:"offset";i:0;s:3:"raw";s:3:"key";s:5:"value";s:3:"key";}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentnode.8470a668.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentnode.8470a668.txt new file mode 100644 index 0000000..32204b9 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentnode.8470a668.txt @@ -0,0 +1 @@ +O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"out";}s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:2:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"Any";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Test";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentnode.cb7f93c2.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentnode.cb7f93c2.txt new file mode 100644 index 0000000..32204b9 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentnode.cb7f93c2.txt @@ -0,0 +1 @@ +O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"out";}s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:2:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"Any";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Test";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentslistnode.ae3f52e7.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentslistnode.ae3f52e7.txt new file mode 100644 index 0000000..6a617f7 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_template_templateargumentslistnode.ae3f52e7.txt @@ -0,0 +1 @@ +O:60:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentsListNode":2:{s:6:"offset";i:0;s:5:"items";a:2:{i:0;O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";N;s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:2:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Some";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"Any";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;}i:1;O:55:"TypeLang\Parser\Node\Stmt\Template\TemplateArgumentNode":4:{s:6:"offset";i:0;s:4:"hint";O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:2:"in";}s:5:"value";O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:2:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"Any";}i:1;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Test";}}}s:9:"arguments";N;s:6:"fields";N;}s:10:"attributes";N;}}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_ternaryconditionnode.26b4d8ba.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_ternaryconditionnode.26b4d8ba.txt new file mode 100644 index 0000000..a4dba3e Binary files /dev/null and b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_ternaryconditionnode.26b4d8ba.txt differ diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_typeslistnode.381036f3.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_typeslistnode.381036f3.txt new file mode 100644 index 0000000..e5d35ee --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_typeslistnode.381036f3.txt @@ -0,0 +1 @@ +O:39:"TypeLang\Parser\Node\Stmt\TypesListNode":2:{i:0;i:0;i:1;O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}} \ No newline at end of file diff --git a/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_uniontypenode.5e0599b8.txt b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_uniontypenode.5e0599b8.txt new file mode 100644 index 0000000..58741a0 --- /dev/null +++ b/tests/Unit/Serialization/PhpSerializationTest/typelang_parser_node_stmt_uniontypenode.5e0599b8.txt @@ -0,0 +1 @@ +O:39:"TypeLang\Parser\Node\Stmt\UnionTypeNode":2:{i:0;i:0;i:1;a:2:{i:0;O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:3:"int";}}}s:9:"arguments";N;s:6:"fields";N;}i:1;O:39:"TypeLang\Parser\Node\Stmt\NamedTypeNode":4:{s:6:"offset";i:0;s:4:"name";O:25:"TypeLang\Parser\Node\Name":2:{i:0;i:0;i:1;a:1:{i:0;O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:5:"float";}}}s:9:"arguments";N;s:6:"fields";N;}}} \ No newline at end of file