blob: d7634e63e8ad3037f5b275500730a9de6aaede4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// 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 Tango.Scripting.Editors.Highlighting.Xshd
{
/// <summary>
/// An element in a XSHD rule set.
/// </summary>
[Serializable]
public abstract class XshdElement
{
/// <summary>
/// Gets the line number in the .xshd file.
/// </summary>
public int LineNumber { get; set; }
/// <summary>
/// Gets the column number in the .xshd file.
/// </summary>
public int ColumnNumber { get; set; }
/// <summary>
/// Applies the visitor to this element.
/// </summary>
public abstract object AcceptVisitor(IXshdVisitor visitor);
}
}
|