Parse Continuation Lines in ANTLR
I am writing a parser in ANTLR using C# for a language which allows a line of syntax to be split over multiple lines using the back slash to indicate there are subsequent lines. This is further complication by the ability to add a comment to any line of code. e.g I can write something like
shouldVisitNextChild(node, result) is not called for the child but the parent in visitChildren(ParseTree*) of class AbstractParseTreeVisitor
In AbstractParseTreeVisitor.h I was struggeling over shouldVisitNextChild(node, result))
in the following part (lines 35-48):