Created
November 21, 2019 15:52
-
-
Save jozefchmelar/f0c184066ab4824bb6b821a8e974c6cd to your computer and use it in GitHub Desktop.
Irony from parse tree to AST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NonTerminalMd : NonTerminal | |
{ | |
public NonTerminalMd(string name, Type nodeType) : base(name, nodeType) | |
{ | |
AstConfig.DefaultNodeCreator = () => Activator.CreateInstance(nodeType); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment