示例#1
0
 public Parser(TokList tokens, ErrorStream errorStream)
 {
     this.from        = tokens;
     this.errorStream = errorStream;
     this.result      = new ParsedList();
     this.index       = 0;
 }
示例#2
0
 public ParseResult(ParsedList result, ErrorStream errors)
 {
     this.result  = result;
     this.errors  = errors;
     this.isError = errors.errors.Count > 0;
 }