Class UMod2visitors.Lr_decoder

java.lang.Object
eu.bandm.tools.umod.UMod.Visitor
eu.bandm.tools.umod.UMod2visitors.Lr_decoder
Direct Known Subclasses:
UMod2visitors.V_makeDescend, UMod2visitors.V_makeRewriterCoRewriter, UMod2visitors.V_makeVDescend
Enclosing class:
UMod2visitors

protected class UMod2visitors.Lr_decoder extends UMod.Visitor
  • Field Details

    • lrcode

      protected String lrcode
      The list of all lr-codes selected, joined together by Reducer.STRING_lrcode_separator = "/". The visitor related values are stored in UMod.FieldDef.lrcodes --> VisitorNum --> "/L/RL/RRL/" (Cannot be final because it is RE-used by UMod2visitors.V_makeRewriterCoRewriter !?)
    • lrposition

      protected String lrposition
      The prefix of the code which led to the currently visited sub-expression.
    • leftSelected

      protected boolean leftSelected
      Whether the left sub-expression shall be visited.
    • rightSelected

      protected boolean rightSelected
      Whether the left sub-expression shall be visited.
  • Constructor Details

    • Lr_decoder

      protected Lr_decoder()
  • Method Details

    • updateSelection

      protected void updateSelection()
      Sets the flags for the next step doun, relative to the current [@link #lrposition}.