-
-
Save jozefchmelar/ee42ea031d9b04edeb039ecee200d997 to your computer and use it in GitHub Desktop.
NonTerminalDefinition
This file contains 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
private readonly NonTerminal Bold = new NonTerminalMd(nameof(Bold), typeof(BoldAst)); | |
//Similar definition for Italics, Underscore | |
private readonly NonTerminal H1 = new NonTerminalMd(nameof(H1), typeof(H1Ast)); | |
//Similar definition for H2,H3 | |
private readonly Terminal PlainText = new StringLiteral(nameof(PlainText), "\"", StringOptions.AllowsLineBreak, typeof(PlainTextAst)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment