package flow_parser
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  The Flow parser is a JavaScript parser written in OCaml
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      v0.268.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        md5=b179a80aea922c4afbe1fe8a15b17770
    
    
  sha512=70afc08a1c9319e8e22e33dedef49fde84fbe513ddd40f218756d6b551a6986334c1c2d2402ba0310084f9185a3de8d8bb538b937130ed8a3aca71f10450bcd0
    
    
  doc/flow_parser/Parse_error/index.html
Module Parse_errorSource
Source
type t = - | AccessorDataProperty
- | AccessorGetSet
- | AdjacentJSXElements
- | AmbiguousLetBracket
- | AsyncFunctionAsStatement
- | AwaitAsIdentifierReference
- | AwaitInAsyncFormalParameters
- | ComputedShorthandProperty
- | ConstructorCannotBeAccessor
- | ConstructorCannotBeAsync
- | ConstructorCannotBeGenerator
- | DeclareAsync
- | DeclareClassElement
- | DeclareClassFieldInitializer
- | DeclareOpaqueTypeInitializer
- | DuplicateConstructor
- | DuplicateExport of string
- | DuplicatePrivateFields of string
- | ElementAfterRestElement
- | EnumBigIntMemberNotInitialized of {- }
- | EnumBooleanMemberNotInitialized of {- }
- | EnumDuplicateMemberName of {- }
- | EnumInconsistentMemberValues of {- }
- | EnumInvalidEllipsis of {- }
- | EnumInvalidExplicitType of {- }
- | EnumInvalidExport
- | EnumInvalidInitializerSeparator of {- }
- | EnumInvalidMemberInitializer of {- enum_name : string;
- explicit_type : Enum_common.explicit_type option;
- member_name : string;
 - }
- | EnumInvalidMemberName of {- }
- | EnumInvalidMemberSeparator
- | EnumNumberMemberNotInitialized of {- }
- | EnumStringMemberInconsistentlyInitialized of {- }
- | EnumInvalidConstPrefix
- | ExpectedJSXClosingTag of string
- | ExpectedPatternFoundExpression
- | ExportSpecifierMissingComma
- | FunctionAsStatement of {- }
- | GeneratorFunctionAsStatement
- | GetterArity
- | GetterMayNotHaveThisParam
- | IllegalBreak
- | IllegalContinue
- | IllegalReturn
- | IllegalUnicodeEscape
- | ImportSpecifierMissingComma
- | ImportTypeShorthandOnlyInPureImport
- | InexactInsideExact
- | InexactInsideNonObject
- | InvalidClassMemberName of {- }
- | InvalidComponentParamName
- | InvalidComponentRenderAnnotation of {- }
- | InvalidComponentStringParameterBinding of {- }
- | InvalidFloatBigInt
- | InvalidIndexedAccess of {- }
- | InvalidJSXAttributeValue
- | InvalidLHSInAssignment
- | InvalidLHSInExponentiation
- | InvalidLHSInForIn
- | InvalidLHSInForOf
- | InvalidOptionalIndexedAccess
- | InvalidRegExp
- | InvalidRegExpFlags of string
- | InvalidSciBigInt
- | InvalidTupleOptionalSpread
- | InvalidTupleVariance
- | InvalidTypeof
- | JSXAttributeValueEmptyExpression
- | LiteralShorthandProperty
- | MalformedUnicode
- | MatchNonLastRest of [ `Object | `Array ]
- | MatchEmptyArgument
- | MatchSpreadArgument
- | MethodInDestructuring
- | MissingJSXClosingTag of string
- | MissingTypeParam
- | MissingTypeParamDefault
- | MultipleDefaultsInSwitch
- | NewlineAfterThrow
- | NewlineBeforeArrow
- | NoCatchOrFinally
- | NoUninitializedConst
- | NoUninitializedDestructuring
- | NullishCoalescingUnexpectedLogical of string
- | OptionalChainNew
- | OptionalChainTemplate
- | ParameterAfterRestParameter
- | PrivateDelete
- | PrivateNotInClass
- | PropertyAfterRestElement
- | Redeclaration of string * string
- | SetterArity
- | SetterMayNotHaveThisParam
- | StrictCatchVariable
- | StrictDelete
- | StrictDuplicateProperty
- | StrictFunctionName
- | StrictLHSAssignment
- | StrictLHSPostfix
- | StrictLHSPrefix
- | StrictModeWith
- | StrictNonOctalLiteral
- | StrictOctalLiteral
- | StrictParamDupe
- | StrictParamName
- | StrictParamNotSimple
- | StrictReservedWord
- | StrictVarName
- | SuperPrivate
- | TSAbstractClass
- | TSClassVisibility of [ `Public | `Private | `Protected ]
- | TSTemplateLiteralType
- | ThisParamAnnotationRequired
- | ThisParamBannedInArrowFunctions
- | ThisParamBannedInConstructor
- | ThisParamMayNotBeOptional
- | ThisParamMustBeFirst
- | TrailingCommaAfterRestElement
- | UnboundPrivate of string
- | Unexpected of string
- | UnexpectedEOS
- | UnexpectedExplicitInexactInObject
- | UnexpectedOpaqueTypeAlias
- | UnexpectedProto
- | UnexpectedReserved
- | UnexpectedReservedType
- | UnexpectedSpreadType
- | UnexpectedStatic
- | UnexpectedSuper
- | UnexpectedSuperCall
- | UnexpectedTokenWithSuggestion of string * string
- | UnexpectedTypeAlias
- | UnexpectedTypeAnnotation
- | UnexpectedTypeDeclaration
- | UnexpectedTypeExport
- | UnexpectedTypeImport
- | UnexpectedTypeInterface
- | UnexpectedVariance
- | UnexpectedWithExpected of string * string
- | UnknownLabel of string
- | UnsupportedDecorator
- | UnterminatedRegExp
- | WhitespaceInPrivateName
- | YieldAsIdentifierReference
- | YieldInFormalParameters
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >