@@ -262,17 +262,17 @@ return value are bridged and the type of pattern outlined.
262
262
263
263
::
264
264
265
- bridge-spec := bridged-kind bridged-param* bridged-return '_'
265
+ bridge-spec :: = bridged-kind bridged-param* bridged-return '_'
266
266
267
- bridged-param := 'n' // not bridged parameter
268
- bridged-param := 'b' // bridged parameter
267
+ bridged-param :: = 'n' // not bridged parameter
268
+ bridged-param :: = 'b' // bridged parameter
269
269
270
- bridged-return := 'n' // not bridged return
271
- bridged-return := 'b' // bridged return
270
+ bridged-return :: = 'n' // not bridged return
271
+ bridged-return :: = 'b' // bridged return
272
272
273
- bridged-kind := 'm' // bridged method
274
- bridged-kind := 'a' // bridged property (by address)
275
- bridged-kind := 'p' // bridged property (by value)
273
+ bridged-kind :: = 'm' // bridged method
274
+ bridged-kind :: = 'a' // bridged property (by address)
275
+ bridged-kind :: = 'p' // bridged property (by value)
276
276
277
277
Declaration Contexts
278
278
~~~~~~~~~~~~~~~~~~~~
@@ -431,10 +431,10 @@ Types
431
431
432
432
function-signature ::= params-type params-type throws? // results and parameters
433
433
434
- params-type := type 'z'? 'h'? // tuple in case of multiple parameters or a single parameter with a single tuple type
434
+ params-type :: = type 'z'? 'h'? // tuple in case of multiple parameters or a single parameter with a single tuple type
435
435
// with optional inout convention, shared convention. parameters don't have labels,
436
436
// they are mangled separately as part of the entity.
437
- params-type := empty-list // shortcut for no parameters
437
+ params-type :: = empty-list // shortcut for no parameters
438
438
439
439
throws ::= 'K' // 'throws' annotation on function types
440
440
0 commit comments