Report a bug
If you spot a problem with this page, click here to create a GitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
mir.ion.symbol_table
- static immutable string[]
IonSystemSymbolTable_v1; - Each version of the Ion specification defines the corresponding system symbol table version. Ion 1.0 uses the "$ion" symbol table, version 1, and future versions of Ion will use larger versions of the "$ion" symbol table. $ion_1_1 will probably use version 2, while $ion_2_0 might use version 5.Applications and users should never have to care about these symbol table versions, since they are never explicit in user data: this specification disallows (by ignoring) imports named "$ion". Here are the system symbols for Ion 1.0.
- enum
IonSystemSymbol: ubyte; -
zeroionion_1_0ion_symbol_tablenameversion_importssymbolsmax_idion_shared_symbol_table
- struct
IonSymbolTable(bool gc); -
- @property bool
initialized(); - void
initialize(); - @trusted void
finalize(); - Prepare the table for writing. The table shouldn't be used after that.
- const uint
find(scope const(char)[]key); - const uint
find(scope const(char)[]key, uinthash); - uint
insert(scope const(char)[]key); - uint
insert(scope const(char)[]key, uinthash);
Copyright © 2016-2022 by Ilya Yaroshenko | Page generated by
Ddoc on Thu Mar 10 07:43:25 2022