mirror of
https://gitee.com/BDWare/genparser
synced 2025-04-27 06:22:17 +00:00
update syntax tree
This commit is contained in:
parent
309a60e561
commit
645f863d7b
@ -168,6 +168,7 @@ Import: 'import';
|
||||
Contract: 'contract';
|
||||
Module: 'module';
|
||||
Oracle: 'oracle';
|
||||
DoipModule: 'doipmodule';
|
||||
/// The following tokens are also considered to be FutureReservedWords
|
||||
/// when parsing strict mode
|
||||
|
||||
|
@ -38,7 +38,7 @@ program
|
||||
;
|
||||
|
||||
contractDeclar
|
||||
: annotations? (Contract|Module|Oracle) Identifier '{' clzOrFunctionDeclaration+ '}'
|
||||
: annotations? (Contract|Module|Oracle|DoipModule) Identifier '{' clzOrFunctionDeclaration+ '}'
|
||||
;
|
||||
|
||||
annotations
|
||||
|
Loading…
x
Reference in New Issue
Block a user