Ejemplo n.º 1
0
 public ParserStatus(int charactersProcessed, T result)
 {
     this.state = ParserStatusState.Done;
     this.charactersProcessed = charactersProcessed;
     this.result       = result;
     this.errorMessage = "";
 }
Ejemplo n.º 2
0
 public ParserStatus(int charactersProcessed, string errorMessage)
 {
     this.state = ParserStatusState.Error;
     this.charactersProcessed = charactersProcessed;
     this.result       = default(T);
     this.errorMessage = errorMessage;
 }
Ejemplo n.º 3
0
 public ParserStatus(int charactersProcessed)
 {
     this.state = ParserStatusState.Working;
     this.charactersProcessed = charactersProcessed;
     this.result       = default(T);
     this.errorMessage = "";
 }