package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Assertion of string
  2. | UnexpectedToken of string
  3. | UnexpectedTokenWithSuggestion of string * string
  4. | UnexpectedNumber
  5. | UnexpectedString
  6. | UnexpectedIdentifier
  7. | UnexpectedReserved
  8. | UnexpectedEOS
  9. | UnexpectedVariance
  10. | UnexpectedTypeAlias
  11. | UnexpectedOpaqueTypeAlias
  12. | UnexpectedTypeAnnotation
  13. | UnexpectedTypeDeclaration
  14. | UnexpectedTypeImport
  15. | UnexpectedTypeExport
  16. | UnexpectedTypeInterface
  17. | NewlineAfterThrow
  18. | InvalidRegExp
  19. | InvalidRegExpFlags of string
  20. | UnterminatedRegExp
  21. | InvalidLHSInAssignment
  22. | InvalidLHSInExponentiation
  23. | InvalidLHSInForIn
  24. | InvalidLHSInForOf
  25. | ExpectedPatternFoundExpression
  26. | MultipleDefaultsInSwitch
  27. | NoCatchOrFinally
  28. | UnknownLabel of string
  29. | Redeclaration of string * string
  30. | IllegalContinue
  31. | IllegalBreak
  32. | IllegalReturn
  33. | IllegalYield
  34. | StrictModeWith
  35. | StrictCatchVariable
  36. | StrictVarName
  37. | StrictParamName
  38. | StrictParamDupe
  39. | StrictFunctionName
  40. | StrictOctalLiteral
  41. | StrictDelete
  42. | StrictDuplicateProperty
  43. | AccessorDataProperty
  44. | AccessorGetSet
  45. | StrictLHSAssignment
  46. | StrictLHSPostfix
  47. | StrictLHSPrefix
  48. | StrictReservedWord
  49. | JSXAttributeValueEmptyExpression
  50. | InvalidJSXAttributeValue
  51. | ExpectedJSXClosingTag of string
  52. | NoUninitializedConst
  53. | NoUninitializedDestructuring
  54. | NewlineBeforeArrow
  55. | StrictFunctionStatement
  56. | AdjacentJSXElements
  57. | ParameterAfterRestParameter
  58. | DeclareAsync
  59. | DeclareExportLet
  60. | DeclareExportConst
  61. | DeclareExportType
  62. | DeclareExportInterface
  63. | UnexpectedExportStarAs
  64. | DuplicateExport of string
  65. | ExportNamelessClass
  66. | ExportNamelessFunction
  67. | UnsupportedDecorator
  68. | MissingTypeParamDefault
  69. | WindowsFloatOfString
  70. | DuplicateDeclareModuleExports
  71. | AmbiguousDeclareModuleKind
  72. | GetterArity
  73. | SetterArity
  74. | InvalidNonTypeImportInDeclareModule
  75. | ImportTypeShorthandOnlyInPureImport
  76. | ImportSpecifierMissingComma
  77. | MalformedUnicode
exception Error of (Loc.t * t) list
val error : Loc.t -> t -> 'a
module PP : sig ... end
OCaml

Innovation. Community. Security.