Implement checked workspace integration contracts (WI-01)

This commit is contained in:
Timothy J. Aveni
2026-09-21 11:53:38 -07:00
parent 3c0378358f
commit 884b12f759
22 changed files with 4349 additions and 3089 deletions
+20
View File
@@ -27,6 +27,7 @@ workspaceItem
| sharedAttachmentDecl
| conformanceDecl
| constructorBindingDecl
| presentationDecl
| typeAliasDecl
;
@@ -145,6 +146,15 @@ packageExport
| packageConstructorExport
| packageQuery
| packageQuerySpecialization
| componentDecl
;
componentDecl
: COMPONENT identifier ID stringLiteral SUBJECT interfaceType RUNTIME identifier SEMI
;
presentationDecl
: PRESENTATION identifier ID stringLiteral FOR interfaceType USING identifier DOT identifier SEMI
;
packageQuery
@@ -471,6 +481,11 @@ identifier
| RESULT_BYTES
| RPC_CALLS
| DEADLINE_MS
| COMPONENT
| PRESENTATION
| SUBJECT
| RUNTIME
| FOR
;
stringLiteral
@@ -478,6 +493,11 @@ stringLiteral
;
EDIT: 'edit';
COMPONENT: 'component';
PRESENTATION: 'presentation';
SUBJECT: 'subject';
RUNTIME: 'runtime';
FOR: 'for';
CREATION: 'creation';
INITIALIZE: 'initialize';
WORKSPACE: 'workspace';