JFlex

Class SemCheck

public final class SemCheck extends Object

Performs simple semantic analysis on regular expressions. (used for checking if trailing contexts are legal)
Method Summary
static voidcheck(RegExps rs, Macros m, char max, File f)
Performs semantic analysis for all expressions.

Method Detail

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]

Parameters: rs the reg exps to be checked m the macro table (in expanded form) max max character of the used charset (for negation) f the spec file containing the rules [fixme]