package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-2.1.0.tbz
sha256=6112ecfe8185871b57ed570e0809b8101d7482b18b19e2d9200c90275dc6a32c
sha512=ee3a48e7d066bc8dd9a6a0c05a6e2e1ef117d4e7e545a710860d5f017d96c13acc39f6c26274b895ee8d23c324ccfb9292476c22059ac6f90b7393dea9f30db2
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)"
>