javonet-nodejs-sdk 2.5.9 → 2.5.11
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/core/transmitter/Transmitter.js +4 -4
- package/Binaries/Nodejs/lib/core/transmitter/TransmitterWrapper.js +27 -14
- package/Binaries/Nodejs/lib/sdk/ConfigRuntimeFactory.js +1 -1
- package/Binaries/Nodejs/lib/sdk/InvocationContext.js +43 -0
- package/Binaries/Nodejs/lib/sdk/Javonet.js +17 -1
- 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 +152 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load-dump +311 -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/Catchall.pm +76 -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 +71 -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 +1004 -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 +447 -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 +1521 -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.1/MYMETA.json +222 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.1/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 +55 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +133 -89
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +6 -1
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +15 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +22 -4
- 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 +152 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump +311 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump.bat +328 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load.bat +169 -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.1/MYMETA.json +222 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.1/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 +39 -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 +60 -16
- 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/Catchall.pm +76 -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 +71 -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 +1004 -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 +447 -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 +1521 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +6 -1
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +15 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +22 -4
- package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +9 -10
- package/Binaries/Python/javonet/core/transmitter/Transmitter.py +5 -1
- package/Binaries/Python/javonet/core/transmitter/TransmitterWrapper.py +20 -1
- package/Binaries/Ruby/Linux/X64/core/transmitter/transmitter.rb +10 -0
- package/Binaries/Ruby/Linux/X64/core/transmitter/transmitter_wrapper.rb +1 -0
- package/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter.rb +10 -0
- package/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter_wrapper.rb +1 -0
- package/Binaries/Ruby/Windows/X64/core/transmitter/transmitter.rb +10 -0
- package/Binaries/Ruby/Windows/X64/core/transmitter/transmitter_wrapper.rb +1 -0
- package/Binaries/version.txt +1 -1
- package/addon/JavonetNodejsRuntimeAddon.cpp +114 -16
- package/addon/JavonetNodejsRuntimeAddon.h +12 -2
- package/dist/Javonet.d.ts +1164 -105
- 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/core/transmitter/Transmitter.js +4 -4
- package/dist/lib/core/transmitter/TransmitterWrapper.js +27 -14
- package/dist/lib/sdk/ConfigRuntimeFactory.js +1 -1
- package/dist/lib/sdk/InvocationContext.js +43 -0
- package/dist/lib/sdk/Javonet.js +17 -1
- 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/core/transmitter/Transmitter.js +4 -4
- package/lib/core/transmitter/TransmitterWrapper.js +27 -14
- package/lib/sdk/ConfigRuntimeFactory.js +1 -1
- package/lib/sdk/Javonet.js +17 -1
- 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/Javonet.d.ts
CHANGED
|
@@ -36,7 +36,12 @@ declare module "Binaries/Nodejs/lib/utils/CommandType" {
|
|
|
36
36
|
export let EnableNamespace: 34;
|
|
37
37
|
export let EnableType: 35;
|
|
38
38
|
export let CreateNull: 36;
|
|
39
|
-
export let
|
|
39
|
+
export let GetStaticMethodAsDelegate: 37;
|
|
40
|
+
export let GetInstanceMethodAsDelegate: 38;
|
|
41
|
+
export let PassDelegate: 39;
|
|
42
|
+
export let InvokeDelegate: 40;
|
|
43
|
+
export let ConvertType: 41;
|
|
44
|
+
export let InvokeStandaloneMethod: 42;
|
|
40
45
|
}
|
|
41
46
|
declare module "Binaries/Nodejs/lib/utils/Command" {
|
|
42
47
|
export = Command;
|
|
@@ -309,6 +314,33 @@ declare module "Binaries/Nodejs/lib/core/interpreter/Interpreter" {
|
|
|
309
314
|
}
|
|
310
315
|
type WsConnectionData = any;
|
|
311
316
|
}
|
|
317
|
+
declare module "Binaries/Nodejs/lib/utils/guid/generateGuid" {
|
|
318
|
+
export = generateGUID;
|
|
319
|
+
function generateGUID(): string;
|
|
320
|
+
}
|
|
321
|
+
declare module "Binaries/Nodejs/lib/core/delegatesCache/DelegatesCache" {
|
|
322
|
+
const _exports: DelegatesCache;
|
|
323
|
+
export = _exports;
|
|
324
|
+
/**
|
|
325
|
+
* A cache for storing and retrieving delegates.
|
|
326
|
+
*/
|
|
327
|
+
class DelegatesCache {
|
|
328
|
+
cache: Map<any, any>;
|
|
329
|
+
/**
|
|
330
|
+
* Adds a delegate to the cache and returns its unique ID.
|
|
331
|
+
* @param {Function} delegateInstance - The delegate function to store.
|
|
332
|
+
* @returns {string} The unique ID for the delegate.
|
|
333
|
+
*/
|
|
334
|
+
addDelegate(delegateInstance: Function): string;
|
|
335
|
+
/**
|
|
336
|
+
* Retrieves a delegate by its unique ID.
|
|
337
|
+
* @param {string} delegateId - The unique ID of the delegate.
|
|
338
|
+
* @returns {Function} The delegate function.
|
|
339
|
+
* @throws {Error} If the delegate is not found.
|
|
340
|
+
*/
|
|
341
|
+
getDelegate(delegateId: string): Function;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
312
344
|
declare module "Binaries/Nodejs/lib/utils/ExceptionType" {
|
|
313
345
|
export let EXCEPTION: 0;
|
|
314
346
|
export let IO_EXCEPTION: 1;
|
|
@@ -496,6 +528,26 @@ declare module "Binaries/Nodejs/lib/sdk/InvocationContext" {
|
|
|
496
528
|
* @method
|
|
497
529
|
*/
|
|
498
530
|
createNull(): InvocationContext;
|
|
531
|
+
/**
|
|
532
|
+
* Creates a null object of a specific type on the target runtime.
|
|
533
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
534
|
+
* @param {...any} args - Method arguments.
|
|
535
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
536
|
+
* TODO: connect documentation page url
|
|
537
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
538
|
+
* @method
|
|
539
|
+
*/
|
|
540
|
+
getStaticMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext;
|
|
541
|
+
/**
|
|
542
|
+
* Creates a null object of a specific type on the target runtime.
|
|
543
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
544
|
+
* @param {...any} args - Method arguments.
|
|
545
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
546
|
+
* TODO: connect documentation page url
|
|
547
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
548
|
+
* @method
|
|
549
|
+
*/
|
|
550
|
+
getInstanceMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext;
|
|
499
551
|
/**
|
|
500
552
|
* Retrieves an array from the target runtime.
|
|
501
553
|
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to retrieve the array.
|
|
@@ -762,6 +814,7 @@ declare module "Binaries/Nodejs/index" {
|
|
|
762
814
|
import TypeDeserializer = require("Binaries/Nodejs/lib/core/protocol/TypeDeserializer");
|
|
763
815
|
import TypeSerializer = require("Binaries/Nodejs/lib/core/protocol/TypeSerializer");
|
|
764
816
|
import Interpreter = require("Binaries/Nodejs/lib/core/interpreter/Interpreter");
|
|
817
|
+
import DelegatesCache = require("Binaries/Nodejs/lib/core/delegatesCache/DelegatesCache");
|
|
765
818
|
import { InvocationContext } from "Binaries/Nodejs/lib/sdk/InvocationContext";
|
|
766
819
|
import { InvocationWsContext } from "Binaries/Nodejs/lib/sdk/InvocationContext";
|
|
767
820
|
import RuntimeContext = require("Binaries/Nodejs/lib/sdk/RuntimeContext");
|
|
@@ -779,7 +832,7 @@ declare module "Binaries/Nodejs/index" {
|
|
|
779
832
|
import WsConnectionData = require("Binaries/Nodejs/lib/utils/connectionData/WsConnectionData");
|
|
780
833
|
import ExceptionSerializer = require("Binaries/Nodejs/lib/utils/exception/ExceptionSerializer");
|
|
781
834
|
import ExceptionThrower = require("Binaries/Nodejs/lib/utils/exception/ExceptionThrower");
|
|
782
|
-
export { CommandSerializer, CommandDeserializer, TypeDeserializer, TypeSerializer, Interpreter, InvocationContext, InvocationWsContext, RuntimeContext, RuntimeFactory, Command, CommandType, ConnectionType, ExceptionType, RuntimeName, RuntimeNameHandler, StringEncodingMode, Type, IConnectionData, InMemoryConnectionData, WsConnectionData, ExceptionSerializer, ExceptionThrower };
|
|
835
|
+
export { CommandSerializer, CommandDeserializer, TypeDeserializer, TypeSerializer, Interpreter, DelegatesCache, InvocationContext, InvocationWsContext, RuntimeContext, RuntimeFactory, Command, CommandType, ConnectionType, ExceptionType, RuntimeName, RuntimeNameHandler, StringEncodingMode, Type, IConnectionData, InMemoryConnectionData, WsConnectionData, ExceptionSerializer, ExceptionThrower };
|
|
783
836
|
}
|
|
784
837
|
declare module "Binaries/Nodejs/lib/core/generator/handler/AbstractGeneratorHandler" {
|
|
785
838
|
export = AbstractGeneratorHandler;
|
|
@@ -1017,6 +1070,81 @@ declare module "Binaries/Nodejs/lib/core/handler/CastingHandler" {
|
|
|
1017
1070
|
}
|
|
1018
1071
|
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1019
1072
|
}
|
|
1073
|
+
declare module "Binaries/Nodejs/lib/utils/TypesConverter" {
|
|
1074
|
+
/**
|
|
1075
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
1076
|
+
*/
|
|
1077
|
+
export class ConvertTypeHandler {
|
|
1078
|
+
/**
|
|
1079
|
+
* Minimum required parameters count for the command.
|
|
1080
|
+
* @type {number}
|
|
1081
|
+
*/
|
|
1082
|
+
requiredParametersCount: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* Processes the given command to convert JType to Type.
|
|
1085
|
+
* @param {Object} command - The command to process.
|
|
1086
|
+
* @returns {any} The converted type.
|
|
1087
|
+
*/
|
|
1088
|
+
process(command: Object): any;
|
|
1089
|
+
/**
|
|
1090
|
+
* Validates the command to ensure it has enough parameters.
|
|
1091
|
+
* @param {Object} command - The command to validate.
|
|
1092
|
+
*/
|
|
1093
|
+
validateCommand(command: Object): void;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* TypesConverter class provides utilities for converting between types.
|
|
1097
|
+
*/
|
|
1098
|
+
export class TypesConverter {
|
|
1099
|
+
/**
|
|
1100
|
+
* Converts a JavaScript type to a JType equivalent.
|
|
1101
|
+
* @param {Function} type - The JavaScript type.
|
|
1102
|
+
* @returns {number} The corresponding JType.
|
|
1103
|
+
*/
|
|
1104
|
+
static convertTypeToJType(type: Function): number;
|
|
1105
|
+
/**
|
|
1106
|
+
* Converts a JType to a JavaScript type equivalent.
|
|
1107
|
+
* @param {number} type - The JType to convert.
|
|
1108
|
+
* @returns {Function} The corresponding JavaScript type.
|
|
1109
|
+
*/
|
|
1110
|
+
static convertJTypeToType(type: number): Function;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Enum for JType mappings.
|
|
1114
|
+
*/
|
|
1115
|
+
export type JType = number;
|
|
1116
|
+
export namespace JType {
|
|
1117
|
+
let Boolean: number;
|
|
1118
|
+
let Float: number;
|
|
1119
|
+
let String: number;
|
|
1120
|
+
let Null: number;
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
declare module "Binaries/Nodejs/lib/core/handler/ConvertTypeHandler" {
|
|
1124
|
+
export = ConvertTypeHandler;
|
|
1125
|
+
/**
|
|
1126
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
1127
|
+
*/
|
|
1128
|
+
class ConvertTypeHandler extends AbstractHandler {
|
|
1129
|
+
/**
|
|
1130
|
+
* Minimum required parameters count for the command.
|
|
1131
|
+
* @type {number}
|
|
1132
|
+
*/
|
|
1133
|
+
requiredParametersCount: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* Processes the given command to convert JType to Type.
|
|
1136
|
+
* @param {Object} command - The command to process.
|
|
1137
|
+
* @returns {any} The converted type.
|
|
1138
|
+
*/
|
|
1139
|
+
process(command: Object): any;
|
|
1140
|
+
/**
|
|
1141
|
+
* Validates the command to ensure it has enough parameters.
|
|
1142
|
+
* @param {Object} command - The command to validate.
|
|
1143
|
+
*/
|
|
1144
|
+
validateCommand(command: Object): void;
|
|
1145
|
+
}
|
|
1146
|
+
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1147
|
+
}
|
|
1020
1148
|
declare module "Binaries/Nodejs/lib/core/handler/CreateClassInstanceHandler" {
|
|
1021
1149
|
const _exports: CreateClassInstanceHandler;
|
|
1022
1150
|
export = _exports;
|
|
@@ -1123,6 +1251,48 @@ declare module "Binaries/Nodejs/lib/core/handler/GetInstanceFieldHandler" {
|
|
|
1123
1251
|
}
|
|
1124
1252
|
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1125
1253
|
}
|
|
1254
|
+
declare module "Binaries/Nodejs/lib/core/handler/GetInstanceMethodAsDelegateHandler" {
|
|
1255
|
+
const _exports: GetInstanceMethodAsDelegateHandler;
|
|
1256
|
+
export = _exports;
|
|
1257
|
+
/**
|
|
1258
|
+
* Handles retrieving an instance method as a delegate.
|
|
1259
|
+
*/
|
|
1260
|
+
class GetInstanceMethodAsDelegateHandler extends AbstractHandler {
|
|
1261
|
+
/** @type {Function|null} */
|
|
1262
|
+
method: Function | null;
|
|
1263
|
+
/** @type {number} */
|
|
1264
|
+
requiredParametersCount: number;
|
|
1265
|
+
/** @type {Array<*>} */
|
|
1266
|
+
args: Array<any>;
|
|
1267
|
+
/** @type {Object|null} */
|
|
1268
|
+
instance: Object | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Processes a command to retrieve an instance method as a delegate.
|
|
1271
|
+
* @param {Object} command - The command containing payload data.
|
|
1272
|
+
* @param {Array<*>} command.payload - The payload containing instance, method name, and arguments.
|
|
1273
|
+
* @returns {Function} The delegate for the instance method.
|
|
1274
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
1275
|
+
*/
|
|
1276
|
+
process(command: {
|
|
1277
|
+
payload: Array<any>;
|
|
1278
|
+
}): Function;
|
|
1279
|
+
/**
|
|
1280
|
+
* Retrieves the method from the type.
|
|
1281
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
1282
|
+
* @param {string} methodName - The name of the method.
|
|
1283
|
+
* @returns {Function|null} The found method or null if not found.
|
|
1284
|
+
*/
|
|
1285
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Creates an error message when the method is not found.
|
|
1288
|
+
* @param {Object} type - The class or constructor.
|
|
1289
|
+
* @param {string} methodName - The method name.
|
|
1290
|
+
* @returns {Error} The error with detailed message.
|
|
1291
|
+
*/
|
|
1292
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
1293
|
+
}
|
|
1294
|
+
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1295
|
+
}
|
|
1126
1296
|
declare module "Binaries/Nodejs/lib/core/handler/GetStaticFieldHandler" {
|
|
1127
1297
|
const _exports: GetStaticFieldHandler;
|
|
1128
1298
|
export = _exports;
|
|
@@ -1132,6 +1302,47 @@ declare module "Binaries/Nodejs/lib/core/handler/GetStaticFieldHandler" {
|
|
|
1132
1302
|
}
|
|
1133
1303
|
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1134
1304
|
}
|
|
1305
|
+
declare module "Binaries/Nodejs/lib/core/handler/GetStaticMethodAsDelegateHandler" {
|
|
1306
|
+
const _exports: GetStaticMethodAsDelegateHandler;
|
|
1307
|
+
export = _exports;
|
|
1308
|
+
/**
|
|
1309
|
+
* Handles retrieving a static method as a delegate.
|
|
1310
|
+
*/
|
|
1311
|
+
class GetStaticMethodAsDelegateHandler extends AbstractHandler {
|
|
1312
|
+
/** @type {Array<*>} */
|
|
1313
|
+
args: Array<any>;
|
|
1314
|
+
/** @type {Function|null} */
|
|
1315
|
+
method: Function | null;
|
|
1316
|
+
/** @type {number} */
|
|
1317
|
+
requiredParametersCount: number;
|
|
1318
|
+
/**
|
|
1319
|
+
* Processes a command to retrieve a static method as a delegate.
|
|
1320
|
+
* @param {Command} command - The command containing payload data.
|
|
1321
|
+
* @param {Array<*>} command.payload - The payload containing type, method name, and arguments.
|
|
1322
|
+
* @returns {Function} The delegate for the static method.
|
|
1323
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
1324
|
+
*/
|
|
1325
|
+
process(command: Command): Function;
|
|
1326
|
+
/**
|
|
1327
|
+
* Retrieves the method from the type.
|
|
1328
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
1329
|
+
* @param {string} methodName - The name of the method.
|
|
1330
|
+
* @param {Array<Function>} argsType - The argument types.
|
|
1331
|
+
* @param {Object} modifier - Parameter modifier (not used in JS implementation).
|
|
1332
|
+
* @returns {Function|null} The found method or null if not found.
|
|
1333
|
+
*/
|
|
1334
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
1335
|
+
/**
|
|
1336
|
+
* Creates an error message when the method is not found.
|
|
1337
|
+
* @param {Object} type - The class or constructor.
|
|
1338
|
+
* @param {string} methodName - The method name.
|
|
1339
|
+
* @returns {Error} The error with detailed message.
|
|
1340
|
+
*/
|
|
1341
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
1342
|
+
}
|
|
1343
|
+
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1344
|
+
import { Command } from "Binaries/Nodejs";
|
|
1345
|
+
}
|
|
1135
1346
|
declare module "Binaries/Nodejs/lib/core/handler/LoadLibraryHandler" {
|
|
1136
1347
|
const _exports: LoadLibraryHandler;
|
|
1137
1348
|
export = _exports;
|
|
@@ -1228,6 +1439,125 @@ declare module "Binaries/Nodejs/lib/core/handler/InvokeStandaloneMethodHandler"
|
|
|
1228
1439
|
}
|
|
1229
1440
|
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1230
1441
|
}
|
|
1442
|
+
declare module "Binaries/Nodejs/lib/core/handler/PassDelegateHandler" {
|
|
1443
|
+
const _exports: PassDelegateHandler;
|
|
1444
|
+
export = _exports;
|
|
1445
|
+
/**
|
|
1446
|
+
* PassDelegateHandler class responsible for processing a command to create a delegate.
|
|
1447
|
+
*/
|
|
1448
|
+
class PassDelegateHandler extends AbstractHandler {
|
|
1449
|
+
/**
|
|
1450
|
+
* Minimum required parameters count for the command.
|
|
1451
|
+
* @type {number}
|
|
1452
|
+
*/
|
|
1453
|
+
requiredParametersCount: number;
|
|
1454
|
+
interpreter: Interpreter;
|
|
1455
|
+
/**
|
|
1456
|
+
* Processes the given command to create and compile a delegate.
|
|
1457
|
+
* @param {Command} command - The command to process.
|
|
1458
|
+
* @returns {Function} The compiled delegate function.
|
|
1459
|
+
*/
|
|
1460
|
+
process(command: Command): Function;
|
|
1461
|
+
/**
|
|
1462
|
+
* Validates the command to ensure it has enough parameters.
|
|
1463
|
+
* @param {Command} command - The command to validate.
|
|
1464
|
+
*/
|
|
1465
|
+
validateCommand(command: Command): void;
|
|
1466
|
+
/**
|
|
1467
|
+
* Retrieves the arguments from the command payload.
|
|
1468
|
+
* @param {Command} command - The command containing the payload.
|
|
1469
|
+
* @returns {Array} The extracted arguments.
|
|
1470
|
+
*/
|
|
1471
|
+
getArguments(command: Command): any[];
|
|
1472
|
+
/**
|
|
1473
|
+
* Extracts argument types from the arguments array.
|
|
1474
|
+
* @param {Array} args - The arguments array.
|
|
1475
|
+
* @returns {Array} The argument types.
|
|
1476
|
+
*/
|
|
1477
|
+
getArgumentTypes(args: any[]): any[];
|
|
1478
|
+
/**
|
|
1479
|
+
* Retrieves the return type from the arguments array.
|
|
1480
|
+
* @param {Array} args - The arguments array.
|
|
1481
|
+
* @returns {Function} The return type.
|
|
1482
|
+
*/
|
|
1483
|
+
getReturnType(args: any[]): Function;
|
|
1484
|
+
/**
|
|
1485
|
+
* Creates parameter expressions from argument types.
|
|
1486
|
+
* @param {Array} argsTypes - The argument types.
|
|
1487
|
+
* @returns {Array} The parameter expressions.
|
|
1488
|
+
*/
|
|
1489
|
+
createParameters(argsTypes: any[]): any[];
|
|
1490
|
+
/**
|
|
1491
|
+
* Creates an array of arguments for the delegate.
|
|
1492
|
+
* @param {string} delegateGuid - The delegate identifier.
|
|
1493
|
+
* @param {Array} parameters - The parameter expressions.
|
|
1494
|
+
* @returns {Array} The arguments array.
|
|
1495
|
+
*/
|
|
1496
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
1497
|
+
/**
|
|
1498
|
+
* Creates a command expression.
|
|
1499
|
+
* @param {string} callingRuntimeName - The runtime name.
|
|
1500
|
+
* @param {Array} payload - The arguments array.
|
|
1501
|
+
* @returns {Object} The command object.
|
|
1502
|
+
*/
|
|
1503
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
1504
|
+
/**
|
|
1505
|
+
* Creates a method call to execute the command.
|
|
1506
|
+
* @param {Command} command - The command object.
|
|
1507
|
+
* @returns {Object} The response object.
|
|
1508
|
+
*/
|
|
1509
|
+
createExecuteCall(command: Command): Object;
|
|
1510
|
+
/**
|
|
1511
|
+
* Retrieves the response payload from the execution call.
|
|
1512
|
+
* @param {Object} executeCall - The execution call.
|
|
1513
|
+
* @returns {Array} The response payload.
|
|
1514
|
+
*/
|
|
1515
|
+
getResponse(executeCall: Object): any[];
|
|
1516
|
+
/**
|
|
1517
|
+
* Converts the first element of the response to the return type.
|
|
1518
|
+
* @param {Array} response - The response payload.
|
|
1519
|
+
* @param {Function} returnType - The return type.
|
|
1520
|
+
* @returns {*} The converted first element.
|
|
1521
|
+
*/
|
|
1522
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
1523
|
+
/**
|
|
1524
|
+
* Creates a block of expressions for the delegate.
|
|
1525
|
+
* @param {Function} returnType - The return type.
|
|
1526
|
+
* @param {*} convertedFirstElement - The converted first element.
|
|
1527
|
+
* @returns {Object} The block expression.
|
|
1528
|
+
*/
|
|
1529
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
1530
|
+
/**
|
|
1531
|
+
* Creates a delegate type.
|
|
1532
|
+
* @param {Array} parameters - The parameter expressions.
|
|
1533
|
+
* @param {Function} returnType - The return type.
|
|
1534
|
+
* @returns {Function} The delegate type.
|
|
1535
|
+
*/
|
|
1536
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
1537
|
+
}
|
|
1538
|
+
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1539
|
+
import { Interpreter } from "Binaries/Nodejs";
|
|
1540
|
+
import { Command } from "Binaries/Nodejs";
|
|
1541
|
+
}
|
|
1542
|
+
declare module "Binaries/Nodejs/lib/core/handler/InvokeDelegateHandler" {
|
|
1543
|
+
const _exports: InvokeDelegateHandler;
|
|
1544
|
+
export = _exports;
|
|
1545
|
+
/**
|
|
1546
|
+
* Handles invoking a delegate by GUID.
|
|
1547
|
+
*/
|
|
1548
|
+
class InvokeDelegateHandler extends AbstractHandler {
|
|
1549
|
+
/** @type {number} */
|
|
1550
|
+
requiredParametersCount: number;
|
|
1551
|
+
/**
|
|
1552
|
+
* Processes a command to invoke a delegate.
|
|
1553
|
+
* @param {Command} command - The command containing payload data.
|
|
1554
|
+
* @returns {*} The result of the delegate invocation.
|
|
1555
|
+
* @throws {Error} If the parameters mismatch or the delegate cannot be found.
|
|
1556
|
+
*/
|
|
1557
|
+
process(command: Command): any;
|
|
1558
|
+
}
|
|
1559
|
+
import AbstractHandler = require("Binaries/Nodejs/lib/core/handler/AbstractHandler");
|
|
1560
|
+
}
|
|
1231
1561
|
declare module "Binaries/Nodejs/lib/core/handler/Handler" {
|
|
1232
1562
|
export class Handler {
|
|
1233
1563
|
handleCommand(command: any): Command;
|
|
@@ -1331,7 +1661,7 @@ declare module "Binaries/Nodejs/lib/core/handler/Handler" {
|
|
|
1331
1661
|
iterate(cmd: any): void;
|
|
1332
1662
|
process_stack_trace(error: any, class_name: any): any;
|
|
1333
1663
|
};
|
|
1334
|
-
|
|
1664
|
+
42: {
|
|
1335
1665
|
requiredParametersCount: number;
|
|
1336
1666
|
process(command: any): any;
|
|
1337
1667
|
throwError(type: any, methodName: any): void;
|
|
@@ -1410,8 +1740,66 @@ declare module "Binaries/Nodejs/lib/core/handler/Handler" {
|
|
|
1410
1740
|
iterate(cmd: any): void;
|
|
1411
1741
|
process_stack_trace(error: any, class_name: any): any;
|
|
1412
1742
|
};
|
|
1743
|
+
37: {
|
|
1744
|
+
args: Array<any>;
|
|
1745
|
+
method: Function | null;
|
|
1746
|
+
requiredParametersCount: number;
|
|
1747
|
+
process(command: Command): Function;
|
|
1748
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
1749
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
1750
|
+
handlers: any[];
|
|
1751
|
+
handleCommand(command: any): void;
|
|
1752
|
+
iterate(cmd: any): void;
|
|
1753
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
1754
|
+
};
|
|
1755
|
+
38: {
|
|
1756
|
+
method: Function | null;
|
|
1757
|
+
requiredParametersCount: number;
|
|
1758
|
+
args: Array<any>;
|
|
1759
|
+
instance: Object | null;
|
|
1760
|
+
process(command: {
|
|
1761
|
+
payload: Array<any>;
|
|
1762
|
+
}): Function;
|
|
1763
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
1764
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
1765
|
+
handlers: any[];
|
|
1766
|
+
handleCommand(command: any): void;
|
|
1767
|
+
iterate(cmd: any): void;
|
|
1768
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
1769
|
+
};
|
|
1770
|
+
39: {
|
|
1771
|
+
requiredParametersCount: number;
|
|
1772
|
+
interpreter: import("Binaries/Nodejs").Interpreter;
|
|
1773
|
+
process(command: Command): Function;
|
|
1774
|
+
validateCommand(command: Command): void;
|
|
1775
|
+
getArguments(command: Command): any[];
|
|
1776
|
+
getArgumentTypes(args: any[]): any[];
|
|
1777
|
+
getReturnType(args: any[]): Function;
|
|
1778
|
+
createParameters(argsTypes: any[]): any[];
|
|
1779
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
1780
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
1781
|
+
createExecuteCall(command: Command): Object;
|
|
1782
|
+
getResponse(executeCall: Object): any[];
|
|
1783
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
1784
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
1785
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
1786
|
+
handlers: any[];
|
|
1787
|
+
handleCommand(command: any): void;
|
|
1788
|
+
iterate(cmd: any): void;
|
|
1789
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
1790
|
+
};
|
|
1791
|
+
40: {
|
|
1792
|
+
requiredParametersCount: number;
|
|
1793
|
+
process(command: Command): any;
|
|
1794
|
+
handlers: any[];
|
|
1795
|
+
handleCommand(command: any): void;
|
|
1796
|
+
iterate(cmd: any): void;
|
|
1797
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
1798
|
+
};
|
|
1799
|
+
41: typeof ConvertTypeHandler;
|
|
1413
1800
|
};
|
|
1414
1801
|
import { Command } from "Binaries/Nodejs";
|
|
1802
|
+
import { ConvertTypeHandler } from "Binaries/Nodejs/lib/utils/TypesConverter";
|
|
1415
1803
|
}
|
|
1416
1804
|
declare module "Binaries/Nodejs/lib/core/handler/SetGlobalStaticFieldHandler" {
|
|
1417
1805
|
const _exports: SetGlobalStaticFieldHandler;
|
|
@@ -1448,19 +1836,21 @@ declare module "Binaries/Nodejs/lib/core/receiver/ReceiverNative" {
|
|
|
1448
1836
|
declare module "Binaries/Nodejs/lib/core/transmitter/TransmitterWrapper" {
|
|
1449
1837
|
export = TransmitterWrapper;
|
|
1450
1838
|
class TransmitterWrapper {
|
|
1451
|
-
static
|
|
1839
|
+
static isNativeLibraryLoaded(): boolean;
|
|
1840
|
+
static loadNativeLibrary(): void;
|
|
1452
1841
|
static activate(licenseKey: any): any;
|
|
1453
1842
|
static sendCommand(messageArray: any): any;
|
|
1454
1843
|
static setConfigSource(configSource: any): any;
|
|
1844
|
+
static setJavonetWorkingDirectory(path: any): void;
|
|
1455
1845
|
}
|
|
1456
1846
|
}
|
|
1457
1847
|
declare module "Binaries/Nodejs/lib/core/transmitter/Transmitter" {
|
|
1458
1848
|
export = Transmitter;
|
|
1459
1849
|
class Transmitter {
|
|
1460
|
-
static initialize(): any;
|
|
1461
1850
|
static sendCommand(messageArray: any): any;
|
|
1462
1851
|
static activate: (licenseKey: any) => any;
|
|
1463
1852
|
static setConfigSource(configSource: any): any;
|
|
1853
|
+
static setJavonetWorkingDirectory(workingDirectory: any): void;
|
|
1464
1854
|
}
|
|
1465
1855
|
}
|
|
1466
1856
|
declare module "Binaries/Nodejs/lib/sdk/tools/JsonFileResolver" {
|
|
@@ -1620,6 +2010,12 @@ declare module "Binaries/Nodejs/lib/sdk/Javonet" {
|
|
|
1620
2010
|
* @param {string} configSource - The configuration source.
|
|
1621
2011
|
*/
|
|
1622
2012
|
static setConfigSource(configSource: string): void;
|
|
2013
|
+
/**
|
|
2014
|
+
* Sets the working directory for the Javonet SDK.
|
|
2015
|
+
*
|
|
2016
|
+
* @param {string} path - The working directory.
|
|
2017
|
+
*/
|
|
2018
|
+
static setJavonetWorkingDirectory(path: string): void;
|
|
1623
2019
|
}
|
|
1624
2020
|
import TcpConnectionData = require("Binaries/Nodejs/lib/utils/connectionData/TcpConnectionData");
|
|
1625
2021
|
import { WsConnectionData } from "Binaries/Nodejs";
|
|
@@ -1674,7 +2070,12 @@ declare module "dist/lib/utils/CommandType" {
|
|
|
1674
2070
|
export let EnableNamespace: 34;
|
|
1675
2071
|
export let EnableType: 35;
|
|
1676
2072
|
export let CreateNull: 36;
|
|
1677
|
-
export let
|
|
2073
|
+
export let GetStaticMethodAsDelegate: 37;
|
|
2074
|
+
export let GetInstanceMethodAsDelegate: 38;
|
|
2075
|
+
export let PassDelegate: 39;
|
|
2076
|
+
export let InvokeDelegate: 40;
|
|
2077
|
+
export let ConvertType: 41;
|
|
2078
|
+
export let InvokeStandaloneMethod: 42;
|
|
1678
2079
|
}
|
|
1679
2080
|
declare module "dist/lib/utils/Command" {
|
|
1680
2081
|
export = Command;
|
|
@@ -1947,6 +2348,33 @@ declare module "dist/lib/core/interpreter/Interpreter" {
|
|
|
1947
2348
|
}
|
|
1948
2349
|
type WsConnectionData = any;
|
|
1949
2350
|
}
|
|
2351
|
+
declare module "dist/lib/utils/guid/generateGuid" {
|
|
2352
|
+
export = generateGUID;
|
|
2353
|
+
function generateGUID(): string;
|
|
2354
|
+
}
|
|
2355
|
+
declare module "dist/lib/core/delegatesCache/DelegatesCache" {
|
|
2356
|
+
const _exports: DelegatesCache;
|
|
2357
|
+
export = _exports;
|
|
2358
|
+
/**
|
|
2359
|
+
* A cache for storing and retrieving delegates.
|
|
2360
|
+
*/
|
|
2361
|
+
class DelegatesCache {
|
|
2362
|
+
cache: Map<any, any>;
|
|
2363
|
+
/**
|
|
2364
|
+
* Adds a delegate to the cache and returns its unique ID.
|
|
2365
|
+
* @param {Function} delegateInstance - The delegate function to store.
|
|
2366
|
+
* @returns {string} The unique ID for the delegate.
|
|
2367
|
+
*/
|
|
2368
|
+
addDelegate(delegateInstance: Function): string;
|
|
2369
|
+
/**
|
|
2370
|
+
* Retrieves a delegate by its unique ID.
|
|
2371
|
+
* @param {string} delegateId - The unique ID of the delegate.
|
|
2372
|
+
* @returns {Function} The delegate function.
|
|
2373
|
+
* @throws {Error} If the delegate is not found.
|
|
2374
|
+
*/
|
|
2375
|
+
getDelegate(delegateId: string): Function;
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
1950
2378
|
declare module "dist/lib/utils/ExceptionType" {
|
|
1951
2379
|
export let EXCEPTION: 0;
|
|
1952
2380
|
export let IO_EXCEPTION: 1;
|
|
@@ -2134,6 +2562,26 @@ declare module "dist/lib/sdk/InvocationContext" {
|
|
|
2134
2562
|
* @method
|
|
2135
2563
|
*/
|
|
2136
2564
|
createNull(): InvocationContext;
|
|
2565
|
+
/**
|
|
2566
|
+
* Creates a null object of a specific type on the target runtime.
|
|
2567
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
2568
|
+
* @param {...any} args - Method arguments.
|
|
2569
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
2570
|
+
* TODO: connect documentation page url
|
|
2571
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
2572
|
+
* @method
|
|
2573
|
+
*/
|
|
2574
|
+
getStaticMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext;
|
|
2575
|
+
/**
|
|
2576
|
+
* Creates a null object of a specific type on the target runtime.
|
|
2577
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
2578
|
+
* @param {...any} args - Method arguments.
|
|
2579
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
2580
|
+
* TODO: connect documentation page url
|
|
2581
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
2582
|
+
* @method
|
|
2583
|
+
*/
|
|
2584
|
+
getInstanceMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext;
|
|
2137
2585
|
/**
|
|
2138
2586
|
* Retrieves an array from the target runtime.
|
|
2139
2587
|
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to retrieve the array.
|
|
@@ -2400,6 +2848,7 @@ declare module "dist/index" {
|
|
|
2400
2848
|
import TypeDeserializer = require("@javonet/core/lib/core/protocol/TypeDeserializer");
|
|
2401
2849
|
import TypeSerializer = require("@javonet/core/lib/core/protocol/TypeSerializer");
|
|
2402
2850
|
import Interpreter = require("@javonet/core/lib/core/interpreter/Interpreter");
|
|
2851
|
+
import DelegatesCache = require("@javonet/core/lib/core/delegatesCache/DelegatesCache");
|
|
2403
2852
|
import { InvocationContext } from "@javonet/core/lib/sdk/InvocationContext";
|
|
2404
2853
|
import { InvocationWsContext } from "@javonet/core/lib/sdk/InvocationContext";
|
|
2405
2854
|
import RuntimeContext = require("@javonet/core/lib/sdk/RuntimeContext");
|
|
@@ -2417,7 +2866,7 @@ declare module "dist/index" {
|
|
|
2417
2866
|
import WsConnectionData = require("@javonet/core/lib/utils/connectionData/WsConnectionData");
|
|
2418
2867
|
import ExceptionSerializer = require("@javonet/core/lib/utils/exception/ExceptionSerializer");
|
|
2419
2868
|
import ExceptionThrower = require("@javonet/core/lib/utils/exception/ExceptionThrower");
|
|
2420
|
-
export { CommandSerializer, CommandDeserializer, TypeDeserializer, TypeSerializer, Interpreter, InvocationContext, InvocationWsContext, RuntimeContext, RuntimeFactory, Command, CommandType, ConnectionType, ExceptionType, RuntimeName, RuntimeNameHandler, StringEncodingMode, Type, IConnectionData, InMemoryConnectionData, WsConnectionData, ExceptionSerializer, ExceptionThrower };
|
|
2869
|
+
export { CommandSerializer, CommandDeserializer, TypeDeserializer, TypeSerializer, Interpreter, DelegatesCache, InvocationContext, InvocationWsContext, RuntimeContext, RuntimeFactory, Command, CommandType, ConnectionType, ExceptionType, RuntimeName, RuntimeNameHandler, StringEncodingMode, Type, IConnectionData, InMemoryConnectionData, WsConnectionData, ExceptionSerializer, ExceptionThrower };
|
|
2421
2870
|
}
|
|
2422
2871
|
declare module "dist/lib/core/generator/handler/AbstractGeneratorHandler" {
|
|
2423
2872
|
export = AbstractGeneratorHandler;
|
|
@@ -2655,6 +3104,81 @@ declare module "dist/lib/core/handler/CastingHandler" {
|
|
|
2655
3104
|
}
|
|
2656
3105
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2657
3106
|
}
|
|
3107
|
+
declare module "dist/lib/utils/TypesConverter" {
|
|
3108
|
+
/**
|
|
3109
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
3110
|
+
*/
|
|
3111
|
+
export class ConvertTypeHandler {
|
|
3112
|
+
/**
|
|
3113
|
+
* Minimum required parameters count for the command.
|
|
3114
|
+
* @type {number}
|
|
3115
|
+
*/
|
|
3116
|
+
requiredParametersCount: number;
|
|
3117
|
+
/**
|
|
3118
|
+
* Processes the given command to convert JType to Type.
|
|
3119
|
+
* @param {Object} command - The command to process.
|
|
3120
|
+
* @returns {any} The converted type.
|
|
3121
|
+
*/
|
|
3122
|
+
process(command: Object): any;
|
|
3123
|
+
/**
|
|
3124
|
+
* Validates the command to ensure it has enough parameters.
|
|
3125
|
+
* @param {Object} command - The command to validate.
|
|
3126
|
+
*/
|
|
3127
|
+
validateCommand(command: Object): void;
|
|
3128
|
+
}
|
|
3129
|
+
/**
|
|
3130
|
+
* TypesConverter class provides utilities for converting between types.
|
|
3131
|
+
*/
|
|
3132
|
+
export class TypesConverter {
|
|
3133
|
+
/**
|
|
3134
|
+
* Converts a JavaScript type to a JType equivalent.
|
|
3135
|
+
* @param {Function} type - The JavaScript type.
|
|
3136
|
+
* @returns {number} The corresponding JType.
|
|
3137
|
+
*/
|
|
3138
|
+
static convertTypeToJType(type: Function): number;
|
|
3139
|
+
/**
|
|
3140
|
+
* Converts a JType to a JavaScript type equivalent.
|
|
3141
|
+
* @param {number} type - The JType to convert.
|
|
3142
|
+
* @returns {Function} The corresponding JavaScript type.
|
|
3143
|
+
*/
|
|
3144
|
+
static convertJTypeToType(type: number): Function;
|
|
3145
|
+
}
|
|
3146
|
+
/**
|
|
3147
|
+
* Enum for JType mappings.
|
|
3148
|
+
*/
|
|
3149
|
+
export type JType = number;
|
|
3150
|
+
export namespace JType {
|
|
3151
|
+
let Boolean: number;
|
|
3152
|
+
let Float: number;
|
|
3153
|
+
let String: number;
|
|
3154
|
+
let Null: number;
|
|
3155
|
+
}
|
|
3156
|
+
}
|
|
3157
|
+
declare module "dist/lib/core/handler/ConvertTypeHandler" {
|
|
3158
|
+
export = ConvertTypeHandler;
|
|
3159
|
+
/**
|
|
3160
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
3161
|
+
*/
|
|
3162
|
+
class ConvertTypeHandler extends AbstractHandler {
|
|
3163
|
+
/**
|
|
3164
|
+
* Minimum required parameters count for the command.
|
|
3165
|
+
* @type {number}
|
|
3166
|
+
*/
|
|
3167
|
+
requiredParametersCount: number;
|
|
3168
|
+
/**
|
|
3169
|
+
* Processes the given command to convert JType to Type.
|
|
3170
|
+
* @param {Object} command - The command to process.
|
|
3171
|
+
* @returns {any} The converted type.
|
|
3172
|
+
*/
|
|
3173
|
+
process(command: Object): any;
|
|
3174
|
+
/**
|
|
3175
|
+
* Validates the command to ensure it has enough parameters.
|
|
3176
|
+
* @param {Object} command - The command to validate.
|
|
3177
|
+
*/
|
|
3178
|
+
validateCommand(command: Object): void;
|
|
3179
|
+
}
|
|
3180
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3181
|
+
}
|
|
2658
3182
|
declare module "dist/lib/core/handler/CreateClassInstanceHandler" {
|
|
2659
3183
|
const _exports: CreateClassInstanceHandler;
|
|
2660
3184
|
export = _exports;
|
|
@@ -2761,6 +3285,48 @@ declare module "dist/lib/core/handler/GetInstanceFieldHandler" {
|
|
|
2761
3285
|
}
|
|
2762
3286
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2763
3287
|
}
|
|
3288
|
+
declare module "dist/lib/core/handler/GetInstanceMethodAsDelegateHandler" {
|
|
3289
|
+
const _exports: GetInstanceMethodAsDelegateHandler;
|
|
3290
|
+
export = _exports;
|
|
3291
|
+
/**
|
|
3292
|
+
* Handles retrieving an instance method as a delegate.
|
|
3293
|
+
*/
|
|
3294
|
+
class GetInstanceMethodAsDelegateHandler extends AbstractHandler {
|
|
3295
|
+
/** @type {Function|null} */
|
|
3296
|
+
method: Function | null;
|
|
3297
|
+
/** @type {number} */
|
|
3298
|
+
requiredParametersCount: number;
|
|
3299
|
+
/** @type {Array<*>} */
|
|
3300
|
+
args: Array<any>;
|
|
3301
|
+
/** @type {Object|null} */
|
|
3302
|
+
instance: Object | null;
|
|
3303
|
+
/**
|
|
3304
|
+
* Processes a command to retrieve an instance method as a delegate.
|
|
3305
|
+
* @param {Object} command - The command containing payload data.
|
|
3306
|
+
* @param {Array<*>} command.payload - The payload containing instance, method name, and arguments.
|
|
3307
|
+
* @returns {Function} The delegate for the instance method.
|
|
3308
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
3309
|
+
*/
|
|
3310
|
+
process(command: {
|
|
3311
|
+
payload: Array<any>;
|
|
3312
|
+
}): Function;
|
|
3313
|
+
/**
|
|
3314
|
+
* Retrieves the method from the type.
|
|
3315
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
3316
|
+
* @param {string} methodName - The name of the method.
|
|
3317
|
+
* @returns {Function|null} The found method or null if not found.
|
|
3318
|
+
*/
|
|
3319
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3320
|
+
/**
|
|
3321
|
+
* Creates an error message when the method is not found.
|
|
3322
|
+
* @param {Object} type - The class or constructor.
|
|
3323
|
+
* @param {string} methodName - The method name.
|
|
3324
|
+
* @returns {Error} The error with detailed message.
|
|
3325
|
+
*/
|
|
3326
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3327
|
+
}
|
|
3328
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3329
|
+
}
|
|
2764
3330
|
declare module "dist/lib/core/handler/GetStaticFieldHandler" {
|
|
2765
3331
|
const _exports: GetStaticFieldHandler;
|
|
2766
3332
|
export = _exports;
|
|
@@ -2770,6 +3336,47 @@ declare module "dist/lib/core/handler/GetStaticFieldHandler" {
|
|
|
2770
3336
|
}
|
|
2771
3337
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2772
3338
|
}
|
|
3339
|
+
declare module "dist/lib/core/handler/GetStaticMethodAsDelegateHandler" {
|
|
3340
|
+
const _exports: GetStaticMethodAsDelegateHandler;
|
|
3341
|
+
export = _exports;
|
|
3342
|
+
/**
|
|
3343
|
+
* Handles retrieving a static method as a delegate.
|
|
3344
|
+
*/
|
|
3345
|
+
class GetStaticMethodAsDelegateHandler extends AbstractHandler {
|
|
3346
|
+
/** @type {Array<*>} */
|
|
3347
|
+
args: Array<any>;
|
|
3348
|
+
/** @type {Function|null} */
|
|
3349
|
+
method: Function | null;
|
|
3350
|
+
/** @type {number} */
|
|
3351
|
+
requiredParametersCount: number;
|
|
3352
|
+
/**
|
|
3353
|
+
* Processes a command to retrieve a static method as a delegate.
|
|
3354
|
+
* @param {Command} command - The command containing payload data.
|
|
3355
|
+
* @param {Array<*>} command.payload - The payload containing type, method name, and arguments.
|
|
3356
|
+
* @returns {Function} The delegate for the static method.
|
|
3357
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
3358
|
+
*/
|
|
3359
|
+
process(command: Command): Function;
|
|
3360
|
+
/**
|
|
3361
|
+
* Retrieves the method from the type.
|
|
3362
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
3363
|
+
* @param {string} methodName - The name of the method.
|
|
3364
|
+
* @param {Array<Function>} argsType - The argument types.
|
|
3365
|
+
* @param {Object} modifier - Parameter modifier (not used in JS implementation).
|
|
3366
|
+
* @returns {Function|null} The found method or null if not found.
|
|
3367
|
+
*/
|
|
3368
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3369
|
+
/**
|
|
3370
|
+
* Creates an error message when the method is not found.
|
|
3371
|
+
* @param {Object} type - The class or constructor.
|
|
3372
|
+
* @param {string} methodName - The method name.
|
|
3373
|
+
* @returns {Error} The error with detailed message.
|
|
3374
|
+
*/
|
|
3375
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3376
|
+
}
|
|
3377
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3378
|
+
import { Command } from "@javonet/core";
|
|
3379
|
+
}
|
|
2773
3380
|
declare module "dist/lib/core/handler/LoadLibraryHandler" {
|
|
2774
3381
|
const _exports: LoadLibraryHandler;
|
|
2775
3382
|
export = _exports;
|
|
@@ -2866,20 +3473,139 @@ declare module "dist/lib/core/handler/InvokeStandaloneMethodHandler" {
|
|
|
2866
3473
|
}
|
|
2867
3474
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2868
3475
|
}
|
|
2869
|
-
declare module "dist/lib/core/handler/
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
3476
|
+
declare module "dist/lib/core/handler/PassDelegateHandler" {
|
|
3477
|
+
const _exports: PassDelegateHandler;
|
|
3478
|
+
export = _exports;
|
|
3479
|
+
/**
|
|
3480
|
+
* PassDelegateHandler class responsible for processing a command to create a delegate.
|
|
3481
|
+
*/
|
|
3482
|
+
class PassDelegateHandler extends AbstractHandler {
|
|
3483
|
+
/**
|
|
3484
|
+
* Minimum required parameters count for the command.
|
|
3485
|
+
* @type {number}
|
|
3486
|
+
*/
|
|
3487
|
+
requiredParametersCount: number;
|
|
3488
|
+
interpreter: Interpreter;
|
|
3489
|
+
/**
|
|
3490
|
+
* Processes the given command to create and compile a delegate.
|
|
3491
|
+
* @param {Command} command - The command to process.
|
|
3492
|
+
* @returns {Function} The compiled delegate function.
|
|
3493
|
+
*/
|
|
3494
|
+
process(command: Command): Function;
|
|
3495
|
+
/**
|
|
3496
|
+
* Validates the command to ensure it has enough parameters.
|
|
3497
|
+
* @param {Command} command - The command to validate.
|
|
3498
|
+
*/
|
|
3499
|
+
validateCommand(command: Command): void;
|
|
3500
|
+
/**
|
|
3501
|
+
* Retrieves the arguments from the command payload.
|
|
3502
|
+
* @param {Command} command - The command containing the payload.
|
|
3503
|
+
* @returns {Array} The extracted arguments.
|
|
3504
|
+
*/
|
|
3505
|
+
getArguments(command: Command): any[];
|
|
3506
|
+
/**
|
|
3507
|
+
* Extracts argument types from the arguments array.
|
|
3508
|
+
* @param {Array} args - The arguments array.
|
|
3509
|
+
* @returns {Array} The argument types.
|
|
3510
|
+
*/
|
|
3511
|
+
getArgumentTypes(args: any[]): any[];
|
|
3512
|
+
/**
|
|
3513
|
+
* Retrieves the return type from the arguments array.
|
|
3514
|
+
* @param {Array} args - The arguments array.
|
|
3515
|
+
* @returns {Function} The return type.
|
|
3516
|
+
*/
|
|
3517
|
+
getReturnType(args: any[]): Function;
|
|
3518
|
+
/**
|
|
3519
|
+
* Creates parameter expressions from argument types.
|
|
3520
|
+
* @param {Array} argsTypes - The argument types.
|
|
3521
|
+
* @returns {Array} The parameter expressions.
|
|
3522
|
+
*/
|
|
3523
|
+
createParameters(argsTypes: any[]): any[];
|
|
3524
|
+
/**
|
|
3525
|
+
* Creates an array of arguments for the delegate.
|
|
3526
|
+
* @param {string} delegateGuid - The delegate identifier.
|
|
3527
|
+
* @param {Array} parameters - The parameter expressions.
|
|
3528
|
+
* @returns {Array} The arguments array.
|
|
3529
|
+
*/
|
|
3530
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
3531
|
+
/**
|
|
3532
|
+
* Creates a command expression.
|
|
3533
|
+
* @param {string} callingRuntimeName - The runtime name.
|
|
3534
|
+
* @param {Array} payload - The arguments array.
|
|
3535
|
+
* @returns {Object} The command object.
|
|
3536
|
+
*/
|
|
3537
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
3538
|
+
/**
|
|
3539
|
+
* Creates a method call to execute the command.
|
|
3540
|
+
* @param {Command} command - The command object.
|
|
3541
|
+
* @returns {Object} The response object.
|
|
3542
|
+
*/
|
|
3543
|
+
createExecuteCall(command: Command): Object;
|
|
3544
|
+
/**
|
|
3545
|
+
* Retrieves the response payload from the execution call.
|
|
3546
|
+
* @param {Object} executeCall - The execution call.
|
|
3547
|
+
* @returns {Array} The response payload.
|
|
3548
|
+
*/
|
|
3549
|
+
getResponse(executeCall: Object): any[];
|
|
3550
|
+
/**
|
|
3551
|
+
* Converts the first element of the response to the return type.
|
|
3552
|
+
* @param {Array} response - The response payload.
|
|
3553
|
+
* @param {Function} returnType - The return type.
|
|
3554
|
+
* @returns {*} The converted first element.
|
|
3555
|
+
*/
|
|
3556
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
3557
|
+
/**
|
|
3558
|
+
* Creates a block of expressions for the delegate.
|
|
3559
|
+
* @param {Function} returnType - The return type.
|
|
3560
|
+
* @param {*} convertedFirstElement - The converted first element.
|
|
3561
|
+
* @returns {Object} The block expression.
|
|
3562
|
+
*/
|
|
3563
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
3564
|
+
/**
|
|
3565
|
+
* Creates a delegate type.
|
|
3566
|
+
* @param {Array} parameters - The parameter expressions.
|
|
3567
|
+
* @param {Function} returnType - The return type.
|
|
3568
|
+
* @returns {Function} The delegate type.
|
|
3569
|
+
*/
|
|
3570
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
3571
|
+
}
|
|
3572
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3573
|
+
import { Interpreter } from "@javonet/core";
|
|
3574
|
+
import { Command } from "@javonet/core";
|
|
3575
|
+
}
|
|
3576
|
+
declare module "dist/lib/core/handler/InvokeDelegateHandler" {
|
|
3577
|
+
const _exports: InvokeDelegateHandler;
|
|
3578
|
+
export = _exports;
|
|
3579
|
+
/**
|
|
3580
|
+
* Handles invoking a delegate by GUID.
|
|
3581
|
+
*/
|
|
3582
|
+
class InvokeDelegateHandler extends AbstractHandler {
|
|
3583
|
+
/** @type {number} */
|
|
3584
|
+
requiredParametersCount: number;
|
|
3585
|
+
/**
|
|
3586
|
+
* Processes a command to invoke a delegate.
|
|
3587
|
+
* @param {Command} command - The command containing payload data.
|
|
3588
|
+
* @returns {*} The result of the delegate invocation.
|
|
3589
|
+
* @throws {Error} If the parameters mismatch or the delegate cannot be found.
|
|
3590
|
+
*/
|
|
3591
|
+
process(command: Command): any;
|
|
3592
|
+
}
|
|
3593
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3594
|
+
}
|
|
3595
|
+
declare module "dist/lib/core/handler/Handler" {
|
|
3596
|
+
export class Handler {
|
|
3597
|
+
handleCommand(command: any): Command;
|
|
3598
|
+
parseCommand(response: any, runtimeName: any): Command;
|
|
3599
|
+
}
|
|
3600
|
+
export const handlers: {
|
|
3601
|
+
0: {
|
|
3602
|
+
process(command: any): any;
|
|
3603
|
+
handlers: any[];
|
|
3604
|
+
handleCommand(command: any): void;
|
|
3605
|
+
iterate(cmd: any): void;
|
|
3606
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3607
|
+
};
|
|
3608
|
+
1: {
|
|
2883
3609
|
requiredParametersCount: number;
|
|
2884
3610
|
process(command: any): number;
|
|
2885
3611
|
getLoadedLibraries(): any[];
|
|
@@ -2969,7 +3695,7 @@ declare module "dist/lib/core/handler/Handler" {
|
|
|
2969
3695
|
iterate(cmd: any): void;
|
|
2970
3696
|
process_stack_trace(error: any, class_name: any): any;
|
|
2971
3697
|
};
|
|
2972
|
-
|
|
3698
|
+
42: {
|
|
2973
3699
|
requiredParametersCount: number;
|
|
2974
3700
|
process(command: any): any;
|
|
2975
3701
|
throwError(type: any, methodName: any): void;
|
|
@@ -3048,8 +3774,66 @@ declare module "dist/lib/core/handler/Handler" {
|
|
|
3048
3774
|
iterate(cmd: any): void;
|
|
3049
3775
|
process_stack_trace(error: any, class_name: any): any;
|
|
3050
3776
|
};
|
|
3777
|
+
37: {
|
|
3778
|
+
args: Array<any>;
|
|
3779
|
+
method: Function | null;
|
|
3780
|
+
requiredParametersCount: number;
|
|
3781
|
+
process(command: Command): Function;
|
|
3782
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3783
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3784
|
+
handlers: any[];
|
|
3785
|
+
handleCommand(command: any): void;
|
|
3786
|
+
iterate(cmd: any): void;
|
|
3787
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3788
|
+
};
|
|
3789
|
+
38: {
|
|
3790
|
+
method: Function | null;
|
|
3791
|
+
requiredParametersCount: number;
|
|
3792
|
+
args: Array<any>;
|
|
3793
|
+
instance: Object | null;
|
|
3794
|
+
process(command: {
|
|
3795
|
+
payload: Array<any>;
|
|
3796
|
+
}): Function;
|
|
3797
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3798
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3799
|
+
handlers: any[];
|
|
3800
|
+
handleCommand(command: any): void;
|
|
3801
|
+
iterate(cmd: any): void;
|
|
3802
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3803
|
+
};
|
|
3804
|
+
39: {
|
|
3805
|
+
requiredParametersCount: number;
|
|
3806
|
+
interpreter: import("@javonet/core").Interpreter;
|
|
3807
|
+
process(command: Command): Function;
|
|
3808
|
+
validateCommand(command: Command): void;
|
|
3809
|
+
getArguments(command: Command): any[];
|
|
3810
|
+
getArgumentTypes(args: any[]): any[];
|
|
3811
|
+
getReturnType(args: any[]): Function;
|
|
3812
|
+
createParameters(argsTypes: any[]): any[];
|
|
3813
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
3814
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
3815
|
+
createExecuteCall(command: Command): Object;
|
|
3816
|
+
getResponse(executeCall: Object): any[];
|
|
3817
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
3818
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
3819
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
3820
|
+
handlers: any[];
|
|
3821
|
+
handleCommand(command: any): void;
|
|
3822
|
+
iterate(cmd: any): void;
|
|
3823
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3824
|
+
};
|
|
3825
|
+
40: {
|
|
3826
|
+
requiredParametersCount: number;
|
|
3827
|
+
process(command: Command): any;
|
|
3828
|
+
handlers: any[];
|
|
3829
|
+
handleCommand(command: any): void;
|
|
3830
|
+
iterate(cmd: any): void;
|
|
3831
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3832
|
+
};
|
|
3833
|
+
41: typeof ConvertTypeHandler;
|
|
3051
3834
|
};
|
|
3052
3835
|
import { Command } from "@javonet/core";
|
|
3836
|
+
import { ConvertTypeHandler } from "@javonet/core/lib/utils/TypesConverter";
|
|
3053
3837
|
}
|
|
3054
3838
|
declare module "dist/lib/core/handler/SetGlobalStaticFieldHandler" {
|
|
3055
3839
|
const _exports: SetGlobalStaticFieldHandler;
|
|
@@ -3086,19 +3870,21 @@ declare module "dist/lib/core/receiver/ReceiverNative" {
|
|
|
3086
3870
|
declare module "dist/lib/core/transmitter/TransmitterWrapper" {
|
|
3087
3871
|
export = TransmitterWrapper;
|
|
3088
3872
|
class TransmitterWrapper {
|
|
3089
|
-
static
|
|
3873
|
+
static isNativeLibraryLoaded(): boolean;
|
|
3874
|
+
static loadNativeLibrary(): void;
|
|
3090
3875
|
static activate(licenseKey: any): any;
|
|
3091
3876
|
static sendCommand(messageArray: any): any;
|
|
3092
3877
|
static setConfigSource(configSource: any): any;
|
|
3878
|
+
static setJavonetWorkingDirectory(path: any): void;
|
|
3093
3879
|
}
|
|
3094
3880
|
}
|
|
3095
3881
|
declare module "dist/lib/core/transmitter/Transmitter" {
|
|
3096
3882
|
export = Transmitter;
|
|
3097
3883
|
class Transmitter {
|
|
3098
|
-
static initialize(): any;
|
|
3099
3884
|
static sendCommand(messageArray: any): any;
|
|
3100
3885
|
static activate: (licenseKey: any) => any;
|
|
3101
3886
|
static setConfigSource(configSource: any): any;
|
|
3887
|
+
static setJavonetWorkingDirectory(workingDirectory: any): void;
|
|
3102
3888
|
}
|
|
3103
3889
|
}
|
|
3104
3890
|
declare module "dist/lib/sdk/tools/JsonFileResolver" {
|
|
@@ -3258,6 +4044,12 @@ declare module "dist/lib/sdk/Javonet" {
|
|
|
3258
4044
|
* @param {string} configSource - The configuration source.
|
|
3259
4045
|
*/
|
|
3260
4046
|
static setConfigSource(configSource: string): void;
|
|
4047
|
+
/**
|
|
4048
|
+
* Sets the working directory for the Javonet SDK.
|
|
4049
|
+
*
|
|
4050
|
+
* @param {string} path - The working directory.
|
|
4051
|
+
*/
|
|
4052
|
+
static setJavonetWorkingDirectory(path: string): void;
|
|
3261
4053
|
}
|
|
3262
4054
|
import TcpConnectionData = require("@javonet/core/lib/utils/connectionData/TcpConnectionData");
|
|
3263
4055
|
import { WsConnectionData } from "@javonet/core";
|
|
@@ -3510,6 +4302,81 @@ declare module "lib/core/handler/CastingHandler" {
|
|
|
3510
4302
|
}
|
|
3511
4303
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3512
4304
|
}
|
|
4305
|
+
declare module "lib/utils/TypesConverter" {
|
|
4306
|
+
/**
|
|
4307
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
4308
|
+
*/
|
|
4309
|
+
export class ConvertTypeHandler {
|
|
4310
|
+
/**
|
|
4311
|
+
* Minimum required parameters count for the command.
|
|
4312
|
+
* @type {number}
|
|
4313
|
+
*/
|
|
4314
|
+
requiredParametersCount: number;
|
|
4315
|
+
/**
|
|
4316
|
+
* Processes the given command to convert JType to Type.
|
|
4317
|
+
* @param {Object} command - The command to process.
|
|
4318
|
+
* @returns {any} The converted type.
|
|
4319
|
+
*/
|
|
4320
|
+
process(command: Object): any;
|
|
4321
|
+
/**
|
|
4322
|
+
* Validates the command to ensure it has enough parameters.
|
|
4323
|
+
* @param {Object} command - The command to validate.
|
|
4324
|
+
*/
|
|
4325
|
+
validateCommand(command: Object): void;
|
|
4326
|
+
}
|
|
4327
|
+
/**
|
|
4328
|
+
* TypesConverter class provides utilities for converting between types.
|
|
4329
|
+
*/
|
|
4330
|
+
export class TypesConverter {
|
|
4331
|
+
/**
|
|
4332
|
+
* Converts a JavaScript type to a JType equivalent.
|
|
4333
|
+
* @param {Function} type - The JavaScript type.
|
|
4334
|
+
* @returns {number} The corresponding JType.
|
|
4335
|
+
*/
|
|
4336
|
+
static convertTypeToJType(type: Function): number;
|
|
4337
|
+
/**
|
|
4338
|
+
* Converts a JType to a JavaScript type equivalent.
|
|
4339
|
+
* @param {number} type - The JType to convert.
|
|
4340
|
+
* @returns {Function} The corresponding JavaScript type.
|
|
4341
|
+
*/
|
|
4342
|
+
static convertJTypeToType(type: number): Function;
|
|
4343
|
+
}
|
|
4344
|
+
/**
|
|
4345
|
+
* Enum for JType mappings.
|
|
4346
|
+
*/
|
|
4347
|
+
export type JType = number;
|
|
4348
|
+
export namespace JType {
|
|
4349
|
+
let Boolean: number;
|
|
4350
|
+
let Float: number;
|
|
4351
|
+
let String: number;
|
|
4352
|
+
let Null: number;
|
|
4353
|
+
}
|
|
4354
|
+
}
|
|
4355
|
+
declare module "lib/core/handler/ConvertTypeHandler" {
|
|
4356
|
+
export = ConvertTypeHandler;
|
|
4357
|
+
/**
|
|
4358
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
4359
|
+
*/
|
|
4360
|
+
class ConvertTypeHandler extends AbstractHandler {
|
|
4361
|
+
/**
|
|
4362
|
+
* Minimum required parameters count for the command.
|
|
4363
|
+
* @type {number}
|
|
4364
|
+
*/
|
|
4365
|
+
requiredParametersCount: number;
|
|
4366
|
+
/**
|
|
4367
|
+
* Processes the given command to convert JType to Type.
|
|
4368
|
+
* @param {Object} command - The command to process.
|
|
4369
|
+
* @returns {any} The converted type.
|
|
4370
|
+
*/
|
|
4371
|
+
process(command: Object): any;
|
|
4372
|
+
/**
|
|
4373
|
+
* Validates the command to ensure it has enough parameters.
|
|
4374
|
+
* @param {Object} command - The command to validate.
|
|
4375
|
+
*/
|
|
4376
|
+
validateCommand(command: Object): void;
|
|
4377
|
+
}
|
|
4378
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4379
|
+
}
|
|
3513
4380
|
declare module "lib/core/handler/CreateClassInstanceHandler" {
|
|
3514
4381
|
const _exports: CreateClassInstanceHandler;
|
|
3515
4382
|
export = _exports;
|
|
@@ -3616,6 +4483,48 @@ declare module "lib/core/handler/GetInstanceFieldHandler" {
|
|
|
3616
4483
|
}
|
|
3617
4484
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3618
4485
|
}
|
|
4486
|
+
declare module "lib/core/handler/GetInstanceMethodAsDelegateHandler" {
|
|
4487
|
+
const _exports: GetInstanceMethodAsDelegateHandler;
|
|
4488
|
+
export = _exports;
|
|
4489
|
+
/**
|
|
4490
|
+
* Handles retrieving an instance method as a delegate.
|
|
4491
|
+
*/
|
|
4492
|
+
class GetInstanceMethodAsDelegateHandler extends AbstractHandler {
|
|
4493
|
+
/** @type {Function|null} */
|
|
4494
|
+
method: Function | null;
|
|
4495
|
+
/** @type {number} */
|
|
4496
|
+
requiredParametersCount: number;
|
|
4497
|
+
/** @type {Array<*>} */
|
|
4498
|
+
args: Array<any>;
|
|
4499
|
+
/** @type {Object|null} */
|
|
4500
|
+
instance: Object | null;
|
|
4501
|
+
/**
|
|
4502
|
+
* Processes a command to retrieve an instance method as a delegate.
|
|
4503
|
+
* @param {Object} command - The command containing payload data.
|
|
4504
|
+
* @param {Array<*>} command.payload - The payload containing instance, method name, and arguments.
|
|
4505
|
+
* @returns {Function} The delegate for the instance method.
|
|
4506
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
4507
|
+
*/
|
|
4508
|
+
process(command: {
|
|
4509
|
+
payload: Array<any>;
|
|
4510
|
+
}): Function;
|
|
4511
|
+
/**
|
|
4512
|
+
* Retrieves the method from the type.
|
|
4513
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
4514
|
+
* @param {string} methodName - The name of the method.
|
|
4515
|
+
* @returns {Function|null} The found method or null if not found.
|
|
4516
|
+
*/
|
|
4517
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4518
|
+
/**
|
|
4519
|
+
* Creates an error message when the method is not found.
|
|
4520
|
+
* @param {Object} type - The class or constructor.
|
|
4521
|
+
* @param {string} methodName - The method name.
|
|
4522
|
+
* @returns {Error} The error with detailed message.
|
|
4523
|
+
*/
|
|
4524
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4525
|
+
}
|
|
4526
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4527
|
+
}
|
|
3619
4528
|
declare module "lib/core/handler/GetStaticFieldHandler" {
|
|
3620
4529
|
const _exports: GetStaticFieldHandler;
|
|
3621
4530
|
export = _exports;
|
|
@@ -3625,6 +4534,47 @@ declare module "lib/core/handler/GetStaticFieldHandler" {
|
|
|
3625
4534
|
}
|
|
3626
4535
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3627
4536
|
}
|
|
4537
|
+
declare module "lib/core/handler/GetStaticMethodAsDelegateHandler" {
|
|
4538
|
+
const _exports: GetStaticMethodAsDelegateHandler;
|
|
4539
|
+
export = _exports;
|
|
4540
|
+
/**
|
|
4541
|
+
* Handles retrieving a static method as a delegate.
|
|
4542
|
+
*/
|
|
4543
|
+
class GetStaticMethodAsDelegateHandler extends AbstractHandler {
|
|
4544
|
+
/** @type {Array<*>} */
|
|
4545
|
+
args: Array<any>;
|
|
4546
|
+
/** @type {Function|null} */
|
|
4547
|
+
method: Function | null;
|
|
4548
|
+
/** @type {number} */
|
|
4549
|
+
requiredParametersCount: number;
|
|
4550
|
+
/**
|
|
4551
|
+
* Processes a command to retrieve a static method as a delegate.
|
|
4552
|
+
* @param {Command} command - The command containing payload data.
|
|
4553
|
+
* @param {Array<*>} command.payload - The payload containing type, method name, and arguments.
|
|
4554
|
+
* @returns {Function} The delegate for the static method.
|
|
4555
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
4556
|
+
*/
|
|
4557
|
+
process(command: Command): Function;
|
|
4558
|
+
/**
|
|
4559
|
+
* Retrieves the method from the type.
|
|
4560
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
4561
|
+
* @param {string} methodName - The name of the method.
|
|
4562
|
+
* @param {Array<Function>} argsType - The argument types.
|
|
4563
|
+
* @param {Object} modifier - Parameter modifier (not used in JS implementation).
|
|
4564
|
+
* @returns {Function|null} The found method or null if not found.
|
|
4565
|
+
*/
|
|
4566
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4567
|
+
/**
|
|
4568
|
+
* Creates an error message when the method is not found.
|
|
4569
|
+
* @param {Object} type - The class or constructor.
|
|
4570
|
+
* @param {string} methodName - The method name.
|
|
4571
|
+
* @returns {Error} The error with detailed message.
|
|
4572
|
+
*/
|
|
4573
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4574
|
+
}
|
|
4575
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4576
|
+
import { Command } from "@javonet/core";
|
|
4577
|
+
}
|
|
3628
4578
|
declare module "lib/core/handler/LoadLibraryHandler" {
|
|
3629
4579
|
const _exports: LoadLibraryHandler;
|
|
3630
4580
|
export = _exports;
|
|
@@ -3721,6 +4671,125 @@ declare module "lib/core/handler/InvokeStandaloneMethodHandler" {
|
|
|
3721
4671
|
}
|
|
3722
4672
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3723
4673
|
}
|
|
4674
|
+
declare module "lib/core/handler/PassDelegateHandler" {
|
|
4675
|
+
const _exports: PassDelegateHandler;
|
|
4676
|
+
export = _exports;
|
|
4677
|
+
/**
|
|
4678
|
+
* PassDelegateHandler class responsible for processing a command to create a delegate.
|
|
4679
|
+
*/
|
|
4680
|
+
class PassDelegateHandler extends AbstractHandler {
|
|
4681
|
+
/**
|
|
4682
|
+
* Minimum required parameters count for the command.
|
|
4683
|
+
* @type {number}
|
|
4684
|
+
*/
|
|
4685
|
+
requiredParametersCount: number;
|
|
4686
|
+
interpreter: Interpreter;
|
|
4687
|
+
/**
|
|
4688
|
+
* Processes the given command to create and compile a delegate.
|
|
4689
|
+
* @param {Command} command - The command to process.
|
|
4690
|
+
* @returns {Function} The compiled delegate function.
|
|
4691
|
+
*/
|
|
4692
|
+
process(command: Command): Function;
|
|
4693
|
+
/**
|
|
4694
|
+
* Validates the command to ensure it has enough parameters.
|
|
4695
|
+
* @param {Command} command - The command to validate.
|
|
4696
|
+
*/
|
|
4697
|
+
validateCommand(command: Command): void;
|
|
4698
|
+
/**
|
|
4699
|
+
* Retrieves the arguments from the command payload.
|
|
4700
|
+
* @param {Command} command - The command containing the payload.
|
|
4701
|
+
* @returns {Array} The extracted arguments.
|
|
4702
|
+
*/
|
|
4703
|
+
getArguments(command: Command): any[];
|
|
4704
|
+
/**
|
|
4705
|
+
* Extracts argument types from the arguments array.
|
|
4706
|
+
* @param {Array} args - The arguments array.
|
|
4707
|
+
* @returns {Array} The argument types.
|
|
4708
|
+
*/
|
|
4709
|
+
getArgumentTypes(args: any[]): any[];
|
|
4710
|
+
/**
|
|
4711
|
+
* Retrieves the return type from the arguments array.
|
|
4712
|
+
* @param {Array} args - The arguments array.
|
|
4713
|
+
* @returns {Function} The return type.
|
|
4714
|
+
*/
|
|
4715
|
+
getReturnType(args: any[]): Function;
|
|
4716
|
+
/**
|
|
4717
|
+
* Creates parameter expressions from argument types.
|
|
4718
|
+
* @param {Array} argsTypes - The argument types.
|
|
4719
|
+
* @returns {Array} The parameter expressions.
|
|
4720
|
+
*/
|
|
4721
|
+
createParameters(argsTypes: any[]): any[];
|
|
4722
|
+
/**
|
|
4723
|
+
* Creates an array of arguments for the delegate.
|
|
4724
|
+
* @param {string} delegateGuid - The delegate identifier.
|
|
4725
|
+
* @param {Array} parameters - The parameter expressions.
|
|
4726
|
+
* @returns {Array} The arguments array.
|
|
4727
|
+
*/
|
|
4728
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
4729
|
+
/**
|
|
4730
|
+
* Creates a command expression.
|
|
4731
|
+
* @param {string} callingRuntimeName - The runtime name.
|
|
4732
|
+
* @param {Array} payload - The arguments array.
|
|
4733
|
+
* @returns {Object} The command object.
|
|
4734
|
+
*/
|
|
4735
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
4736
|
+
/**
|
|
4737
|
+
* Creates a method call to execute the command.
|
|
4738
|
+
* @param {Command} command - The command object.
|
|
4739
|
+
* @returns {Object} The response object.
|
|
4740
|
+
*/
|
|
4741
|
+
createExecuteCall(command: Command): Object;
|
|
4742
|
+
/**
|
|
4743
|
+
* Retrieves the response payload from the execution call.
|
|
4744
|
+
* @param {Object} executeCall - The execution call.
|
|
4745
|
+
* @returns {Array} The response payload.
|
|
4746
|
+
*/
|
|
4747
|
+
getResponse(executeCall: Object): any[];
|
|
4748
|
+
/**
|
|
4749
|
+
* Converts the first element of the response to the return type.
|
|
4750
|
+
* @param {Array} response - The response payload.
|
|
4751
|
+
* @param {Function} returnType - The return type.
|
|
4752
|
+
* @returns {*} The converted first element.
|
|
4753
|
+
*/
|
|
4754
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
4755
|
+
/**
|
|
4756
|
+
* Creates a block of expressions for the delegate.
|
|
4757
|
+
* @param {Function} returnType - The return type.
|
|
4758
|
+
* @param {*} convertedFirstElement - The converted first element.
|
|
4759
|
+
* @returns {Object} The block expression.
|
|
4760
|
+
*/
|
|
4761
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
4762
|
+
/**
|
|
4763
|
+
* Creates a delegate type.
|
|
4764
|
+
* @param {Array} parameters - The parameter expressions.
|
|
4765
|
+
* @param {Function} returnType - The return type.
|
|
4766
|
+
* @returns {Function} The delegate type.
|
|
4767
|
+
*/
|
|
4768
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
4769
|
+
}
|
|
4770
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4771
|
+
import { Interpreter } from "@javonet/core";
|
|
4772
|
+
import { Command } from "@javonet/core";
|
|
4773
|
+
}
|
|
4774
|
+
declare module "lib/core/handler/InvokeDelegateHandler" {
|
|
4775
|
+
const _exports: InvokeDelegateHandler;
|
|
4776
|
+
export = _exports;
|
|
4777
|
+
/**
|
|
4778
|
+
* Handles invoking a delegate by GUID.
|
|
4779
|
+
*/
|
|
4780
|
+
class InvokeDelegateHandler extends AbstractHandler {
|
|
4781
|
+
/** @type {number} */
|
|
4782
|
+
requiredParametersCount: number;
|
|
4783
|
+
/**
|
|
4784
|
+
* Processes a command to invoke a delegate.
|
|
4785
|
+
* @param {Command} command - The command containing payload data.
|
|
4786
|
+
* @returns {*} The result of the delegate invocation.
|
|
4787
|
+
* @throws {Error} If the parameters mismatch or the delegate cannot be found.
|
|
4788
|
+
*/
|
|
4789
|
+
process(command: Command): any;
|
|
4790
|
+
}
|
|
4791
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4792
|
+
}
|
|
3724
4793
|
declare module "lib/core/handler/Handler" {
|
|
3725
4794
|
export class Handler {
|
|
3726
4795
|
handleCommand(command: any): Command;
|
|
@@ -3824,7 +4893,7 @@ declare module "lib/core/handler/Handler" {
|
|
|
3824
4893
|
iterate(cmd: any): void;
|
|
3825
4894
|
process_stack_trace(error: any, class_name: any): any;
|
|
3826
4895
|
};
|
|
3827
|
-
|
|
4896
|
+
42: {
|
|
3828
4897
|
requiredParametersCount: number;
|
|
3829
4898
|
process(command: any): any;
|
|
3830
4899
|
throwError(type: any, methodName: any): void;
|
|
@@ -3903,8 +4972,66 @@ declare module "lib/core/handler/Handler" {
|
|
|
3903
4972
|
iterate(cmd: any): void;
|
|
3904
4973
|
process_stack_trace(error: any, class_name: any): any;
|
|
3905
4974
|
};
|
|
4975
|
+
37: {
|
|
4976
|
+
args: Array<any>;
|
|
4977
|
+
method: Function | null;
|
|
4978
|
+
requiredParametersCount: number;
|
|
4979
|
+
process(command: Command): Function;
|
|
4980
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4981
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4982
|
+
handlers: any[];
|
|
4983
|
+
handleCommand(command: any): void;
|
|
4984
|
+
iterate(cmd: any): void;
|
|
4985
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
4986
|
+
};
|
|
4987
|
+
38: {
|
|
4988
|
+
method: Function | null;
|
|
4989
|
+
requiredParametersCount: number;
|
|
4990
|
+
args: Array<any>;
|
|
4991
|
+
instance: Object | null;
|
|
4992
|
+
process(command: {
|
|
4993
|
+
payload: Array<any>;
|
|
4994
|
+
}): Function;
|
|
4995
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4996
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4997
|
+
handlers: any[];
|
|
4998
|
+
handleCommand(command: any): void;
|
|
4999
|
+
iterate(cmd: any): void;
|
|
5000
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
5001
|
+
};
|
|
5002
|
+
39: {
|
|
5003
|
+
requiredParametersCount: number;
|
|
5004
|
+
interpreter: import("@javonet/core").Interpreter;
|
|
5005
|
+
process(command: Command): Function;
|
|
5006
|
+
validateCommand(command: Command): void;
|
|
5007
|
+
getArguments(command: Command): any[];
|
|
5008
|
+
getArgumentTypes(args: any[]): any[];
|
|
5009
|
+
getReturnType(args: any[]): Function;
|
|
5010
|
+
createParameters(argsTypes: any[]): any[];
|
|
5011
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
5012
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
5013
|
+
createExecuteCall(command: Command): Object;
|
|
5014
|
+
getResponse(executeCall: Object): any[];
|
|
5015
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
5016
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
5017
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
5018
|
+
handlers: any[];
|
|
5019
|
+
handleCommand(command: any): void;
|
|
5020
|
+
iterate(cmd: any): void;
|
|
5021
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
5022
|
+
};
|
|
5023
|
+
40: {
|
|
5024
|
+
requiredParametersCount: number;
|
|
5025
|
+
process(command: Command): any;
|
|
5026
|
+
handlers: any[];
|
|
5027
|
+
handleCommand(command: any): void;
|
|
5028
|
+
iterate(cmd: any): void;
|
|
5029
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
5030
|
+
};
|
|
5031
|
+
41: typeof ConvertTypeHandler;
|
|
3906
5032
|
};
|
|
3907
5033
|
import { Command } from "@javonet/core";
|
|
5034
|
+
import { ConvertTypeHandler } from "lib/utils/TypesConverter";
|
|
3908
5035
|
}
|
|
3909
5036
|
declare module "lib/core/handler/SetGlobalStaticFieldHandler" {
|
|
3910
5037
|
const _exports: SetGlobalStaticFieldHandler;
|
|
@@ -3941,19 +5068,21 @@ declare module "lib/core/receiver/ReceiverNative" {
|
|
|
3941
5068
|
declare module "lib/core/transmitter/TransmitterWrapper" {
|
|
3942
5069
|
export = TransmitterWrapper;
|
|
3943
5070
|
class TransmitterWrapper {
|
|
3944
|
-
static
|
|
5071
|
+
static isNativeLibraryLoaded(): boolean;
|
|
5072
|
+
static loadNativeLibrary(): void;
|
|
3945
5073
|
static activate(licenseKey: any): any;
|
|
3946
5074
|
static sendCommand(messageArray: any): any;
|
|
3947
5075
|
static setConfigSource(configSource: any): any;
|
|
5076
|
+
static setJavonetWorkingDirectory(path: any): void;
|
|
3948
5077
|
}
|
|
3949
5078
|
}
|
|
3950
5079
|
declare module "lib/core/transmitter/Transmitter" {
|
|
3951
5080
|
export = Transmitter;
|
|
3952
5081
|
class Transmitter {
|
|
3953
|
-
static initialize(): any;
|
|
3954
5082
|
static sendCommand(messageArray: any): any;
|
|
3955
5083
|
static activate: (licenseKey: any) => any;
|
|
3956
5084
|
static setConfigSource(configSource: any): any;
|
|
5085
|
+
static setJavonetWorkingDirectory(workingDirectory: any): void;
|
|
3957
5086
|
}
|
|
3958
5087
|
}
|
|
3959
5088
|
declare module "lib/core/webSocketClient/WebSocketClient" {
|
|
@@ -4198,6 +5327,12 @@ declare module "lib/sdk/Javonet" {
|
|
|
4198
5327
|
* @param {string} configSource - The configuration source.
|
|
4199
5328
|
*/
|
|
4200
5329
|
static setConfigSource(configSource: string): void;
|
|
5330
|
+
/**
|
|
5331
|
+
* Sets the working directory for the Javonet SDK.
|
|
5332
|
+
*
|
|
5333
|
+
* @param {string} path - The working directory.
|
|
5334
|
+
*/
|
|
5335
|
+
static setJavonetWorkingDirectory(path: string): void;
|
|
4201
5336
|
}
|
|
4202
5337
|
import TcpConnectionData = require("lib/utils/connectionData/TcpConnectionData");
|
|
4203
5338
|
import { WsConnectionData } from "@javonet/core";
|
|
@@ -4218,86 +5353,10 @@ declare module "lib/sdk/RuntimeContext" {
|
|
|
4218
5353
|
* @see [Javonet Guides]{@link https://www.javonet.com/guides/v2/javascript/foundations/runtime-context}
|
|
4219
5354
|
* @class
|
|
4220
5355
|
*/
|
|
4221
|
-
class RuntimeContext {
|
|
4222
|
-
static memoryRuntimeContexts: Map<any, any>;
|
|
4223
|
-
static networkRuntimeContexts: Map<any, any>;
|
|
4224
|
-
static webSocketRuntimeContexts: Map<any, any>;
|
|
4225
|
-
static getInstance(runtimeName: any, connectionData: any): any;
|
|
4226
|
-
constructor(runtimeName: any, connectionData: any);
|
|
4227
|
-
runtimeName: any;
|
|
4228
|
-
connectionData: any;
|
|
4229
|
-
/**
|
|
4230
|
-
* Executes the current command. The initial state of RuntimeContext is non-materialized,
|
|
4231
|
-
* wrapping either a single command or a chain of recursively nested commands.
|
|
4232
|
-
* Commands become nested through each invocation of methods on RuntimeContext.
|
|
4233
|
-
* Each invocation triggers the creation of a new RuntimeContext instance wrapping the current command with a new parent command.
|
|
4234
|
-
* The developer can decide at any moment of the materialization for the context, taking full control of the chunks of the expression being transferred and processed on the target runtime.
|
|
4235
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
|
|
4236
|
-
* @method
|
|
4237
|
-
*/
|
|
4238
|
-
execute(): void;
|
|
4239
|
-
/**
|
|
4240
|
-
* Adds a reference to a library. Javonet allows you to reference and use modules or packages written in various languages.
|
|
4241
|
-
* This method allows you to use any library from all supported technologies. The necessary libraries need to be referenced.
|
|
4242
|
-
* The argument is a relative or full path to the library. If the library has dependencies on other libraries, the latter needs to be added first.
|
|
4243
|
-
* After referencing the library, any objects stored in this package can be used. Use static classes, create instances, call methods, use fields and properties, and much more.
|
|
4244
|
-
* @param {string} libraryPath - The relative or full path to the library.
|
|
4245
|
-
* @returns {RuntimeContext} RuntimeContext instance.
|
|
4246
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/adding-references-to-libraries)
|
|
4247
|
-
* @method
|
|
4248
|
-
*/
|
|
4249
|
-
loadLibrary(libraryPath: string): RuntimeContext;
|
|
4250
|
-
/**
|
|
4251
|
-
* Retrieves a reference to a specific type. The type can be a class, interface or enum. The type can be retrieved from any referenced library.
|
|
4252
|
-
* @param {string} typeName - The full name of the type.
|
|
4253
|
-
* @param {...any} args - The arguments to be passed, if needed
|
|
4254
|
-
* @returns {InvocationContext} InvocationContext instance, that wraps the command to get the type.
|
|
4255
|
-
* @method
|
|
4256
|
-
*/
|
|
4257
|
-
getType(typeName: string, ...args: any[]): InvocationContext;
|
|
4258
|
-
/**
|
|
4259
|
-
* Casts the provided value to a specific type. This method is used when invoking methods that require specific types of arguments.
|
|
4260
|
-
* The arguments include the target type and the value to be cast. The target type must be retrieved from the called runtime using the getType method.
|
|
4261
|
-
* After casting the value, it can be used as an argument when invoking methods.
|
|
4262
|
-
* @param {...any} args - The target type and the value to be cast.
|
|
4263
|
-
* @returns {InvocationContext} InvocationContext instance that wraps the command to cast the value.
|
|
4264
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/casting/casting)
|
|
4265
|
-
* @method
|
|
4266
|
-
*/
|
|
4267
|
-
cast(...args: any[]): InvocationContext;
|
|
4268
|
-
/**
|
|
4269
|
-
* Retrieves a specific item from an enum type. This method is used when working with enums from the called runtime.
|
|
4270
|
-
* The arguments include the enum type and the name of the item. The enum type must be retrieved from the called runtime using the getType method.
|
|
4271
|
-
* After retrieving the item, it can be used as an argument when invoking methods or for other operations.
|
|
4272
|
-
* @param {...any} args - The enum type and the name of the item.
|
|
4273
|
-
* @returns {InvocationContext} InvocationContext instance that wraps the command to get the enum item.
|
|
4274
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/enums/using-enum-type)
|
|
4275
|
-
* @method
|
|
4276
|
-
*/
|
|
4277
|
-
getEnumItem(...args: any[]): InvocationContext;
|
|
4278
|
-
/**
|
|
4279
|
-
* Creates a reference type argument that can be passed to a method with a ref parameter modifier. This method is used when working with methods from the called runtime that require arguments to be passed by reference.
|
|
4280
|
-
* The arguments include the value and optionally the type of the reference. The type must be retrieved from the called runtime using the getType method.
|
|
4281
|
-
* After creating the reference, it can be used as an argument when invoking methods.
|
|
4282
|
-
* @param {...any} args - The value and optionally the type of the reference.
|
|
4283
|
-
* @returns {InvocationContext} InvocationContext instance that wraps the command to create a reference as ref.
|
|
4284
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/methods-arguments/passing-arguments-by-reference-with-ref-keyword)
|
|
4285
|
-
* @method
|
|
4286
|
-
*/
|
|
4287
|
-
asRef(...args: any[]): InvocationContext;
|
|
4288
|
-
/**
|
|
4289
|
-
* Creates a reference type argument that can be passed to a method with an out parameter modifier. This method is used when working with methods from the called runtime that require arguments to be passed by reference.
|
|
4290
|
-
* The arguments include the value and optionally the type of the reference. The type must be retrieved from the called runtime using the getType method.
|
|
4291
|
-
* After creating the reference, it can be used as an argument when invoking methods.
|
|
4292
|
-
* @param {...any} args - The value and optionally the type of the reference.
|
|
4293
|
-
* @returns {InvocationContext} InvocationContext instance that wraps the command to create a reference as out.
|
|
4294
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/methods-arguments/passing-arguments-by-reference-with-out-keyword |Passing Arguments by Reference with out Keyword Guide)
|
|
4295
|
-
* @method
|
|
4296
|
-
*/
|
|
4297
|
-
asOut(...args: any[]): InvocationContext;
|
|
4298
|
-
healthCheck(): void;
|
|
5356
|
+
class RuntimeContext extends RuntimeContextCore {
|
|
4299
5357
|
#private;
|
|
4300
5358
|
}
|
|
5359
|
+
import { RuntimeContext as RuntimeContextCore } from "@javonet/core";
|
|
4301
5360
|
}
|
|
4302
5361
|
declare module "lib/sdk/RuntimeFactory" {
|
|
4303
5362
|
export = RuntimeFactory;
|