Compile and dispatch authoritative acceptance hooks with target-specific package roots
This commit is contained in:
@@ -169,12 +169,16 @@ queryClause
|
||||
|
||||
packageOperationExport
|
||||
: OPERATION identifier typeParameters? ID stringLiteral COLON valueType ARROW valueType
|
||||
MODE operationMode executionClause? eventClause? RECEIVER receiverRequirement dependencyBlock? SEMI
|
||||
MODE operationMode executionClause? eventClause? RECEIVER receiverRequirement dependencyBlock? acceptanceClause? SEMI
|
||||
;
|
||||
|
||||
packageFunctionExport
|
||||
: FUNCTION identifier typeParameters? ID stringLiteral COLON valueType ARROW valueType
|
||||
executionClause? dependencyBlock? SEMI
|
||||
executionClause? dependencyBlock? acceptanceClause? SEMI
|
||||
;
|
||||
|
||||
acceptanceClause
|
||||
: ACCEPT USING identifier
|
||||
;
|
||||
|
||||
executionClause
|
||||
@@ -332,7 +336,11 @@ operationProvider
|
||||
: STATE identifier DOT statePrimitive
|
||||
| EDGE identifier DOT identifier DOT edgePrimitive
|
||||
| INTERFACE identifier typeArguments? DOT memberOperationRef
|
||||
| PACKAGE identifier DOT identifier typeArguments? dependencyBindingBlock?
|
||||
| PACKAGE identifier DOT identifier typeArguments? dependencyBindingBlock? acceptanceBinding?
|
||||
;
|
||||
|
||||
acceptanceBinding
|
||||
: ACCEPT dependencyBindingBlock
|
||||
;
|
||||
|
||||
statePrimitive
|
||||
@@ -528,6 +536,7 @@ EDGE: 'edge';
|
||||
PROJECTION: 'projection';
|
||||
WITH: 'with';
|
||||
USING: 'using';
|
||||
ACCEPT: 'accept';
|
||||
VIA: 'via';
|
||||
MATERIALIZE: 'materialize';
|
||||
IF: 'if';
|
||||
|
||||
Reference in New Issue
Block a user