Class SemCheck
java.lang.Object
jflex.core.SemCheck
Performs simple semantic analysis on regular expressions.
- Version:
- JFlex 1.9.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidPerforms semantic analysis for all expressions.static booleanisFiniteChoice(RegExp re) Returns true iff the expression is a finite choice of fixed length expressions.static intReturns length if expression has fixed length, -1 otherwise.static booleanmaybeEmtpy(RegExp re) Checks if the expression potentially matches the empty string.
-
Constructor Details
-
SemCheck
private SemCheck()Prevent instantiation of static-only class
-
-
Method Details
-
check
-
maybeEmtpy
-
length
-
isFiniteChoice
-