public static class CharParserPrepare.EliminateRecursion extends SinglePhase
_visitor_debug_stream, partial
Constructor and Description |
---|
EliminateRecursion() |
Modifier and Type | Method and Description |
---|---|
void |
action(Alt alt) |
void |
action(Insertion ins)
ASSUME that only "direct insertions of CharsRegExp (and Enumeration)" have
survived the Resolve3 expansion process.
|
void |
action(Opt opt) |
void |
action(ParseParticle pp) |
void |
action(Plus plus) |
void |
action(Reference ref) |
void |
action(Seq seq) |
void |
action(Star star) |
Expression |
translate(CharsRegExp currentDef)
Descends given char parser expression and collects a single RegExp which
represents the "bucket hull".
|
action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action
_visitor_trace, action, action, action, action, foreignObject, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, nomatch
public Expression translate(CharsRegExp currentDef)
public void action(Insertion ins)
action
in class SinglePhase
public void action(Reference ref)
action
in class SinglePhase
public void action(ParseParticle pp)
action
in class SinglePhase
public void action(Alt alt)
action
in class SinglePhase
public void action(Seq seq)
action
in class SinglePhase
public void action(Opt opt)
action
in class SinglePhase
public void action(Plus plus)
action
in class SinglePhase
public void action(Star star)
action
in class SinglePhase
see also the complete user documentation .