23 lines
610 B
C#
23 lines
610 B
C#
using System;
|
|
using System.IO;
|
|
|
|
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);
|
|
}
|
|
}
|