[antlr-interest] Getting an output from a TreeWalker and String Template in C#

James Randles james.randles at gmail.com
Wed Feb 1 07:57:17 PST 2012


Hi,

I am trying to view the output from my treewalker. I have successfully
created a grammar for the parser, lexer and treewalker. However I cannot
find the correct object in C# to see the result of the walker after
attaching a string template. 

My treewalker function which is generated from the grammar files returns a
type of TemplateTreeRuleReturnScope<StringTemplate, CommonTree>. Are there
any code snippets or bits of documentation to show me how I can use this
type to produce my final translated output? 

Thanks
James


--
View this message in context: http://antlr.1301665.n2.nabble.com/Getting-an-output-from-a-TreeWalker-and-String-Template-in-C-tp7243399p7243399.html
Sent from the ANTLR mailing list archive at Nabble.com.


More information about the antlr-interest mailing list