public IEnumerable<StyledToken> Parse(string source) { if (String.IsNullOrEmpty(source)) return new List<StyledToken>(); using (var ms = new MemoryStream(Encoding.UTF8.GetBytes(source))) { var s = new Scanner(ms); var p = new Parser(s); p.Parse(); return p.Markers; } }
internal Errors(Parser p) { this.p = p; }