Skip to content

Commit bbb1220

Browse files
committed
[docs] Replace ":=" with "::=" in "docs/ABI/Mangling.rst".
Nowadays, "::=" is used rather than ":=" in BNF.
1 parent 22e023f commit bbb1220

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/ABI/Mangling.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -262,17 +262,17 @@ return value are bridged and the type of pattern outlined.
262262

263263
::
264264

265-
bridge-spec := bridged-kind bridged-param* bridged-return '_'
265+
bridge-spec ::= bridged-kind bridged-param* bridged-return '_'
266266

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
269269

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
272272

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)
276276

277277
Declaration Contexts
278278
~~~~~~~~~~~~~~~~~~~~
@@ -431,10 +431,10 @@ Types
431431

432432
function-signature ::= params-type params-type throws? // results and parameters
433433

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
435435
// with optional inout convention, shared convention. parameters don't have labels,
436436
// 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
438438

439439
throws ::= 'K' // 'throws' annotation on function types
440440

0 commit comments

Comments
 (0)