package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-1.0.0.tbz
sha256=01ff3a2711b3812889313288f9e0c8bfe2e17464b6b85282c5113cfc3b740968
sha512=db9ac4554d0c9a8deabbdcd2ae05653964184916982c746ca794df6e2061444adaa6a0367bc1840825a007be3941643abd824aaff737a431b0e5347f7c558378
doc/melange.js_parser/Js_parser/Parse_error/index.html
Module Js_parser.Parse_error
Source
Source
type t =
| EnumBooleanMemberNotInitialized of {
}
| EnumDuplicateMemberName of {
}
| EnumInconsistentMemberValues of {
}
| EnumInvalidExplicitType of {
}
| EnumInvalidExport
| EnumInvalidInitializerSeparator of {
}
| EnumInvalidMemberInitializer of {
enum_name : string;
explicit_type : Enum_common.explicit_type option;
member_name : string;
}
| EnumInvalidMemberName of {
}
| EnumInvalidMemberSeparator
| EnumInvalidEllipsis of {
}
| EnumNumberMemberNotInitialized of {
}
| EnumStringMemberInconsistentlyInitailized of {
}
| Unexpected of string
| UnexpectedWithExpected of string * string
| UnexpectedTokenWithSuggestion of 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 of string
| UnterminatedRegExp
| InvalidLHSInAssignment
| InvalidLHSInExponentiation
| InvalidLHSInForIn
| InvalidLHSInForOf
| InvalidIndexedAccess of {
}
| InvalidOptionalIndexedAccess
| ExpectedPatternFoundExpression
| MultipleDefaultsInSwitch
| NoCatchOrFinally
| UnknownLabel of string
| Redeclaration of 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 of string
| NoUninitializedConst
| NoUninitializedDestructuring
| NewlineBeforeArrow
| FunctionAsStatement of {
}
| AsyncFunctionAsStatement
| GeneratorFunctionAsStatement
| AdjacentJSXElements
| ParameterAfterRestParameter
| ElementAfterRestElement
| PropertyAfterRestElement
| DeclareAsync
| DeclareClassElement
| DeclareClassFieldInitializer
| DeclareOpaqueTypeInitializer
| DeclareExportLet
| DeclareExportConst
| DeclareExportType
| DeclareExportInterface
| DuplicateExport of string
| UnsupportedDecorator
| MissingTypeParamDefault
| DuplicateDeclareModuleExports
| AmbiguousDeclareModuleKind
| GetterArity
| SetterArity
| InvalidNonTypeImportInDeclareModule
| ImportTypeShorthandOnlyInPureImport
| ImportSpecifierMissingComma
| ExportSpecifierMissingComma
| MalformedUnicode
| DuplicateConstructor
| DuplicatePrivateFields of string
| InvalidClassMemberName of {
}
| PrivateDelete
| UnboundPrivate of string
| PrivateNotInClass
| SuperPrivate
| YieldInFormalParameters
| AwaitAsIdentifierReference
| YieldAsIdentifierReference
| AmbiguousLetBracket
| LiteralShorthandProperty
| ComputedShorthandProperty
| MethodInDestructuring
| TrailingCommaAfterRestElement
| OptionalChainNew
| OptionalChainTemplate
| NullishCoalescingUnexpectedLogical of string
| WhitespaceInPrivateName
| ThisParamAnnotationRequired
| ThisParamMustBeFirst
| ThisParamMayNotBeOptional
| GetterMayNotHaveThisParam
| SetterMayNotHaveThisParam
| ThisParamBannedInArrowFunctions
| ThisParamBannedInConstructor
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>