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