Class Navigate.AttributeCollector

Enclosing class:
Navigate

protected static class Navigate.AttributeCollector extends SinglePhase
Worker for updating the local attribute cache.
See Also:
  • Field Details

    • atts

      Result accumulator
    • underOpt

      boolean underOpt
      Visitor state register: currently descended under Opt operator.
    • underStar

      boolean underStar
      Visitor state register: currently descended under Star operator.
    • underPlus

      boolean underPlus
      Visitor state register: currently descended under Plus operator.
  • Constructor Details

  • Method Details

    • action

      public void action(Opt opt)
      Memorize situation and descend
      Overrides:
      action in class SinglePhase
    • action

      public void action(Star star)
      Memorize situation and descend
      Overrides:
      action in class SinglePhase
    • action

      public void action(Plus plus)
      Memorize situation and descend
      Overrides:
      action in class SinglePhase
    • action

      public void action(Reference ref)
      Store the referred definiton as an attribute, if appropriate.
      Overrides:
      action in class SinglePhase