type anno EBNF
This commit is contained in:
parent
deab74b992
commit
a6b336d84c
@ -290,6 +290,8 @@ func_declaration := FN identifier LParen param_list RParen
|
|||||||
|
|
||||||
param_list := (identifier type_anno+ Comma)*
|
param_list := (identifier type_anno+ Comma)*
|
||||||
|
|
||||||
|
type_anno := Colon type
|
||||||
|
|
||||||
expression := primary
|
expression := primary
|
||||||
primary := literal
|
primary := literal
|
||||||
literal := TRUE | FALSE | number_literal | str_literal
|
literal := TRUE | FALSE | number_literal | str_literal
|
||||||
|
Loading…
Reference in New Issue
Block a user