package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.1.0-414.tbz
sha256=4afd57c8ea823612024ec5f37ad5e1ff3a97fed753ba9619d10d676512dfa5ed
sha512=711fc4046b08ef602aefce6e11e5e039933ff7eafe326fcdfc4e5e9ae08d6e7b6a2dd3dc8c1bf1bbcb545b8be4772e6c4313f10ca65a332530a399be11058ef0
doc/melange.js_parser/Js_parser/Parse_error/index.html
Module Js_parser.Parse_error
Source
Source
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>