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
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ const CommandSerializer = require('./lib/core/protocol/CommandSerializer')
|
|
|
4
4
|
const TypeDeserializer = require('./lib/core/protocol/TypeDeserializer')
|
|
5
5
|
const TypeSerializer = require('./lib/core/protocol/TypeSerializer')
|
|
6
6
|
const Interpreter = require('./lib/core/interpreter/Interpreter')
|
|
7
|
+
const DelegatesCache = require('./lib/core/delegatesCache/DelegatesCache')
|
|
7
8
|
|
|
8
9
|
// Sdk
|
|
9
10
|
const RuntimeContext = require('./lib/sdk/RuntimeContext')
|
|
@@ -36,6 +37,7 @@ module.exports = {
|
|
|
36
37
|
TypeDeserializer,
|
|
37
38
|
TypeSerializer,
|
|
38
39
|
Interpreter,
|
|
40
|
+
DelegatesCache,
|
|
39
41
|
|
|
40
42
|
// Sdk
|
|
41
43
|
InvocationContext,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const generateGUID = require('../../utils/guid/generateGuid')
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A cache for storing and retrieving delegates.
|
|
5
|
+
*/
|
|
6
|
+
class DelegatesCache {
|
|
7
|
+
cache = new Map()
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Adds a delegate to the cache and returns its unique ID.
|
|
11
|
+
* @param {Function} delegateInstance - The delegate function to store.
|
|
12
|
+
* @returns {string} The unique ID for the delegate.
|
|
13
|
+
*/
|
|
14
|
+
addDelegate(delegateInstance) {
|
|
15
|
+
const delegateId = generateGUID()
|
|
16
|
+
this.cache.set(delegateId, delegateInstance)
|
|
17
|
+
return delegateId
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves a delegate by its unique ID.
|
|
22
|
+
* @param {string} delegateId - The unique ID of the delegate.
|
|
23
|
+
* @returns {Function} The delegate function.
|
|
24
|
+
* @throws {Error} If the delegate is not found.
|
|
25
|
+
*/
|
|
26
|
+
getDelegate(delegateId) {
|
|
27
|
+
const delegateInstance = this.cache.get(delegateId)
|
|
28
|
+
if (!delegateInstance) {
|
|
29
|
+
throw new Error('Delegate not found')
|
|
30
|
+
}
|
|
31
|
+
return delegateInstance
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
module.exports = new DelegatesCache()
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const { TypesConverter } = require('../../utils/TypesConverter')
|
|
2
|
+
const AbstractHandler = require('./AbstractHandler')
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
6
|
+
*/
|
|
7
|
+
class ConvertTypeHandler extends AbstractHandler {
|
|
8
|
+
constructor() {
|
|
9
|
+
super()
|
|
10
|
+
/**
|
|
11
|
+
* Minimum required parameters count for the command.
|
|
12
|
+
* @type {number}
|
|
13
|
+
*/
|
|
14
|
+
this.requiredParametersCount = 1
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Processes the given command to convert JType to Type.
|
|
19
|
+
* @param {Object} command - The command to process.
|
|
20
|
+
* @returns {any} The converted type.
|
|
21
|
+
*/
|
|
22
|
+
process(command) {
|
|
23
|
+
this.validateCommand(command)
|
|
24
|
+
return TypesConverter.convertJTypeToType(command.payload[0])
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Validates the command to ensure it has enough parameters.
|
|
29
|
+
* @param {Object} command - The command to validate.
|
|
30
|
+
*/
|
|
31
|
+
validateCommand(command) {
|
|
32
|
+
if (command.payload.length < this.requiredParametersCount) {
|
|
33
|
+
throw new Error('ConvertTypeHandler parameters mismatch')
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
module.exports = ConvertTypeHandler
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
const AbstractHandler = require('./AbstractHandler')
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Handles retrieving an instance method as a delegate.
|
|
5
|
+
*/
|
|
6
|
+
class GetInstanceMethodAsDelegateHandler extends AbstractHandler {
|
|
7
|
+
constructor() {
|
|
8
|
+
super()
|
|
9
|
+
/** @type {Function|null} */
|
|
10
|
+
this.method = null
|
|
11
|
+
/** @type {number} */
|
|
12
|
+
this.requiredParametersCount = 2
|
|
13
|
+
/** @type {Array<*>} */
|
|
14
|
+
this.args = []
|
|
15
|
+
/** @type {Object|null} */
|
|
16
|
+
this.instance = null
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Processes a command to retrieve an instance method as a delegate.
|
|
21
|
+
* @param {Object} command - The command containing payload data.
|
|
22
|
+
* @param {Array<*>} command.payload - The payload containing instance, method name, and arguments.
|
|
23
|
+
* @returns {Function} The delegate for the instance method.
|
|
24
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
25
|
+
*/
|
|
26
|
+
process(command) {
|
|
27
|
+
if (command.payload.length < this.requiredParametersCount) {
|
|
28
|
+
throw new Error(`${this.constructor.name} parameters mismatch`)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
this.instance = command.payload[0]
|
|
32
|
+
const methodName = command.payload[1]
|
|
33
|
+
this.args = command.payload.length > 2 ? command.payload.slice(2) : []
|
|
34
|
+
|
|
35
|
+
// Find the method on the instance
|
|
36
|
+
this.method = this.getMethod(this.instance, methodName)
|
|
37
|
+
if (!this.method) {
|
|
38
|
+
throw this.createMethodNotFoundError(this.instance, methodName)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Create a delegate from the method
|
|
42
|
+
const methodDelegate = this.method.bind(this.instance)
|
|
43
|
+
return methodDelegate
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves the method from the type.
|
|
48
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
49
|
+
* @param {string} methodName - The name of the method.
|
|
50
|
+
* @returns {Function|null} The found method or null if not found.
|
|
51
|
+
*/
|
|
52
|
+
getMethod(type, methodName) {
|
|
53
|
+
const method = type[methodName]
|
|
54
|
+
return typeof method === 'function' ? method : null
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Creates an error message when the method is not found.
|
|
59
|
+
* @param {Object} type - The class or constructor.
|
|
60
|
+
* @param {string} methodName - The method name.
|
|
61
|
+
* @returns {Error} The error with detailed message.
|
|
62
|
+
*/
|
|
63
|
+
createMethodNotFoundError(type, methodName) {
|
|
64
|
+
const methods = Object.getOwnPropertyNames(type.prototype).filter(
|
|
65
|
+
(key) => typeof type.prototype[key] === 'function'
|
|
66
|
+
)
|
|
67
|
+
const availableMethods = methods.map((name) => `${name}()`)
|
|
68
|
+
const message = `Method ${methodName} not found in class ${type.name}. Available instance public methods:\n${availableMethods.join('\n')}`
|
|
69
|
+
return new Error(message)
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
module.exports = new GetInstanceMethodAsDelegateHandler()
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// eslint-disable-next-line no-unused-vars
|
|
2
|
+
const { Command } = require('../../..')
|
|
3
|
+
const AbstractHandler = require('./AbstractHandler')
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Handles retrieving a static method as a delegate.
|
|
7
|
+
*/
|
|
8
|
+
class GetStaticMethodAsDelegateHandler extends AbstractHandler {
|
|
9
|
+
/** @type {Array<*>} */
|
|
10
|
+
args = []
|
|
11
|
+
|
|
12
|
+
constructor() {
|
|
13
|
+
super()
|
|
14
|
+
/** @type {Function|null} */
|
|
15
|
+
this.method = null
|
|
16
|
+
/** @type {number} */
|
|
17
|
+
this.requiredParametersCount = 2
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Processes a command to retrieve a static method as a delegate.
|
|
22
|
+
* @param {Command} command - The command containing payload data.
|
|
23
|
+
* @param {Array<*>} command.payload - The payload containing type, method name, and arguments.
|
|
24
|
+
* @returns {Function} The delegate for the static method.
|
|
25
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
26
|
+
*/
|
|
27
|
+
process(command) {
|
|
28
|
+
if (command.payload.length < this.requiredParametersCount) {
|
|
29
|
+
throw new Error(`${this.constructor.name} parameters mismatch`)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const type = command.payload[0]
|
|
33
|
+
const methodName = command.payload[1]
|
|
34
|
+
this.args = command.payload.length > 2 ? command.payload.slice(2) : []
|
|
35
|
+
|
|
36
|
+
// Find the method on the type
|
|
37
|
+
this.method = this.getMethod(type, methodName)
|
|
38
|
+
if (!this.method) {
|
|
39
|
+
throw this.createMethodNotFoundError(type, methodName)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Create a delegate from the method
|
|
43
|
+
const methodDelegate = this.method.bind(this)
|
|
44
|
+
return methodDelegate
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves the method from the type.
|
|
49
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
50
|
+
* @param {string} methodName - The name of the method.
|
|
51
|
+
* @param {Array<Function>} argsType - The argument types.
|
|
52
|
+
* @param {Object} modifier - Parameter modifier (not used in JS implementation).
|
|
53
|
+
* @returns {Function|null} The found method or null if not found.
|
|
54
|
+
*/
|
|
55
|
+
getMethod(type, methodName) {
|
|
56
|
+
const method = type[methodName]
|
|
57
|
+
return typeof method === 'function' ? method : null
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Creates an error message when the method is not found.
|
|
62
|
+
* @param {Object} type - The class or constructor.
|
|
63
|
+
* @param {string} methodName - The method name.
|
|
64
|
+
* @returns {Error} The error with detailed message.
|
|
65
|
+
*/
|
|
66
|
+
createMethodNotFoundError(type, methodName) {
|
|
67
|
+
const methods = Object.keys(type).filter((key) => typeof type[key] === 'function')
|
|
68
|
+
const availableMethods = methods.map((name) => `${name}()`)
|
|
69
|
+
const message = `Method ${methodName} not found in class ${type.name}. Available public static methods:\n${availableMethods.join('\n')}`
|
|
70
|
+
return new Error(message)
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
module.exports = new GetStaticMethodAsDelegateHandler()
|
|
@@ -23,6 +23,11 @@ const EnableTypeHandler = require('./EnableTypeHandler')
|
|
|
23
23
|
const { CommandType, Command, ExceptionSerializer } = require('../../..')
|
|
24
24
|
const ReferencesCache = require('../referenceCache/ReferencesCache')
|
|
25
25
|
const InvokeStandaloneMethodHandler = require('./InvokeStandaloneMethodHandler')
|
|
26
|
+
const GetStaticMethodAsDelegateHandler = require('./GetStaticMethodAsDelegateHandler')
|
|
27
|
+
const GetInstanceMethodAsDelegateHandler = require('./GetInstanceMethodAsDelegateHandler')
|
|
28
|
+
const PassDelegateHandler = require('./PassDelegateHandler')
|
|
29
|
+
const InvokeDelegateHandler = require('./InvokeDelegateHandler')
|
|
30
|
+
const { ConvertTypeHandler } = require('../../utils/TypesConverter')
|
|
26
31
|
|
|
27
32
|
function isResponseSimpleType(response) {
|
|
28
33
|
let type = typeof response
|
|
@@ -56,6 +61,11 @@ const handlers = {
|
|
|
56
61
|
[CommandType.Array]: ArrayHandler,
|
|
57
62
|
[CommandType.EnableNamespace]: EnableNamespaceHandler,
|
|
58
63
|
[CommandType.EnableType]: EnableTypeHandler,
|
|
64
|
+
[CommandType.GetStaticMethodAsDelegate]: GetStaticMethodAsDelegateHandler,
|
|
65
|
+
[CommandType.GetInstanceMethodAsDelegate]: GetInstanceMethodAsDelegateHandler,
|
|
66
|
+
[CommandType.PassDelegate]: PassDelegateHandler,
|
|
67
|
+
[CommandType.InvokeDelegate]: InvokeDelegateHandler,
|
|
68
|
+
[CommandType.ConvertType]: ConvertTypeHandler,
|
|
59
69
|
}
|
|
60
70
|
|
|
61
71
|
Object.keys(handlers).forEach((commandTypeHandler) => {
|
|
@@ -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 }
|