Package | Description |
---|---|
monq.jfa |
Implements Finite Automata, deterministic and
nondeterministic, with an engine for high throughput filtering of
text.
|
monq.jfa.actions |
contains general purpose classes to be used as callbacks in
finite automata created with package
monq.jfa . |
monq.jfa.ctx |
adds support for recursive parsing to jfa that in particular
allows easy XML parsing as an alternative to SAX.
|
Modifier and Type | Class and Description |
---|---|
class |
NomatchException
is the exception thrown by methods in
DfaRun whenever no
match can be found at the current input position. |
Modifier and Type | Method and Description |
---|---|
void |
Formatter.format(java.lang.StringBuilder out,
TextStore st,
java.util.Map<java.lang.Object,java.lang.Object> m)
arranges (some of) the pieces of text found in
st
or m in an implementation dependend manner and
appends them to out . |
void |
PrintfFormatter.format(java.lang.StringBuilder yytext,
TextStore ts,
java.util.Map<java.lang.Object,java.lang.Object> m) |
void |
FaAction.invoke(java.lang.StringBuilder yytext,
int start,
DfaRun runner)
is called by methods of
DfaRun in case of a
match. |
Modifier and Type | Method and Description |
---|---|
void |
SwitchDfa.invoke(java.lang.StringBuilder out,
int start,
DfaRun r) |
void |
If.invoke(java.lang.StringBuilder yytext,
int start,
DfaRun r) |
void |
DefaultAction.invoke(java.lang.StringBuilder yytext,
int start,
DfaRun runner) |
void |
TailContextN.invoke(java.lang.StringBuilder out,
int start,
DfaRun r) |
void |
Fail.invoke(java.lang.StringBuilder out,
int start,
DfaRun runner) |
void |
Printf.invoke(java.lang.StringBuilder out,
int start,
DfaRun runner) |
void |
Run.invoke(java.lang.StringBuilder out,
int start,
DfaRun r) |
void |
Call.invoke(java.lang.StringBuilder out,
int start,
DfaRun run)
calls the method specified in the constructor by finding it in
run.clientData via reflection. |
Modifier and Type | Method and Description |
---|---|
void |
IfContext.invoke(java.lang.StringBuilder yytext,
int start,
DfaRun r)
required by interface
FaAction . |
void |
Context.invoke(java.lang.StringBuilder yytext,
int start,
DfaRun r) |