This derived-type represents a contiguous range of the Unicode character set
as a min
and max
value, providing an effective way to represent ranges of characters
when building automata where a range characters share the same transition destination.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=int32), | public | :: | max | = | UTF8_CODE_MAX+2 | ||
integer(kind=int32), | public | :: | min | = | UTF8_CODE_MAX+2 |
Converts a segment to a printable string representation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(segment_t), | intent(in) | :: | seg |
Checks if a segment is valid.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(segment_t), | intent(in) | :: | self |