mirror of
https://gitee.com/BDWare/genparser
synced 2026-02-14 13:39:25 +00:00
feat: update event mechanism
add event type local and global, clients have to use contractID and topic to subscribe local event; allow clients to subscribe topics (will not be recorded)
This commit is contained in:
@@ -138,15 +138,20 @@ Throw: 'throw';
|
||||
Delete: 'delete';
|
||||
In: 'in';
|
||||
Try: 'try';
|
||||
Event: 'event';
|
||||
AtToken: '@';
|
||||
Event: 'event';
|
||||
AtToken: '@';
|
||||
|
||||
/// Event Semantics
|
||||
|
||||
AtLeastOnce: 'AT_LEAST_ONCE';
|
||||
AtLeastOnce: 'AT_LEAST_ONCE';
|
||||
AtMostOnce: 'AT_MOST_ONCE';
|
||||
OnlyOnce: 'ONLY_ONCE';
|
||||
|
||||
// Event Global or Local
|
||||
|
||||
Global: 'global';
|
||||
Local: 'local';
|
||||
|
||||
/// Future Reserved Words
|
||||
|
||||
Class: 'class';
|
||||
|
||||
Reference in New Issue
Block a user