@everyonesoftware/common 13.0.0 → 14.0.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/outputs/sources/ANSIStyles.d.ts +10 -0
- package/outputs/sources/ANSIStyles.d.ts.map +1 -0
- package/outputs/sources/ANSIStyles.js +23 -0
- package/outputs/sources/ANSIStyles.js.map +1 -0
- package/outputs/sources/CharacterTable.d.ts +11 -0
- package/outputs/sources/CharacterTable.d.ts.map +1 -0
- package/outputs/sources/CharacterTable.js +28 -0
- package/outputs/sources/CharacterTable.js.map +1 -0
- package/outputs/sources/Clock.d.ts +12 -0
- package/outputs/sources/Clock.d.ts.map +1 -0
- package/outputs/sources/Clock.js +10 -0
- package/outputs/sources/Clock.js.map +1 -0
- package/outputs/sources/FetchError.d.ts +7 -0
- package/outputs/sources/FetchError.d.ts.map +1 -0
- package/outputs/sources/FetchError.js +20 -0
- package/outputs/sources/FetchError.js.map +1 -0
- package/outputs/sources/HttpRequestHandler.d.ts +8 -0
- package/outputs/sources/HttpRequestHandler.d.ts.map +1 -0
- package/outputs/sources/HttpRequestHandler.js +2 -0
- package/outputs/sources/HttpRequestHandler.js.map +1 -0
- package/outputs/sources/IndentedCharacterWriteStream.d.ts +21 -0
- package/outputs/sources/IndentedCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/IndentedCharacterWriteStream.js +110 -0
- package/outputs/sources/IndentedCharacterWriteStream.js.map +1 -0
- package/outputs/sources/Indexable.d.ts +51 -0
- package/outputs/sources/Indexable.d.ts.map +1 -0
- package/outputs/sources/Indexable.js +122 -0
- package/outputs/sources/Indexable.js.map +1 -0
- package/outputs/sources/MutableIndexable.d.ts +51 -0
- package/outputs/sources/MutableIndexable.d.ts.map +1 -0
- package/outputs/sources/MutableIndexable.js +96 -0
- package/outputs/sources/MutableIndexable.js.map +1 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.d.ts +25 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.d.ts.map +1 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.js +77 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.js.map +1 -0
- package/outputs/sources/RealClock.d.ts +11 -0
- package/outputs/sources/RealClock.d.ts.map +1 -0
- package/outputs/sources/RealClock.js +15 -0
- package/outputs/sources/RealClock.js.map +1 -0
- package/outputs/sources/Token.d.ts +31 -0
- package/outputs/sources/Token.d.ts.map +1 -0
- package/outputs/sources/Token.js +80 -0
- package/outputs/sources/Token.js.map +1 -0
- package/outputs/sources/TokenType.d.ts +19 -0
- package/outputs/sources/TokenType.d.ts.map +1 -0
- package/outputs/sources/TokenType.js +27 -0
- package/outputs/sources/TokenType.js.map +1 -0
- package/outputs/sources/Tokenizer.d.ts +37 -0
- package/outputs/sources/Tokenizer.d.ts.map +1 -0
- package/outputs/sources/Tokenizer.js +163 -0
- package/outputs/sources/Tokenizer.js.map +1 -0
- package/outputs/sources/assertMessageParameters.d.ts +22 -0
- package/outputs/sources/assertMessageParameters.d.ts.map +1 -0
- package/outputs/sources/assertMessageParameters.js +2 -0
- package/outputs/sources/assertMessageParameters.js.map +1 -0
- package/outputs/sources/asyncIterator.d.ts +155 -0
- package/outputs/sources/asyncIterator.d.ts.map +1 -0
- package/outputs/sources/asyncIterator.js +303 -0
- package/outputs/sources/asyncIterator.js.map +1 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.d.ts +13 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.js +34 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.js.map +1 -0
- package/outputs/sources/asyncResult.d.ts +73 -0
- package/outputs/sources/asyncResult.d.ts.map +1 -0
- package/outputs/sources/asyncResult.js +33 -0
- package/outputs/sources/asyncResult.js.map +1 -0
- package/outputs/sources/basicDisposable.d.ts +21 -0
- package/outputs/sources/basicDisposable.d.ts.map +1 -0
- package/outputs/sources/basicDisposable.js +42 -0
- package/outputs/sources/basicDisposable.js.map +1 -0
- package/outputs/sources/byteList.d.ts +43 -0
- package/outputs/sources/byteList.d.ts.map +1 -0
- package/outputs/sources/byteList.js +128 -0
- package/outputs/sources/byteList.js.map +1 -0
- package/outputs/sources/byteListStream.d.ts +20 -0
- package/outputs/sources/byteListStream.d.ts.map +1 -0
- package/outputs/sources/byteListStream.js +84 -0
- package/outputs/sources/byteListStream.js.map +1 -0
- package/outputs/sources/byteReadStream.d.ts +23 -0
- package/outputs/sources/byteReadStream.d.ts.map +1 -0
- package/outputs/sources/byteReadStream.js +6 -0
- package/outputs/sources/byteReadStream.js.map +1 -0
- package/outputs/sources/byteWriteStream.d.ts +15 -0
- package/outputs/sources/byteWriteStream.d.ts.map +1 -0
- package/outputs/sources/byteWriteStream.js +6 -0
- package/outputs/sources/byteWriteStream.js.map +1 -0
- package/outputs/sources/bytes.d.ts +20 -0
- package/outputs/sources/bytes.d.ts.map +1 -0
- package/outputs/sources/bytes.js +22 -0
- package/outputs/sources/bytes.js.map +1 -0
- package/outputs/sources/characterList.d.ts +39 -0
- package/outputs/sources/characterList.d.ts.map +1 -0
- package/outputs/sources/characterList.js +122 -0
- package/outputs/sources/characterList.js.map +1 -0
- package/outputs/sources/characterListStream.d.ts +27 -0
- package/outputs/sources/characterListStream.d.ts.map +1 -0
- package/outputs/sources/characterListStream.js +103 -0
- package/outputs/sources/characterListStream.js.map +1 -0
- package/outputs/sources/characterReadStream.d.ts +25 -0
- package/outputs/sources/characterReadStream.d.ts.map +1 -0
- package/outputs/sources/characterReadStream.js +57 -0
- package/outputs/sources/characterReadStream.js.map +1 -0
- package/outputs/sources/characterReadStreamIterator.d.ts +31 -0
- package/outputs/sources/characterReadStreamIterator.d.ts.map +1 -0
- package/outputs/sources/characterReadStreamIterator.js +79 -0
- package/outputs/sources/characterReadStreamIterator.js.map +1 -0
- package/outputs/sources/characterWriteStream.d.ts +18 -0
- package/outputs/sources/characterWriteStream.d.ts.map +1 -0
- package/outputs/sources/characterWriteStream.js +27 -0
- package/outputs/sources/characterWriteStream.js.map +1 -0
- package/outputs/sources/commandLineParameter.d.ts +30 -0
- package/outputs/sources/commandLineParameter.d.ts.map +1 -0
- package/outputs/sources/commandLineParameter.js +73 -0
- package/outputs/sources/commandLineParameter.js.map +1 -0
- package/outputs/sources/commandLineParameters.d.ts +23 -0
- package/outputs/sources/commandLineParameters.d.ts.map +1 -0
- package/outputs/sources/commandLineParameters.js +82 -0
- package/outputs/sources/commandLineParameters.js.map +1 -0
- package/outputs/sources/comparable.d.ts +79 -0
- package/outputs/sources/comparable.d.ts.map +1 -0
- package/outputs/sources/comparable.js +106 -0
- package/outputs/sources/comparable.js.map +1 -0
- package/outputs/sources/comparer.d.ts +62 -0
- package/outputs/sources/comparer.d.ts.map +1 -0
- package/outputs/sources/comparer.js +102 -0
- package/outputs/sources/comparer.js.map +1 -0
- package/outputs/sources/comparison.d.ts +18 -0
- package/outputs/sources/comparison.d.ts.map +1 -0
- package/outputs/sources/comparison.js +19 -0
- package/outputs/sources/comparison.js.map +1 -0
- package/outputs/sources/concatenateIterable.d.ts +28 -0
- package/outputs/sources/concatenateIterable.d.ts.map +1 -0
- package/outputs/sources/concatenateIterable.js +74 -0
- package/outputs/sources/concatenateIterable.js.map +1 -0
- package/outputs/sources/concatenateIterator.d.ts +30 -0
- package/outputs/sources/concatenateIterator.d.ts.map +1 -0
- package/outputs/sources/concatenateIterator.js +104 -0
- package/outputs/sources/concatenateIterator.js.map +1 -0
- package/outputs/sources/condition.d.ts +248 -0
- package/outputs/sources/condition.d.ts.map +1 -0
- package/outputs/sources/condition.js +166 -0
- package/outputs/sources/condition.js.map +1 -0
- package/outputs/sources/currentProcess.d.ts +31 -0
- package/outputs/sources/currentProcess.d.ts.map +1 -0
- package/outputs/sources/currentProcess.js +106 -0
- package/outputs/sources/currentProcess.js.map +1 -0
- package/outputs/sources/dateTime.d.ts +44 -0
- package/outputs/sources/dateTime.d.ts.map +1 -0
- package/outputs/sources/dateTime.js +76 -0
- package/outputs/sources/dateTime.js.map +1 -0
- package/outputs/sources/depthFirstSearch.d.ts +9 -0
- package/outputs/sources/depthFirstSearch.d.ts.map +1 -0
- package/outputs/sources/depthFirstSearch.js +148 -0
- package/outputs/sources/depthFirstSearch.js.map +1 -0
- package/outputs/sources/disposable.d.ts +25 -0
- package/outputs/sources/disposable.d.ts.map +1 -0
- package/outputs/sources/disposable.js +16 -0
- package/outputs/sources/disposable.js.map +1 -0
- package/outputs/sources/emptyError.d.ts +7 -0
- package/outputs/sources/emptyError.d.ts.map +1 -0
- package/outputs/sources/emptyError.js +9 -0
- package/outputs/sources/emptyError.js.map +1 -0
- package/outputs/sources/english.d.ts +4 -0
- package/outputs/sources/english.d.ts.map +1 -0
- package/outputs/sources/english.js +33 -0
- package/outputs/sources/english.js.map +1 -0
- package/outputs/sources/equalFunctions.d.ts +18 -0
- package/outputs/sources/equalFunctions.d.ts.map +1 -0
- package/outputs/sources/equalFunctions.js +88 -0
- package/outputs/sources/equalFunctions.js.map +1 -0
- package/outputs/sources/fetchHttpClient.d.ts +16 -0
- package/outputs/sources/fetchHttpClient.d.ts.map +1 -0
- package/outputs/sources/fetchHttpClient.js +86 -0
- package/outputs/sources/fetchHttpClient.js.map +1 -0
- package/outputs/sources/fetchHttpResponse.d.ts +19 -0
- package/outputs/sources/fetchHttpResponse.d.ts.map +1 -0
- package/outputs/sources/fetchHttpResponse.js +72 -0
- package/outputs/sources/fetchHttpResponse.js.map +1 -0
- package/outputs/sources/flatMapIterable.d.ts +29 -0
- package/outputs/sources/flatMapIterable.d.ts.map +1 -0
- package/outputs/sources/flatMapIterable.js +61 -0
- package/outputs/sources/flatMapIterable.js.map +1 -0
- package/outputs/sources/flatMapIterator.d.ts +33 -0
- package/outputs/sources/flatMapIterator.d.ts.map +1 -0
- package/outputs/sources/flatMapIterator.js +95 -0
- package/outputs/sources/flatMapIterator.js.map +1 -0
- package/outputs/sources/generator.d.ts +55 -0
- package/outputs/sources/generator.d.ts.map +1 -0
- package/outputs/sources/generator.js +139 -0
- package/outputs/sources/generator.js.map +1 -0
- package/outputs/sources/httpClient.d.ts +21 -0
- package/outputs/sources/httpClient.d.ts.map +1 -0
- package/outputs/sources/httpClient.js +22 -0
- package/outputs/sources/httpClient.js.map +1 -0
- package/outputs/sources/httpHeader.d.ts +10 -0
- package/outputs/sources/httpHeader.d.ts.map +1 -0
- package/outputs/sources/httpHeader.js +25 -0
- package/outputs/sources/httpHeader.js.map +1 -0
- package/outputs/sources/httpHeaders.d.ts +68 -0
- package/outputs/sources/httpHeaders.d.ts.map +1 -0
- package/outputs/sources/httpHeaders.js +122 -0
- package/outputs/sources/httpHeaders.js.map +1 -0
- package/outputs/sources/httpIncomingRequest.d.ts +40 -0
- package/outputs/sources/httpIncomingRequest.d.ts.map +1 -0
- package/outputs/sources/httpIncomingRequest.js +6 -0
- package/outputs/sources/httpIncomingRequest.js.map +1 -0
- package/outputs/sources/httpIncomingResponse.d.ts +28 -0
- package/outputs/sources/httpIncomingResponse.d.ts.map +1 -0
- package/outputs/sources/httpIncomingResponse.js +6 -0
- package/outputs/sources/httpIncomingResponse.js.map +1 -0
- package/outputs/sources/httpMethod.d.ts +62 -0
- package/outputs/sources/httpMethod.d.ts.map +1 -0
- package/outputs/sources/httpMethod.js +136 -0
- package/outputs/sources/httpMethod.js.map +1 -0
- package/outputs/sources/httpOutgoingRequest.d.ts +50 -0
- package/outputs/sources/httpOutgoingRequest.d.ts.map +1 -0
- package/outputs/sources/httpOutgoingRequest.js +84 -0
- package/outputs/sources/httpOutgoingRequest.js.map +1 -0
- package/outputs/sources/httpOutgoingResponse.d.ts +46 -0
- package/outputs/sources/httpOutgoingResponse.d.ts.map +1 -0
- package/outputs/sources/httpOutgoingResponse.js +6 -0
- package/outputs/sources/httpOutgoingResponse.js.map +1 -0
- package/outputs/sources/httpServer.d.ts +29 -0
- package/outputs/sources/httpServer.d.ts.map +1 -0
- package/outputs/sources/httpServer.js +3 -0
- package/outputs/sources/httpServer.js.map +1 -0
- package/outputs/sources/inMemoryCharacterWriteStream.d.ts +15 -0
- package/outputs/sources/inMemoryCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/inMemoryCharacterWriteStream.js +52 -0
- package/outputs/sources/inMemoryCharacterWriteStream.js.map +1 -0
- package/outputs/sources/index.d.ts +111 -0
- package/outputs/sources/index.d.ts.map +1 -0
- package/outputs/sources/index.js +111 -0
- package/outputs/sources/index.js.map +1 -0
- package/outputs/sources/iterable.d.ts +132 -0
- package/outputs/sources/iterable.d.ts.map +1 -0
- package/outputs/sources/iterable.js +251 -0
- package/outputs/sources/iterable.js.map +1 -0
- package/outputs/sources/iterator.d.ts +163 -0
- package/outputs/sources/iterator.d.ts.map +1 -0
- package/outputs/sources/iterator.js +332 -0
- package/outputs/sources/iterator.js.map +1 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.d.ts +13 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.js +34 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascript.d.ts +51 -0
- package/outputs/sources/javascript.d.ts.map +1 -0
- package/outputs/sources/javascript.js +8 -0
- package/outputs/sources/javascript.js.map +1 -0
- package/outputs/sources/javascriptArrayList.d.ts +39 -0
- package/outputs/sources/javascriptArrayList.d.ts.map +1 -0
- package/outputs/sources/javascriptArrayList.js +104 -0
- package/outputs/sources/javascriptArrayList.js.map +1 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.d.ts +29 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.js +77 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.d.ts +31 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.js +83 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascriptMapMap.d.ts +37 -0
- package/outputs/sources/javascriptMapMap.d.ts.map +1 -0
- package/outputs/sources/javascriptMapMap.js +88 -0
- package/outputs/sources/javascriptMapMap.js.map +1 -0
- package/outputs/sources/javascriptSetSet.d.ts +33 -0
- package/outputs/sources/javascriptSetSet.d.ts.map +1 -0
- package/outputs/sources/javascriptSetSet.js +84 -0
- package/outputs/sources/javascriptSetSet.js.map +1 -0
- package/outputs/sources/list.d.ts +106 -0
- package/outputs/sources/list.d.ts.map +1 -0
- package/outputs/sources/list.js +211 -0
- package/outputs/sources/list.js.map +1 -0
- package/outputs/sources/listQueue.d.ts +16 -0
- package/outputs/sources/listQueue.d.ts.map +1 -0
- package/outputs/sources/listQueue.js +39 -0
- package/outputs/sources/listQueue.js.map +1 -0
- package/outputs/sources/listStack.d.ts +17 -0
- package/outputs/sources/listStack.d.ts.map +1 -0
- package/outputs/sources/listStack.js +42 -0
- package/outputs/sources/listStack.js.map +1 -0
- package/outputs/sources/luxonDateTime.d.ts +26 -0
- package/outputs/sources/luxonDateTime.d.ts.map +1 -0
- package/outputs/sources/luxonDateTime.js +70 -0
- package/outputs/sources/luxonDateTime.js.map +1 -0
- package/outputs/sources/map.d.ts +105 -0
- package/outputs/sources/map.d.ts.map +1 -0
- package/outputs/sources/map.js +185 -0
- package/outputs/sources/map.js.map +1 -0
- package/outputs/sources/mapAsyncIterator.d.ts +34 -0
- package/outputs/sources/mapAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/mapAsyncIterator.js +91 -0
- package/outputs/sources/mapAsyncIterator.js.map +1 -0
- package/outputs/sources/mapIterable.d.ts +31 -0
- package/outputs/sources/mapIterable.d.ts.map +1 -0
- package/outputs/sources/mapIterable.js +64 -0
- package/outputs/sources/mapIterable.js.map +1 -0
- package/outputs/sources/mapIterator.d.ts +35 -0
- package/outputs/sources/mapIterator.d.ts.map +1 -0
- package/outputs/sources/mapIterator.js +93 -0
- package/outputs/sources/mapIterator.js.map +1 -0
- package/outputs/sources/mutableCondition.d.ts +99 -0
- package/outputs/sources/mutableCondition.d.ts.map +1 -0
- package/outputs/sources/mutableCondition.js +334 -0
- package/outputs/sources/mutableCondition.js.map +1 -0
- package/outputs/sources/mutableHttpHeaders.d.ts +44 -0
- package/outputs/sources/mutableHttpHeaders.d.ts.map +1 -0
- package/outputs/sources/mutableHttpHeaders.js +125 -0
- package/outputs/sources/mutableHttpHeaders.js.map +1 -0
- package/outputs/sources/mutableMap.d.ts +125 -0
- package/outputs/sources/mutableMap.d.ts.map +1 -0
- package/outputs/sources/mutableMap.js +179 -0
- package/outputs/sources/mutableMap.js.map +1 -0
- package/outputs/sources/network.d.ts +16 -0
- package/outputs/sources/network.d.ts.map +1 -0
- package/outputs/sources/network.js +6 -0
- package/outputs/sources/network.js.map +1 -0
- package/outputs/sources/node.d.ts +11 -0
- package/outputs/sources/node.d.ts.map +1 -0
- package/outputs/sources/node.js +24 -0
- package/outputs/sources/node.js.map +1 -0
- package/outputs/sources/nodeJSCharacterWriteStream.d.ts +9 -0
- package/outputs/sources/nodeJSCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/nodeJSCharacterWriteStream.js +28 -0
- package/outputs/sources/nodeJSCharacterWriteStream.js.map +1 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.d.ts +21 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.d.ts.map +1 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.js +88 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.js.map +1 -0
- package/outputs/sources/nodeJSHttpServer.d.ts +21 -0
- package/outputs/sources/nodeJSHttpServer.d.ts.map +1 -0
- package/outputs/sources/nodeJSHttpServer.js +83 -0
- package/outputs/sources/nodeJSHttpServer.js.map +1 -0
- package/outputs/sources/notFoundError.d.ts +7 -0
- package/outputs/sources/notFoundError.d.ts.map +1 -0
- package/outputs/sources/notFoundError.js +10 -0
- package/outputs/sources/notFoundError.js.map +1 -0
- package/outputs/sources/postCondition.d.ts +186 -0
- package/outputs/sources/postCondition.d.ts.map +1 -0
- package/outputs/sources/postCondition.js +224 -0
- package/outputs/sources/postCondition.js.map +1 -0
- package/outputs/sources/postConditionError.d.ts +7 -0
- package/outputs/sources/postConditionError.d.ts.map +1 -0
- package/outputs/sources/postConditionError.js +10 -0
- package/outputs/sources/postConditionError.js.map +1 -0
- package/outputs/sources/preCondition.d.ts +186 -0
- package/outputs/sources/preCondition.d.ts.map +1 -0
- package/outputs/sources/preCondition.js +224 -0
- package/outputs/sources/preCondition.js.map +1 -0
- package/outputs/sources/preConditionError.d.ts +7 -0
- package/outputs/sources/preConditionError.d.ts.map +1 -0
- package/outputs/sources/preConditionError.js +10 -0
- package/outputs/sources/preConditionError.js.map +1 -0
- package/outputs/sources/promiseAsyncResult.d.ts +22 -0
- package/outputs/sources/promiseAsyncResult.d.ts.map +1 -0
- package/outputs/sources/promiseAsyncResult.js +131 -0
- package/outputs/sources/promiseAsyncResult.js.map +1 -0
- package/outputs/sources/property.d.ts +15 -0
- package/outputs/sources/property.d.ts.map +1 -0
- package/outputs/sources/property.js +44 -0
- package/outputs/sources/property.js.map +1 -0
- package/outputs/sources/queue.d.ts +39 -0
- package/outputs/sources/queue.d.ts.map +1 -0
- package/outputs/sources/queue.js +14 -0
- package/outputs/sources/queue.js.map +1 -0
- package/outputs/sources/realNetwork.d.ts +10 -0
- package/outputs/sources/realNetwork.d.ts.map +1 -0
- package/outputs/sources/realNetwork.js +18 -0
- package/outputs/sources/realNetwork.js.map +1 -0
- package/outputs/sources/recreationDotGovClient.d.ts +79 -0
- package/outputs/sources/recreationDotGovClient.d.ts.map +1 -0
- package/outputs/sources/recreationDotGovClient.js +130 -0
- package/outputs/sources/recreationDotGovClient.js.map +1 -0
- package/outputs/sources/searchControl.d.ts +36 -0
- package/outputs/sources/searchControl.d.ts.map +1 -0
- package/outputs/sources/searchControl.js +6 -0
- package/outputs/sources/searchControl.js.map +1 -0
- package/outputs/sources/set.d.ts +62 -0
- package/outputs/sources/set.d.ts.map +1 -0
- package/outputs/sources/set.js +145 -0
- package/outputs/sources/set.js.map +1 -0
- package/outputs/sources/skipAsyncIterator.d.ts +34 -0
- package/outputs/sources/skipAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/skipAsyncIterator.js +94 -0
- package/outputs/sources/skipAsyncIterator.js.map +1 -0
- package/outputs/sources/skipIterator.d.ts +36 -0
- package/outputs/sources/skipIterator.d.ts.map +1 -0
- package/outputs/sources/skipIterator.js +100 -0
- package/outputs/sources/skipIterator.js.map +1 -0
- package/outputs/sources/stack.d.ts +43 -0
- package/outputs/sources/stack.d.ts.map +1 -0
- package/outputs/sources/stack.js +14 -0
- package/outputs/sources/stack.js.map +1 -0
- package/outputs/sources/stringComparer.d.ts +12 -0
- package/outputs/sources/stringComparer.d.ts.map +1 -0
- package/outputs/sources/stringComparer.js +24 -0
- package/outputs/sources/stringComparer.js.map +1 -0
- package/outputs/sources/stringIterator.d.ts +36 -0
- package/outputs/sources/stringIterator.d.ts.map +1 -0
- package/outputs/sources/stringIterator.js +94 -0
- package/outputs/sources/stringIterator.js.map +1 -0
- package/outputs/sources/strings.d.ts +78 -0
- package/outputs/sources/strings.d.ts.map +1 -0
- package/outputs/sources/strings.js +218 -0
- package/outputs/sources/strings.js.map +1 -0
- package/outputs/sources/syncResult.d.ts +32 -0
- package/outputs/sources/syncResult.d.ts.map +1 -0
- package/outputs/sources/syncResult.js +200 -0
- package/outputs/sources/syncResult.js.map +1 -0
- package/outputs/sources/takeAsyncIterator.d.ts +34 -0
- package/outputs/sources/takeAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/takeAsyncIterator.js +92 -0
- package/outputs/sources/takeAsyncIterator.js.map +1 -0
- package/outputs/sources/takeIterator.d.ts +36 -0
- package/outputs/sources/takeIterator.d.ts.map +1 -0
- package/outputs/sources/takeIterator.js +98 -0
- package/outputs/sources/takeIterator.js.map +1 -0
- package/outputs/sources/toStringFunctions.d.ts +21 -0
- package/outputs/sources/toStringFunctions.d.ts.map +1 -0
- package/outputs/sources/toStringFunctions.js +130 -0
- package/outputs/sources/toStringFunctions.js.map +1 -0
- package/outputs/sources/types.d.ts +194 -0
- package/outputs/sources/types.d.ts.map +1 -0
- package/outputs/sources/types.js +277 -0
- package/outputs/sources/types.js.map +1 -0
- package/outputs/sources/whereAsyncIterator.d.ts +33 -0
- package/outputs/sources/whereAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/whereAsyncIterator.js +91 -0
- package/outputs/sources/whereAsyncIterator.js.map +1 -0
- package/outputs/sources/whereIterable.d.ts +32 -0
- package/outputs/sources/whereIterable.d.ts.map +1 -0
- package/outputs/sources/whereIterable.js +65 -0
- package/outputs/sources/whereIterable.js.map +1 -0
- package/outputs/sources/whereIterator.d.ts +35 -0
- package/outputs/sources/whereIterator.d.ts.map +1 -0
- package/outputs/sources/whereIterator.js +102 -0
- package/outputs/sources/whereIterator.js.map +1 -0
- package/outputs/sources/wonderlandTrailClient.d.ts +202 -0
- package/outputs/sources/wonderlandTrailClient.d.ts.map +1 -0
- package/outputs/sources/wonderlandTrailClient.js +1094 -0
- package/outputs/sources/wonderlandTrailClient.js.map +1 -0
- package/outputs/tests/AssertTestCreator.d.ts +11 -0
- package/outputs/tests/AssertTestCreator.d.ts.map +1 -0
- package/outputs/tests/AssertTestCreator.js +15 -0
- package/outputs/tests/AssertTestCreator.js.map +1 -0
- package/outputs/tests/BasicTestError.d.ts +14 -0
- package/outputs/tests/BasicTestError.d.ts.map +1 -0
- package/outputs/tests/BasicTestError.js +94 -0
- package/outputs/tests/BasicTestError.js.map +1 -0
- package/outputs/tests/BasicTestErrorCreator.d.ts +11 -0
- package/outputs/tests/BasicTestErrorCreator.d.ts.map +1 -0
- package/outputs/tests/BasicTestErrorCreator.js +15 -0
- package/outputs/tests/BasicTestErrorCreator.js.map +1 -0
- package/outputs/tests/BasicTestErrorTests.d.ts +3 -0
- package/outputs/tests/BasicTestErrorTests.d.ts.map +1 -0
- package/outputs/tests/BasicTestErrorTests.js +236 -0
- package/outputs/tests/BasicTestErrorTests.js.map +1 -0
- package/outputs/tests/CharacterTableTests.d.ts +3 -0
- package/outputs/tests/CharacterTableTests.d.ts.map +1 -0
- package/outputs/tests/CharacterTableTests.js +24 -0
- package/outputs/tests/CharacterTableTests.js.map +1 -0
- package/outputs/tests/ClockTests.d.ts +5 -0
- package/outputs/tests/ClockTests.d.ts.map +1 -0
- package/outputs/tests/ClockTests.js +23 -0
- package/outputs/tests/ClockTests.js.map +1 -0
- package/outputs/tests/CommandLineParametersTests.d.ts +3 -0
- package/outputs/tests/CommandLineParametersTests.d.ts.map +1 -0
- package/outputs/tests/CommandLineParametersTests.js +58 -0
- package/outputs/tests/CommandLineParametersTests.js.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUI.d.ts +49 -0
- package/outputs/tests/ConsoleTestRunnerUI.d.ts.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUI.js +213 -0
- package/outputs/tests/ConsoleTestRunnerUI.js.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUITests.d.ts +5 -0
- package/outputs/tests/ConsoleTestRunnerUITests.d.ts.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUITests.js +26 -0
- package/outputs/tests/ConsoleTestRunnerUITests.js.map +1 -0
- package/outputs/tests/FakeClock.d.ts +16 -0
- package/outputs/tests/FakeClock.d.ts.map +1 -0
- package/outputs/tests/FakeClock.js +27 -0
- package/outputs/tests/FakeClock.js.map +1 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.d.ts +3 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.js +269 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.js.map +1 -0
- package/outputs/tests/IndexableTests.d.ts +5 -0
- package/outputs/tests/IndexableTests.d.ts.map +1 -0
- package/outputs/tests/IndexableTests.js +46 -0
- package/outputs/tests/IndexableTests.js.map +1 -0
- package/outputs/tests/MutableIndexableTests.d.ts +5 -0
- package/outputs/tests/MutableIndexableTests.d.ts.map +1 -0
- package/outputs/tests/MutableIndexableTests.js +33 -0
- package/outputs/tests/MutableIndexableTests.js.map +1 -0
- package/outputs/tests/TestCreator.d.ts +15 -0
- package/outputs/tests/TestCreator.d.ts.map +1 -0
- package/outputs/tests/TestCreator.js +13 -0
- package/outputs/tests/TestCreator.js.map +1 -0
- package/outputs/tests/TestError.d.ts +31 -0
- package/outputs/tests/TestError.d.ts.map +1 -0
- package/outputs/tests/TestError.js +5 -0
- package/outputs/tests/TestError.js.map +1 -0
- package/outputs/tests/TestErrorCreator.d.ts +6 -0
- package/outputs/tests/TestErrorCreator.d.ts.map +1 -0
- package/outputs/tests/TestErrorCreator.js +7 -0
- package/outputs/tests/TestErrorCreator.js.map +1 -0
- package/outputs/tests/TokenizerTests.d.ts +3 -0
- package/outputs/tests/TokenizerTests.d.ts.map +1 -0
- package/outputs/tests/TokenizerTests.js +100 -0
- package/outputs/tests/TokenizerTests.js.map +1 -0
- package/outputs/tests/assertTest.d.ts +32 -0
- package/outputs/tests/assertTest.d.ts.map +1 -0
- package/outputs/tests/assertTest.js +75 -0
- package/outputs/tests/assertTest.js.map +1 -0
- package/outputs/tests/assertTestTests.d.ts +3 -0
- package/outputs/tests/assertTestTests.d.ts.map +1 -0
- package/outputs/tests/assertTestTests.js +49 -0
- package/outputs/tests/assertTestTests.js.map +1 -0
- package/outputs/tests/basicTestSkip.d.ts +20 -0
- package/outputs/tests/basicTestSkip.d.ts.map +1 -0
- package/outputs/tests/basicTestSkip.js +36 -0
- package/outputs/tests/basicTestSkip.js.map +1 -0
- package/outputs/tests/byteListStreamTests.d.ts +3 -0
- package/outputs/tests/byteListStreamTests.d.ts.map +1 -0
- package/outputs/tests/byteListStreamTests.js +247 -0
- package/outputs/tests/byteListStreamTests.js.map +1 -0
- package/outputs/tests/byteListTests.d.ts +3 -0
- package/outputs/tests/byteListTests.d.ts.map +1 -0
- package/outputs/tests/byteListTests.js +5 -0
- package/outputs/tests/byteListTests.js.map +1 -0
- package/outputs/tests/bytesTests.d.ts +3 -0
- package/outputs/tests/bytesTests.d.ts.map +1 -0
- package/outputs/tests/bytesTests.js +30 -0
- package/outputs/tests/bytesTests.js.map +1 -0
- package/outputs/tests/characterListStreamTests.d.ts +3 -0
- package/outputs/tests/characterListStreamTests.d.ts.map +1 -0
- package/outputs/tests/characterListStreamTests.js +247 -0
- package/outputs/tests/characterListStreamTests.js.map +1 -0
- package/outputs/tests/characterListTests.d.ts +3 -0
- package/outputs/tests/characterListTests.d.ts.map +1 -0
- package/outputs/tests/characterListTests.js +159 -0
- package/outputs/tests/characterListTests.js.map +1 -0
- package/outputs/tests/characterWriteStreamTests.d.ts +4 -0
- package/outputs/tests/characterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/characterWriteStreamTests.js +7 -0
- package/outputs/tests/characterWriteStreamTests.js.map +1 -0
- package/outputs/tests/comparerTests.d.ts +3 -0
- package/outputs/tests/comparerTests.d.ts.map +1 -0
- package/outputs/tests/comparerTests.js +67 -0
- package/outputs/tests/comparerTests.js.map +1 -0
- package/outputs/tests/conditionTests.d.ts +3 -0
- package/outputs/tests/conditionTests.d.ts.map +1 -0
- package/outputs/tests/conditionTests.js +602 -0
- package/outputs/tests/conditionTests.js.map +1 -0
- package/outputs/tests/consoleTestRunner.d.ts +95 -0
- package/outputs/tests/consoleTestRunner.d.ts.map +1 -0
- package/outputs/tests/consoleTestRunner.js +351 -0
- package/outputs/tests/consoleTestRunner.js.map +1 -0
- package/outputs/tests/consoleTestRunnerTests.d.ts +3 -0
- package/outputs/tests/consoleTestRunnerTests.d.ts.map +1 -0
- package/outputs/tests/consoleTestRunnerTests.js +537 -0
- package/outputs/tests/consoleTestRunnerTests.js.map +1 -0
- package/outputs/tests/dateTimeTests.d.ts +3 -0
- package/outputs/tests/dateTimeTests.d.ts.map +1 -0
- package/outputs/tests/dateTimeTests.js +24 -0
- package/outputs/tests/dateTimeTests.js.map +1 -0
- package/outputs/tests/depthFirstSearchTests.d.ts +3 -0
- package/outputs/tests/depthFirstSearchTests.d.ts.map +1 -0
- package/outputs/tests/depthFirstSearchTests.js +61 -0
- package/outputs/tests/depthFirstSearchTests.js.map +1 -0
- package/outputs/tests/disposableTests.d.ts +3 -0
- package/outputs/tests/disposableTests.d.ts.map +1 -0
- package/outputs/tests/disposableTests.js +81 -0
- package/outputs/tests/disposableTests.js.map +1 -0
- package/outputs/tests/englishTests.d.ts +3 -0
- package/outputs/tests/englishTests.d.ts.map +1 -0
- package/outputs/tests/englishTests.js +68 -0
- package/outputs/tests/englishTests.js.map +1 -0
- package/outputs/tests/equalFunctionsTests.d.ts +3 -0
- package/outputs/tests/equalFunctionsTests.d.ts.map +1 -0
- package/outputs/tests/equalFunctionsTests.js +187 -0
- package/outputs/tests/equalFunctionsTests.js.map +1 -0
- package/outputs/tests/failedTest.d.ts +11 -0
- package/outputs/tests/failedTest.d.ts.map +1 -0
- package/outputs/tests/failedTest.js +21 -0
- package/outputs/tests/failedTest.js.map +1 -0
- package/outputs/tests/fetchHttpClientTests.d.ts +3 -0
- package/outputs/tests/fetchHttpClientTests.d.ts.map +1 -0
- package/outputs/tests/fetchHttpClientTests.js +21 -0
- package/outputs/tests/fetchHttpClientTests.js.map +1 -0
- package/outputs/tests/generatorTests.d.ts +3 -0
- package/outputs/tests/generatorTests.d.ts.map +1 -0
- package/outputs/tests/generatorTests.js +55 -0
- package/outputs/tests/generatorTests.js.map +1 -0
- package/outputs/tests/httpClientTests.d.ts +3 -0
- package/outputs/tests/httpClientTests.d.ts.map +1 -0
- package/outputs/tests/httpClientTests.js +12 -0
- package/outputs/tests/httpClientTests.js.map +1 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.d.ts +3 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.js +84 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.js.map +1 -0
- package/outputs/tests/index.d.ts +12 -0
- package/outputs/tests/index.d.ts.map +1 -0
- package/outputs/tests/index.js +12 -0
- package/outputs/tests/index.js.map +1 -0
- package/outputs/tests/iterableTests.d.ts +5 -0
- package/outputs/tests/iterableTests.d.ts.map +1 -0
- package/outputs/tests/iterableTests.js +155 -0
- package/outputs/tests/iterableTests.js.map +1 -0
- package/outputs/tests/iteratorTests.d.ts +5 -0
- package/outputs/tests/iteratorTests.d.ts.map +1 -0
- package/outputs/tests/iteratorTests.js +728 -0
- package/outputs/tests/iteratorTests.js.map +1 -0
- package/outputs/tests/javascriptMapMapTests.d.ts +3 -0
- package/outputs/tests/javascriptMapMapTests.d.ts.map +1 -0
- package/outputs/tests/javascriptMapMapTests.js +14 -0
- package/outputs/tests/javascriptMapMapTests.js.map +1 -0
- package/outputs/tests/listTests.d.ts +3 -0
- package/outputs/tests/listTests.d.ts.map +1 -0
- package/outputs/tests/listTests.js +202 -0
- package/outputs/tests/listTests.js.map +1 -0
- package/outputs/tests/mapIteratorTests.d.ts +3 -0
- package/outputs/tests/mapIteratorTests.d.ts.map +1 -0
- package/outputs/tests/mapIteratorTests.js +27 -0
- package/outputs/tests/mapIteratorTests.js.map +1 -0
- package/outputs/tests/mapTests.d.ts +5 -0
- package/outputs/tests/mapTests.d.ts.map +1 -0
- package/outputs/tests/mapTests.js +64 -0
- package/outputs/tests/mapTests.js.map +1 -0
- package/outputs/tests/mutableConditionTests.d.ts +3 -0
- package/outputs/tests/mutableConditionTests.d.ts.map +1 -0
- package/outputs/tests/mutableConditionTests.js +174 -0
- package/outputs/tests/mutableConditionTests.js.map +1 -0
- package/outputs/tests/mutableMapTests.d.ts +5 -0
- package/outputs/tests/mutableMapTests.d.ts.map +1 -0
- package/outputs/tests/mutableMapTests.js +102 -0
- package/outputs/tests/mutableMapTests.js.map +1 -0
- package/outputs/tests/nodeJSHttpServerTests.d.ts +3 -0
- package/outputs/tests/nodeJSHttpServerTests.d.ts.map +1 -0
- package/outputs/tests/nodeJSHttpServerTests.js +50 -0
- package/outputs/tests/nodeJSHttpServerTests.js.map +1 -0
- package/outputs/tests/notFoundErrorTests.d.ts +3 -0
- package/outputs/tests/notFoundErrorTests.d.ts.map +1 -0
- package/outputs/tests/notFoundErrorTests.js +17 -0
- package/outputs/tests/notFoundErrorTests.js.map +1 -0
- package/outputs/tests/postConditionErrorTests.d.ts +3 -0
- package/outputs/tests/postConditionErrorTests.d.ts.map +1 -0
- package/outputs/tests/postConditionErrorTests.js +17 -0
- package/outputs/tests/postConditionErrorTests.js.map +1 -0
- package/outputs/tests/preConditionErrorTests.d.ts +3 -0
- package/outputs/tests/preConditionErrorTests.d.ts.map +1 -0
- package/outputs/tests/preConditionErrorTests.js +17 -0
- package/outputs/tests/preConditionErrorTests.js.map +1 -0
- package/outputs/tests/promiseAsyncResultTests.d.ts +3 -0
- package/outputs/tests/promiseAsyncResultTests.d.ts.map +1 -0
- package/outputs/tests/promiseAsyncResultTests.js +487 -0
- package/outputs/tests/promiseAsyncResultTests.js.map +1 -0
- package/outputs/tests/propertyTests.d.ts +3 -0
- package/outputs/tests/propertyTests.d.ts.map +1 -0
- package/outputs/tests/propertyTests.js +41 -0
- package/outputs/tests/propertyTests.js.map +1 -0
- package/outputs/tests/queueTests.d.ts +3 -0
- package/outputs/tests/queueTests.d.ts.map +1 -0
- package/outputs/tests/queueTests.js +20 -0
- package/outputs/tests/queueTests.js.map +1 -0
- package/outputs/tests/recreationDotGovClientTests.d.ts +3 -0
- package/outputs/tests/recreationDotGovClientTests.d.ts.map +1 -0
- package/outputs/tests/recreationDotGovClientTests.js +111 -0
- package/outputs/tests/recreationDotGovClientTests.js.map +1 -0
- package/outputs/tests/setTests.d.ts +3 -0
- package/outputs/tests/setTests.d.ts.map +1 -0
- package/outputs/tests/setTests.js +92 -0
- package/outputs/tests/setTests.js.map +1 -0
- package/outputs/tests/skippedTest.d.ts +11 -0
- package/outputs/tests/skippedTest.d.ts.map +1 -0
- package/outputs/tests/skippedTest.js +21 -0
- package/outputs/tests/skippedTest.js.map +1 -0
- package/outputs/tests/stackTests.d.ts +3 -0
- package/outputs/tests/stackTests.d.ts.map +1 -0
- package/outputs/tests/stackTests.js +45 -0
- package/outputs/tests/stackTests.js.map +1 -0
- package/outputs/tests/stringComparerTests.d.ts +3 -0
- package/outputs/tests/stringComparerTests.d.ts.map +1 -0
- package/outputs/tests/stringComparerTests.js +47 -0
- package/outputs/tests/stringComparerTests.js.map +1 -0
- package/outputs/tests/stringIteratorTests.d.ts +3 -0
- package/outputs/tests/stringIteratorTests.d.ts.map +1 -0
- package/outputs/tests/stringIteratorTests.js +81 -0
- package/outputs/tests/stringIteratorTests.js.map +1 -0
- package/outputs/tests/stringsTests.d.ts +3 -0
- package/outputs/tests/stringsTests.d.ts.map +1 -0
- package/outputs/tests/stringsTests.js +384 -0
- package/outputs/tests/stringsTests.js.map +1 -0
- package/outputs/tests/syncResultTests.d.ts +3 -0
- package/outputs/tests/syncResultTests.d.ts.map +1 -0
- package/outputs/tests/syncResultTests.js +900 -0
- package/outputs/tests/syncResultTests.js.map +1 -0
- package/outputs/tests/test.d.ts +144 -0
- package/outputs/tests/test.d.ts.map +1 -0
- package/outputs/tests/test.js +145 -0
- package/outputs/tests/test.js.map +1 -0
- package/outputs/tests/testAction.d.ts +22 -0
- package/outputs/tests/testAction.d.ts.map +1 -0
- package/outputs/tests/testAction.js +56 -0
- package/outputs/tests/testAction.js.map +1 -0
- package/outputs/tests/testActionTests.d.ts +3 -0
- package/outputs/tests/testActionTests.d.ts.map +1 -0
- package/outputs/tests/testActionTests.js +56 -0
- package/outputs/tests/testActionTests.js.map +1 -0
- package/outputs/tests/testFailureTests.d.ts +3 -0
- package/outputs/tests/testFailureTests.d.ts.map +1 -0
- package/outputs/tests/testFailureTests.js +7 -0
- package/outputs/tests/testFailureTests.js.map +1 -0
- package/outputs/tests/testRunner.d.ts +107 -0
- package/outputs/tests/testRunner.d.ts.map +1 -0
- package/outputs/tests/testRunner.js +63 -0
- package/outputs/tests/testRunner.js.map +1 -0
- package/outputs/tests/testRunnerTests.d.ts +4 -0
- package/outputs/tests/testRunnerTests.d.ts.map +1 -0
- package/outputs/tests/testRunnerTests.js +258 -0
- package/outputs/tests/testRunnerTests.js.map +1 -0
- package/outputs/tests/testSkip.d.ts +24 -0
- package/outputs/tests/testSkip.d.ts.map +1 -0
- package/outputs/tests/testSkip.js +19 -0
- package/outputs/tests/testSkip.js.map +1 -0
- package/outputs/tests/tests.d.ts +2 -0
- package/outputs/tests/tests.d.ts.map +1 -0
- package/outputs/tests/tests.js +115 -0
- package/outputs/tests/tests.js.map +1 -0
- package/outputs/tests/toStringFunctionsTests.d.ts +3 -0
- package/outputs/tests/toStringFunctionsTests.d.ts.map +1 -0
- package/outputs/tests/toStringFunctionsTests.js +43 -0
- package/outputs/tests/toStringFunctionsTests.js.map +1 -0
- package/outputs/tests/typesTests.d.ts +3 -0
- package/outputs/tests/typesTests.d.ts.map +1 -0
- package/outputs/tests/typesTests.js +194 -0
- package/outputs/tests/typesTests.js.map +1 -0
- package/outputs/tests/whereIteratorTests.d.ts +3 -0
- package/outputs/tests/whereIteratorTests.d.ts.map +1 -0
- package/outputs/tests/whereIteratorTests.js +30 -0
- package/outputs/tests/whereIteratorTests.js.map +1 -0
- package/outputs/tests/wonderlandTrailClientTests.d.ts +3 -0
- package/outputs/tests/wonderlandTrailClientTests.d.ts.map +1 -0
- package/outputs/tests/wonderlandTrailClientTests.js +272 -0
- package/outputs/tests/wonderlandTrailClientTests.js.map +1 -0
- package/package.json +48 -48
- package/outputs/characterWriteStream-DGlmRcFl.d.cts +0 -854
- package/outputs/characterWriteStream-DGlmRcFl.d.ts +0 -854
- package/outputs/chunk-P4KLLRFY.js +0 -1199
- package/outputs/chunk-P4KLLRFY.js.map +0 -1
- package/outputs/chunk-TUBXFCG4.js +0 -9593
- package/outputs/chunk-TUBXFCG4.js.map +0 -1
- package/outputs/sourceIndex.cjs +0 -9793
- package/outputs/sourceIndex.cjs.map +0 -1
- package/outputs/sourceIndex.d.cts +0 -3533
- package/outputs/sourceIndex.d.ts +0 -3533
- package/outputs/sourceIndex.js +0 -349
- package/outputs/sourceIndex.js.map +0 -1
- package/outputs/testIndex.cjs +0 -7049
- package/outputs/testIndex.cjs.map +0 -1
- package/outputs/testIndex.d.cts +0 -544
- package/outputs/testIndex.d.ts +0 -544
- package/outputs/testIndex.js +0 -55
- package/outputs/testIndex.js.map +0 -1
- package/outputs/tests.cjs +0 -19376
- package/outputs/tests.cjs.map +0 -1
- package/outputs/tests.d.cts +0 -3
- package/outputs/tests.d.ts +0 -3
- package/outputs/tests.js +0 -10018
- package/outputs/tests.js.map +0 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Indexable } from "./Indexable.js";
|
|
2
|
+
import { Iterable } from "./iterable.js";
|
|
3
|
+
import { List } from "./list.js";
|
|
4
|
+
/**
|
|
5
|
+
* An {@link Indexable} that can change it's values.
|
|
6
|
+
*/
|
|
7
|
+
export class MutableIndexable {
|
|
8
|
+
static create(values) {
|
|
9
|
+
return List.create(values);
|
|
10
|
+
}
|
|
11
|
+
toArray() {
|
|
12
|
+
return MutableIndexable.toArray(this);
|
|
13
|
+
}
|
|
14
|
+
static toArray(indexable) {
|
|
15
|
+
return Indexable.toArray(indexable);
|
|
16
|
+
}
|
|
17
|
+
any() {
|
|
18
|
+
return MutableIndexable.any(this);
|
|
19
|
+
}
|
|
20
|
+
static any(indexable) {
|
|
21
|
+
return Indexable.any(indexable);
|
|
22
|
+
}
|
|
23
|
+
getCount() {
|
|
24
|
+
return MutableIndexable.getCount(this);
|
|
25
|
+
}
|
|
26
|
+
static getCount(indexable) {
|
|
27
|
+
return Indexable.getCount(indexable);
|
|
28
|
+
}
|
|
29
|
+
equals(right, equalFunctions) {
|
|
30
|
+
return MutableIndexable.equals(this, right, equalFunctions);
|
|
31
|
+
}
|
|
32
|
+
static equals(left, right, equalFunctions) {
|
|
33
|
+
return Indexable.equals(left, right, equalFunctions);
|
|
34
|
+
}
|
|
35
|
+
toString(toStringFunctions) {
|
|
36
|
+
return MutableIndexable.toString(this, toStringFunctions);
|
|
37
|
+
}
|
|
38
|
+
static toString(indexable, toStringFunctions) {
|
|
39
|
+
return Indexable.toString(indexable, toStringFunctions);
|
|
40
|
+
}
|
|
41
|
+
concatenate(...toConcatenate) {
|
|
42
|
+
return MutableIndexable.concatenate(this, ...toConcatenate);
|
|
43
|
+
}
|
|
44
|
+
static concatenate(indexable, ...toConcatenate) {
|
|
45
|
+
return Indexable.concatenate(indexable, ...toConcatenate);
|
|
46
|
+
}
|
|
47
|
+
map(mapping) {
|
|
48
|
+
return MutableIndexable.map(this, mapping);
|
|
49
|
+
}
|
|
50
|
+
static map(indexable, mapping) {
|
|
51
|
+
return Indexable.map(indexable, mapping);
|
|
52
|
+
}
|
|
53
|
+
flatMap(mapping) {
|
|
54
|
+
return MutableIndexable.flatMap(this, mapping);
|
|
55
|
+
}
|
|
56
|
+
static flatMap(indexable, mapping) {
|
|
57
|
+
return Indexable.flatMap(indexable, mapping);
|
|
58
|
+
}
|
|
59
|
+
where(condition) {
|
|
60
|
+
return MutableIndexable.where(this, condition);
|
|
61
|
+
}
|
|
62
|
+
static where(indexable, condition) {
|
|
63
|
+
return Indexable.where(indexable, condition);
|
|
64
|
+
}
|
|
65
|
+
instanceOf(typeOrTypeCheck) {
|
|
66
|
+
return MutableIndexable.instanceOf(this, typeOrTypeCheck);
|
|
67
|
+
}
|
|
68
|
+
static instanceOf(indexable, typeOrTypeCheck) {
|
|
69
|
+
return Indexable.instanceOf(indexable, typeOrTypeCheck);
|
|
70
|
+
}
|
|
71
|
+
first(condition) {
|
|
72
|
+
return MutableIndexable.first(this, condition);
|
|
73
|
+
}
|
|
74
|
+
static first(indexable, condition) {
|
|
75
|
+
return Indexable.first(indexable, condition);
|
|
76
|
+
}
|
|
77
|
+
last(condition) {
|
|
78
|
+
return MutableIndexable.last(this, condition);
|
|
79
|
+
}
|
|
80
|
+
static last(indexable, condition) {
|
|
81
|
+
return Indexable.last(indexable, condition);
|
|
82
|
+
}
|
|
83
|
+
[Symbol.iterator]() {
|
|
84
|
+
return Indexable[Symbol.iterator](this);
|
|
85
|
+
}
|
|
86
|
+
static [Symbol.iterator](indexable) {
|
|
87
|
+
return Iterable[Symbol.iterator](indexable);
|
|
88
|
+
}
|
|
89
|
+
contains(value, equalFunctions) {
|
|
90
|
+
return MutableIndexable.contains(this, value, equalFunctions);
|
|
91
|
+
}
|
|
92
|
+
static contains(indexable, value, equalFunctions) {
|
|
93
|
+
return Indexable.contains(indexable, value, equalFunctions);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=MutableIndexable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutableIndexable.js","sourceRoot":"","sources":["../../sources/MutableIndexable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAKjC;;GAEG;AACH,MAAM,OAAgB,gBAAgB;IAE3B,MAAM,CAAC,MAAM,CAAI,MAA8B;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;IAaM,OAAO;QAEV,OAAO,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAEM,MAAM,CAAC,OAAO,CAAI,SAAuB;QAE5C,OAAO,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACxC,CAAC;IAEM,GAAG;QAEN,OAAO,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACt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O,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAChD,CAAC;IAEM,CAAC,MAAM,CAAC,QAAQ,CAAC;QAEpB,OAAO,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAI,SAAuB;QAEtD,OAAO,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IAChD,CAAC;IAEM,QAAQ,CAAC,KAAQ,EAAE,cAA+B;QAErD,OAAO,gBAAgB,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;IAClE,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAI,SAAuB,EAAE,KAAQ,EAAE,cAA+B;QAExF,OAAO,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;IAChE,CAAC;CACJ"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as http from "http";
|
|
2
|
+
import { HttpOutgoingResponse } from "./httpOutgoingResponse.js";
|
|
3
|
+
import { SyncResult } from "./syncResult.js";
|
|
4
|
+
import { HttpHeaders } from "./httpHeaders.js";
|
|
5
|
+
import { HttpHeader } from "./httpHeader.js";
|
|
6
|
+
import { AsyncResult } from "./asyncResult.js";
|
|
7
|
+
export declare class NodeJSHttpOutgoingResponse implements HttpOutgoingResponse {
|
|
8
|
+
private readonly innerResponse;
|
|
9
|
+
private bodyString;
|
|
10
|
+
private constructor();
|
|
11
|
+
static create(innerResponse: http.ServerResponse<http.IncomingMessage> & {
|
|
12
|
+
req: http.IncomingMessage;
|
|
13
|
+
}): NodeJSHttpOutgoingResponse;
|
|
14
|
+
setStatusCode(statusCode: number): this;
|
|
15
|
+
getStatusCode(): SyncResult<number>;
|
|
16
|
+
private static headerValueToString;
|
|
17
|
+
getHeaders(): HttpHeaders;
|
|
18
|
+
getHeader(headerName: string): SyncResult<HttpHeader>;
|
|
19
|
+
getHeaderValue(headerName: string): SyncResult<string>;
|
|
20
|
+
setHeader(headerName: string, headerValue: string): this;
|
|
21
|
+
setBodyString(body: string): this;
|
|
22
|
+
setBodyJSON(body: unknown): this;
|
|
23
|
+
end(): AsyncResult<void>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=NodeJSHttpOutgoingResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeJSHttpOutgoingResponse.d.ts","sourceRoot":"","sources":["../../sources/NodeJSHttpOutgoingResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAI7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,qBAAa,0BAA2B,YAAW,oBAAoB;IAEnE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4E;IAC1G,OAAO,CAAC,UAAU,CAAqB;IAEvC,OAAO,eAKN;IAED,OAAc,MAAM,CAAC,aAAa,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,eAAe,CAAC,GAAG;QAAE,GAAG,EAAE,IAAI,CAAC,eAAe,CAAA;KAAE,GAAG,0BAA0B,CAGzI;IAEM,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAK7C;IAEM,aAAa,IAAI,UAAU,CAAC,MAAM,CAAC,CAGzC;IAED,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAO3B,UAAU,IAAI,WAAW,CAa/B;IAEM,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC,CAQ3D;IAEM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAM5D;IAEM,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAQ9D;IAEM,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAOvC;IAEM,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAKtC;IAEM,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,CAS9B;CACJ"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { PreCondition } from "./preCondition.js";
|
|
2
|
+
import { SyncResult } from "./syncResult.js";
|
|
3
|
+
import { HttpHeaders } from "./httpHeaders.js";
|
|
4
|
+
import { HttpHeader } from "./httpHeader.js";
|
|
5
|
+
import { isArray } from "./types.js";
|
|
6
|
+
import { escapeAndQuote, join } from "./strings.js";
|
|
7
|
+
import { NotFoundError } from "./notFoundError.js";
|
|
8
|
+
import { AsyncResult } from "./asyncResult.js";
|
|
9
|
+
export class NodeJSHttpOutgoingResponse {
|
|
10
|
+
innerResponse;
|
|
11
|
+
bodyString;
|
|
12
|
+
constructor(innerResponse) {
|
|
13
|
+
PreCondition.assertNotUndefinedAndNotNull(innerResponse, "innerResponse");
|
|
14
|
+
this.innerResponse = innerResponse;
|
|
15
|
+
}
|
|
16
|
+
static create(innerResponse) {
|
|
17
|
+
return new NodeJSHttpOutgoingResponse(innerResponse);
|
|
18
|
+
}
|
|
19
|
+
setStatusCode(statusCode) {
|
|
20
|
+
this.innerResponse.statusCode = statusCode;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
getStatusCode() {
|
|
24
|
+
return SyncResult.value(this.innerResponse.statusCode);
|
|
25
|
+
}
|
|
26
|
+
static headerValueToString(headerValue) {
|
|
27
|
+
PreCondition.assertNotUndefinedAndNotNull(headerValue, "headerValue");
|
|
28
|
+
return isArray(headerValue) ? join(",", headerValue) : headerValue.toString();
|
|
29
|
+
}
|
|
30
|
+
getHeaders() {
|
|
31
|
+
const result = HttpHeaders.create();
|
|
32
|
+
for (const rawHeader of Object.entries(this.innerResponse.getHeaders())) {
|
|
33
|
+
const headerName = rawHeader[0];
|
|
34
|
+
const headerValue = rawHeader[1];
|
|
35
|
+
if (headerValue !== undefined) {
|
|
36
|
+
result.set(headerName, NodeJSHttpOutgoingResponse.headerValueToString(headerValue));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
getHeader(headerName) {
|
|
42
|
+
PreCondition.assertNotEmpty(headerName, "headerName");
|
|
43
|
+
const headerValue = this.innerResponse.getHeader(headerName);
|
|
44
|
+
return headerValue === undefined
|
|
45
|
+
? SyncResult.error(new NotFoundError(`No HTTP header value exists with the name ${escapeAndQuote(headerName)}.`))
|
|
46
|
+
: SyncResult.value(HttpHeader.create(headerName, NodeJSHttpOutgoingResponse.headerValueToString(headerValue)));
|
|
47
|
+
}
|
|
48
|
+
getHeaderValue(headerName) {
|
|
49
|
+
const headerValue = this.innerResponse.getHeader(headerName);
|
|
50
|
+
return headerValue === undefined
|
|
51
|
+
? SyncResult.error(new NotFoundError(`No HTTP header value exists with the name ${escapeAndQuote(headerName)}.`))
|
|
52
|
+
: SyncResult.value(NodeJSHttpOutgoingResponse.headerValueToString(headerValue));
|
|
53
|
+
}
|
|
54
|
+
setHeader(headerName, headerValue) {
|
|
55
|
+
PreCondition.assertNotEmpty(headerName, "headerName");
|
|
56
|
+
PreCondition.assertNotUndefinedAndNotNull(headerValue, "headerValue");
|
|
57
|
+
this.innerResponse.setHeader(headerName, headerValue);
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
setBodyString(body) {
|
|
61
|
+
PreCondition.assertNotUndefinedAndNotNull(body, "body");
|
|
62
|
+
this.bodyString = body;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
setBodyJSON(body) {
|
|
66
|
+
PreCondition.assertNotUndefinedAndNotNull(body, "body");
|
|
67
|
+
return this.setBodyString(JSON.stringify(body));
|
|
68
|
+
}
|
|
69
|
+
end() {
|
|
70
|
+
return AsyncResult.create(new Promise((resolve, reject) => {
|
|
71
|
+
this.innerResponse.end(this.bodyString, () => {
|
|
72
|
+
resolve();
|
|
73
|
+
});
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=NodeJSHttpOutgoingResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeJSHttpOutgoingResponse.js","sourceRoot":"","sources":["../../sources/NodeJSHttpOutgoingResponse.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,OAAO,0BAA0B;IAElB,aAAa,CAA4E;IAClG,UAAU,CAAqB;IAEvC,YAAoB,aAAwF;QAExG,YAAY,CAAC,4BAA4B,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;QAE1E,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,aAAwF;QAEzG,OAAO,IAAI,0BAA0B,CAAC,aAAa,CAAC,CAAC;IACzD,CAAC;IAEM,aAAa,CAAC,UAAkB;QAEnC,IAAI,CAAC,aAAa,C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C,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;gBAEzC,OAAO,EAAE,CAAC;YACd,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC,CAAC;IACR,CAAC;CACJ"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Clock } from "./Clock.js";
|
|
2
|
+
import { DateTime } from "./dateTime.js";
|
|
3
|
+
/**
|
|
4
|
+
* A {@link Clock} implementation that returns the actual current {@link DateTime}.
|
|
5
|
+
*/
|
|
6
|
+
export declare class RealClock implements Clock {
|
|
7
|
+
private constructor();
|
|
8
|
+
static create(): RealClock;
|
|
9
|
+
now(): DateTime;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=RealClock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RealClock.d.ts","sourceRoot":"","sources":["../../sources/RealClock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,qBAAa,SAAU,YAAW,KAAK;IAEnC,OAAO,eAEN;IAED,OAAc,MAAM,IAAI,SAAS,CAGhC;IAEM,GAAG,IAAI,QAAQ,CAGrB;CACJ"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DateTime } from "./dateTime.js";
|
|
2
|
+
/**
|
|
3
|
+
* A {@link Clock} implementation that returns the actual current {@link DateTime}.
|
|
4
|
+
*/
|
|
5
|
+
export class RealClock {
|
|
6
|
+
constructor() {
|
|
7
|
+
}
|
|
8
|
+
static create() {
|
|
9
|
+
return new RealClock();
|
|
10
|
+
}
|
|
11
|
+
now() {
|
|
12
|
+
return DateTime.now();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=RealClock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RealClock.js","sourceRoot":"","sources":["../../sources/RealClock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,MAAM,OAAO,SAAS;IAElB;IAEA,CAAC;IAEM,MAAM,CAAC,MAAM;QAEhB,OAAO,IAAI,SAAS,EAAE,CAAC;IAC3B,CAAC;IAEM,GAAG;QAEN,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAC;IAC1B,CAAC;CACJ"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TokenType } from "./TokenType.js";
|
|
2
|
+
export declare class Token {
|
|
3
|
+
private static readonly newLineToken;
|
|
4
|
+
private static readonly carriageReturnNewLineToken;
|
|
5
|
+
private static readonly leftParenthesisToken;
|
|
6
|
+
private static readonly rightParenthesisToken;
|
|
7
|
+
private static readonly backslashToken;
|
|
8
|
+
private static readonly forwardSlashToken;
|
|
9
|
+
private static readonly periodToken;
|
|
10
|
+
private static readonly underscoreToken;
|
|
11
|
+
private static readonly colonToken;
|
|
12
|
+
private readonly text;
|
|
13
|
+
private readonly type;
|
|
14
|
+
private constructor();
|
|
15
|
+
private static create;
|
|
16
|
+
static whitespace(text: string): Token;
|
|
17
|
+
static newLine(text?: string): Token;
|
|
18
|
+
static leftParenthesis(): Token;
|
|
19
|
+
static rightParenthesis(): Token;
|
|
20
|
+
static backslash(): Token;
|
|
21
|
+
static forwardSlash(): Token;
|
|
22
|
+
static period(): Token;
|
|
23
|
+
static underscore(): Token;
|
|
24
|
+
static colon(): Token;
|
|
25
|
+
static letters(text: string): Token;
|
|
26
|
+
static digits(text: string): Token;
|
|
27
|
+
static unknown(text: string): Token;
|
|
28
|
+
getText(): string;
|
|
29
|
+
getType(): TokenType;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=Token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Token.d.ts","sourceRoot":"","sources":["../../sources/Token.ts"],"names":[],"mappings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CAGxC;IAED,OAAc,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAGzC;IAEM,OAAO,IAAI,MAAM,CAGvB;IAEM,OAAO,IAAI,SAAS,CAG1B;CACJ"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { PreCondition } from "./preCondition.js";
|
|
2
|
+
import { TokenType } from "./TokenType.js";
|
|
3
|
+
export class Token {
|
|
4
|
+
static newLineToken = Token.create("\n", TokenType.NewLine);
|
|
5
|
+
static carriageReturnNewLineToken = Token.create("\r\n", TokenType.NewLine);
|
|
6
|
+
static leftParenthesisToken = Token.create("(", TokenType.LeftParenthesis);
|
|
7
|
+
static rightParenthesisToken = Token.create(")", TokenType.RightParenthesis);
|
|
8
|
+
static backslashToken = Token.create("\\", TokenType.Backslash);
|
|
9
|
+
static forwardSlashToken = Token.create("/", TokenType.ForwardSlash);
|
|
10
|
+
static periodToken = Token.create(".", TokenType.Period);
|
|
11
|
+
static underscoreToken = Token.create("_", TokenType.Underscore);
|
|
12
|
+
static colonToken = Token.create(":", TokenType.Colon);
|
|
13
|
+
text;
|
|
14
|
+
type;
|
|
15
|
+
constructor(text, type) {
|
|
16
|
+
PreCondition.assertNotEmpty(text, "text");
|
|
17
|
+
PreCondition.assertNotUndefinedAndNotNull(type, "type");
|
|
18
|
+
this.text = text;
|
|
19
|
+
this.type = type;
|
|
20
|
+
}
|
|
21
|
+
static create(text, type) {
|
|
22
|
+
return new Token(text, type);
|
|
23
|
+
}
|
|
24
|
+
static whitespace(text) {
|
|
25
|
+
return Token.create(text, TokenType.Whitespace);
|
|
26
|
+
}
|
|
27
|
+
static newLine(text) {
|
|
28
|
+
text ??= "\n";
|
|
29
|
+
let result;
|
|
30
|
+
switch (text) {
|
|
31
|
+
case "\n":
|
|
32
|
+
result = Token.newLineToken;
|
|
33
|
+
break;
|
|
34
|
+
case "\r\n":
|
|
35
|
+
result = Token.carriageReturnNewLineToken;
|
|
36
|
+
break;
|
|
37
|
+
default:
|
|
38
|
+
result = Token.create(text, TokenType.NewLine);
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
static leftParenthesis() {
|
|
44
|
+
return Token.leftParenthesisToken;
|
|
45
|
+
}
|
|
46
|
+
static rightParenthesis() {
|
|
47
|
+
return Token.rightParenthesisToken;
|
|
48
|
+
}
|
|
49
|
+
static backslash() {
|
|
50
|
+
return Token.backslashToken;
|
|
51
|
+
}
|
|
52
|
+
static forwardSlash() {
|
|
53
|
+
return Token.forwardSlashToken;
|
|
54
|
+
}
|
|
55
|
+
static period() {
|
|
56
|
+
return Token.periodToken;
|
|
57
|
+
}
|
|
58
|
+
static underscore() {
|
|
59
|
+
return Token.underscoreToken;
|
|
60
|
+
}
|
|
61
|
+
static colon() {
|
|
62
|
+
return Token.colonToken;
|
|
63
|
+
}
|
|
64
|
+
static letters(text) {
|
|
65
|
+
return Token.create(text, TokenType.Letters);
|
|
66
|
+
}
|
|
67
|
+
static digits(text) {
|
|
68
|
+
return Token.create(text, TokenType.Digits);
|
|
69
|
+
}
|
|
70
|
+
static unknown(text) {
|
|
71
|
+
return Token.create(text, TokenType.Unknown);
|
|
72
|
+
}
|
|
73
|
+
getText() {
|
|
74
|
+
return this.text;
|
|
75
|
+
}
|
|
76
|
+
getType() {
|
|
77
|
+
return this.type;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=Token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Token.js","sourceRoot":"","sources":["../../sources/Token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,OAAO,KAAK;IAEN,MAAM,CAAU,YAAY,GAAU,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC5E,MAAM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AAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;IAEM,MAAM,CAAC,OAAO,CAAC,IAAY;QAE9B,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAEM,OAAO;QAEV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,OAAO;QAEV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class TokenType {
|
|
2
|
+
private readonly name;
|
|
3
|
+
private constructor();
|
|
4
|
+
private static create;
|
|
5
|
+
static readonly Whitespace: TokenType;
|
|
6
|
+
static readonly NewLine: TokenType;
|
|
7
|
+
static readonly Letters: TokenType;
|
|
8
|
+
static readonly Digits: TokenType;
|
|
9
|
+
static readonly LeftParenthesis: TokenType;
|
|
10
|
+
static readonly RightParenthesis: TokenType;
|
|
11
|
+
static readonly Backslash: TokenType;
|
|
12
|
+
static readonly ForwardSlash: TokenType;
|
|
13
|
+
static readonly Unknown: TokenType;
|
|
14
|
+
static readonly Period: TokenType;
|
|
15
|
+
static readonly Underscore: TokenType;
|
|
16
|
+
static readonly Colon: TokenType;
|
|
17
|
+
toString(): string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=TokenType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenType.d.ts","sourceRoot":"","sources":["../../sources/TokenType.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAElB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAE9B,OAAO,eAKN;IAED,OAAO,CAAC,MAAM,CAAC,MAAM;IAKrB,gBAAuB,UAAU,EAAE,SAAS,CAAkC;IAC9E,gBAAuB,OAAO,EAAE,SAAS,CAA+B;IACxE,gBAAuB,OAAO,EAAE,SAAS,CAA+B;IACxE,gBAAuB,MAAM,EAAE,SAAS,CAA8B;IACtE,gBAAuB,eAAe,EAAE,SAAS,CAAuC;IACxF,gBAAuB,gBAAgB,EAAE,SAAS,CAAwC;IAC1F,gBAAuB,SAAS,EAAE,SAAS,CAAiC;IAC5E,gBAAuB,YAAY,EAAE,SAAS,CAAoC;IAClF,gBAAuB,OAAO,EAAE,SAAS,CAA+B;IACxE,gBAAuB,MAAM,EAAE,SAAS,CAA8B;IACtE,gBAAuB,UAAU,EAAE,SAAS,CAAkC;IAC9E,gBAAuB,KAAK,EAAE,SAAS,CAA6B;IAE7D,QAAQ,IAAI,MAAM,CAGxB;CACJ"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PreCondition } from "./preCondition.js";
|
|
2
|
+
export class TokenType {
|
|
3
|
+
name;
|
|
4
|
+
constructor(name) {
|
|
5
|
+
PreCondition.assertNotEmpty(name, "name");
|
|
6
|
+
this.name = name;
|
|
7
|
+
}
|
|
8
|
+
static create(name) {
|
|
9
|
+
return new TokenType(name);
|
|
10
|
+
}
|
|
11
|
+
static Whitespace = TokenType.create("Whitespace");
|
|
12
|
+
static NewLine = TokenType.create("NewLine");
|
|
13
|
+
static Letters = TokenType.create("Letters");
|
|
14
|
+
static Digits = TokenType.create("Digits");
|
|
15
|
+
static LeftParenthesis = TokenType.create("LeftParenthesis");
|
|
16
|
+
static RightParenthesis = TokenType.create("RightParenthesis");
|
|
17
|
+
static Backslash = TokenType.create("Backslash");
|
|
18
|
+
static ForwardSlash = TokenType.create("ForwardSlash");
|
|
19
|
+
static Unknown = TokenType.create("Unknown");
|
|
20
|
+
static Period = TokenType.create("Period");
|
|
21
|
+
static Underscore = TokenType.create("Underscore");
|
|
22
|
+
static Colon = TokenType.create("Colon");
|
|
23
|
+
toString() {
|
|
24
|
+
return this.name;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=TokenType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenType.js","sourceRoot":"","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AAC,CAAC;IAE7D,QAAQ;QAEX,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;CACJ"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Iterator } from "./iterator.js";
|
|
2
|
+
import { JavascriptIterable, JavascriptIterator } from "./javascript.js";
|
|
3
|
+
import { SyncResult } from "./syncResult.js";
|
|
4
|
+
import { Token } from "./Token.js";
|
|
5
|
+
import { Type } from "./types.js";
|
|
6
|
+
/**
|
|
7
|
+
* A type that converts a stream of characters into a stream of tokens.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Tokenizer implements Iterator<Token> {
|
|
10
|
+
private readonly characters;
|
|
11
|
+
private currentToken;
|
|
12
|
+
private started;
|
|
13
|
+
private constructor();
|
|
14
|
+
static create(characters: JavascriptIterable<string>): Tokenizer;
|
|
15
|
+
hasStarted(): boolean;
|
|
16
|
+
hasCurrent(): boolean;
|
|
17
|
+
getCurrent(): Token;
|
|
18
|
+
next(): SyncResult<boolean>;
|
|
19
|
+
private readWhile;
|
|
20
|
+
start(): SyncResult<this>;
|
|
21
|
+
takeCurrent(): SyncResult<Token>;
|
|
22
|
+
any(): SyncResult<boolean>;
|
|
23
|
+
getCount(): SyncResult<number>;
|
|
24
|
+
toArray(): SyncResult<Token[]>;
|
|
25
|
+
concatenate(...toConcatenate: JavascriptIterable<Token>[]): Iterator<Token>;
|
|
26
|
+
where(condition: (value: Token) => (boolean | SyncResult<boolean>)): Iterator<Token>;
|
|
27
|
+
map<TOutput>(mapping: (value: Token) => TOutput | SyncResult<TOutput>): Iterator<TOutput>;
|
|
28
|
+
flatMap<TOutput>(mapping: (value: Token) => JavascriptIterable<TOutput>): Iterator<TOutput>;
|
|
29
|
+
whereInstanceOf<U extends Token>(typeCheck: (value: Token) => value is U): Iterator<U>;
|
|
30
|
+
whereInstanceOfType<U extends Token>(type: Type<U>): Iterator<U>;
|
|
31
|
+
first(condition?: ((value: Token) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<Token>;
|
|
32
|
+
last(condition?: ((value: Token) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<Token>;
|
|
33
|
+
take(maximumToTake: number): Iterator<Token>;
|
|
34
|
+
skip(maximumToSkip: number): Iterator<Token>;
|
|
35
|
+
[Symbol.iterator](): JavascriptIterator<Token>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=Tokenizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tokenizer.d.ts","sourceRoot":"","sources":["../../sources/Tokenizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGzE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAc,IAAI,EAAE,MAAM,YAAY,CAAC;AAE9C;;GAEG;AACH,qBAAa,SAAU,YAAW,QAAQ,CAAC,KAAK,CAAC;IAE7C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkB;IAE7C,OAAO,CAAC,YAAY,CAAoB;IACxC,OAAO,CAAC,OAAO,CAAU;IAEzB,OAAO,eAIN;IAED,OAAc,MAAM,CAAC,UAAU,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAAG,SAAS,CAKtE;IAEM,UAAU,IAAI,OAAO,CAG3B;IAEM,UAAU,IAAI,OAAO,CAG3B;IAEM,UAAU,IAAI,KAAK,CAKzB;IAEM,IAAI,IAAI,UAAU,CAAC,OAAO,CAAC,CA8FjC;IAED,OAAO,CAAC,SAAS;IAgBV,KAAK,IAAI,UAAU,CAAC,IAAI,CAAC,CAG/B;IAEM,WAAW,IAAI,UAAU,CAAC,KAAK,CAAC,CAGtC;IAEM,GAAG,IAAI,UAAU,CAAC,OAAO,CAAC,CAGhC;IAEM,QAAQ,IAA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AG1G;IAEM,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,CAGlD;IAEM,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,CAGlD;IAEM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,kBAAkB,CAAC,KAAK,CAAC,CAGpD;CACJ"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { Iterator } from "./iterator.js";
|
|
2
|
+
import { PreCondition } from "./preCondition.js";
|
|
3
|
+
import { isDigit, isLetter } from "./strings.js";
|
|
4
|
+
import { SyncResult } from "./syncResult.js";
|
|
5
|
+
import { Token } from "./Token.js";
|
|
6
|
+
import { isIterator } from "./types.js";
|
|
7
|
+
/**
|
|
8
|
+
* A type that converts a stream of characters into a stream of tokens.
|
|
9
|
+
*/
|
|
10
|
+
export class Tokenizer {
|
|
11
|
+
characters;
|
|
12
|
+
currentToken;
|
|
13
|
+
started;
|
|
14
|
+
constructor(characters) {
|
|
15
|
+
this.characters = characters;
|
|
16
|
+
this.started = false;
|
|
17
|
+
}
|
|
18
|
+
static create(characters) {
|
|
19
|
+
PreCondition.assertNotUndefinedAndNotNull(characters, "characters");
|
|
20
|
+
return new Tokenizer(isIterator(characters) ? characters : Iterator.create(characters));
|
|
21
|
+
}
|
|
22
|
+
hasStarted() {
|
|
23
|
+
return this.started;
|
|
24
|
+
}
|
|
25
|
+
hasCurrent() {
|
|
26
|
+
return this.currentToken !== undefined;
|
|
27
|
+
}
|
|
28
|
+
getCurrent() {
|
|
29
|
+
PreCondition.assertTrue(this.hasCurrent(), "this.hasCurrent()");
|
|
30
|
+
return this.currentToken;
|
|
31
|
+
}
|
|
32
|
+
next() {
|
|
33
|
+
return SyncResult.create(() => {
|
|
34
|
+
if (!this.hasStarted()) {
|
|
35
|
+
this.characters.start().await();
|
|
36
|
+
this.started = true;
|
|
37
|
+
}
|
|
38
|
+
if (!this.characters.hasCurrent()) {
|
|
39
|
+
this.currentToken = undefined;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
switch (this.characters.getCurrent()) {
|
|
43
|
+
case " ":
|
|
44
|
+
case "\t":
|
|
45
|
+
this.currentToken = Token.whitespace(this.readWhile(c => c === " " || c === "\t"));
|
|
46
|
+
break;
|
|
47
|
+
case "\n":
|
|
48
|
+
this.characters.next().await();
|
|
49
|
+
this.currentToken = Token.newLine();
|
|
50
|
+
break;
|
|
51
|
+
case "\r":
|
|
52
|
+
if (this.characters.next().await() && this.characters.getCurrent() === "\n") {
|
|
53
|
+
this.characters.next().await();
|
|
54
|
+
this.currentToken = Token.newLine("\r\n");
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
this.currentToken = Token.whitespace("\r");
|
|
58
|
+
}
|
|
59
|
+
break;
|
|
60
|
+
case "(":
|
|
61
|
+
this.characters.next().await();
|
|
62
|
+
this.currentToken = Token.leftParenthesis();
|
|
63
|
+
break;
|
|
64
|
+
case ")":
|
|
65
|
+
this.characters.next().await();
|
|
66
|
+
this.currentToken = Token.rightParenthesis();
|
|
67
|
+
break;
|
|
68
|
+
case ".":
|
|
69
|
+
this.characters.next().await();
|
|
70
|
+
this.currentToken = Token.period();
|
|
71
|
+
break;
|
|
72
|
+
case "_":
|
|
73
|
+
this.characters.next().await();
|
|
74
|
+
this.currentToken = Token.underscore();
|
|
75
|
+
break;
|
|
76
|
+
case "/":
|
|
77
|
+
this.characters.next().await();
|
|
78
|
+
this.currentToken = Token.forwardSlash();
|
|
79
|
+
break;
|
|
80
|
+
case "\\":
|
|
81
|
+
this.characters.next().await();
|
|
82
|
+
this.currentToken = Token.backslash();
|
|
83
|
+
break;
|
|
84
|
+
case ":":
|
|
85
|
+
this.characters.next().await();
|
|
86
|
+
this.currentToken = Token.colon();
|
|
87
|
+
break;
|
|
88
|
+
default:
|
|
89
|
+
if (isLetter(this.characters.getCurrent())) {
|
|
90
|
+
this.currentToken = Token.letters(this.readWhile(isLetter));
|
|
91
|
+
}
|
|
92
|
+
else if (isDigit(this.characters.getCurrent())) {
|
|
93
|
+
this.currentToken = Token.digits(this.readWhile(isDigit));
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
this.currentToken = Token.unknown(this.characters.takeCurrent().await());
|
|
97
|
+
}
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return this.hasCurrent();
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
readWhile(condition) {
|
|
105
|
+
PreCondition.assertNotUndefinedAndNotNull(condition, "condition");
|
|
106
|
+
PreCondition.assertTrue(this.characters.hasCurrent(), "this.characters.hasCurrent()");
|
|
107
|
+
PreCondition.assertTrue(condition(this.characters.getCurrent()), "condition(this.characters.getCurrent())");
|
|
108
|
+
let result = "";
|
|
109
|
+
do {
|
|
110
|
+
result += this.characters.takeCurrent().await();
|
|
111
|
+
} while (this.characters.hasCurrent() && condition(this.characters.getCurrent()));
|
|
112
|
+
return result;
|
|
113
|
+
}
|
|
114
|
+
start() {
|
|
115
|
+
return Iterator.start(this);
|
|
116
|
+
}
|
|
117
|
+
takeCurrent() {
|
|
118
|
+
return Iterator.takeCurrent(this);
|
|
119
|
+
}
|
|
120
|
+
any() {
|
|
121
|
+
return Iterator.any(this);
|
|
122
|
+
}
|
|
123
|
+
getCount() {
|
|
124
|
+
return Iterator.getCount(this);
|
|
125
|
+
}
|
|
126
|
+
toArray() {
|
|
127
|
+
return Iterator.toArray(this);
|
|
128
|
+
}
|
|
129
|
+
concatenate(...toConcatenate) {
|
|
130
|
+
return Iterator.concatenate(this, ...toConcatenate);
|
|
131
|
+
}
|
|
132
|
+
where(condition) {
|
|
133
|
+
return Iterator.where(this, condition);
|
|
134
|
+
}
|
|
135
|
+
map(mapping) {
|
|
136
|
+
return Iterator.map(this, mapping);
|
|
137
|
+
}
|
|
138
|
+
flatMap(mapping) {
|
|
139
|
+
return Iterator.flatMap(this, mapping);
|
|
140
|
+
}
|
|
141
|
+
whereInstanceOf(typeCheck) {
|
|
142
|
+
return Iterator.whereInstanceOf(this, typeCheck);
|
|
143
|
+
}
|
|
144
|
+
whereInstanceOfType(type) {
|
|
145
|
+
return Iterator.whereInstanceOfType(this, type);
|
|
146
|
+
}
|
|
147
|
+
first(condition) {
|
|
148
|
+
return Iterator.first(this, condition);
|
|
149
|
+
}
|
|
150
|
+
last(condition) {
|
|
151
|
+
return Iterator.last(this, condition);
|
|
152
|
+
}
|
|
153
|
+
take(maximumToTake) {
|
|
154
|
+
return Iterator.take(this, maximumToTake);
|
|
155
|
+
}
|
|
156
|
+
skip(maximumToSkip) {
|
|
157
|
+
return Iterator.skip(this, maximumToSkip);
|
|
158
|
+
}
|
|
159
|
+
[Symbol.iterator]() {
|
|
160
|
+
return Iterator[Symbol.iterator](this);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
//# sourceMappingURL=Tokenizer.js.map
|