Class Dumper


public class Dumper extends Match
Class for debugging purpose which prints unparsed tscore event sequences.

For each Part and each Vox the sequence of Event objects is printed to the given PrintStream. Each event prints in one dedicated line of output:
first its starting point as an instance of Event,
followed by the name and the unparsed input strings of all parameters.
  • Field Details

  • Constructor Details

    • Dumper

      public Dumper(PrintStream ps)
      Set drain explicitly for the print.
    • Dumper

      public Dumper()
      Dump to stderr.
  • Method Details

    • action

      public void action(Part part)
      Print the name of the part and descend into its contents.
      Overrides:
      action in class Match
    • action

      public void action(Vox vox)
      Print the name of the voice and descend into its events, in source order.
      Overrides:
      action in class Match
    • action

      public void action(Event event)
      Print the time point of the event and all unparsed(=raw) parameter values, indexed by parameter name.
      Overrides:
      action in class Match