Skip to content

Instantly share code, notes, and snippets.

@jozefchmelar
Created November 21, 2019 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jozefchmelar/59677f63ae6cec240fbd9c95bac243ab to your computer and use it in GitHub Desktop.
Save jozefchmelar/59677f63ae6cec240fbd9c95bac243ab to your computer and use it in GitHub Desktop.
This code will traverse AST
var root = parseTree.Root.AstNode as BaseAst;
var visitor = new HtmlConcreteVisitor(new StringBuilder());
root.AcceptVisitor(visitor);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment