Js_parser.Parse_error
type t =
| AccessorDataProperty
| AccessorGetSet
| AdjacentJSXElements
| AmbiguousDeclareModuleKind
| AmbiguousLetBracket
| AsyncFunctionAsStatement
| AwaitAsIdentifierReference
| AwaitInAsyncFormalParameters
| ComputedShorthandProperty
| ConstructorCannotBeAccessor
| ConstructorCannotBeAsync
| ConstructorCannotBeGenerator
| DeclareAsync
| DeclareClassElement
| DeclareClassFieldInitializer
| DeclareExportInterface
| DeclareExportType
| DeclareOpaqueTypeInitializer
| DuplicateConstructor
| DuplicateDeclareModuleExports
| 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
| InvalidComponentStringParameterBinding of {
}
| InvalidFloatBigInt
| InvalidIndexedAccess of {
}
| InvalidJSXAttributeValue
| InvalidLHSInAssignment
| InvalidLHSInExponentiation
| InvalidLHSInForIn
| InvalidLHSInForOf
| InvalidNonTypeImportInDeclareModule
| InvalidOptionalIndexedAccess
| InvalidRegExp
| InvalidRegExpFlags of string
| InvalidSciBigInt
| InvalidTupleOptionalSpread
| InvalidTupleVariance
| InvalidTypeof
| JSXAttributeValueEmptyExpression
| LiteralShorthandProperty
| MalformedUnicode
| 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
module PP : sig ... end