package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | T_NUMBER of number_type
  2. | T_STRING of Loc.t * string * string * bool
  3. | T_TEMPLATE_PART of Loc.t * template_part * bool
  4. | T_IDENTIFIER
  5. | T_REGEXP of Loc.t * string * string
  6. | T_LCURLY
  7. | T_RCURLY
  8. | T_LCURLYBAR
  9. | T_RCURLYBAR
  10. | T_LPAREN
  11. | T_RPAREN
  12. | T_LBRACKET
  13. | T_RBRACKET
  14. | T_SEMICOLON
  15. | T_COMMA
  16. | T_PERIOD
  17. | T_ARROW
  18. | T_ELLIPSIS
  19. | T_AT
  20. | T_FUNCTION
  21. | T_IF
  22. | T_IN
  23. | T_INSTANCEOF
  24. | T_RETURN
  25. | T_SWITCH
  26. | T_THIS
  27. | T_THROW
  28. | T_TRY
  29. | T_VAR
  30. | T_WHILE
  31. | T_WITH
  32. | T_CONST
  33. | T_LET
  34. | T_NULL
  35. | T_FALSE
  36. | T_TRUE
  37. | T_BREAK
  38. | T_CASE
  39. | T_CATCH
  40. | T_CONTINUE
  41. | T_DEFAULT
  42. | T_DO
  43. | T_FINALLY
  44. | T_FOR
  45. | T_CLASS
  46. | T_EXTENDS
  47. | T_STATIC
  48. | T_ELSE
  49. | T_NEW
  50. | T_DELETE
  51. | T_TYPEOF
  52. | T_VOID
  53. | T_ENUM
  54. | T_EXPORT
  55. | T_IMPORT
  56. | T_SUPER
  57. | T_IMPLEMENTS
  58. | T_INTERFACE
  59. | T_PACKAGE
  60. | T_PRIVATE
  61. | T_PROTECTED
  62. | T_PUBLIC
  63. | T_YIELD
  64. | T_DEBUGGER
  65. | T_DECLARE
  66. | T_TYPE
  67. | T_OF
  68. | T_ASYNC
  69. | T_AWAIT
  70. | T_CHECKS
  71. | T_RSHIFT3_ASSIGN
  72. | T_RSHIFT_ASSIGN
  73. | T_LSHIFT_ASSIGN
  74. | T_BIT_XOR_ASSIGN
  75. | T_BIT_OR_ASSIGN
  76. | T_BIT_AND_ASSIGN
  77. | T_MOD_ASSIGN
  78. | T_DIV_ASSIGN
  79. | T_MULT_ASSIGN
  80. | T_EXP_ASSIGN
  81. | T_MINUS_ASSIGN
  82. | T_PLUS_ASSIGN
  83. | T_ASSIGN
  84. | T_PLING
  85. | T_COLON
  86. | T_OR
  87. | T_AND
  88. | T_BIT_OR
  89. | T_BIT_XOR
  90. | T_BIT_AND
  91. | T_EQUAL
  92. | T_NOT_EQUAL
  93. | T_STRICT_EQUAL
  94. | T_STRICT_NOT_EQUAL
  95. | T_LESS_THAN_EQUAL
  96. | T_GREATER_THAN_EQUAL
  97. | T_LESS_THAN
  98. | T_GREATER_THAN
  99. | T_LSHIFT
  100. | T_RSHIFT
  101. | T_RSHIFT3
  102. | T_PLUS
  103. | T_MINUS
  104. | T_DIV
  105. | T_MULT
  106. | T_EXP
  107. | T_MOD
  108. | T_NOT
  109. | T_BIT_NOT
  110. | T_INCR
  111. | T_DECR
  112. | T_ERROR
  113. | T_EOF
  114. | T_JSX_IDENTIFIER
  115. | T_JSX_TEXT of Loc.t * string * string
  116. | T_ANY_TYPE
  117. | T_MIXED_TYPE
  118. | T_EMPTY_TYPE
  119. | T_BOOLEAN_TYPE
  120. | T_NUMBER_TYPE
  121. | T_NUMBER_SINGLETON_TYPE of number_type * float
  122. | T_STRING_TYPE
  123. | T_VOID_TYPE
and number_type =
  1. | BINARY
  2. | LEGACY_OCTAL
  3. | OCTAL
  4. | NORMAL
and template_part = {
  1. cooked : string;
  2. raw : string;
  3. literal : string;
}
val token_to_string : t -> string
OCaml

Innovation. Community. Security.