﻿using Kingsland.MofParser.Source;

namespace Kingsland.MofParser.Tokens
{

    public sealed class AttributeOpenToken : Token
    {

        public AttributeOpenToken(SourceExtent extent)
            : base(extent)
        {
        }

        public static bool AreEqual(AttributeOpenToken obj1, AttributeOpenToken obj2)
        {
            if ((obj1 == null) && (obj2 == null))
            {
                return true;
            }
            else if ((obj1 == null) || (obj2 == null))
            {
                return false;
            }
            else
            {
                return obj1.Extent.IsEqualTo(obj2.Extent);
            }
        }

    }

}
