Add type declarations
For now, simplified to type aliases only.
This commit is contained in:
parent
e898312c95
commit
506fab8896
5 changed files with 2004 additions and 1701 deletions
|
|
@ -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
|
||||
================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue