Files
fvtt-ftl-nomad/node_modules/comment-parser/es6/parser/tokenizers/index.d.ts
2025-02-13 23:19:32 +01:00

8 lines
321 B
TypeScript

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