mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Add line and column numbers to lexer tree
This commit is contained in:
@@ -17,6 +17,10 @@ public static partial class Lexer
|
||||
from sectionId in Parse.Letter.AtLeastOnce().Text()
|
||||
select sectionId;
|
||||
|
||||
public static readonly Parser<IImport> Import = ParseImport;
|
||||
|
||||
public static readonly Parser<IBodyItem> BodyItem = ParseBodyItem;
|
||||
|
||||
public static readonly Parser<Program> Program =
|
||||
from imports in Import.Token().Many()
|
||||
from body in BodyItem.Many()
|
||||
|
||||
Reference in New Issue
Block a user