SemCheck

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.core.parser.JFlex
Class SemCheck

    java.lang.Object
      weka.core.parser.JFlex.SemCheck

    public final class SemCheck

extends java.lang.Object

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

Version:
  JFlex 1.4.1, $Revision: 1.1 $, $Date: 2008-05-09 09:14:11 $
Author:
  Gerwin Klein

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
`equals, 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]

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD