Class SwitchDfa

java.lang.Object
monq.jfa.actions.SwitchDfa
All Implemented Interfaces:
Action

public class SwitchDfa extends Object implements Action
  • Constructor Details

    • SwitchDfa

      public SwitchDfa()
  • Method Details

    • setDfa

      public void setDfa(Consumer<Dfa<Action>> dfaFilter, Dfa<Action> dfa)
    • invoke

      public void invoke(StringBuilder out, int start)
      Description copied from interface: Action
      Will be called with new data appended to the given StringBuilder. The method is free to work in any way with the whole text content, not only the new part demarcated by the start parameter.
      Specified by:
      invoke in interface Action
      Parameters:
      out - contains new data at its end
      start - where the new data starts