package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Annot : sig ... end
type t =
  1. | T_NUMBER of number_type * string
  2. | T_BIGINT of bigint_type * string
  3. | T_STRING of Stdlib.Utf8_string.t * int
  4. | T_IDENTIFIER of Stdlib.Utf8_string.t * string
  5. | T_REGEXP of Stdlib.Utf8_string.t * string
  6. | T_LCURLY
  7. | T_RCURLY
  8. | T_LPAREN
  9. | T_RPAREN
  10. | T_LBRACKET
  11. | T_RBRACKET
  12. | T_SEMICOLON
  13. | T_COMMA
  14. | T_PERIOD
  15. | T_ARROW
  16. | T_ELLIPSIS
  17. | T_AT
  18. | T_POUND
  19. | T_FUNCTION
  20. | T_IF
  21. | T_IN
  22. | T_INSTANCEOF
  23. | T_RETURN
  24. | T_SWITCH
  25. | T_THIS
  26. | T_THROW
  27. | T_TRY
  28. | T_VAR
  29. | T_WHILE
  30. | T_WITH
  31. | T_CONST
  32. | T_LET
  33. | T_NULL
  34. | T_FALSE
  35. | T_TRUE
  36. | T_BREAK
  37. | T_CASE
  38. | T_CATCH
  39. | T_CONTINUE
  40. | T_DEFAULT
  41. | T_DO
  42. | T_FINALLY
  43. | T_FOR
  44. | T_CLASS
  45. | T_EXTENDS
  46. | T_STATIC
  47. | T_ELSE
  48. | T_NEW
  49. | T_DELETE
  50. | T_TYPEOF
  51. | T_VOID
  52. | T_ENUM
  53. | T_EXPORT
  54. | T_IMPORT
  55. | T_SUPER
  56. | T_IMPLEMENTS
  57. | T_INTERFACE
  58. | T_PACKAGE
  59. | T_PRIVATE
  60. | T_PROTECTED
  61. | T_PUBLIC
  62. | T_YIELD
  63. | T_DEBUGGER
  64. | T_OF
  65. | T_ASYNC
  66. | T_AWAIT
  67. | T_GET
  68. | T_SET
  69. | T_RSHIFT3_ASSIGN
  70. | T_RSHIFT_ASSIGN
  71. | T_LSHIFT_ASSIGN
  72. | T_BIT_XOR_ASSIGN
  73. | T_BIT_OR_ASSIGN
  74. | T_BIT_AND_ASSIGN
  75. | T_MOD_ASSIGN
  76. | T_DIV_ASSIGN
  77. | T_MULT_ASSIGN
  78. | T_EXP_ASSIGN
  79. | T_MINUS_ASSIGN
  80. | T_PLUS_ASSIGN
  81. | T_NULLISH_ASSIGN
  82. | T_AND_ASSIGN
  83. | T_OR_ASSIGN
  84. | T_ASSIGN
  85. | T_PLING_PERIOD
  86. | T_PLING_PLING
  87. | T_PLING
  88. | T_COLON
  89. | T_OR
  90. | T_AND
  91. | T_BIT_OR
  92. | T_BIT_XOR
  93. | T_BIT_AND
  94. | T_EQUAL
  95. | T_NOT_EQUAL
  96. | T_STRICT_EQUAL
  97. | T_STRICT_NOT_EQUAL
  98. | T_LESS_THAN_EQUAL
  99. | T_GREATER_THAN_EQUAL
  100. | T_LESS_THAN
  101. | T_GREATER_THAN
  102. | T_LSHIFT
  103. | T_RSHIFT
  104. | T_RSHIFT3
  105. | T_PLUS
  106. | T_MINUS
  107. | T_DIV
  108. | T_MULT
  109. | T_EXP
  110. | T_MOD
  111. | T_NOT
  112. | T_BIT_NOT
  113. | T_INCR
  114. | T_DECR
  115. | T_FROM
  116. | T_TARGET
  117. | T_META
  118. | T_BACKQUOTE
  119. | T_DOLLARCURLY
  120. | T_ENCAPSED_STRING of string
  121. | T_AS
  122. | T_ERROR of string
  123. | T_EOF
  124. | T_VIRTUAL_SEMICOLON
  125. | T_VIRTUAL_SEMICOLON_DO_WHILE
  126. | T_VIRTUAL_SEMICOLON_EXPORT_DEFAULT
  127. | T_DECR_NB
  128. | T_INCR_NB
  129. | T_LPAREN_ARROW
  130. | TAnnot of Annot.t
  131. | TComment of string
  132. | TCommentLineDirective of string
and number_type =
  1. | BINARY
  2. | LEGACY_OCTAL
  3. | LEGACY_NON_OCTAL
  4. | OCTAL
  5. | NORMAL
and bigint_type =
  1. | BIG_BINARY
  2. | BIG_OCTAL
  3. | BIG_NORMAL
type token = t
val to_string : t -> string
val to_string_extra : t -> string
val is_keyword : string -> t option
OCaml

Innovation. Community. Security.