PerCederberg.Grammatica.Runtime
Class REHandler
System.Object
|
+--REHandler
in Tokenizer.cs
- Direct Known Subclasses:
- GrammaticaRE, SystemRE
- internal abstract class REHandler
- extends System.Object
The regular expression handler base class.
|
Method Summary |
abstract int |
Match( ReaderBuffer buffer )
Checks if the start of the input stream matches this
regular expression. |
Match
public abstract int Match( ReaderBuffer buffer );
- Checks if the start of the input stream matches this
regular expression.
- Parameters:
buffer - the input buffer to check
- Returns:
- the longest match found, or
zero (0) if no match was found
- Throws:
IOException - if an I/O error occurred