javonet-nodejs-sdk 2.5.9 → 2.5.10
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/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
- package/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- package/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- package/Binaries/Native/Linux/ARM64/version.txt +1 -1
- package/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +30 -30
- package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/version.txt +1 -1
- package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- package/Binaries/Native/MacOs/X64/version.txt +1 -1
- package/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- package/Binaries/Native/Windows/ARM64/version.txt +0 -0
- package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X64/Utils.dll +0 -0
- package/Binaries/Native/Windows/X64/version.txt +1 -1
- package/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X86/Utils.dll +0 -0
- package/Binaries/Native/Windows/X86/version.txt +1 -1
- package/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Nodejs/index.js +2 -0
- package/Binaries/Nodejs/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/Binaries/Nodejs/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/Binaries/Nodejs/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/Binaries/Nodejs/lib/core/handler/Handler.js +10 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/Binaries/Nodejs/lib/core/handler/PassDelegateHandler.js +157 -0
- package/Binaries/Nodejs/lib/sdk/InvocationContext.js +43 -0
- package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +9 -0
- package/Binaries/Nodejs/lib/utils/CommandType.js +6 -1
- package/Binaries/Nodejs/lib/utils/TypesConverter.js +91 -0
- package/Binaries/Nodejs/lib/utils/guid/generateGuid.js +9 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-events +62 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-highlight +54 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load +144 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load-dump +303 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-parse-emit +123 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Capture/Tiny.pm +23 -7
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document.pm +102 -19
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Element.pm +24 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Node.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{Capture-Tiny-0.48 → Capture-Tiny-0.50}/MYMETA.json +12 -7
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{FFI-Platypus-2.09 → FFI-Platypus-2.10}/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{PPI-1.279 → PPI-1.281}/MYMETA.json +101 -94
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/API.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Buffer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Bundle.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Closure.pm +3 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Constant.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/DL.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Function.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Internal.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/ASM.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/C.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/Win32.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Legacy.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Memory.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/Meta.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/TieArray.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/ShareConfig.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/PointerSizeBuffer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringArray.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringPointer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/WideString.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version0.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version1.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version2.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Builder.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Result.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Temp.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/.packlist +2 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Safe/Isa/.packlist +2 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/YAML/PP/.packlist +53 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +131 -87
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events +62 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events.bat +79 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight +54 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight.bat +71 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load +144 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump +303 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump.bat +320 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load.bat +161 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit +123 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit.bat +140 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/{PPI-1.279 → PPI-1.281}/MYMETA.json +101 -94
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.281/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/.packlist +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Safe/Isa/.packlist +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/YAML/PP/.packlist +38 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +62 -18
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document.pm +102 -19
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Element.pm +24 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Node.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
- package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +9 -10
- package/Binaries/version.txt +1 -1
- package/dist/Javonet.d.ts +1137 -102
- package/dist/index.js +2 -0
- package/dist/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/dist/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/dist/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/dist/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/dist/lib/core/handler/Handler.js +10 -0
- package/dist/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/dist/lib/core/handler/PassDelegateHandler.js +157 -0
- package/dist/lib/sdk/InvocationContext.js +43 -0
- package/dist/lib/sdk/RuntimeContext.js +9 -0
- package/dist/lib/utils/CommandType.js +6 -1
- package/dist/lib/utils/TypesConverter.js +91 -0
- package/dist/lib/utils/guid/generateGuid.js +9 -0
- package/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/lib/core/handler/Handler.js +10 -0
- package/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/lib/core/handler/PassDelegateHandler.js +157 -0
- package/lib/sdk/RuntimeContext.js +4 -220
- package/lib/utils/TypesConverter.js +91 -0
- package/package.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.48/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.09/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.279/install.json +0 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.279/install.json +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const { DelegatesCache } = require('../../..')
|
|
2
|
+
const AbstractHandler = require('./AbstractHandler')
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Handles invoking a delegate by GUID.
|
|
6
|
+
*/
|
|
7
|
+
class InvokeDelegateHandler extends AbstractHandler {
|
|
8
|
+
constructor() {
|
|
9
|
+
super()
|
|
10
|
+
/** @type {number} */
|
|
11
|
+
this.requiredParametersCount = 1
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Processes a command to invoke a delegate.
|
|
16
|
+
* @param {Command} command - The command containing payload data.
|
|
17
|
+
* @returns {*} The result of the delegate invocation.
|
|
18
|
+
* @throws {Error} If the parameters mismatch or the delegate cannot be found.
|
|
19
|
+
*/
|
|
20
|
+
process(command) {
|
|
21
|
+
const payload = command.payload
|
|
22
|
+
if (payload.length < this.requiredParametersCount) {
|
|
23
|
+
throw new Error(`${this.constructor.name} parameters mismatch`)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const guid = payload[0]
|
|
27
|
+
const delegate = DelegatesCache.getDelegate(guid)
|
|
28
|
+
if (!delegate) {
|
|
29
|
+
throw new Error('Delegate not found in cache')
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return delegate
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
module.exports = new InvokeDelegateHandler()
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
// eslint-disable-next-line no-unused-vars
|
|
2
|
+
const { Interpreter, Command, CommandType, InMemoryConnectionData, DelegatesCache } = require('../../..')
|
|
3
|
+
const AbstractHandler = require('./AbstractHandler')
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* PassDelegateHandler class responsible for processing a command to create a delegate.
|
|
7
|
+
*/
|
|
8
|
+
class PassDelegateHandler extends AbstractHandler {
|
|
9
|
+
constructor() {
|
|
10
|
+
super()
|
|
11
|
+
/**
|
|
12
|
+
* Minimum required parameters count for the command.
|
|
13
|
+
* @type {number}
|
|
14
|
+
*/
|
|
15
|
+
this.requiredParametersCount = 1
|
|
16
|
+
this.interpreter = new Interpreter()
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Processes the given command to create and compile a delegate.
|
|
21
|
+
* @param {Command} command - The command to process.
|
|
22
|
+
* @returns {Function} The compiled delegate function.
|
|
23
|
+
*/
|
|
24
|
+
process(command) {
|
|
25
|
+
this.validateCommand(command)
|
|
26
|
+
|
|
27
|
+
const delegateGuid = command.payload[0]
|
|
28
|
+
const delegate = DelegatesCache.getDelegate(delegateGuid)
|
|
29
|
+
|
|
30
|
+
return delegate
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Validates the command to ensure it has enough parameters.
|
|
35
|
+
* @param {Command} command - The command to validate.
|
|
36
|
+
*/
|
|
37
|
+
validateCommand(command) {
|
|
38
|
+
if (command.payload.length < this.requiredParametersCount) {
|
|
39
|
+
throw new Error('PassDelegateHandler parameters mismatch')
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Retrieves the arguments from the command payload.
|
|
45
|
+
* @param {Command} command - The command containing the payload.
|
|
46
|
+
* @returns {Array} The extracted arguments.
|
|
47
|
+
*/
|
|
48
|
+
getArguments(command) {
|
|
49
|
+
return command.payload.length > 2 ? command.payload.slice(2) : []
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Extracts argument types from the arguments array.
|
|
54
|
+
* @param {Array} args - The arguments array.
|
|
55
|
+
* @returns {Array} The argument types.
|
|
56
|
+
*/
|
|
57
|
+
getArgumentTypes(args) {
|
|
58
|
+
return args.slice(0, -1).map((arg) => arg.constructor)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves the return type from the arguments array.
|
|
63
|
+
* @param {Array} args - The arguments array.
|
|
64
|
+
* @returns {Function} The return type.
|
|
65
|
+
*/
|
|
66
|
+
getReturnType(args) {
|
|
67
|
+
return args[args.length - 1].constructor
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Creates parameter expressions from argument types.
|
|
72
|
+
* @param {Array} argsTypes - The argument types.
|
|
73
|
+
* @returns {Array} The parameter expressions.
|
|
74
|
+
*/
|
|
75
|
+
createParameters(argsTypes) {
|
|
76
|
+
return argsTypes.map((type, index) => ({ name: `arg${index}`, type }))
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Creates an array of arguments for the delegate.
|
|
81
|
+
* @param {string} delegateGuid - The delegate identifier.
|
|
82
|
+
* @param {Array} parameters - The parameter expressions.
|
|
83
|
+
* @returns {Array} The arguments array.
|
|
84
|
+
*/
|
|
85
|
+
createArgsArray(delegateGuid, parameters) {
|
|
86
|
+
return [delegateGuid, ...parameters.map((param) => param.name)]
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Creates a command expression.
|
|
91
|
+
* @param {string} callingRuntimeName - The runtime name.
|
|
92
|
+
* @param {Array} payload - The arguments array.
|
|
93
|
+
* @returns {Object} The command object.
|
|
94
|
+
*/
|
|
95
|
+
createCommand(callingRuntimeName, payload) {
|
|
96
|
+
return {
|
|
97
|
+
runtimeName: callingRuntimeName,
|
|
98
|
+
type: CommandType.InvokeDelegate,
|
|
99
|
+
payload,
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Creates a method call to execute the command.
|
|
105
|
+
* @param {Command} command - The command object.
|
|
106
|
+
* @returns {Object} The response object.
|
|
107
|
+
*/
|
|
108
|
+
createExecuteCall(command) {
|
|
109
|
+
return this.interpreter.execute(command, new InMemoryConnectionData())
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Retrieves the response payload from the execution call.
|
|
114
|
+
* @param {Object} executeCall - The execution call.
|
|
115
|
+
* @returns {Array} The response payload.
|
|
116
|
+
*/
|
|
117
|
+
getResponse(executeCall) {
|
|
118
|
+
return executeCall.payload
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Converts the first element of the response to the return type.
|
|
123
|
+
* @param {Array} response - The response payload.
|
|
124
|
+
* @param {Function} returnType - The return type.
|
|
125
|
+
* @returns {*} The converted first element.
|
|
126
|
+
*/
|
|
127
|
+
convertFirstElement(response, returnType) {
|
|
128
|
+
return returnType(response[0])
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Creates a block of expressions for the delegate.
|
|
133
|
+
* @param {Function} returnType - The return type.
|
|
134
|
+
* @param {*} convertedFirstElement - The converted first element.
|
|
135
|
+
* @returns {Object} The block expression.
|
|
136
|
+
*/
|
|
137
|
+
createBlock(returnType, convertedFirstElement) {
|
|
138
|
+
return { returnType, body: convertedFirstElement }
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Creates a delegate type.
|
|
143
|
+
* @param {Array} parameters - The parameter expressions.
|
|
144
|
+
* @param {Function} returnType - The return type.
|
|
145
|
+
* @returns {Function} The delegate type.
|
|
146
|
+
*/
|
|
147
|
+
createDelegateType(parameters, returnType) {
|
|
148
|
+
return (...args) => {
|
|
149
|
+
if (args.length !== parameters.length) {
|
|
150
|
+
throw new Error('Invalid argument count.')
|
|
151
|
+
}
|
|
152
|
+
return returnType
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
module.exports = new PassDelegateHandler()
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
const DelegatesCache = require('../core/delegatesCache/DelegatesCache')
|
|
1
2
|
const Interpreter = require('../core/interpreter/Interpreter')
|
|
2
3
|
const Command = require('../utils/Command')
|
|
3
4
|
const CommandType = require('../utils/CommandType')
|
|
4
5
|
const ConnectionType = require('../utils/ConnectionType')
|
|
5
6
|
const ExceptionThrower = require('../utils/exception/ExceptionThrower')
|
|
7
|
+
const RuntimeName = require('../utils/RuntimeName')
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* InvocationContext is a class that represents a context for invoking commands.
|
|
@@ -338,6 +340,40 @@ class InvocationContext {
|
|
|
338
340
|
return this.#createInstanceContext(localCommand)
|
|
339
341
|
}
|
|
340
342
|
|
|
343
|
+
/**
|
|
344
|
+
* Creates a null object of a specific type on the target runtime.
|
|
345
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
346
|
+
* @param {...any} args - Method arguments.
|
|
347
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
348
|
+
* TODO: connect documentation page url
|
|
349
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
350
|
+
* @method
|
|
351
|
+
*/
|
|
352
|
+
getStaticMethodAsDelegate(methodName, ...args) {
|
|
353
|
+
const localCommand = new Command(this.#runtimeName, CommandType.GetStaticMethodAsDelegate, [
|
|
354
|
+
methodName,
|
|
355
|
+
...args,
|
|
356
|
+
])
|
|
357
|
+
return this.#createInstanceContext(localCommand)
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Creates a null object of a specific type on the target runtime.
|
|
362
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
363
|
+
* @param {...any} args - Method arguments.
|
|
364
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
365
|
+
* TODO: connect documentation page url
|
|
366
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
367
|
+
* @method
|
|
368
|
+
*/
|
|
369
|
+
getInstanceMethodAsDelegate(methodName, ...args) {
|
|
370
|
+
const localCommand = new Command(this.#runtimeName, CommandType.GetInstanceMethodAsDelegate, [
|
|
371
|
+
methodName,
|
|
372
|
+
...args,
|
|
373
|
+
])
|
|
374
|
+
return this.#createInstanceContext(localCommand)
|
|
375
|
+
}
|
|
376
|
+
|
|
341
377
|
/**
|
|
342
378
|
* Retrieves an array from the target runtime.
|
|
343
379
|
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to retrieve the array.
|
|
@@ -390,6 +426,13 @@ class InvocationContext {
|
|
|
390
426
|
payloadItem[i] = this.#encapsulatePayloadItem(payloadItem[i])
|
|
391
427
|
}
|
|
392
428
|
return new Command(this.runtimeName, CommandType.Array, payloadItem)
|
|
429
|
+
} else if (typeof payloadItem === 'function') {
|
|
430
|
+
let newArray = new Array(payloadItem.length + 1)
|
|
431
|
+
for (let i = 0; i < newArray.length; i++) {
|
|
432
|
+
newArray[i] = typeof Object
|
|
433
|
+
}
|
|
434
|
+
const args = [DelegatesCache.addDelegate(payloadItem), RuntimeName.Nodejs].push(...newArray);
|
|
435
|
+
return new Command(this.#runtimeName, CommandType.PassDelegate, args)
|
|
393
436
|
} else {
|
|
394
437
|
return new Command(this.runtimeName, CommandType.Value, [payloadItem])
|
|
395
438
|
}
|
|
@@ -5,6 +5,8 @@ const CommandType = require('../utils/CommandType')
|
|
|
5
5
|
const { InvocationContext, InvocationWsContext } = require('./InvocationContext')
|
|
6
6
|
const ConnectionType = require('../utils/ConnectionType')
|
|
7
7
|
const ExceptionThrower = require('../utils/exception/ExceptionThrower')
|
|
8
|
+
const DelegatesCache = require('../core/delegatesCache/DelegatesCache')
|
|
9
|
+
const RuntimeName = require('../utils/RuntimeName')
|
|
8
10
|
|
|
9
11
|
/**
|
|
10
12
|
* Represents a single context which allows interaction with a selected technology.
|
|
@@ -251,6 +253,13 @@ class RuntimeContext {
|
|
|
251
253
|
payloadItem[i] = this.#encapsulatePayloadItem(payloadItem[i])
|
|
252
254
|
}
|
|
253
255
|
return new Command(this.runtimeName, CommandType.Array, payloadItem)
|
|
256
|
+
} else if (typeof payloadItem === 'function') {
|
|
257
|
+
let newArray = new Array(payloadItem.length + 1)
|
|
258
|
+
for (let i = 0; i < newArray.length; i++) {
|
|
259
|
+
newArray[i] = 'object'
|
|
260
|
+
}
|
|
261
|
+
const args = [DelegatesCache.addDelegate(payloadItem), RuntimeName.Nodejs].push(...newArray);
|
|
262
|
+
return new Command(this.runtimeName, CommandType.PassDelegate, args)
|
|
254
263
|
} else {
|
|
255
264
|
return new Command(this.runtimeName, CommandType.Value, [payloadItem])
|
|
256
265
|
}
|
|
@@ -37,7 +37,12 @@ const CommandType = /** @type {const} */ ({
|
|
|
37
37
|
EnableNamespace: 34,
|
|
38
38
|
EnableType: 35,
|
|
39
39
|
CreateNull: 36,
|
|
40
|
-
|
|
40
|
+
GetStaticMethodAsDelegate: 37,
|
|
41
|
+
GetInstanceMethodAsDelegate: 38,
|
|
42
|
+
PassDelegate: 39,
|
|
43
|
+
InvokeDelegate: 40,
|
|
44
|
+
ConvertType: 41,
|
|
45
|
+
InvokeStandaloneMethod: 42,
|
|
41
46
|
})
|
|
42
47
|
|
|
43
48
|
module.exports = CommandType
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
3
|
+
*/
|
|
4
|
+
class ConvertTypeHandler {
|
|
5
|
+
constructor() {
|
|
6
|
+
/**
|
|
7
|
+
* Minimum required parameters count for the command.
|
|
8
|
+
* @type {number}
|
|
9
|
+
*/
|
|
10
|
+
this.requiredParametersCount = 1
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Processes the given command to convert JType to Type.
|
|
15
|
+
* @param {Object} command - The command to process.
|
|
16
|
+
* @returns {any} The converted type.
|
|
17
|
+
*/
|
|
18
|
+
process(command) {
|
|
19
|
+
this.validateCommand(command)
|
|
20
|
+
return TypesConverter.convertJTypeToType(command.payload[0])
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Validates the command to ensure it has enough parameters.
|
|
25
|
+
* @param {Object} command - The command to validate.
|
|
26
|
+
*/
|
|
27
|
+
validateCommand(command) {
|
|
28
|
+
if (command.payload.length < this.requiredParametersCount) {
|
|
29
|
+
throw new Error('ConvertTypeHandler parameters mismatch')
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* TypesConverter class provides utilities for converting between types.
|
|
36
|
+
*/
|
|
37
|
+
class TypesConverter {
|
|
38
|
+
/**
|
|
39
|
+
* Converts a JavaScript type to a JType equivalent.
|
|
40
|
+
* @param {Function} type - The JavaScript type.
|
|
41
|
+
* @returns {number} The corresponding JType.
|
|
42
|
+
*/
|
|
43
|
+
static convertTypeToJType(type) {
|
|
44
|
+
switch (type) {
|
|
45
|
+
case Boolean:
|
|
46
|
+
return JType.Boolean
|
|
47
|
+
case Number:
|
|
48
|
+
return JType.Float // Assuming Number maps to Float
|
|
49
|
+
case String:
|
|
50
|
+
return JType.String
|
|
51
|
+
case Object:
|
|
52
|
+
return JType.Null // Assuming Object maps to Null
|
|
53
|
+
default:
|
|
54
|
+
return JType.Null
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Converts a JType to a JavaScript type equivalent.
|
|
60
|
+
* @param {number} type - The JType to convert.
|
|
61
|
+
* @returns {Function} The corresponding JavaScript type.
|
|
62
|
+
*/
|
|
63
|
+
static convertJTypeToType(type) {
|
|
64
|
+
switch (type) {
|
|
65
|
+
case JType.Boolean:
|
|
66
|
+
return Boolean
|
|
67
|
+
case JType.Float:
|
|
68
|
+
return Number
|
|
69
|
+
case JType.String:
|
|
70
|
+
return String
|
|
71
|
+
case JType.Null:
|
|
72
|
+
return null
|
|
73
|
+
default:
|
|
74
|
+
return null
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Enum for JType mappings.
|
|
81
|
+
* @readonly
|
|
82
|
+
* @enum {number}
|
|
83
|
+
*/
|
|
84
|
+
const JType = {
|
|
85
|
+
Boolean: 1,
|
|
86
|
+
Float: 2,
|
|
87
|
+
String: 3,
|
|
88
|
+
Null: 4,
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
module.exports = { ConvertTypeHandler, TypesConverter, JType }
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
#!/usr/bin/perl
|
|
2
|
+
use strict;
|
|
3
|
+
use warnings;
|
|
4
|
+
|
|
5
|
+
use Encode;
|
|
6
|
+
use YAML::PP::Parser;
|
|
7
|
+
use YAML::PP::Common;
|
|
8
|
+
use Getopt::Long;
|
|
9
|
+
Getopt::Long::Configure('bundling');
|
|
10
|
+
GetOptions(
|
|
11
|
+
'help|h' => \my $help,
|
|
12
|
+
'module|M=s' => \my $module,
|
|
13
|
+
) or usage(1);
|
|
14
|
+
|
|
15
|
+
usage(0) if $help;
|
|
16
|
+
|
|
17
|
+
$module ||= 'YAML::PP';
|
|
18
|
+
if ($module eq 'YAML::PP') {
|
|
19
|
+
$module = 'YAML::PP::Parser';
|
|
20
|
+
}
|
|
21
|
+
elsif ($module eq 'YAML::PP::LibYAML') {
|
|
22
|
+
require YAML::PP::LibYAML::Parser;
|
|
23
|
+
$module = 'YAML::PP::LibYAML::Parser';
|
|
24
|
+
}
|
|
25
|
+
elsif ($module eq 'YAML::PP::Ref') {
|
|
26
|
+
require YAML::PP::Ref;
|
|
27
|
+
$module = 'YAML::PP::Ref::Parser';
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
my ($file) = @ARGV;
|
|
31
|
+
|
|
32
|
+
my $parser = $module->new(
|
|
33
|
+
receiver => sub {
|
|
34
|
+
my ($self, undef, $event) = @_;
|
|
35
|
+
print encode_utf8(YAML::PP::Common::event_to_test_suite($event, { flow => 1 })), "\n";
|
|
36
|
+
},
|
|
37
|
+
$file ? (reader => YAML::PP::Reader::File->new) : (),
|
|
38
|
+
);
|
|
39
|
+
if ($file) {
|
|
40
|
+
$parser->parse_file($file);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
my $yaml;
|
|
44
|
+
$yaml = do { local $/; <STDIN> };
|
|
45
|
+
$yaml = decode_utf8($yaml);
|
|
46
|
+
$parser->parse_string($yaml);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
sub usage {
|
|
50
|
+
my ($rc) = @_;
|
|
51
|
+
print <<"EOM";
|
|
52
|
+
Usage:
|
|
53
|
+
|
|
54
|
+
$0 [options] < file
|
|
55
|
+
$0 [options] file
|
|
56
|
+
|
|
57
|
+
Options:
|
|
58
|
+
--module -M Module to use for parsing. YAML::PP (default),
|
|
59
|
+
YAML::PP::LibYAML or YAML::PP::Ref
|
|
60
|
+
EOM
|
|
61
|
+
exit $rc;
|
|
62
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
#!/usr/bin/perl
|
|
2
|
+
use strict;
|
|
3
|
+
use warnings;
|
|
4
|
+
|
|
5
|
+
use YAML::PP::Highlight;
|
|
6
|
+
use Encode;
|
|
7
|
+
use Getopt::Long;
|
|
8
|
+
|
|
9
|
+
GetOptions(
|
|
10
|
+
'help|h' => \my $help,
|
|
11
|
+
'expand-tabs|et!' => \my $expand_tabs,
|
|
12
|
+
) or usage(1);
|
|
13
|
+
|
|
14
|
+
$expand_tabs = 1 unless defined $expand_tabs;
|
|
15
|
+
|
|
16
|
+
usage(0) if $help;
|
|
17
|
+
|
|
18
|
+
my ($file) = @ARGV;
|
|
19
|
+
my $yaml;
|
|
20
|
+
|
|
21
|
+
unless ($file) {
|
|
22
|
+
$yaml = do { local $/; <STDIN> };
|
|
23
|
+
$yaml = decode_utf8($yaml);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
my $error;
|
|
27
|
+
my $tokens;
|
|
28
|
+
if (defined $file) {
|
|
29
|
+
($error, $tokens) = YAML::PP::Parser->yaml_to_tokens( file => $file );
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
($error, $tokens) = YAML::PP::Parser->yaml_to_tokens( string => $yaml );
|
|
33
|
+
}
|
|
34
|
+
my $highlighted = YAML::PP::Highlight->ansicolored($tokens, expand_tabs => $expand_tabs);
|
|
35
|
+
print encode_utf8 $highlighted;
|
|
36
|
+
if ($error) {
|
|
37
|
+
die $error;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
sub usage {
|
|
41
|
+
my ($rc) = @_;
|
|
42
|
+
print <<"EOM";
|
|
43
|
+
Usage:
|
|
44
|
+
|
|
45
|
+
$0 [options] < file
|
|
46
|
+
$0 [options] file
|
|
47
|
+
|
|
48
|
+
Options:
|
|
49
|
+
--expand-tabs --et Expand tabs to 8 spaces (default true)
|
|
50
|
+
--no-expand-tabs --no-et Don't expand tabs
|
|
51
|
+
EOM
|
|
52
|
+
exit $rc;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
#!/usr/bin/perl
|
|
2
|
+
use strict;
|
|
3
|
+
use warnings;
|
|
4
|
+
|
|
5
|
+
use Data::Dumper;
|
|
6
|
+
use YAML::PP;
|
|
7
|
+
use YAML::PP::Common qw/ PRESERVE_ORDER /;
|
|
8
|
+
use Encode;
|
|
9
|
+
use Getopt::Long;
|
|
10
|
+
Getopt::Long::Configure('bundling');
|
|
11
|
+
|
|
12
|
+
GetOptions(
|
|
13
|
+
'help|h' => \my $help,
|
|
14
|
+
'boolean=s' => \my $boolean,
|
|
15
|
+
'cyclic' => \my $cyclic,
|
|
16
|
+
'merge' => \my $merge,
|
|
17
|
+
'perl' => \my $perl,
|
|
18
|
+
'module|M=s' => \my $module,
|
|
19
|
+
'yaml-version=s' => \my $yaml_version,
|
|
20
|
+
) or usage(1);
|
|
21
|
+
|
|
22
|
+
usage(0) if $help;
|
|
23
|
+
|
|
24
|
+
$module ||= 'YAML::PP';
|
|
25
|
+
$boolean ||= 'JSON::PP';
|
|
26
|
+
$yaml_version ||= 1.2;
|
|
27
|
+
my @yaml_versions = split m/,/, $yaml_version;
|
|
28
|
+
my @schema = ('+');
|
|
29
|
+
if ($merge) {
|
|
30
|
+
push @schema, 'Merge';
|
|
31
|
+
}
|
|
32
|
+
if ($perl) {
|
|
33
|
+
push @schema, 'Perl';
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
my ($file) = @ARGV;
|
|
37
|
+
my $yaml;
|
|
38
|
+
|
|
39
|
+
my $decode = 1;
|
|
40
|
+
if ($module eq 'YAML::XS') {
|
|
41
|
+
$decode = 0;
|
|
42
|
+
}
|
|
43
|
+
if ($file) {
|
|
44
|
+
open my $fh, '<', $file or die "Can not open '$file'";
|
|
45
|
+
$yaml = do { local $/; <$fh> };
|
|
46
|
+
close $fh;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
$yaml = do { local $/; <STDIN> };
|
|
50
|
+
}
|
|
51
|
+
$yaml = decode_utf8($yaml) if $decode;
|
|
52
|
+
|
|
53
|
+
my %codes = (
|
|
54
|
+
'YAML::PP' => \&yamlpp,
|
|
55
|
+
'YAML::PP::LibYAML' => \&yamlpplibyaml,
|
|
56
|
+
'YAML::PP::Ref' => \&yamlppref,
|
|
57
|
+
'YAML::XS' => \&yamlxs,
|
|
58
|
+
'YAML::Tiny' => \&yamltiny,
|
|
59
|
+
'YAML::Syck' => \&yamlsyck,
|
|
60
|
+
'YAML' => \&yaml,
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
my $code = $codes{ $module } or die "Module '$module' not supported";
|
|
64
|
+
|
|
65
|
+
my @docs = $code->($yaml);
|
|
66
|
+
|
|
67
|
+
sub _yamlpp {
|
|
68
|
+
my ($class, $yaml) = @_;
|
|
69
|
+
my $ypp = $class->new(
|
|
70
|
+
schema => \@schema,
|
|
71
|
+
boolean => $boolean,
|
|
72
|
+
cyclic_refs => $cyclic ? 'allow' : 'fatal',
|
|
73
|
+
preserve => PRESERVE_ORDER,
|
|
74
|
+
yaml_version => \@yaml_versions,
|
|
75
|
+
);
|
|
76
|
+
my @docs = $ypp->load_string($yaml);
|
|
77
|
+
return @docs;
|
|
78
|
+
}
|
|
79
|
+
sub yamlpp {
|
|
80
|
+
_yamlpp('YAML::PP' => $_[0]);
|
|
81
|
+
}
|
|
82
|
+
sub yamlpplibyaml {
|
|
83
|
+
eval { require YAML::PP::LibYAML };
|
|
84
|
+
_yamlpp('YAML::PP::LibYAML' => $_[0]);
|
|
85
|
+
}
|
|
86
|
+
sub yamlppref {
|
|
87
|
+
eval { require YAML::PP::Ref };
|
|
88
|
+
_yamlpp('YAML::PP::Ref' => $_[0]);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
sub yamlxs {
|
|
92
|
+
eval { require YAML::XS };
|
|
93
|
+
my ($yaml) = @_;
|
|
94
|
+
no warnings 'once';
|
|
95
|
+
local $YAML::XS::LoadBlessed = $perl;
|
|
96
|
+
return YAML::XS::Load($yaml);
|
|
97
|
+
}
|
|
98
|
+
sub yamlsyck {
|
|
99
|
+
eval { require YAML::Syck };
|
|
100
|
+
my ($yaml) = @_;
|
|
101
|
+
no warnings 'once';
|
|
102
|
+
local $YAML::Syck::LoadBlessed = $perl;
|
|
103
|
+
local $YAML::Syck::ImplicitTyping = 1;
|
|
104
|
+
local $YAML::Syck::ImplicitUnicode = 1;
|
|
105
|
+
return YAML::Syck::Load($yaml);
|
|
106
|
+
}
|
|
107
|
+
sub yaml {
|
|
108
|
+
eval { require YAML };
|
|
109
|
+
my ($yaml) = @_;
|
|
110
|
+
no warnings 'once';
|
|
111
|
+
local $YAML::LoadBlessed = $perl;
|
|
112
|
+
return YAML::Load($yaml);
|
|
113
|
+
}
|
|
114
|
+
sub yamltiny {
|
|
115
|
+
eval { require YAML::Tiny };
|
|
116
|
+
my ($yaml) = @_;
|
|
117
|
+
return YAML::Tiny::Load($yaml);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
local $Data::Dumper::Useqq = 1;
|
|
121
|
+
local $Data::Dumper::Sortkeys = 1;
|
|
122
|
+
print Data::Dumper->Dump([$docs[ $_ ]], ["doc$_"]) for 0 ..$#docs;
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
sub usage {
|
|
126
|
+
my ($rc) = @_;
|
|
127
|
+
print <<"EOM";
|
|
128
|
+
Usage:
|
|
129
|
+
|
|
130
|
+
$0 [options] < file
|
|
131
|
+
$0 [options] file
|
|
132
|
+
|
|
133
|
+
Options:
|
|
134
|
+
--boolean= 'perl', 'JSON::PP', 'boolean'
|
|
135
|
+
--cyclic Allow cyclic references
|
|
136
|
+
--merge Enable loading merge keys '<<'
|
|
137
|
+
--perl Enable loading perl types and objects (use only
|
|
138
|
+
on trusted input!)
|
|
139
|
+
--module -M YAML::PP (default), YAML, YAML::PP::LibYAML,
|
|
140
|
+
YAML::Syck, YAML::Tiny, YAML::XS, YAML::PP::Ref
|
|
141
|
+
--yaml-version= '1.2' (default), '1.1', '1.2,1.1', '1.1,1.2'
|
|
142
|
+
EOM
|
|
143
|
+
exit $rc;
|
|
144
|
+
}
|