Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2709

Add "info processor" command to CLI debugger

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • CLI, Debugger
    • None

    Description

      We should add a new "info processor" command to the CLI debugger, which would print out either the parser or unparser depending on which is available.

      This would likely replace the InfoProcessorBase abstract class with a concrete InfoProcessor object. And then the "not available" logic would move to the individual parser/unparse commands. E.g.

      class InfoParser ... {
        def act(...) = {
          state match {
            case _: PState => debugPrintln("%s: %s".format(name, processor.toBriefXML(2)))
            case _ => debugPrintln("%s: not available".format(name))
          }
        }
      }
      

      InfoUnparser would be the same but would match on UState instead of PState.

      Attachments

        Activity

          People

            Owl-Varun Varun Zaver
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: