共用方式為


TokenCharacterKind type

定義 TokenCharacterKind 的值。

type TokenCharacterKind =
  | "letter"
  | "digit"
  | "whitespace"
  | "punctuation"
  | "symbol"