File tree Expand file tree Collapse file tree
src/main/resources/pkl/csm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ class InvokeDescription extends ActionDescription {
9999 type : InvocationType
100100 mode: InvocationMode = "remote"
101101 input : Context
102+ output: Listing<ContextVariableReferenceDescription>
102103 raises: Listing<EventDescription>
103104}
104105
@@ -122,10 +123,11 @@ class ResetDescription extends ActionDescription {
122123
123124class CaseDescription {
124125 of : Expression
125- then: Listing< ActionDescription>
126+ then: ActionDescription
126127}
127128
128129class MatchDescription extends ActionDescription {
130+ value : Expression
129131 cases: Listing<CaseDescription>
130132 default: ActionDescription?
131133}
@@ -134,6 +136,10 @@ class LogDescription extends ActionDescription {
134136 message : Expression
135137}
136138
139+ class ContextVariableReferenceDescription {
140+ reference : String
141+ }
142+
137143typealias EventTopic = String(matches(Regex(#"^[a-zA-Z_]\w*$"#) ))
138144
139145typealias EventChannel = "internal" | "external" | "global" | "peripheral"
You can’t perform that action at this time.
0 commit comments