﻿using Rubberduck.Parsing.ComReflection;
using Rubberduck.VBEditor;

namespace Rubberduck.Parsing.Symbols
{
    public class AliasDeclaration : Declaration
    {
        public AliasDeclaration(ComAlias alias, Declaration parent, QualifiedModuleName module)
            : base(
                module.QualifyMemberName(alias.Name),
                parent,
                parent,
                alias.TypeName,
                null,
                false,
                false,
                Accessibility.Public,
                DeclarationType.ComAlias,
                null,
                Selection.Home,
                false,
                null,
                false)
        { }
    }
}
