// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
namespace ICSharpCode.AvalonEdit.Highlighting.Xshd
{
///
/// <Rule> element.
///
[Serializable]
public class XshdRule : XshdElement
{
///
/// Gets/sets the rule regex.
///
public string Regex { get; set; }
///
/// Gets/sets the rule regex type.
///
public XshdRegexType RegexType { get; set; }
///
/// Gets/sets the color reference.
///
public XshdReference ColorReference { get; set; }
///
public override object AcceptVisitor(IXshdVisitor visitor)
{
return visitor.VisitRule(this);
}
}
}