protected virtual void PreviewVisitReferenceOrPointer(ReferenceOrPointerTypeSymbol t) { switch (t.Kind) { default: throw new NotSupportedException(); case ContainerTypeKind.ByRef: VisitByRef(t); break; case ContainerTypeKind.CefRefPtr: VisitByCefRefPtr(t); break; case ContainerTypeKind.Pointer: VisitByPointer(t); break; case ContainerTypeKind.scoped_ptr: VisitByScopePtr(t); break; } }
protected virtual void VisitByScopePtr(ReferenceOrPointerTypeSymbol t) { }