Class CharParserPrepare.EliminateRecursion

java.lang.Object
eu.bandm.tools.d2d2.model.MATCH_ONLY_00
eu.bandm.tools.d2d2.model.SinglePhase
eu.bandm.tools.d2d2.base.CharParserPrepare.EliminateRecursion
Enclosing class:
CharParserPrepare

public static class CharParserPrepare.EliminateRecursion extends SinglePhase
  • Field Details

  • Constructor Details

    • EliminateRecursion

      public EliminateRecursion()
  • Method Details

    • translate

      public Expression translate(CharsRegExp currentDef)
      Descends given char parser expression and collects a single RegExp which represents the "bucket hull". Can be used for a CharsRegExp or for a ParseParticle.
    • dump

      void dump(Expression exp)
    • action

      public void action(Insertion ins)
      ASSUME that only "direct insertions of CharsRegExp (and Enumeration)" have survived the Resolve3 expansion process. FIXME STIMMT NICHT synthetische für Zyklen-Modellierung!!!
      Overrides:
      action in class SinglePhase
    • action

      public void action(Reference ref)
      Overrides:
      action in class SinglePhase
    • action

      public void action(ParseParticle pp)
      Overrides:
      action in class SinglePhase
    • action

      public void action(Alt alt)
      Overrides:
      action in class SinglePhase
    • action

      public void action(Seq seq)
      Overrides:
      action in class SinglePhase
    • action

      public void action(Opt opt)
      Overrides:
      action in class SinglePhase
    • doLoop

      void doLoop(GrUnary loop)
    • action

      public void action(Plus plus)
      Overrides:
      action in class SinglePhase
    • action

      public void action(Star star)
      Overrides:
      action in class SinglePhase