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