Exemplo n.º 1
0
        /// <inheritdoc />
        void IParsingContextStreamParent.SetError(IParsingError code, int idx)
        {
            if (idx < _errorPos)
            {
                return;
            }

            _errorPos = idx;
            _error    = code;
        }
Exemplo n.º 2
0
 public ParsedSourceError(IParsingError error, ISourceCodeFragment parsedFragment, ISourceCodeFragment notParsedFragment)
 {
     Error             = error;
     NotParsedFragment = notParsedFragment;
     ParsedFragment    = parsedFragment;
 }
Exemplo n.º 3
0
 public void SetError(IParsingError code, int idx)
 {
     throw new ObjectDisposedException(DisposedObjectName);
 }