function parseAndSlice(value) {
  const chunks = preprocess()(value, undefined, true)
  const events = postprocess(parse().document().write(chunks))
  /** @type {Array<[kind: string, tokenType: string, valuee: string]>} */
  const result = []

  for (const event of events) {
    const [kind, token, context] = event
    result.push([kind, token.type, context.sliceSerialize(token)])
  }

  return result
}
Parse `value`, get all events, call `context.sliceSerialize` on each token.

@param {string} value
  Input.
@returns {Array<[kind: string, tokenType: string, valuee: string]>}
  List of event kind, token names, and serialized slices.