index.d.ts 321 B

1234567
  1. import { Spec } from '../../primitives.js';
  2. /**
  3. * Splits `spect.lines[].token.description` into other tokens,
  4. * and populates the spec.{tag, name, type, description}. Invoked in a chaing
  5. * with other tokens, operations listed above can be moved to separate tokenizers
  6. */
  7. export type Tokenizer = (spec: Spec) => Spec;