mirror of
https://gitee.com/BDWare/genparser
synced 2026-02-14 13:39:25 +00:00
feat: add keyword of functions
add keyword "view" for functions, to record functions that don't change contract status after execution
This commit is contained in:
@@ -147,11 +147,15 @@ AtLeastOnce: 'AT_LEAST_ONCE';
|
||||
AtMostOnce: 'AT_MOST_ONCE';
|
||||
OnlyOnce: 'ONLY_ONCE';
|
||||
|
||||
// Event Global or Local
|
||||
/// Event Global or Local
|
||||
|
||||
Global: 'global';
|
||||
Local: 'local';
|
||||
|
||||
/// Function Type
|
||||
|
||||
View: 'view';
|
||||
|
||||
/// Future Reserved Words
|
||||
|
||||
Class: 'class';
|
||||
|
||||
Reference in New Issue
Block a user