Overview   Project   Class   Tree   Deprecated   Index 
Grammatica 1.5 Documentation
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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.
 

Method Detail

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

 Overview   Project   Class   Tree   Deprecated   Index 
Grammatica 1.5 Documentation
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD