Skip to content

Commit

Permalink
Add serialization stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Sep 29, 2024
1 parent a266420 commit e9cda57
Show file tree
Hide file tree
Showing 37 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
O:31:"TypeLang\Parser\Node\Identifier":2:{i:0;i:0;i:1;s:4:"Some";}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
O:44:"TypeLang\Parser\Node\Literal\NullLiteralNode":2:{s:6:"offset";i:0;s:3:"raw";s:4:"NulL";}
Original file line number Diff line number Diff line change
@@ -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";}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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";}}}
Original file line number Diff line number Diff line change
@@ -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";}}}
Original file line number Diff line number Diff line change
@@ -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;}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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;}}}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}}
Original file line number Diff line number Diff line change
@@ -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";}}}}
Original file line number Diff line number Diff line change
@@ -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";}}}}
Original file line number Diff line number Diff line change
@@ -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";}}}}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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_";}}}}
Original file line number Diff line number Diff line change
@@ -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;}}}
Original file line number Diff line number Diff line change
@@ -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;}}
Original file line number Diff line number Diff line change
@@ -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;}}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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";}}
Original file line number Diff line number Diff line change
@@ -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;}}
Original file line number Diff line number Diff line change
@@ -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";}}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}
Original file line number Diff line number Diff line change
@@ -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;}}}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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;}}
Original file line number Diff line number Diff line change
@@ -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;}}}

0 comments on commit e9cda57

Please sign in to comment.