Using the example JSON to XML example, it works as advertised, but when I use a similar structure, the sequence of code
ParseTreeWalker walker = new ParseTreeWalker();
AADLEmitter converter = new AADLEmitter();
walker.walk(converter, tree);
does not produce the output as it should. It only outputs the first element in the input file. I've used the IntelliJ debugger and have seen the other elements in the runtime class structures from the input file. When I use printf() in the methods that do the transformation, I get exactly what I should.
So, what am I missing here with the walker.walk()?
Thanks in advance.
Cheers,
Richard