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

PerCederberg.Grammatica.Parser.RE
Class CharacterSetElement.Range

System.Object
   |
   +--CharacterSetElement.Range

   in CharacterSetElement.cs

class CharacterSetElement.Range
extends System.Object

A character range class.


Constructor Summary
Range( char min, char max )
          Creates a new character range.
 
Method Summary
 bool Inside( char c )
          Checks if the specified character is inside the range.
 override string ToString()
          Returns a string representation of this object.
 

Constructor Detail

Range

public Range( char min, char max );
Creates a new character range.
Parameters:
min - the minimum character value
max - the maximum character value


Method Detail

Inside

public bool Inside( char c );
Checks if the specified character is inside the range.
Parameters:
c - the character to check
Returns:
true if the character is in the range, or false otherwise

ToString

public override string ToString();
Returns a string representation of this object.
Returns:
a string representation of this object

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