On Friday, 6 July 2012 at 06:10:28 UTC, Philippe Sigaud wrote:
void buildGraph(Output o) {
        void parseToGraph(ParseTree p) {
                writeln(p.ruleName);
        }

        parseToGraph(o.parseTree);
}
What do parseToGraph and buildGraph do?

buildGraph unwraps parseTree from output, and parseToGraph writes a line with rule name of a parse tree. ;)))

Reply via email to