JFlex
Class SemCheck
public final class SemCheck
extends java.lang.Object
Performs simple semantic analysis on regular expressions.
(used for checking if trailing contexts are legal)
static void | check(RegExps rs, Macros m, char max, File f) - Performs semantic analysis for all expressions.
|
check
public static void check(RegExps rs,
Macros m,
char max,
File f)
Performs semantic analysis for all expressions.
Currently: illegal lookahead check only
[fixme: more checks possible]
rs
- the reg exps to be checkedm
- the macro table (in expanded form)max
- max character of the used charset (for negation)f
- the spec file containing the rules [fixme]