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 526474e commit cafd9afCopy full SHA for cafd9af
src/ast.rs
@@ -7413,7 +7413,9 @@ where
7413
match *self {
7414
SpecialName::VirtualTable(ref ty) => {
7415
write!(ctx, "{{vtable(")?;
7416
+ ctx.push_demangle_node(DemangleNodeType::VirtualTable);
7417
ty.demangle(ctx, scope)?;
7418
+ ctx.pop_demangle_node();
7419
write!(ctx, ")}}")?;
7420
Ok(())
7421
}
src/lib.rs
@@ -249,6 +249,8 @@ pub enum DemangleNodeType {
249
DataMemberPrefix,
250
/// Entering a <nested-name> production
251
NestedName,
252
+ /// Entering a <special-name> production that is a vtable.
253
+ VirtualTable,
254
255
256
/// Sink for demangled text that reports syntactic structure.
0 commit comments