/// <inheritdoc /> void IParsingContextStreamParent.SetError(IParsingError code, int idx) { if (idx < _errorPos) { return; } _errorPos = idx; _error = code; }
public ParsedSourceError(IParsingError error, ISourceCodeFragment parsedFragment, ISourceCodeFragment notParsedFragment) { Error = error; NotParsedFragment = notParsedFragment; ParsedFragment = parsedFragment; }
public void SetError(IParsingError code, int idx) { throw new ObjectDisposedException(DisposedObjectName); }