mirror of
https://gitee.com/BDWare/genparser
synced 2025-04-28 15:02:15 +00:00
fix: fix bugs in function declaration
fix definition of function declarations, allow keyword "view" to be null
This commit is contained in:
parent
df920d4cf1
commit
705d271e0c
@ -213,7 +213,7 @@ debuggerStatement
|
|||||||
;
|
;
|
||||||
|
|
||||||
functionDeclaration
|
functionDeclaration
|
||||||
: annotations? Export? Function Identifier '(' formalParameterList? ')' View '{' functionBody '}'
|
: annotations? Export? Function Identifier '(' formalParameterList? ')' View? '{' functionBody '}'
|
||||||
;
|
;
|
||||||
|
|
||||||
classDeclaration
|
classDeclaration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user