We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac08cd commit b0d2358Copy full SHA for b0d2358
3 files changed
rust/ruby-rbs/src/ids.rs
@@ -125,6 +125,13 @@ pub enum SymbolTag {}
125
/// string bytes.
126
pub type SymbolId = Id<SymbolTag>;
127
128
+/// Tag for IDs produced by the type-name interner.
129
+pub enum TypeNameTag {}
130
+
131
+/// Identifier for an interned type name. Content-addressed: derived from
132
+/// the parent type name's hash and the last segment's hash.
133
+pub type TypeName = Id<TypeNameTag>;
134
135
#[cfg(test)]
136
mod tests {
137
use super::*;
rust/ruby-rbs/src/lib.rs
@@ -1,3 +1,4 @@
1
pub mod ids;
2
pub mod interner;
3
pub mod node;
4
+pub mod type_name;
0 commit comments