Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
 protected virtual void VisitByScopePtr(ReferenceOrPointerTypeSymbol t)
 {
 }