constructor(bufferReader, options = {}) {
    const { name = '<unknown>' } = options;
    this.name = name;
    this.bufferReader = bufferReader;
    this.state = {
      /** @type {SyrupReaderStackEntry[]} */
      stack: [],
    };
  }
@param {BufferReader} bufferReader
@param {object} options
@param {string} [options.name]