JFlex
Class SemCheck

java.lang.Object
  extended byJFlex.SemCheck

public final class SemCheck
extends java.lang.Object

Performs simple semantic analysis on regular expressions. (used for checking if trailing contexts are legal)


Constructor Summary
SemCheck()
           
 
Method Summary
static void check(RegExps rs, Macros m, char max, java.io.File f)
          Performs semantic analysis for all expressions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemCheck

public SemCheck()
Method Detail

check

public static void check(RegExps rs,
                         Macros m,
                         char max,
                         java.io.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]