[
https://issues.apache.org/jira/browse/DAFFODIL-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence reassigned DAFFODIL-2709:
----------------------------------------
Assignee: Varun Zaver
> Add "info processor" command to CLI debugger
> --------------------------------------------
>
> Key: DAFFODIL-2709
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2709
> Project: Daffodil
> Issue Type: New Feature
> Components: CLI, Debugger
> Reporter: Steve Lawrence
> Assignee: Varun Zaver
> Priority: Major
>
> 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.
> {code:scala}
> class InfoParser ... {
> def act(...) = {
> state match {
> case _: PState => debugPrintln("%s: %s".format(name,
> processor.toBriefXML(2)))
> case _ => debugPrintln("%s: not available".format(name))
> }
> }
> }
> {code}
> InfoUnparser would be the same but would match on UState instead of PState.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)