Add type declarations

For now, simplified to type aliases only.
This commit is contained in:
Bruno BELANYI 2022-06-01 20:52:20 +02:00
parent e898312c95
commit 506fab8896
5 changed files with 2004 additions and 1701 deletions

View file

@ -6,6 +6,20 @@ Empty declarations
(source_file)
================================================================================
Type alias declaration
================================================================================
type alias = int
--------------------------------------------------------------------------------
(source_file
(type_declaration
name: (identifier)
value: (type_alias
(identifier))))
================================================================================
Function declaration
================================================================================