characterClasses.d.ts 966 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /**
  2. * ```
  3. * WhiteSpace ::
  4. * - "Horizontal Tab (U+0009)"
  5. * - "Space (U+0020)"
  6. * ```
  7. * @internal
  8. */
  9. export declare function isWhiteSpace(code: number): boolean;
  10. /**
  11. * ```
  12. * Digit :: one of
  13. * - `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`
  14. * ```
  15. * @internal
  16. */
  17. export declare function isDigit(code: number): boolean;
  18. /**
  19. * ```
  20. * Letter :: one of
  21. * - `A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`
  22. * - `N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`
  23. * - `a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`
  24. * - `n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`
  25. * ```
  26. * @internal
  27. */
  28. export declare function isLetter(code: number): boolean;
  29. /**
  30. * ```
  31. * NameStart ::
  32. * - Letter
  33. * - `_`
  34. * ```
  35. * @internal
  36. */
  37. export declare function isNameStart(code: number): boolean;
  38. /**
  39. * ```
  40. * NameContinue ::
  41. * - Letter
  42. * - Digit
  43. * - `_`
  44. * ```
  45. * @internal
  46. */
  47. export declare function isNameContinue(code: number): boolean;