package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | AccessorDataProperty
  2. | AccessorGetSet
  3. | AdjacentJSXElements
  4. | AmbiguousLetBracket
  5. | AsyncFunctionAsStatement
  6. | AwaitAsIdentifierReference
  7. | AwaitInAsyncFormalParameters
  8. | ComputedShorthandProperty
  9. | ConstructorCannotBeAccessor
  10. | ConstructorCannotBeAsync
  11. | ConstructorCannotBeGenerator
  12. | DeclareAsync
  13. | DeclareClassElement
  14. | DeclareClassFieldInitializer
  15. | DeclareOpaqueTypeInitializer
  16. | DuplicateConstructor
  17. | DuplicateExport of string
  18. | DuplicatePrivateFields of string
  19. | ElementAfterRestElement
  20. | EnumBigIntMemberNotInitialized of {
    1. enum_name : string;
    2. member_name : string;
    }
  21. | EnumBooleanMemberNotInitialized of {
    1. enum_name : string;
    2. member_name : string;
    }
  22. | EnumDuplicateMemberName of {
    1. enum_name : string;
    2. member_name : string;
    }
  23. | EnumInconsistentMemberValues of {
    1. enum_name : string;
    }
  24. | EnumInvalidEllipsis of {
    1. trailing_comma : bool;
    }
  25. | EnumInvalidExplicitType of {
    1. enum_name : string;
    2. supplied_type : string option;
    }
  26. | EnumInvalidExport
  27. | EnumInvalidInitializerSeparator of {
    1. member_name : string;
    }
  28. | EnumInvalidMemberInitializer of {
    1. enum_name : string;
    2. explicit_type : Enum_common.explicit_type option;
    3. member_name : string;
    }
  29. | EnumInvalidMemberName of {
    1. enum_name : string;
    2. member_name : string;
    }
  30. | EnumInvalidMemberSeparator
  31. | EnumNumberMemberNotInitialized of {
    1. enum_name : string;
    2. member_name : string;
    }
  32. | EnumStringMemberInconsistentlyInitialized of {
    1. enum_name : string;
    }
  33. | EnumInvalidConstPrefix
  34. | ExpectedJSXClosingTag of string
  35. | ExpectedPatternFoundExpression
  36. | ExportSpecifierMissingComma
  37. | FunctionAsStatement of {
    1. in_strict_mode : bool;
    }
  38. | GeneratorFunctionAsStatement
  39. | GetterArity
  40. | GetterMayNotHaveThisParam
  41. | IllegalBreak
  42. | IllegalContinue
  43. | IllegalReturn
  44. | IllegalUnicodeEscape
  45. | ImportSpecifierMissingComma
  46. | ImportTypeShorthandOnlyInPureImport
  47. | InexactInsideExact
  48. | InexactInsideNonObject
  49. | InvalidClassMemberName of {
    1. name : string;
    2. static : bool;
    3. method_ : bool;
    4. private_ : bool;
    }
  50. | InvalidComponentParamName
  51. | InvalidComponentRenderAnnotation
  52. | InvalidComponentStringParameterBinding of {
    1. optional : bool;
    2. name : string;
    }
  53. | InvalidFloatBigInt
  54. | InvalidIndexedAccess of {
    1. has_bracket : bool;
    }
  55. | InvalidJSXAttributeValue
  56. | InvalidLHSInAssignment
  57. | InvalidLHSInExponentiation
  58. | InvalidLHSInForIn
  59. | InvalidLHSInForOf
  60. | InvalidOptionalIndexedAccess
  61. | InvalidRegExp
  62. | InvalidRegExpFlags of string
  63. | InvalidSciBigInt
  64. | InvalidTupleOptionalSpread
  65. | InvalidTupleVariance
  66. | InvalidTypeof
  67. | JSXAttributeValueEmptyExpression
  68. | LiteralShorthandProperty
  69. | MalformedUnicode
  70. | MethodInDestructuring
  71. | MissingJSXClosingTag of string
  72. | MissingTypeParam
  73. | MissingTypeParamDefault
  74. | MultipleDefaultsInSwitch
  75. | NewlineAfterThrow
  76. | NewlineBeforeArrow
  77. | NoCatchOrFinally
  78. | NoUninitializedConst
  79. | NoUninitializedDestructuring
  80. | NullishCoalescingUnexpectedLogical of string
  81. | OptionalChainNew
  82. | OptionalChainTemplate
  83. | ParameterAfterRestParameter
  84. | PrivateDelete
  85. | PrivateNotInClass
  86. | PropertyAfterRestElement
  87. | Redeclaration of string * string
  88. | SetterArity
  89. | SetterMayNotHaveThisParam
  90. | StrictCatchVariable
  91. | StrictDelete
  92. | StrictDuplicateProperty
  93. | StrictFunctionName
  94. | StrictLHSAssignment
  95. | StrictLHSPostfix
  96. | StrictLHSPrefix
  97. | StrictModeWith
  98. | StrictNonOctalLiteral
  99. | StrictOctalLiteral
  100. | StrictParamDupe
  101. | StrictParamName
  102. | StrictParamNotSimple
  103. | StrictReservedWord
  104. | StrictVarName
  105. | SuperPrivate
  106. | TSAbstractClass
  107. | TSClassVisibility of [ `Public | `Private | `Protected ]
  108. | TSTemplateLiteralType
  109. | ThisParamAnnotationRequired
  110. | ThisParamBannedInArrowFunctions
  111. | ThisParamBannedInConstructor
  112. | ThisParamMayNotBeOptional
  113. | ThisParamMustBeFirst
  114. | TrailingCommaAfterRestElement
  115. | UnboundPrivate of string
  116. | Unexpected of string
  117. | UnexpectedEOS
  118. | UnexpectedExplicitInexactInObject
  119. | UnexpectedOpaqueTypeAlias
  120. | UnexpectedProto
  121. | UnexpectedReserved
  122. | UnexpectedReservedType
  123. | UnexpectedSpreadType
  124. | UnexpectedStatic
  125. | UnexpectedSuper
  126. | UnexpectedSuperCall
  127. | UnexpectedTokenWithSuggestion of string * string
  128. | UnexpectedTypeAlias
  129. | UnexpectedTypeAnnotation
  130. | UnexpectedTypeDeclaration
  131. | UnexpectedTypeExport
  132. | UnexpectedTypeImport
  133. | UnexpectedTypeInterface
  134. | UnexpectedVariance
  135. | UnexpectedWithExpected of string * string
  136. | UnknownLabel of string
  137. | UnsupportedDecorator
  138. | UnterminatedRegExp
  139. | WhitespaceInPrivateName
  140. | YieldAsIdentifierReference
  141. | YieldInFormalParameters
val compare : t -> t -> Ppx_deriving_runtime.int
exception Error of Loc.t * t * (Loc.t * t) list
val error : Loc.t -> t -> 'a
module PP : sig ... end
OCaml

Innovation. Community. Security.