Module Js_parser.Parse_error
type t = | EnumBooleanMemberNotInitialized of {enum_name: string,member_name: string,
}| EnumDuplicateMemberName of {enum_name: string,member_name: string,
}| EnumInconsistentMemberValues of {enum_name: string,
}| EnumInvalidExplicitType of {enum_name: string,supplied_type: option(string),
}| EnumInvalidExport| EnumInvalidInitializerSeparator of {member_name: string,
}| EnumInvalidMemberInitializer of {enum_name: string,explicit_type: option(Enum_common.explicit_type),member_name: string,
}| EnumInvalidMemberName of {enum_name: string,member_name: string,
}| EnumInvalidMemberSeparator| EnumInvalidEllipsis of {trailing_comma: bool,
}| EnumNumberMemberNotInitialized of {enum_name: string,member_name: string,
}| EnumStringMemberInconsistentlyInitailized of {enum_name: string,
}| Unexpected(string)| UnexpectedWithExpected(string, string)| UnexpectedTokenWithSuggestion(string, string)| UnexpectedReserved| UnexpectedReservedType| UnexpectedSuper| UnexpectedSuperCall| UnexpectedEOS| UnexpectedVariance| UnexpectedStatic| UnexpectedProto| UnexpectedTypeAlias| UnexpectedOpaqueTypeAlias| UnexpectedTypeAnnotation| UnexpectedTypeDeclaration| UnexpectedTypeImport| UnexpectedTypeExport| UnexpectedTypeInterface| UnexpectedSpreadType| UnexpectedExplicitInexactInObject| InexactInsideExact| InexactInsideNonObject| NewlineAfterThrow| InvalidFloatBigInt| InvalidSciBigInt| InvalidRegExp| InvalidRegExpFlags(string)| UnterminatedRegExp| InvalidLHSInAssignment| InvalidLHSInExponentiation| InvalidLHSInForIn| InvalidLHSInForOf| InvalidIndexedAccess of {has_bracket: bool,
}| InvalidOptionalIndexedAccess| ExpectedPatternFoundExpression| MultipleDefaultsInSwitch| NoCatchOrFinally| UnknownLabel(string)| Redeclaration(string, string)| IllegalContinue| IllegalBreak| IllegalReturn| IllegalUnicodeEscape| StrictModeWith| StrictCatchVariable| StrictVarName| StrictParamName| StrictParamDupe| StrictParamNotSimple| StrictFunctionName| StrictOctalLiteral| StrictNonOctalLiteral| StrictDelete| StrictDuplicateProperty| AccessorDataProperty| AccessorGetSet| InvalidTypeof| StrictLHSAssignment| StrictLHSPostfix| StrictLHSPrefix| StrictReservedWord| JSXAttributeValueEmptyExpression| InvalidJSXAttributeValue| ExpectedJSXClosingTag(string)| NoUninitializedConst| NoUninitializedDestructuring| NewlineBeforeArrow| FunctionAsStatement of {in_strict_mode: bool,
}| AsyncFunctionAsStatement| GeneratorFunctionAsStatement| AdjacentJSXElements| ParameterAfterRestParameter| ElementAfterRestElement| PropertyAfterRestElement| DeclareAsync| DeclareClassElement| DeclareClassFieldInitializer| DeclareOpaqueTypeInitializer| DeclareExportLet| DeclareExportConst| DeclareExportType| DeclareExportInterface| DuplicateExport(string)| UnsupportedDecorator| MissingTypeParamDefault| DuplicateDeclareModuleExports| AmbiguousDeclareModuleKind| GetterArity| SetterArity| InvalidNonTypeImportInDeclareModule| ImportTypeShorthandOnlyInPureImport| ImportSpecifierMissingComma| ExportSpecifierMissingComma| MalformedUnicode| DuplicateConstructor| DuplicatePrivateFields(string)| InvalidClassMemberName of {name: string,static: bool,method_: bool,private_: bool,
}| PrivateDelete| UnboundPrivate(string)| PrivateNotInClass| SuperPrivate| YieldInFormalParameters| AwaitAsIdentifierReference| YieldAsIdentifierReference| AmbiguousLetBracket| LiteralShorthandProperty| ComputedShorthandProperty| MethodInDestructuring| TrailingCommaAfterRestElement| OptionalChainNew| OptionalChainTemplate| NullishCoalescingUnexpectedLogical(string)| WhitespaceInPrivateName| ThisParamAnnotationRequired| ThisParamMustBeFirst| ThisParamMayNotBeOptional| GetterMayNotHaveThisParam| SetterMayNotHaveThisParam| ThisParamBannedInArrowFunctions| ThisParamBannedInConstructor
;let compare: t => t => int;