This commit is contained in:
2025-10-08 09:49:37 +08:00
commit 284e764345
99 changed files with 21742 additions and 0 deletions

19
Parsing/Element.cs Normal file
View File

@@ -0,0 +1,19 @@
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);
}
}