Skip to content

Commit

Permalink
docs: Add missing definitions to mangling docs (#3813)
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Mar 6, 2024
1 parent 449bce6 commit e94358d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/contrib/mangling.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ is defined through a simple grammar that uses a notation inspired by
C <name> // c extern name
G <name> // generated name
K <sig-name> <type-name>+ E // duplicate name
I // <clinit>

<type-name> ::=
v // c vararg
Expand Down Expand Up @@ -53,7 +54,9 @@ is defined through a simple grammar that uses a notation inspired by

<scope> ::=
P <defn-name> // private to defn-name
p <defn-name> // private to defn-name (static)
O // public
o // public static

<name> ::=
<length number> [-] <chars> // raw identifier of given length; `-` separator is only used when <chars> starts with digit or `-` itself
Expand Down

0 comments on commit e94358d

Please sign in to comment.