Package jflex.core.unicode
Class CharClassInterval
java.lang.Object
jflex.core.unicode.CharClassInterval
Stores an interval of characters together with the character class
A character belongs to an interval, if its Unicode value is greater than or equal to the
Unicode value of start
and smaller than or equal to the Unicode value of end
.
All characters of the interval must belong to the same character class.
- Version:
- JFlex 1.8.2
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCharClassInterval
(int start, int end, int charClass) Creates a new CharClassInterval fromstart</code> to <CODE>end
that belongs to character classcharClass
. -
Method Summary
-
Field Details
-
start
public final int startThe first character of the interval -
end
public final int endThe last character of the interval -
charClass
public final int charClassThe code of the class all characters of this interval belong to.
-
-
Constructor Details
-
CharClassInterval
public CharClassInterval(int start, int end, int charClass) Creates a new CharClassInterval fromstart</code> to <CODE>end
that belongs to character classcharClass
.- Parameters:
start
- The first character of the intervalend
- The last character of the intervalcharClass
- The code of the class all characters of this interval belong to.
-
-
Method Details