20 lines
578 B
C#
20 lines
578 B
C#
|
namespace Flee.Parsing
|
|||
|
{
|
|||
|
/**
|
|||
|
* A regular expression element. This is the common base class for
|
|||
|
* all regular expression elements, i.e. the parts of the regular
|
|||
|
* expression.
|
|||
|
*/
|
|||
|
internal abstract class Element : ICloneable
|
|||
|
{
|
|||
|
public abstract object Clone();
|
|||
|
|
|||
|
public abstract int Match(Matcher m,
|
|||
|
ReaderBuffer buffer,
|
|||
|
int start,
|
|||
|
int skip);
|
|||
|
|
|||
|
public abstract void PrintTo(TextWriter output, string indent);
|
|||
|
}
|
|||
|
}
|