@nfdi4plants/arctrl 3.2.3 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/index.d.ts +44 -7
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +45 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
- package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
- package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
- package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
- package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
- package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
- package/dist/ts/ts/ARC.d.ts +19 -2
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +128 -89
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
- package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +887 -201
- package/dist/ts/ts/CWL/Decode.d.ts +480 -211
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +3614 -2462
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
- package/dist/ts/ts/CWL/Encode.d.ts +225 -85
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +1858 -970
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
- package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/HashHelpers.js +255 -6
- package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +107 -16
- package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +35 -9
- package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +101 -19
- package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +18 -25
- package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
- package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterValue.js +59 -35
- package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +462 -89
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +34 -13
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
- package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
- package/dist/ts/ts/CWLRunResolver.js +221 -86
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +13 -14
- package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcAssay.js +4 -4
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
- package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +47 -20
- package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcStudy.js +4 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +16 -17
- package/dist/ts/ts/Contract/Git.js +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +26 -18
- package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +55 -31
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/DateTime.js +1 -2
- package/dist/ts/ts/Conversion/Investigation.js +11 -11
- package/dist/ts/ts/Conversion/Person.js +11 -11
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +107 -86
- package/dist/ts/ts/Conversion/Run.d.ts +36 -6
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +320 -136
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +23 -12
- package/dist/ts/ts/Conversion/Table.js +5 -5
- package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +655 -163
- package/dist/ts/ts/Conversion.js +6 -6
- package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +219 -129
- package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Core/Comment.js +2 -2
- package/dist/ts/ts/Core/CommentList.js +7 -7
- package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Core/Conversion.js +41 -41
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +14 -11
- package/dist/ts/ts/Core/DataContext.d.ts +1 -1
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +4 -4
- package/dist/ts/ts/Core/DataFile.d.ts +11 -8
- package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataFile.js +55 -61
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +2 -3
- package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Collections.js +2 -4
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
- package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
- package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Regex.js +52 -53
- package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
- package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
- package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Url.js +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
- package/dist/ts/ts/Core/Person.d.ts.map +1 -1
- package/dist/ts/ts/Core/Person.js +2 -2
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
- package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Component.js +22 -22
- package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Factor.js +7 -7
- package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
- package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Material.js +2 -2
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
- package/dist/ts/ts/Core/Process/Process.js +21 -21
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
- package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
- package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Protocol.js +9 -9
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Core/Publication.js +3 -3
- package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/ScalarValue.js +9 -13
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +50 -70
- package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
- package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Core/Templates.js +2 -2
- package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +37 -19
- package/dist/ts/ts/Json/Assay.js +22 -22
- package/dist/ts/ts/Json/Comment.js +9 -9
- package/dist/ts/ts/Json/Data.d.ts.map +1 -1
- package/dist/ts/ts/Json/Data.js +11 -11
- package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
- package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Decode.js +3 -5
- package/dist/ts/ts/Json/Encode.js +2 -2
- package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Json/Investigation.js +20 -20
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
- package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
- package/dist/ts/ts/Json/Person.d.ts.map +1 -1
- package/dist/ts/ts/Json/Person.js +20 -20
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +5 -6
- package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +7 -7
- package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
- package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Material.js +9 -10
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
- package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Process.js +8 -9
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
- package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +17 -17
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +9 -9
- package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Source.js +10 -11
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
- package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +24 -24
- package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Json/Publication.js +10 -10
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
- package/dist/ts/ts/Json/Run.js +9 -9
- package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/StringTable.js +4 -7
- package/dist/ts/ts/Json/Study.js +20 -20
- package/dist/ts/ts/Json/Table/CellTable.js +1 -2
- package/dist/ts/ts/Json/Table/OATable.js +1 -2
- package/dist/ts/ts/Json/Workflow.js +9 -9
- package/dist/ts/ts/Json.d.ts +121 -1
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +310 -2
- package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Comment.js +67 -0
- package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Data.js +49 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/DataFile.js +48 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/LDObject.js +173 -17
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Publication.js +68 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
- package/dist/ts/ts/License.d.ts.map +1 -1
- package/dist/ts/ts/License.js +6 -6
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +31 -39
- package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDObject.js +56 -49
- package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +45 -48
- package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
- package/dist/ts/ts/ROCrateIO.d.ts +18 -4
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +49 -38
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +8 -8
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
- package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +8 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
- package/dist/ts/ts/Xlsx.js +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
- package/package.json +5 -4
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { isPositiveInfinity, isNegativeInfinity } from '../../../node_modules/@fable-org/fable-library-ts/Double.js';
|
|
2
|
+
import { compare } from '../../../node_modules/@fable-org/fable-library-ts/BigInt.js';
|
|
3
|
+
import { doubleToInt64Bits } from '../../../node_modules/@fable-org/fable-library-ts/BitConverter.js';
|
|
4
|
+
import { CoreSchema_floatText, CoreSchema_stringContent } from './CoreSchema.fs.js';
|
|
5
|
+
import { int32ToString, int64ToString } from '../../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
6
|
+
import { YamlNodeModule_plain, YamlNodeModule_scalar, YamlNodeModule_sequence, YamlNodeModule_item, YamlNodeModule_mapping, YamlNodeModule_entry } from './Node.fs.js';
|
|
7
|
+
import { toString } from '../../../node_modules/@fable-org/fable-library-ts/Date.js';
|
|
8
|
+
import { value } from '../../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
9
|
+
import { toList, delay, map, collect, singleton } from '../../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
10
|
+
import { map as map$1, ofArray } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
11
|
+
|
|
12
|
+
function EncodeSupport_floatText(value) {
|
|
13
|
+
if (Number.isNaN(value)) {
|
|
14
|
+
return ".nan";
|
|
15
|
+
} else if (isPositiveInfinity(value)) {
|
|
16
|
+
return ".inf";
|
|
17
|
+
} else if (isNegativeInfinity(value)) {
|
|
18
|
+
return "-.inf";
|
|
19
|
+
} else if (value === 0 && compare(doubleToInt64Bits(value), 0n) < 0) {
|
|
20
|
+
return "-0.0";
|
|
21
|
+
} else {
|
|
22
|
+
return CoreSchema_floatText(value.toString());
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function EncodeSupport_intText(value) {
|
|
26
|
+
return int32ToString(value);
|
|
27
|
+
}
|
|
28
|
+
function EncodeSupport_int64Text(value) {
|
|
29
|
+
return int64ToString(value);
|
|
30
|
+
}
|
|
31
|
+
const Encode_nullValue = YamlNodeModule_plain("null");
|
|
32
|
+
function Encode_int(value) {
|
|
33
|
+
return YamlNodeModule_plain(EncodeSupport_intText(value));
|
|
34
|
+
}
|
|
35
|
+
function Encode_int64(value) {
|
|
36
|
+
return YamlNodeModule_plain(EncodeSupport_int64Text(value));
|
|
37
|
+
}
|
|
38
|
+
function Encode_float(value) {
|
|
39
|
+
return YamlNodeModule_plain(EncodeSupport_floatText(value));
|
|
40
|
+
}
|
|
41
|
+
function Encode_bool(value) {
|
|
42
|
+
return YamlNodeModule_plain(value ? "true" : "false");
|
|
43
|
+
}
|
|
44
|
+
function Encode_string(value) {
|
|
45
|
+
const content = CoreSchema_stringContent(value);
|
|
46
|
+
return YamlNodeModule_scalar(content.Style, content.Value);
|
|
47
|
+
}
|
|
48
|
+
function Encode_char(value) {
|
|
49
|
+
return Encode_string(value);
|
|
50
|
+
}
|
|
51
|
+
function Encode_datetime(value) {
|
|
52
|
+
return YamlNodeModule_plain(toString(value, "O", {}));
|
|
53
|
+
}
|
|
54
|
+
function Encode_datetimeOffset(value) {
|
|
55
|
+
return YamlNodeModule_plain(toString(value, "O", {}));
|
|
56
|
+
}
|
|
57
|
+
function Encode_option(encoder, value$1) {
|
|
58
|
+
if (value$1 == null) {
|
|
59
|
+
return Encode_nullValue;
|
|
60
|
+
} else {
|
|
61
|
+
return encoder(value(value$1));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function Encode_seq(encoder, items) {
|
|
65
|
+
return YamlNodeModule_sequence(toList(delay(() => map((item) => YamlNodeModule_item(encoder(item)), items))));
|
|
66
|
+
}
|
|
67
|
+
function Encode_list(encoder, items) {
|
|
68
|
+
return YamlNodeModule_sequence(map$1((item) => YamlNodeModule_item(encoder(item)), items));
|
|
69
|
+
}
|
|
70
|
+
function Encode_array(encoder, items) {
|
|
71
|
+
return YamlNodeModule_sequence(toList(delay(() => map((item) => YamlNodeModule_item(encoder(item)), items))));
|
|
72
|
+
}
|
|
73
|
+
function Encode_resizearray(encoder, items) {
|
|
74
|
+
return YamlNodeModule_sequence(toList(delay(() => map((item) => YamlNodeModule_item(encoder(item)), items))));
|
|
75
|
+
}
|
|
76
|
+
function Encode_values(toText, items) {
|
|
77
|
+
return YamlNodeModule_sequence(toList(delay(() => map((item) => YamlNodeModule_item(Encode_string(toText(item))), items))));
|
|
78
|
+
}
|
|
79
|
+
function Encode_tuple2(encoderA, encoderB, a, b) {
|
|
80
|
+
return YamlNodeModule_sequence(ofArray([YamlNodeModule_item(encoderA(a)), YamlNodeModule_item(encoderB(b))]));
|
|
81
|
+
}
|
|
82
|
+
function Encode_tuple3(encoderA, encoderB, encoderC, a, b, c) {
|
|
83
|
+
return YamlNodeModule_sequence(ofArray([YamlNodeModule_item(encoderA(a)), YamlNodeModule_item(encoderB(b)), YamlNodeModule_item(encoderC(c))]));
|
|
84
|
+
}
|
|
85
|
+
function Encode_tuple4(encoderA, encoderB, encoderC, encoderD, a, b, c, d) {
|
|
86
|
+
return YamlNodeModule_sequence(ofArray([YamlNodeModule_item(encoderA(a)), YamlNodeModule_item(encoderB(b)), YamlNodeModule_item(encoderC(c)), YamlNodeModule_item(encoderD(d))]));
|
|
87
|
+
}
|
|
88
|
+
function Encode_tuple5(encoderA, encoderB, encoderC, encoderD, encoderE, a, b, c, d, e) {
|
|
89
|
+
return YamlNodeModule_sequence(ofArray([YamlNodeModule_item(encoderA(a)), YamlNodeModule_item(encoderB(b)), YamlNodeModule_item(encoderC(c)), YamlNodeModule_item(encoderD(d)), YamlNodeModule_item(encoderE(e))]));
|
|
90
|
+
}
|
|
91
|
+
function Encode_tuple6(encoderA, encoderB, encoderC, encoderD, encoderE, encoderF, a, b, c, d, e, f) {
|
|
92
|
+
return YamlNodeModule_sequence(ofArray([YamlNodeModule_item(encoderA(a)), YamlNodeModule_item(encoderB(b)), YamlNodeModule_item(encoderC(c)), YamlNodeModule_item(encoderD(d)), YamlNodeModule_item(encoderE(e)), YamlNodeModule_item(encoderF(f))]));
|
|
93
|
+
}
|
|
94
|
+
function Encode_tuple7(encoderA, encoderB, encoderC, encoderD, encoderE, encoderF, encoderG, a, b, c, d, e, f, g) {
|
|
95
|
+
return YamlNodeModule_sequence(ofArray([YamlNodeModule_item(encoderA(a)), YamlNodeModule_item(encoderB(b)), YamlNodeModule_item(encoderC(c)), YamlNodeModule_item(encoderD(d)), YamlNodeModule_item(encoderE(e)), YamlNodeModule_item(encoderF(f)), YamlNodeModule_item(encoderG(g))]));
|
|
96
|
+
}
|
|
97
|
+
function Encode_tuple8(encoderA, encoderB, encoderC, encoderD, encoderE, encoderF, encoderG, encoderH, a, b, c, d, e, f, g, h) {
|
|
98
|
+
return YamlNodeModule_sequence(ofArray([YamlNodeModule_item(encoderA(a)), YamlNodeModule_item(encoderB(b)), YamlNodeModule_item(encoderC(c)), YamlNodeModule_item(encoderD(d)), YamlNodeModule_item(encoderE(e)), YamlNodeModule_item(encoderF(f)), YamlNodeModule_item(encoderG(g)), YamlNodeModule_item(encoderH(h))]));
|
|
99
|
+
}
|
|
100
|
+
function Encode_map(keyEncoder, valueEncoder, entries) {
|
|
101
|
+
return YamlNodeModule_mapping(toList(delay(() => collect((matchValue) => {
|
|
102
|
+
const activePatternResult = matchValue;
|
|
103
|
+
return singleton(YamlNodeModule_entry(keyEncoder(activePatternResult[0]), valueEncoder(activePatternResult[1])));
|
|
104
|
+
}, entries))));
|
|
105
|
+
}
|
|
106
|
+
function Encode_dict(keyEncoder, valueEncoder, entries) {
|
|
107
|
+
return YamlNodeModule_mapping(toList(delay(() => collect((matchValue) => {
|
|
108
|
+
const activePatternResult = matchValue;
|
|
109
|
+
return singleton(YamlNodeModule_entry(keyEncoder(activePatternResult[0]), valueEncoder(activePatternResult[1])));
|
|
110
|
+
}, entries))));
|
|
111
|
+
}
|
|
112
|
+
function Encode_object(fields) {
|
|
113
|
+
return YamlNodeModule_mapping(toList(delay(() => collect((matchValue) => singleton(YamlNodeModule_entry(Encode_string(matchValue[0]), matchValue[1])), fields))));
|
|
114
|
+
}
|
|
115
|
+
function Encode_optionalField(name, encoder, value$1) {
|
|
116
|
+
if (value$1 == null) {
|
|
117
|
+
return void 0;
|
|
118
|
+
} else {
|
|
119
|
+
return [name, encoder(value(value$1))];
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { EncodeSupport_floatText, EncodeSupport_int64Text, EncodeSupport_intText, Encode_array, Encode_bool, Encode_char, Encode_datetime, Encode_datetimeOffset, Encode_dict, Encode_float, Encode_int, Encode_int64, Encode_list, Encode_map, Encode_nullValue, Encode_object, Encode_option, Encode_optionalField, Encode_resizearray, Encode_seq, Encode_string, Encode_tuple2, Encode_tuple3, Encode_tuple4, Encode_tuple5, Encode_tuple6, Encode_tuple7, Encode_tuple8, Encode_values };
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { Record } from '../../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
2
|
+
import { LayoutKind_$reflection } from './Model.fs.js';
|
|
3
|
+
import { record_type, int32_type, option_type } from '../../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
4
|
+
import { getCharAtIndex } from '../../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
5
|
+
import { isEmpty, FSharpList__get_Head, FSharpList__get_Tail } from '../../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
6
|
+
import { item } from '../../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
7
|
+
|
|
8
|
+
class LayoutPiece extends Record {
|
|
9
|
+
constructor(First, Limit, Behind) {
|
|
10
|
+
super();
|
|
11
|
+
this.First = First | 0;
|
|
12
|
+
this.Limit = Limit | 0;
|
|
13
|
+
this.Behind = Behind;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function LayoutPiece_$reflection() {
|
|
17
|
+
return record_type("YAMLicious.LayoutPiece", [], LayoutPiece, () => [["First", int32_type], ["Limit", int32_type], ["Behind", option_type(LayoutKind_$reflection())]]);
|
|
18
|
+
}
|
|
19
|
+
function Layout_isBlank(c) {
|
|
20
|
+
if (c === " ") {
|
|
21
|
+
return true;
|
|
22
|
+
} else {
|
|
23
|
+
return c === " ";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function Layout_splitsPair(value, index) {
|
|
27
|
+
if (index > 0 && index < value.length && ~~getCharAtIndex(value, index - 1).charCodeAt(0) >= 55296 && ~~getCharAtIndex(value, index - 1).charCodeAt(0) <= 56319 && ~~getCharAtIndex(value, index).charCodeAt(0) >= 56320) {
|
|
28
|
+
return ~~getCharAtIndex(value, index).charCodeAt(0) <= 57343;
|
|
29
|
+
} else {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function Layout_consumed(kind) {
|
|
34
|
+
if (kind.tag === /* EscapedBreak */
|
|
35
|
+
1) {
|
|
36
|
+
const lines_1 = kind.fields[0] | 0;
|
|
37
|
+
return lines_1 | 0;
|
|
38
|
+
} else if (kind.fields[0] === 0) {
|
|
39
|
+
return 1;
|
|
40
|
+
} else {
|
|
41
|
+
const lines = kind.fields[0] | 0;
|
|
42
|
+
return lines | 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function Layout_cut(layout, value, emptyLinesOk, escapedOk) {
|
|
46
|
+
const n = value.length | 0;
|
|
47
|
+
const pieces = [];
|
|
48
|
+
let start = 0;
|
|
49
|
+
let ok = true;
|
|
50
|
+
let rest = layout.Boundaries;
|
|
51
|
+
while (ok && !isEmpty(rest)) {
|
|
52
|
+
let matchValue = void 0, lines_1 = void 0, lines = void 0;
|
|
53
|
+
const boundary = FSharpList__get_Head(rest);
|
|
54
|
+
const take = Layout_consumed(boundary.Kind) | 0;
|
|
55
|
+
if (((!(matchValue = boundary.Kind, matchValue.tag === /* EscapedBreak */
|
|
56
|
+
1 ? (lines_1 = matchValue.fields[0] | 0, escapedOk && lines_1 >= 0) : matchValue.fields[0] === 0 ? true : (lines = matchValue.fields[0] | 0, emptyLinesOk && lines > 0)) ? true : boundary.At < start) ? true : boundary.At + take > n) ? true : Layout_splitsPair(value, boundary.At)) {
|
|
57
|
+
ok = false;
|
|
58
|
+
} else {
|
|
59
|
+
const matchValue_1 = boundary.Kind;
|
|
60
|
+
let matchResult = void 0;
|
|
61
|
+
if (matchValue_1.tag === /* Fold */
|
|
62
|
+
0) {
|
|
63
|
+
if (matchValue_1.fields[0] === 0) {
|
|
64
|
+
matchResult = 0;
|
|
65
|
+
} else {
|
|
66
|
+
matchResult = 1;
|
|
67
|
+
}
|
|
68
|
+
} else {
|
|
69
|
+
matchResult = 1;
|
|
70
|
+
}
|
|
71
|
+
switch (matchResult) {
|
|
72
|
+
case 0: {
|
|
73
|
+
if (getCharAtIndex(value, boundary.At) !== " ") {
|
|
74
|
+
ok = false;
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
case 1: {
|
|
79
|
+
for (let i = boundary.At; i <= boundary.At + take - 1; i++) {
|
|
80
|
+
if (getCharAtIndex(value, i) !== "\n") {
|
|
81
|
+
ok = false;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
if (ok) {
|
|
89
|
+
void pieces.push(new LayoutPiece(start, boundary.At, boundary.Kind));
|
|
90
|
+
start = boundary.At + take | 0;
|
|
91
|
+
rest = FSharpList__get_Tail(rest);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (ok) {
|
|
95
|
+
void pieces.push(new LayoutPiece(start, n, void 0));
|
|
96
|
+
return pieces.slice();
|
|
97
|
+
} else {
|
|
98
|
+
return void 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function Layout_isEmptyPiece(piece) {
|
|
102
|
+
return piece.Limit <= piece.First;
|
|
103
|
+
}
|
|
104
|
+
function Layout_startsWithText(value, piece) {
|
|
105
|
+
if (!Layout_isEmptyPiece(piece) && !Layout_isBlank(getCharAtIndex(value, piece.First))) {
|
|
106
|
+
return getCharAtIndex(value, piece.First) !== "\n";
|
|
107
|
+
} else {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function Layout_endsWithText(value, piece) {
|
|
112
|
+
if (!Layout_isEmptyPiece(piece) && !Layout_isBlank(getCharAtIndex(value, piece.Limit - 1))) {
|
|
113
|
+
return getCharAtIndex(value, piece.Limit - 1) !== "\n";
|
|
114
|
+
} else {
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function Layout_foldsOk(value, pieces, edgesMayBeEmpty) {
|
|
119
|
+
let ok = true;
|
|
120
|
+
for (let i = 0; i <= pieces.length - 2; i++) {
|
|
121
|
+
const left = item(i, pieces);
|
|
122
|
+
const right = item(i + 1, pieces);
|
|
123
|
+
if (!(Layout_endsWithText(value, left) ? true : edgesMayBeEmpty && i === 0 && Layout_isEmptyPiece(left))) {
|
|
124
|
+
ok = false;
|
|
125
|
+
}
|
|
126
|
+
if (!(Layout_startsWithText(value, right) ? true : edgesMayBeEmpty && i + 1 === pieces.length - 1 && Layout_isEmptyPiece(right))) {
|
|
127
|
+
ok = false;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return ok;
|
|
131
|
+
}
|
|
132
|
+
function Layout_isEscapedBreak(kind) {
|
|
133
|
+
let matchResult = void 0;
|
|
134
|
+
if (kind != null) {
|
|
135
|
+
if (kind.tag === /* EscapedBreak */
|
|
136
|
+
1) {
|
|
137
|
+
matchResult = 0;
|
|
138
|
+
} else {
|
|
139
|
+
matchResult = 1;
|
|
140
|
+
}
|
|
141
|
+
} else {
|
|
142
|
+
matchResult = 1;
|
|
143
|
+
}
|
|
144
|
+
switch (matchResult) {
|
|
145
|
+
case 0:
|
|
146
|
+
return true;
|
|
147
|
+
default:
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
function Layout_doubleOk(pieces) {
|
|
152
|
+
let ok = true;
|
|
153
|
+
for (let i = 1; i <= pieces.length - 2; i++) {
|
|
154
|
+
if (Layout_isEmptyPiece(item(i, pieces)) && !Layout_isEscapedBreak(item(i, pieces).Behind)) {
|
|
155
|
+
ok = false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
return ok;
|
|
159
|
+
}
|
|
160
|
+
function Layout_foldedOk(value, pieces) {
|
|
161
|
+
let ok = true;
|
|
162
|
+
let lineFirst = -1;
|
|
163
|
+
for (let i = 0; i <= pieces.length - 1; i++) {
|
|
164
|
+
const piece = item(i, pieces);
|
|
165
|
+
for (let k = piece.First; k <= piece.Limit - 1; k++) {
|
|
166
|
+
if (getCharAtIndex(value, k) === "\n") {
|
|
167
|
+
lineFirst = -1;
|
|
168
|
+
} else if (lineFirst < 0) {
|
|
169
|
+
lineFirst = k | 0;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
if (piece.Behind == null) {
|
|
173
|
+
} else {
|
|
174
|
+
if (Layout_isEmptyPiece(piece) ? true : getCharAtIndex(value, piece.Limit - 1) === "\n") {
|
|
175
|
+
ok = false;
|
|
176
|
+
}
|
|
177
|
+
if (lineFirst < 0 ? true : Layout_isBlank(getCharAtIndex(value, lineFirst))) {
|
|
178
|
+
ok = false;
|
|
179
|
+
}
|
|
180
|
+
if (!Layout_startsWithText(value, item(i + 1, pieces))) {
|
|
181
|
+
ok = false;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
return ok;
|
|
186
|
+
}
|
|
187
|
+
function Layout_tryPlan(layout, value, style) {
|
|
188
|
+
switch (style.tag) {
|
|
189
|
+
case /* SingleQuoted */
|
|
190
|
+
1: {
|
|
191
|
+
const matchValue_1 = Layout_cut(layout, value, false, false);
|
|
192
|
+
let matchResult = void 0, pieces_3 = void 0;
|
|
193
|
+
if (matchValue_1 != null) {
|
|
194
|
+
if (Layout_foldsOk(value, matchValue_1, true)) {
|
|
195
|
+
matchResult = 0;
|
|
196
|
+
pieces_3 = matchValue_1;
|
|
197
|
+
} else {
|
|
198
|
+
matchResult = 1;
|
|
199
|
+
}
|
|
200
|
+
} else {
|
|
201
|
+
matchResult = 1;
|
|
202
|
+
}
|
|
203
|
+
switch (matchResult) {
|
|
204
|
+
case 0:
|
|
205
|
+
return pieces_3;
|
|
206
|
+
default:
|
|
207
|
+
return void 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
case /* DoubleQuoted */
|
|
211
|
+
2: {
|
|
212
|
+
const matchValue_2 = Layout_cut(layout, value, true, true);
|
|
213
|
+
let matchResult_1 = void 0, pieces_5 = void 0;
|
|
214
|
+
if (matchValue_2 != null) {
|
|
215
|
+
if (Layout_doubleOk(matchValue_2)) {
|
|
216
|
+
matchResult_1 = 0;
|
|
217
|
+
pieces_5 = matchValue_2;
|
|
218
|
+
} else {
|
|
219
|
+
matchResult_1 = 1;
|
|
220
|
+
}
|
|
221
|
+
} else {
|
|
222
|
+
matchResult_1 = 1;
|
|
223
|
+
}
|
|
224
|
+
switch (matchResult_1) {
|
|
225
|
+
case 0:
|
|
226
|
+
return pieces_5;
|
|
227
|
+
default:
|
|
228
|
+
return void 0;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
case /* Block */
|
|
232
|
+
3:
|
|
233
|
+
if (style.fields[0].tag === /* Literal */
|
|
234
|
+
0) {
|
|
235
|
+
return void 0;
|
|
236
|
+
} else {
|
|
237
|
+
const matchValue_3 = Layout_cut(layout, value, false, false);
|
|
238
|
+
let matchResult_2 = void 0, pieces_7 = void 0;
|
|
239
|
+
if (matchValue_3 != null) {
|
|
240
|
+
if (Layout_foldedOk(value, matchValue_3)) {
|
|
241
|
+
matchResult_2 = 0;
|
|
242
|
+
pieces_7 = matchValue_3;
|
|
243
|
+
} else {
|
|
244
|
+
matchResult_2 = 1;
|
|
245
|
+
}
|
|
246
|
+
} else {
|
|
247
|
+
matchResult_2 = 1;
|
|
248
|
+
}
|
|
249
|
+
switch (matchResult_2) {
|
|
250
|
+
case 0:
|
|
251
|
+
return pieces_7;
|
|
252
|
+
default:
|
|
253
|
+
return void 0;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
default: {
|
|
257
|
+
const matchValue = Layout_cut(layout, value, false, false);
|
|
258
|
+
let matchResult_3 = void 0, pieces_1 = void 0;
|
|
259
|
+
if (matchValue != null) {
|
|
260
|
+
if (Layout_foldsOk(value, matchValue, false)) {
|
|
261
|
+
matchResult_3 = 0;
|
|
262
|
+
pieces_1 = matchValue;
|
|
263
|
+
} else {
|
|
264
|
+
matchResult_3 = 1;
|
|
265
|
+
}
|
|
266
|
+
} else {
|
|
267
|
+
matchResult_3 = 1;
|
|
268
|
+
}
|
|
269
|
+
switch (matchResult_3) {
|
|
270
|
+
case 0:
|
|
271
|
+
return pieces_1;
|
|
272
|
+
default:
|
|
273
|
+
return void 0;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
function Layout_fits(layout, value, style) {
|
|
279
|
+
return Layout_tryPlan(layout, value, style) != null;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export { LayoutPiece, LayoutPiece_$reflection, Layout_consumed, Layout_fits, Layout_tryPlan };
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { Union, Record } from '../../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
2
|
+
import { union_type, record_type, int32_type, bool_type, string_type } from '../../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
3
|
+
import { DirectiveKind_$reflection, YamlScalar_$reflection, YamlComment_$reflection } from './Model.fs.js';
|
|
4
|
+
|
|
5
|
+
function GrammarContext_BlockIn() {
|
|
6
|
+
return GrammarContext.BlockIn;
|
|
7
|
+
}
|
|
8
|
+
function GrammarContext_BlockOut() {
|
|
9
|
+
return GrammarContext.BlockOut;
|
|
10
|
+
}
|
|
11
|
+
function GrammarContext_FlowIn() {
|
|
12
|
+
return GrammarContext.FlowIn;
|
|
13
|
+
}
|
|
14
|
+
function GrammarContext_FlowOut() {
|
|
15
|
+
return GrammarContext.FlowOut;
|
|
16
|
+
}
|
|
17
|
+
function GrammarContext_BlockKey() {
|
|
18
|
+
return GrammarContext.BlockKey;
|
|
19
|
+
}
|
|
20
|
+
function GrammarContext_FlowKey() {
|
|
21
|
+
return GrammarContext.FlowKey;
|
|
22
|
+
}
|
|
23
|
+
class GrammarContext extends Union {
|
|
24
|
+
constructor(tag, fields) {
|
|
25
|
+
super();
|
|
26
|
+
this.tag = tag;
|
|
27
|
+
this.fields = fields;
|
|
28
|
+
}
|
|
29
|
+
cases() {
|
|
30
|
+
return ["BlockIn", "BlockOut", "FlowIn", "FlowOut", "BlockKey", "FlowKey"];
|
|
31
|
+
}
|
|
32
|
+
static {
|
|
33
|
+
this.BlockIn = new GrammarContext(0, []);
|
|
34
|
+
}
|
|
35
|
+
static {
|
|
36
|
+
this.BlockOut = new GrammarContext(1, []);
|
|
37
|
+
}
|
|
38
|
+
static {
|
|
39
|
+
this.FlowIn = new GrammarContext(2, []);
|
|
40
|
+
}
|
|
41
|
+
static {
|
|
42
|
+
this.FlowOut = new GrammarContext(3, []);
|
|
43
|
+
}
|
|
44
|
+
static {
|
|
45
|
+
this.BlockKey = new GrammarContext(4, []);
|
|
46
|
+
}
|
|
47
|
+
static {
|
|
48
|
+
this.FlowKey = new GrammarContext(5, []);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function GrammarContext_$reflection() {
|
|
52
|
+
return union_type("YAMLicious.GrammarContext", [], GrammarContext, () => [[], [], [], [], [], []]);
|
|
53
|
+
}
|
|
54
|
+
class LexContext extends Record {
|
|
55
|
+
constructor(Grammar, ParentIndent, SimpleKey) {
|
|
56
|
+
super();
|
|
57
|
+
this.Grammar = Grammar;
|
|
58
|
+
this.ParentIndent = ParentIndent | 0;
|
|
59
|
+
this.SimpleKey = SimpleKey;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function LexContext_$reflection() {
|
|
63
|
+
return record_type("YAMLicious.LexContext", [], LexContext, () => [["Grammar", GrammarContext_$reflection()], ["ParentIndent", int32_type], ["SimpleKey", bool_type]]);
|
|
64
|
+
}
|
|
65
|
+
function TagToken_Verbatim(uri) {
|
|
66
|
+
return new TagToken(0, [uri]);
|
|
67
|
+
}
|
|
68
|
+
function TagToken_Shorthand(handle, suffix) {
|
|
69
|
+
return new TagToken(1, [handle, suffix]);
|
|
70
|
+
}
|
|
71
|
+
class TagToken extends Union {
|
|
72
|
+
constructor(tag, fields) {
|
|
73
|
+
super();
|
|
74
|
+
this.tag = tag;
|
|
75
|
+
this.fields = fields;
|
|
76
|
+
}
|
|
77
|
+
cases() {
|
|
78
|
+
return ["Verbatim", "Shorthand"];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
function TagToken_$reflection() {
|
|
82
|
+
return union_type("YAMLicious.TagToken", [], TagToken, () => [[["uri", string_type]], [["handle", string_type], ["suffix", string_type]]]);
|
|
83
|
+
}
|
|
84
|
+
function Lexeme_StreamStart() {
|
|
85
|
+
return Lexeme.StreamStart;
|
|
86
|
+
}
|
|
87
|
+
function Lexeme_StreamEnd() {
|
|
88
|
+
return Lexeme.StreamEnd;
|
|
89
|
+
}
|
|
90
|
+
function Lexeme_DocumentStart() {
|
|
91
|
+
return Lexeme.DocumentStart;
|
|
92
|
+
}
|
|
93
|
+
function Lexeme_DocumentEnd() {
|
|
94
|
+
return Lexeme.DocumentEnd;
|
|
95
|
+
}
|
|
96
|
+
function Lexeme_ByteOrderMark() {
|
|
97
|
+
return Lexeme.ByteOrderMark;
|
|
98
|
+
}
|
|
99
|
+
function Lexeme_Directive(Item) {
|
|
100
|
+
return new Lexeme(5, [Item]);
|
|
101
|
+
}
|
|
102
|
+
function Lexeme_LineStart(indent, tabbed) {
|
|
103
|
+
return new Lexeme(6, [indent, tabbed]);
|
|
104
|
+
}
|
|
105
|
+
function Lexeme_BlockEntry() {
|
|
106
|
+
return Lexeme.BlockEntry;
|
|
107
|
+
}
|
|
108
|
+
function Lexeme_ExplicitKey() {
|
|
109
|
+
return Lexeme.ExplicitKey;
|
|
110
|
+
}
|
|
111
|
+
function Lexeme_Value() {
|
|
112
|
+
return Lexeme.Value;
|
|
113
|
+
}
|
|
114
|
+
function Lexeme_FlowSequenceStart() {
|
|
115
|
+
return Lexeme.FlowSequenceStart;
|
|
116
|
+
}
|
|
117
|
+
function Lexeme_FlowSequenceEnd() {
|
|
118
|
+
return Lexeme.FlowSequenceEnd;
|
|
119
|
+
}
|
|
120
|
+
function Lexeme_FlowMappingStart() {
|
|
121
|
+
return Lexeme.FlowMappingStart;
|
|
122
|
+
}
|
|
123
|
+
function Lexeme_FlowMappingEnd() {
|
|
124
|
+
return Lexeme.FlowMappingEnd;
|
|
125
|
+
}
|
|
126
|
+
function Lexeme_FlowEntry() {
|
|
127
|
+
return Lexeme.FlowEntry;
|
|
128
|
+
}
|
|
129
|
+
function Lexeme_Anchor(anchorName) {
|
|
130
|
+
return new Lexeme(15, [anchorName]);
|
|
131
|
+
}
|
|
132
|
+
function Lexeme_Alias(aliasName) {
|
|
133
|
+
return new Lexeme(16, [aliasName]);
|
|
134
|
+
}
|
|
135
|
+
function Lexeme_Tag(Item) {
|
|
136
|
+
return new Lexeme(17, [Item]);
|
|
137
|
+
}
|
|
138
|
+
function Lexeme_Scalar(Item) {
|
|
139
|
+
return new Lexeme(18, [Item]);
|
|
140
|
+
}
|
|
141
|
+
function Lexeme_Comment$(comment, ownLine) {
|
|
142
|
+
return new Lexeme(19, [comment, ownLine]);
|
|
143
|
+
}
|
|
144
|
+
function Lexeme_BlankLine() {
|
|
145
|
+
return Lexeme.BlankLine;
|
|
146
|
+
}
|
|
147
|
+
class Lexeme extends Union {
|
|
148
|
+
constructor(tag, fields) {
|
|
149
|
+
super();
|
|
150
|
+
this.tag = tag;
|
|
151
|
+
this.fields = fields;
|
|
152
|
+
}
|
|
153
|
+
cases() {
|
|
154
|
+
return ["StreamStart", "StreamEnd", "DocumentStart", "DocumentEnd", "ByteOrderMark", "Directive", "LineStart", "BlockEntry", "ExplicitKey", "Value", "FlowSequenceStart", "FlowSequenceEnd", "FlowMappingStart", "FlowMappingEnd", "FlowEntry", "Anchor", "Alias", "Tag", "Scalar", "Comment", "BlankLine"];
|
|
155
|
+
}
|
|
156
|
+
static {
|
|
157
|
+
this.StreamStart = new Lexeme(0, []);
|
|
158
|
+
}
|
|
159
|
+
static {
|
|
160
|
+
this.StreamEnd = new Lexeme(1, []);
|
|
161
|
+
}
|
|
162
|
+
static {
|
|
163
|
+
this.DocumentStart = new Lexeme(2, []);
|
|
164
|
+
}
|
|
165
|
+
static {
|
|
166
|
+
this.DocumentEnd = new Lexeme(3, []);
|
|
167
|
+
}
|
|
168
|
+
static {
|
|
169
|
+
this.ByteOrderMark = new Lexeme(4, []);
|
|
170
|
+
}
|
|
171
|
+
static {
|
|
172
|
+
this.BlockEntry = new Lexeme(7, []);
|
|
173
|
+
}
|
|
174
|
+
static {
|
|
175
|
+
this.ExplicitKey = new Lexeme(8, []);
|
|
176
|
+
}
|
|
177
|
+
static {
|
|
178
|
+
this.Value = new Lexeme(9, []);
|
|
179
|
+
}
|
|
180
|
+
static {
|
|
181
|
+
this.FlowSequenceStart = new Lexeme(10, []);
|
|
182
|
+
}
|
|
183
|
+
static {
|
|
184
|
+
this.FlowSequenceEnd = new Lexeme(11, []);
|
|
185
|
+
}
|
|
186
|
+
static {
|
|
187
|
+
this.FlowMappingStart = new Lexeme(12, []);
|
|
188
|
+
}
|
|
189
|
+
static {
|
|
190
|
+
this.FlowMappingEnd = new Lexeme(13, []);
|
|
191
|
+
}
|
|
192
|
+
static {
|
|
193
|
+
this.FlowEntry = new Lexeme(14, []);
|
|
194
|
+
}
|
|
195
|
+
static {
|
|
196
|
+
this.BlankLine = new Lexeme(20, []);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
function Lexeme_$reflection() {
|
|
200
|
+
return union_type("YAMLicious.Lexeme", [], Lexeme, () => [[], [], [], [], [], [["Item", DirectiveKind_$reflection()]], [["indent", int32_type], ["tabbed", bool_type]], [], [], [], [], [], [], [], [], [["anchorName", string_type]], [["aliasName", string_type]], [["Item", TagToken_$reflection()]], [["Item", YamlScalar_$reflection()]], [["comment", YamlComment_$reflection()], ["ownLine", bool_type]], []]);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export { GrammarContext, GrammarContext_$reflection, GrammarContext_BlockIn, GrammarContext_BlockKey, GrammarContext_BlockOut, GrammarContext_FlowIn, GrammarContext_FlowKey, GrammarContext_FlowOut, LexContext, LexContext_$reflection, Lexeme, Lexeme_$reflection, Lexeme_Alias, Lexeme_Anchor, Lexeme_BlankLine, Lexeme_BlockEntry, Lexeme_ByteOrderMark, Lexeme_Comment$, Lexeme_Directive, Lexeme_DocumentEnd, Lexeme_DocumentStart, Lexeme_ExplicitKey, Lexeme_FlowEntry, Lexeme_FlowMappingEnd, Lexeme_FlowMappingStart, Lexeme_FlowSequenceEnd, Lexeme_FlowSequenceStart, Lexeme_LineStart, Lexeme_Scalar, Lexeme_StreamEnd, Lexeme_StreamStart, Lexeme_Tag, Lexeme_Value, TagToken, TagToken_$reflection, TagToken_Shorthand, TagToken_Verbatim };
|