javonet-nodejs-sdk 2.5.9 → 2.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
- package/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- package/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- package/Binaries/Native/Linux/ARM64/version.txt +1 -1
- package/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +30 -30
- package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/version.txt +1 -1
- package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- package/Binaries/Native/MacOs/X64/version.txt +1 -1
- package/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- package/Binaries/Native/Windows/ARM64/version.txt +0 -0
- package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X64/Utils.dll +0 -0
- package/Binaries/Native/Windows/X64/version.txt +1 -1
- package/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X86/Utils.dll +0 -0
- package/Binaries/Native/Windows/X86/version.txt +1 -1
- package/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Nodejs/index.js +2 -0
- package/Binaries/Nodejs/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/Binaries/Nodejs/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/Binaries/Nodejs/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/Binaries/Nodejs/lib/core/handler/Handler.js +10 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/Binaries/Nodejs/lib/core/handler/PassDelegateHandler.js +157 -0
- package/Binaries/Nodejs/lib/sdk/InvocationContext.js +43 -0
- package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +9 -0
- package/Binaries/Nodejs/lib/utils/CommandType.js +6 -1
- package/Binaries/Nodejs/lib/utils/TypesConverter.js +91 -0
- package/Binaries/Nodejs/lib/utils/guid/generateGuid.js +9 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-events +62 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-highlight +54 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load +144 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load-dump +303 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-parse-emit +123 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Capture/Tiny.pm +23 -7
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document.pm +102 -19
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Element.pm +24 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Node.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{Capture-Tiny-0.48 → Capture-Tiny-0.50}/MYMETA.json +12 -7
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{FFI-Platypus-2.09 → FFI-Platypus-2.10}/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{PPI-1.279 → PPI-1.281}/MYMETA.json +101 -94
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/API.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Buffer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Bundle.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Closure.pm +3 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Constant.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/DL.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Function.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Internal.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/ASM.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/C.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/Win32.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Legacy.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Memory.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/Meta.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/TieArray.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/ShareConfig.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/PointerSizeBuffer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringArray.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringPointer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/WideString.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version0.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version1.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version2.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Builder.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Result.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Temp.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/.packlist +2 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Safe/Isa/.packlist +2 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/YAML/PP/.packlist +53 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +131 -87
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events +62 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events.bat +79 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight +54 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight.bat +71 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load +144 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump +303 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump.bat +320 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load.bat +161 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit +123 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit.bat +140 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/{PPI-1.279 → PPI-1.281}/MYMETA.json +101 -94
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.281/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/.packlist +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Safe/Isa/.packlist +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/YAML/PP/.packlist +38 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +62 -18
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document.pm +102 -19
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Element.pm +24 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Node.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
- package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +9 -10
- package/Binaries/version.txt +1 -1
- package/dist/Javonet.d.ts +1137 -102
- package/dist/index.js +2 -0
- package/dist/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/dist/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/dist/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/dist/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/dist/lib/core/handler/Handler.js +10 -0
- package/dist/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/dist/lib/core/handler/PassDelegateHandler.js +157 -0
- package/dist/lib/sdk/InvocationContext.js +43 -0
- package/dist/lib/sdk/RuntimeContext.js +9 -0
- package/dist/lib/utils/CommandType.js +6 -1
- package/dist/lib/utils/TypesConverter.js +91 -0
- package/dist/lib/utils/guid/generateGuid.js +9 -0
- package/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/lib/core/handler/Handler.js +10 -0
- package/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/lib/core/handler/PassDelegateHandler.js +157 -0
- package/lib/sdk/RuntimeContext.js +4 -220
- package/lib/utils/TypesConverter.js +91 -0
- package/package.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.48/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.09/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.279/install.json +0 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.279/install.json +0 -1
package/dist/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;
|
|
@@ -1674,7 +2062,12 @@ declare module "dist/lib/utils/CommandType" {
|
|
|
1674
2062
|
export let EnableNamespace: 34;
|
|
1675
2063
|
export let EnableType: 35;
|
|
1676
2064
|
export let CreateNull: 36;
|
|
1677
|
-
export let
|
|
2065
|
+
export let GetStaticMethodAsDelegate: 37;
|
|
2066
|
+
export let GetInstanceMethodAsDelegate: 38;
|
|
2067
|
+
export let PassDelegate: 39;
|
|
2068
|
+
export let InvokeDelegate: 40;
|
|
2069
|
+
export let ConvertType: 41;
|
|
2070
|
+
export let InvokeStandaloneMethod: 42;
|
|
1678
2071
|
}
|
|
1679
2072
|
declare module "dist/lib/utils/Command" {
|
|
1680
2073
|
export = Command;
|
|
@@ -1947,6 +2340,33 @@ declare module "dist/lib/core/interpreter/Interpreter" {
|
|
|
1947
2340
|
}
|
|
1948
2341
|
type WsConnectionData = any;
|
|
1949
2342
|
}
|
|
2343
|
+
declare module "dist/lib/utils/guid/generateGuid" {
|
|
2344
|
+
export = generateGUID;
|
|
2345
|
+
function generateGUID(): string;
|
|
2346
|
+
}
|
|
2347
|
+
declare module "dist/lib/core/delegatesCache/DelegatesCache" {
|
|
2348
|
+
const _exports: DelegatesCache;
|
|
2349
|
+
export = _exports;
|
|
2350
|
+
/**
|
|
2351
|
+
* A cache for storing and retrieving delegates.
|
|
2352
|
+
*/
|
|
2353
|
+
class DelegatesCache {
|
|
2354
|
+
cache: Map<any, any>;
|
|
2355
|
+
/**
|
|
2356
|
+
* Adds a delegate to the cache and returns its unique ID.
|
|
2357
|
+
* @param {Function} delegateInstance - The delegate function to store.
|
|
2358
|
+
* @returns {string} The unique ID for the delegate.
|
|
2359
|
+
*/
|
|
2360
|
+
addDelegate(delegateInstance: Function): string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Retrieves a delegate by its unique ID.
|
|
2363
|
+
* @param {string} delegateId - The unique ID of the delegate.
|
|
2364
|
+
* @returns {Function} The delegate function.
|
|
2365
|
+
* @throws {Error} If the delegate is not found.
|
|
2366
|
+
*/
|
|
2367
|
+
getDelegate(delegateId: string): Function;
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
1950
2370
|
declare module "dist/lib/utils/ExceptionType" {
|
|
1951
2371
|
export let EXCEPTION: 0;
|
|
1952
2372
|
export let IO_EXCEPTION: 1;
|
|
@@ -2134,6 +2554,26 @@ declare module "dist/lib/sdk/InvocationContext" {
|
|
|
2134
2554
|
* @method
|
|
2135
2555
|
*/
|
|
2136
2556
|
createNull(): InvocationContext;
|
|
2557
|
+
/**
|
|
2558
|
+
* Creates a null object of a specific type on the target runtime.
|
|
2559
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
2560
|
+
* @param {...any} args - Method arguments.
|
|
2561
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
2562
|
+
* TODO: connect documentation page url
|
|
2563
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
2564
|
+
* @method
|
|
2565
|
+
*/
|
|
2566
|
+
getStaticMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext;
|
|
2567
|
+
/**
|
|
2568
|
+
* Creates a null object of a specific type on the target runtime.
|
|
2569
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
2570
|
+
* @param {...any} args - Method arguments.
|
|
2571
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
2572
|
+
* TODO: connect documentation page url
|
|
2573
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
2574
|
+
* @method
|
|
2575
|
+
*/
|
|
2576
|
+
getInstanceMethodAsDelegate(methodName: string, ...args: any[]): InvocationContext;
|
|
2137
2577
|
/**
|
|
2138
2578
|
* Retrieves an array from the target runtime.
|
|
2139
2579
|
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to retrieve the array.
|
|
@@ -2400,6 +2840,7 @@ declare module "dist/index" {
|
|
|
2400
2840
|
import TypeDeserializer = require("@javonet/core/lib/core/protocol/TypeDeserializer");
|
|
2401
2841
|
import TypeSerializer = require("@javonet/core/lib/core/protocol/TypeSerializer");
|
|
2402
2842
|
import Interpreter = require("@javonet/core/lib/core/interpreter/Interpreter");
|
|
2843
|
+
import DelegatesCache = require("@javonet/core/lib/core/delegatesCache/DelegatesCache");
|
|
2403
2844
|
import { InvocationContext } from "@javonet/core/lib/sdk/InvocationContext";
|
|
2404
2845
|
import { InvocationWsContext } from "@javonet/core/lib/sdk/InvocationContext";
|
|
2405
2846
|
import RuntimeContext = require("@javonet/core/lib/sdk/RuntimeContext");
|
|
@@ -2417,7 +2858,7 @@ declare module "dist/index" {
|
|
|
2417
2858
|
import WsConnectionData = require("@javonet/core/lib/utils/connectionData/WsConnectionData");
|
|
2418
2859
|
import ExceptionSerializer = require("@javonet/core/lib/utils/exception/ExceptionSerializer");
|
|
2419
2860
|
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 };
|
|
2861
|
+
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
2862
|
}
|
|
2422
2863
|
declare module "dist/lib/core/generator/handler/AbstractGeneratorHandler" {
|
|
2423
2864
|
export = AbstractGeneratorHandler;
|
|
@@ -2655,6 +3096,81 @@ declare module "dist/lib/core/handler/CastingHandler" {
|
|
|
2655
3096
|
}
|
|
2656
3097
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2657
3098
|
}
|
|
3099
|
+
declare module "dist/lib/utils/TypesConverter" {
|
|
3100
|
+
/**
|
|
3101
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
3102
|
+
*/
|
|
3103
|
+
export class ConvertTypeHandler {
|
|
3104
|
+
/**
|
|
3105
|
+
* Minimum required parameters count for the command.
|
|
3106
|
+
* @type {number}
|
|
3107
|
+
*/
|
|
3108
|
+
requiredParametersCount: number;
|
|
3109
|
+
/**
|
|
3110
|
+
* Processes the given command to convert JType to Type.
|
|
3111
|
+
* @param {Object} command - The command to process.
|
|
3112
|
+
* @returns {any} The converted type.
|
|
3113
|
+
*/
|
|
3114
|
+
process(command: Object): any;
|
|
3115
|
+
/**
|
|
3116
|
+
* Validates the command to ensure it has enough parameters.
|
|
3117
|
+
* @param {Object} command - The command to validate.
|
|
3118
|
+
*/
|
|
3119
|
+
validateCommand(command: Object): void;
|
|
3120
|
+
}
|
|
3121
|
+
/**
|
|
3122
|
+
* TypesConverter class provides utilities for converting between types.
|
|
3123
|
+
*/
|
|
3124
|
+
export class TypesConverter {
|
|
3125
|
+
/**
|
|
3126
|
+
* Converts a JavaScript type to a JType equivalent.
|
|
3127
|
+
* @param {Function} type - The JavaScript type.
|
|
3128
|
+
* @returns {number} The corresponding JType.
|
|
3129
|
+
*/
|
|
3130
|
+
static convertTypeToJType(type: Function): number;
|
|
3131
|
+
/**
|
|
3132
|
+
* Converts a JType to a JavaScript type equivalent.
|
|
3133
|
+
* @param {number} type - The JType to convert.
|
|
3134
|
+
* @returns {Function} The corresponding JavaScript type.
|
|
3135
|
+
*/
|
|
3136
|
+
static convertJTypeToType(type: number): Function;
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* Enum for JType mappings.
|
|
3140
|
+
*/
|
|
3141
|
+
export type JType = number;
|
|
3142
|
+
export namespace JType {
|
|
3143
|
+
let Boolean: number;
|
|
3144
|
+
let Float: number;
|
|
3145
|
+
let String: number;
|
|
3146
|
+
let Null: number;
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
declare module "dist/lib/core/handler/ConvertTypeHandler" {
|
|
3150
|
+
export = ConvertTypeHandler;
|
|
3151
|
+
/**
|
|
3152
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
3153
|
+
*/
|
|
3154
|
+
class ConvertTypeHandler extends AbstractHandler {
|
|
3155
|
+
/**
|
|
3156
|
+
* Minimum required parameters count for the command.
|
|
3157
|
+
* @type {number}
|
|
3158
|
+
*/
|
|
3159
|
+
requiredParametersCount: number;
|
|
3160
|
+
/**
|
|
3161
|
+
* Processes the given command to convert JType to Type.
|
|
3162
|
+
* @param {Object} command - The command to process.
|
|
3163
|
+
* @returns {any} The converted type.
|
|
3164
|
+
*/
|
|
3165
|
+
process(command: Object): any;
|
|
3166
|
+
/**
|
|
3167
|
+
* Validates the command to ensure it has enough parameters.
|
|
3168
|
+
* @param {Object} command - The command to validate.
|
|
3169
|
+
*/
|
|
3170
|
+
validateCommand(command: Object): void;
|
|
3171
|
+
}
|
|
3172
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3173
|
+
}
|
|
2658
3174
|
declare module "dist/lib/core/handler/CreateClassInstanceHandler" {
|
|
2659
3175
|
const _exports: CreateClassInstanceHandler;
|
|
2660
3176
|
export = _exports;
|
|
@@ -2761,6 +3277,48 @@ declare module "dist/lib/core/handler/GetInstanceFieldHandler" {
|
|
|
2761
3277
|
}
|
|
2762
3278
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2763
3279
|
}
|
|
3280
|
+
declare module "dist/lib/core/handler/GetInstanceMethodAsDelegateHandler" {
|
|
3281
|
+
const _exports: GetInstanceMethodAsDelegateHandler;
|
|
3282
|
+
export = _exports;
|
|
3283
|
+
/**
|
|
3284
|
+
* Handles retrieving an instance method as a delegate.
|
|
3285
|
+
*/
|
|
3286
|
+
class GetInstanceMethodAsDelegateHandler extends AbstractHandler {
|
|
3287
|
+
/** @type {Function|null} */
|
|
3288
|
+
method: Function | null;
|
|
3289
|
+
/** @type {number} */
|
|
3290
|
+
requiredParametersCount: number;
|
|
3291
|
+
/** @type {Array<*>} */
|
|
3292
|
+
args: Array<any>;
|
|
3293
|
+
/** @type {Object|null} */
|
|
3294
|
+
instance: Object | null;
|
|
3295
|
+
/**
|
|
3296
|
+
* Processes a command to retrieve an instance method as a delegate.
|
|
3297
|
+
* @param {Object} command - The command containing payload data.
|
|
3298
|
+
* @param {Array<*>} command.payload - The payload containing instance, method name, and arguments.
|
|
3299
|
+
* @returns {Function} The delegate for the instance method.
|
|
3300
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
3301
|
+
*/
|
|
3302
|
+
process(command: {
|
|
3303
|
+
payload: Array<any>;
|
|
3304
|
+
}): Function;
|
|
3305
|
+
/**
|
|
3306
|
+
* Retrieves the method from the type.
|
|
3307
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
3308
|
+
* @param {string} methodName - The name of the method.
|
|
3309
|
+
* @returns {Function|null} The found method or null if not found.
|
|
3310
|
+
*/
|
|
3311
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3312
|
+
/**
|
|
3313
|
+
* Creates an error message when the method is not found.
|
|
3314
|
+
* @param {Object} type - The class or constructor.
|
|
3315
|
+
* @param {string} methodName - The method name.
|
|
3316
|
+
* @returns {Error} The error with detailed message.
|
|
3317
|
+
*/
|
|
3318
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3319
|
+
}
|
|
3320
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3321
|
+
}
|
|
2764
3322
|
declare module "dist/lib/core/handler/GetStaticFieldHandler" {
|
|
2765
3323
|
const _exports: GetStaticFieldHandler;
|
|
2766
3324
|
export = _exports;
|
|
@@ -2770,6 +3328,47 @@ declare module "dist/lib/core/handler/GetStaticFieldHandler" {
|
|
|
2770
3328
|
}
|
|
2771
3329
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2772
3330
|
}
|
|
3331
|
+
declare module "dist/lib/core/handler/GetStaticMethodAsDelegateHandler" {
|
|
3332
|
+
const _exports: GetStaticMethodAsDelegateHandler;
|
|
3333
|
+
export = _exports;
|
|
3334
|
+
/**
|
|
3335
|
+
* Handles retrieving a static method as a delegate.
|
|
3336
|
+
*/
|
|
3337
|
+
class GetStaticMethodAsDelegateHandler extends AbstractHandler {
|
|
3338
|
+
/** @type {Array<*>} */
|
|
3339
|
+
args: Array<any>;
|
|
3340
|
+
/** @type {Function|null} */
|
|
3341
|
+
method: Function | null;
|
|
3342
|
+
/** @type {number} */
|
|
3343
|
+
requiredParametersCount: number;
|
|
3344
|
+
/**
|
|
3345
|
+
* Processes a command to retrieve a static method as a delegate.
|
|
3346
|
+
* @param {Command} command - The command containing payload data.
|
|
3347
|
+
* @param {Array<*>} command.payload - The payload containing type, method name, and arguments.
|
|
3348
|
+
* @returns {Function} The delegate for the static method.
|
|
3349
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
3350
|
+
*/
|
|
3351
|
+
process(command: Command): Function;
|
|
3352
|
+
/**
|
|
3353
|
+
* Retrieves the method from the type.
|
|
3354
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
3355
|
+
* @param {string} methodName - The name of the method.
|
|
3356
|
+
* @param {Array<Function>} argsType - The argument types.
|
|
3357
|
+
* @param {Object} modifier - Parameter modifier (not used in JS implementation).
|
|
3358
|
+
* @returns {Function|null} The found method or null if not found.
|
|
3359
|
+
*/
|
|
3360
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3361
|
+
/**
|
|
3362
|
+
* Creates an error message when the method is not found.
|
|
3363
|
+
* @param {Object} type - The class or constructor.
|
|
3364
|
+
* @param {string} methodName - The method name.
|
|
3365
|
+
* @returns {Error} The error with detailed message.
|
|
3366
|
+
*/
|
|
3367
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3368
|
+
}
|
|
3369
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3370
|
+
import { Command } from "@javonet/core";
|
|
3371
|
+
}
|
|
2773
3372
|
declare module "dist/lib/core/handler/LoadLibraryHandler" {
|
|
2774
3373
|
const _exports: LoadLibraryHandler;
|
|
2775
3374
|
export = _exports;
|
|
@@ -2866,23 +3465,142 @@ declare module "dist/lib/core/handler/InvokeStandaloneMethodHandler" {
|
|
|
2866
3465
|
}
|
|
2867
3466
|
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
2868
3467
|
}
|
|
2869
|
-
declare module "dist/lib/core/handler/
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
3468
|
+
declare module "dist/lib/core/handler/PassDelegateHandler" {
|
|
3469
|
+
const _exports: PassDelegateHandler;
|
|
3470
|
+
export = _exports;
|
|
3471
|
+
/**
|
|
3472
|
+
* PassDelegateHandler class responsible for processing a command to create a delegate.
|
|
3473
|
+
*/
|
|
3474
|
+
class PassDelegateHandler extends AbstractHandler {
|
|
3475
|
+
/**
|
|
3476
|
+
* Minimum required parameters count for the command.
|
|
3477
|
+
* @type {number}
|
|
3478
|
+
*/
|
|
3479
|
+
requiredParametersCount: number;
|
|
3480
|
+
interpreter: Interpreter;
|
|
3481
|
+
/**
|
|
3482
|
+
* Processes the given command to create and compile a delegate.
|
|
3483
|
+
* @param {Command} command - The command to process.
|
|
3484
|
+
* @returns {Function} The compiled delegate function.
|
|
3485
|
+
*/
|
|
3486
|
+
process(command: Command): Function;
|
|
3487
|
+
/**
|
|
3488
|
+
* Validates the command to ensure it has enough parameters.
|
|
3489
|
+
* @param {Command} command - The command to validate.
|
|
3490
|
+
*/
|
|
3491
|
+
validateCommand(command: Command): void;
|
|
3492
|
+
/**
|
|
3493
|
+
* Retrieves the arguments from the command payload.
|
|
3494
|
+
* @param {Command} command - The command containing the payload.
|
|
3495
|
+
* @returns {Array} The extracted arguments.
|
|
3496
|
+
*/
|
|
3497
|
+
getArguments(command: Command): any[];
|
|
3498
|
+
/**
|
|
3499
|
+
* Extracts argument types from the arguments array.
|
|
3500
|
+
* @param {Array} args - The arguments array.
|
|
3501
|
+
* @returns {Array} The argument types.
|
|
3502
|
+
*/
|
|
3503
|
+
getArgumentTypes(args: any[]): any[];
|
|
3504
|
+
/**
|
|
3505
|
+
* Retrieves the return type from the arguments array.
|
|
3506
|
+
* @param {Array} args - The arguments array.
|
|
3507
|
+
* @returns {Function} The return type.
|
|
3508
|
+
*/
|
|
3509
|
+
getReturnType(args: any[]): Function;
|
|
3510
|
+
/**
|
|
3511
|
+
* Creates parameter expressions from argument types.
|
|
3512
|
+
* @param {Array} argsTypes - The argument types.
|
|
3513
|
+
* @returns {Array} The parameter expressions.
|
|
3514
|
+
*/
|
|
3515
|
+
createParameters(argsTypes: any[]): any[];
|
|
3516
|
+
/**
|
|
3517
|
+
* Creates an array of arguments for the delegate.
|
|
3518
|
+
* @param {string} delegateGuid - The delegate identifier.
|
|
3519
|
+
* @param {Array} parameters - The parameter expressions.
|
|
3520
|
+
* @returns {Array} The arguments array.
|
|
3521
|
+
*/
|
|
3522
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
3523
|
+
/**
|
|
3524
|
+
* Creates a command expression.
|
|
3525
|
+
* @param {string} callingRuntimeName - The runtime name.
|
|
3526
|
+
* @param {Array} payload - The arguments array.
|
|
3527
|
+
* @returns {Object} The command object.
|
|
3528
|
+
*/
|
|
3529
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
3530
|
+
/**
|
|
3531
|
+
* Creates a method call to execute the command.
|
|
3532
|
+
* @param {Command} command - The command object.
|
|
3533
|
+
* @returns {Object} The response object.
|
|
3534
|
+
*/
|
|
3535
|
+
createExecuteCall(command: Command): Object;
|
|
3536
|
+
/**
|
|
3537
|
+
* Retrieves the response payload from the execution call.
|
|
3538
|
+
* @param {Object} executeCall - The execution call.
|
|
3539
|
+
* @returns {Array} The response payload.
|
|
3540
|
+
*/
|
|
3541
|
+
getResponse(executeCall: Object): any[];
|
|
3542
|
+
/**
|
|
3543
|
+
* Converts the first element of the response to the return type.
|
|
3544
|
+
* @param {Array} response - The response payload.
|
|
3545
|
+
* @param {Function} returnType - The return type.
|
|
3546
|
+
* @returns {*} The converted first element.
|
|
3547
|
+
*/
|
|
3548
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
3549
|
+
/**
|
|
3550
|
+
* Creates a block of expressions for the delegate.
|
|
3551
|
+
* @param {Function} returnType - The return type.
|
|
3552
|
+
* @param {*} convertedFirstElement - The converted first element.
|
|
3553
|
+
* @returns {Object} The block expression.
|
|
3554
|
+
*/
|
|
3555
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
3556
|
+
/**
|
|
3557
|
+
* Creates a delegate type.
|
|
3558
|
+
* @param {Array} parameters - The parameter expressions.
|
|
3559
|
+
* @param {Function} returnType - The return type.
|
|
3560
|
+
* @returns {Function} The delegate type.
|
|
3561
|
+
*/
|
|
3562
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
3563
|
+
}
|
|
3564
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3565
|
+
import { Interpreter } from "@javonet/core";
|
|
3566
|
+
import { Command } from "@javonet/core";
|
|
3567
|
+
}
|
|
3568
|
+
declare module "dist/lib/core/handler/InvokeDelegateHandler" {
|
|
3569
|
+
const _exports: InvokeDelegateHandler;
|
|
3570
|
+
export = _exports;
|
|
3571
|
+
/**
|
|
3572
|
+
* Handles invoking a delegate by GUID.
|
|
3573
|
+
*/
|
|
3574
|
+
class InvokeDelegateHandler extends AbstractHandler {
|
|
3575
|
+
/** @type {number} */
|
|
3576
|
+
requiredParametersCount: number;
|
|
3577
|
+
/**
|
|
3578
|
+
* Processes a command to invoke a delegate.
|
|
3579
|
+
* @param {Command} command - The command containing payload data.
|
|
3580
|
+
* @returns {*} The result of the delegate invocation.
|
|
3581
|
+
* @throws {Error} If the parameters mismatch or the delegate cannot be found.
|
|
3582
|
+
*/
|
|
3583
|
+
process(command: Command): any;
|
|
3584
|
+
}
|
|
3585
|
+
import AbstractHandler = require("@javonet/core/lib/core/handler/AbstractHandler");
|
|
3586
|
+
}
|
|
3587
|
+
declare module "dist/lib/core/handler/Handler" {
|
|
3588
|
+
export class Handler {
|
|
3589
|
+
handleCommand(command: any): Command;
|
|
3590
|
+
parseCommand(response: any, runtimeName: any): Command;
|
|
3591
|
+
}
|
|
3592
|
+
export const handlers: {
|
|
3593
|
+
0: {
|
|
3594
|
+
process(command: any): any;
|
|
3595
|
+
handlers: any[];
|
|
3596
|
+
handleCommand(command: any): void;
|
|
3597
|
+
iterate(cmd: any): void;
|
|
3598
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3599
|
+
};
|
|
3600
|
+
1: {
|
|
3601
|
+
requiredParametersCount: number;
|
|
3602
|
+
process(command: any): number;
|
|
3603
|
+
getLoadedLibraries(): any[];
|
|
2886
3604
|
handlers: any[];
|
|
2887
3605
|
handleCommand(command: any): void;
|
|
2888
3606
|
iterate(cmd: any): void;
|
|
@@ -2969,7 +3687,7 @@ declare module "dist/lib/core/handler/Handler" {
|
|
|
2969
3687
|
iterate(cmd: any): void;
|
|
2970
3688
|
process_stack_trace(error: any, class_name: any): any;
|
|
2971
3689
|
};
|
|
2972
|
-
|
|
3690
|
+
42: {
|
|
2973
3691
|
requiredParametersCount: number;
|
|
2974
3692
|
process(command: any): any;
|
|
2975
3693
|
throwError(type: any, methodName: any): void;
|
|
@@ -3048,8 +3766,66 @@ declare module "dist/lib/core/handler/Handler" {
|
|
|
3048
3766
|
iterate(cmd: any): void;
|
|
3049
3767
|
process_stack_trace(error: any, class_name: any): any;
|
|
3050
3768
|
};
|
|
3769
|
+
37: {
|
|
3770
|
+
args: Array<any>;
|
|
3771
|
+
method: Function | null;
|
|
3772
|
+
requiredParametersCount: number;
|
|
3773
|
+
process(command: Command): Function;
|
|
3774
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3775
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3776
|
+
handlers: any[];
|
|
3777
|
+
handleCommand(command: any): void;
|
|
3778
|
+
iterate(cmd: any): void;
|
|
3779
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3780
|
+
};
|
|
3781
|
+
38: {
|
|
3782
|
+
method: Function | null;
|
|
3783
|
+
requiredParametersCount: number;
|
|
3784
|
+
args: Array<any>;
|
|
3785
|
+
instance: Object | null;
|
|
3786
|
+
process(command: {
|
|
3787
|
+
payload: Array<any>;
|
|
3788
|
+
}): Function;
|
|
3789
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
3790
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
3791
|
+
handlers: any[];
|
|
3792
|
+
handleCommand(command: any): void;
|
|
3793
|
+
iterate(cmd: any): void;
|
|
3794
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3795
|
+
};
|
|
3796
|
+
39: {
|
|
3797
|
+
requiredParametersCount: number;
|
|
3798
|
+
interpreter: import("@javonet/core").Interpreter;
|
|
3799
|
+
process(command: Command): Function;
|
|
3800
|
+
validateCommand(command: Command): void;
|
|
3801
|
+
getArguments(command: Command): any[];
|
|
3802
|
+
getArgumentTypes(args: any[]): any[];
|
|
3803
|
+
getReturnType(args: any[]): Function;
|
|
3804
|
+
createParameters(argsTypes: any[]): any[];
|
|
3805
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
3806
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
3807
|
+
createExecuteCall(command: Command): Object;
|
|
3808
|
+
getResponse(executeCall: Object): any[];
|
|
3809
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
3810
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
3811
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
3812
|
+
handlers: any[];
|
|
3813
|
+
handleCommand(command: any): void;
|
|
3814
|
+
iterate(cmd: any): void;
|
|
3815
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
3816
|
+
};
|
|
3817
|
+
40: {
|
|
3818
|
+
requiredParametersCount: number;
|
|
3819
|
+
process(command: Command): any;
|
|
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
|
+
41: typeof ConvertTypeHandler;
|
|
3051
3826
|
};
|
|
3052
3827
|
import { Command } from "@javonet/core";
|
|
3828
|
+
import { ConvertTypeHandler } from "@javonet/core/lib/utils/TypesConverter";
|
|
3053
3829
|
}
|
|
3054
3830
|
declare module "dist/lib/core/handler/SetGlobalStaticFieldHandler" {
|
|
3055
3831
|
const _exports: SetGlobalStaticFieldHandler;
|
|
@@ -3510,6 +4286,81 @@ declare module "lib/core/handler/CastingHandler" {
|
|
|
3510
4286
|
}
|
|
3511
4287
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3512
4288
|
}
|
|
4289
|
+
declare module "lib/utils/TypesConverter" {
|
|
4290
|
+
/**
|
|
4291
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
4292
|
+
*/
|
|
4293
|
+
export class ConvertTypeHandler {
|
|
4294
|
+
/**
|
|
4295
|
+
* Minimum required parameters count for the command.
|
|
4296
|
+
* @type {number}
|
|
4297
|
+
*/
|
|
4298
|
+
requiredParametersCount: number;
|
|
4299
|
+
/**
|
|
4300
|
+
* Processes the given command to convert JType to Type.
|
|
4301
|
+
* @param {Object} command - The command to process.
|
|
4302
|
+
* @returns {any} The converted type.
|
|
4303
|
+
*/
|
|
4304
|
+
process(command: Object): any;
|
|
4305
|
+
/**
|
|
4306
|
+
* Validates the command to ensure it has enough parameters.
|
|
4307
|
+
* @param {Object} command - The command to validate.
|
|
4308
|
+
*/
|
|
4309
|
+
validateCommand(command: Object): void;
|
|
4310
|
+
}
|
|
4311
|
+
/**
|
|
4312
|
+
* TypesConverter class provides utilities for converting between types.
|
|
4313
|
+
*/
|
|
4314
|
+
export class TypesConverter {
|
|
4315
|
+
/**
|
|
4316
|
+
* Converts a JavaScript type to a JType equivalent.
|
|
4317
|
+
* @param {Function} type - The JavaScript type.
|
|
4318
|
+
* @returns {number} The corresponding JType.
|
|
4319
|
+
*/
|
|
4320
|
+
static convertTypeToJType(type: Function): number;
|
|
4321
|
+
/**
|
|
4322
|
+
* Converts a JType to a JavaScript type equivalent.
|
|
4323
|
+
* @param {number} type - The JType to convert.
|
|
4324
|
+
* @returns {Function} The corresponding JavaScript type.
|
|
4325
|
+
*/
|
|
4326
|
+
static convertJTypeToType(type: number): Function;
|
|
4327
|
+
}
|
|
4328
|
+
/**
|
|
4329
|
+
* Enum for JType mappings.
|
|
4330
|
+
*/
|
|
4331
|
+
export type JType = number;
|
|
4332
|
+
export namespace JType {
|
|
4333
|
+
let Boolean: number;
|
|
4334
|
+
let Float: number;
|
|
4335
|
+
let String: number;
|
|
4336
|
+
let Null: number;
|
|
4337
|
+
}
|
|
4338
|
+
}
|
|
4339
|
+
declare module "lib/core/handler/ConvertTypeHandler" {
|
|
4340
|
+
export = ConvertTypeHandler;
|
|
4341
|
+
/**
|
|
4342
|
+
* ConvertTypeHandler class handles the conversion of JType to Type.
|
|
4343
|
+
*/
|
|
4344
|
+
class ConvertTypeHandler extends AbstractHandler {
|
|
4345
|
+
/**
|
|
4346
|
+
* Minimum required parameters count for the command.
|
|
4347
|
+
* @type {number}
|
|
4348
|
+
*/
|
|
4349
|
+
requiredParametersCount: number;
|
|
4350
|
+
/**
|
|
4351
|
+
* Processes the given command to convert JType to Type.
|
|
4352
|
+
* @param {Object} command - The command to process.
|
|
4353
|
+
* @returns {any} The converted type.
|
|
4354
|
+
*/
|
|
4355
|
+
process(command: Object): any;
|
|
4356
|
+
/**
|
|
4357
|
+
* Validates the command to ensure it has enough parameters.
|
|
4358
|
+
* @param {Object} command - The command to validate.
|
|
4359
|
+
*/
|
|
4360
|
+
validateCommand(command: Object): void;
|
|
4361
|
+
}
|
|
4362
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4363
|
+
}
|
|
3513
4364
|
declare module "lib/core/handler/CreateClassInstanceHandler" {
|
|
3514
4365
|
const _exports: CreateClassInstanceHandler;
|
|
3515
4366
|
export = _exports;
|
|
@@ -3616,6 +4467,48 @@ declare module "lib/core/handler/GetInstanceFieldHandler" {
|
|
|
3616
4467
|
}
|
|
3617
4468
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3618
4469
|
}
|
|
4470
|
+
declare module "lib/core/handler/GetInstanceMethodAsDelegateHandler" {
|
|
4471
|
+
const _exports: GetInstanceMethodAsDelegateHandler;
|
|
4472
|
+
export = _exports;
|
|
4473
|
+
/**
|
|
4474
|
+
* Handles retrieving an instance method as a delegate.
|
|
4475
|
+
*/
|
|
4476
|
+
class GetInstanceMethodAsDelegateHandler extends AbstractHandler {
|
|
4477
|
+
/** @type {Function|null} */
|
|
4478
|
+
method: Function | null;
|
|
4479
|
+
/** @type {number} */
|
|
4480
|
+
requiredParametersCount: number;
|
|
4481
|
+
/** @type {Array<*>} */
|
|
4482
|
+
args: Array<any>;
|
|
4483
|
+
/** @type {Object|null} */
|
|
4484
|
+
instance: Object | null;
|
|
4485
|
+
/**
|
|
4486
|
+
* Processes a command to retrieve an instance method as a delegate.
|
|
4487
|
+
* @param {Object} command - The command containing payload data.
|
|
4488
|
+
* @param {Array<*>} command.payload - The payload containing instance, method name, and arguments.
|
|
4489
|
+
* @returns {Function} The delegate for the instance method.
|
|
4490
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
4491
|
+
*/
|
|
4492
|
+
process(command: {
|
|
4493
|
+
payload: Array<any>;
|
|
4494
|
+
}): Function;
|
|
4495
|
+
/**
|
|
4496
|
+
* Retrieves the method from the type.
|
|
4497
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
4498
|
+
* @param {string} methodName - The name of the method.
|
|
4499
|
+
* @returns {Function|null} The found method or null if not found.
|
|
4500
|
+
*/
|
|
4501
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4502
|
+
/**
|
|
4503
|
+
* Creates an error message when the method is not found.
|
|
4504
|
+
* @param {Object} type - The class or constructor.
|
|
4505
|
+
* @param {string} methodName - The method name.
|
|
4506
|
+
* @returns {Error} The error with detailed message.
|
|
4507
|
+
*/
|
|
4508
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4509
|
+
}
|
|
4510
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4511
|
+
}
|
|
3619
4512
|
declare module "lib/core/handler/GetStaticFieldHandler" {
|
|
3620
4513
|
const _exports: GetStaticFieldHandler;
|
|
3621
4514
|
export = _exports;
|
|
@@ -3625,6 +4518,47 @@ declare module "lib/core/handler/GetStaticFieldHandler" {
|
|
|
3625
4518
|
}
|
|
3626
4519
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3627
4520
|
}
|
|
4521
|
+
declare module "lib/core/handler/GetStaticMethodAsDelegateHandler" {
|
|
4522
|
+
const _exports: GetStaticMethodAsDelegateHandler;
|
|
4523
|
+
export = _exports;
|
|
4524
|
+
/**
|
|
4525
|
+
* Handles retrieving a static method as a delegate.
|
|
4526
|
+
*/
|
|
4527
|
+
class GetStaticMethodAsDelegateHandler extends AbstractHandler {
|
|
4528
|
+
/** @type {Array<*>} */
|
|
4529
|
+
args: Array<any>;
|
|
4530
|
+
/** @type {Function|null} */
|
|
4531
|
+
method: Function | null;
|
|
4532
|
+
/** @type {number} */
|
|
4533
|
+
requiredParametersCount: number;
|
|
4534
|
+
/**
|
|
4535
|
+
* Processes a command to retrieve a static method as a delegate.
|
|
4536
|
+
* @param {Command} command - The command containing payload data.
|
|
4537
|
+
* @param {Array<*>} command.payload - The payload containing type, method name, and arguments.
|
|
4538
|
+
* @returns {Function} The delegate for the static method.
|
|
4539
|
+
* @throws {Error} If the parameters mismatch or the method cannot be found.
|
|
4540
|
+
*/
|
|
4541
|
+
process(command: Command): Function;
|
|
4542
|
+
/**
|
|
4543
|
+
* Retrieves the method from the type.
|
|
4544
|
+
* @param {Object} type - The class or constructor to search for the method.
|
|
4545
|
+
* @param {string} methodName - The name of the method.
|
|
4546
|
+
* @param {Array<Function>} argsType - The argument types.
|
|
4547
|
+
* @param {Object} modifier - Parameter modifier (not used in JS implementation).
|
|
4548
|
+
* @returns {Function|null} The found method or null if not found.
|
|
4549
|
+
*/
|
|
4550
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4551
|
+
/**
|
|
4552
|
+
* Creates an error message when the method is not found.
|
|
4553
|
+
* @param {Object} type - The class or constructor.
|
|
4554
|
+
* @param {string} methodName - The method name.
|
|
4555
|
+
* @returns {Error} The error with detailed message.
|
|
4556
|
+
*/
|
|
4557
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4558
|
+
}
|
|
4559
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4560
|
+
import { Command } from "@javonet/core";
|
|
4561
|
+
}
|
|
3628
4562
|
declare module "lib/core/handler/LoadLibraryHandler" {
|
|
3629
4563
|
const _exports: LoadLibraryHandler;
|
|
3630
4564
|
export = _exports;
|
|
@@ -3721,6 +4655,125 @@ declare module "lib/core/handler/InvokeStandaloneMethodHandler" {
|
|
|
3721
4655
|
}
|
|
3722
4656
|
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
3723
4657
|
}
|
|
4658
|
+
declare module "lib/core/handler/PassDelegateHandler" {
|
|
4659
|
+
const _exports: PassDelegateHandler;
|
|
4660
|
+
export = _exports;
|
|
4661
|
+
/**
|
|
4662
|
+
* PassDelegateHandler class responsible for processing a command to create a delegate.
|
|
4663
|
+
*/
|
|
4664
|
+
class PassDelegateHandler extends AbstractHandler {
|
|
4665
|
+
/**
|
|
4666
|
+
* Minimum required parameters count for the command.
|
|
4667
|
+
* @type {number}
|
|
4668
|
+
*/
|
|
4669
|
+
requiredParametersCount: number;
|
|
4670
|
+
interpreter: Interpreter;
|
|
4671
|
+
/**
|
|
4672
|
+
* Processes the given command to create and compile a delegate.
|
|
4673
|
+
* @param {Command} command - The command to process.
|
|
4674
|
+
* @returns {Function} The compiled delegate function.
|
|
4675
|
+
*/
|
|
4676
|
+
process(command: Command): Function;
|
|
4677
|
+
/**
|
|
4678
|
+
* Validates the command to ensure it has enough parameters.
|
|
4679
|
+
* @param {Command} command - The command to validate.
|
|
4680
|
+
*/
|
|
4681
|
+
validateCommand(command: Command): void;
|
|
4682
|
+
/**
|
|
4683
|
+
* Retrieves the arguments from the command payload.
|
|
4684
|
+
* @param {Command} command - The command containing the payload.
|
|
4685
|
+
* @returns {Array} The extracted arguments.
|
|
4686
|
+
*/
|
|
4687
|
+
getArguments(command: Command): any[];
|
|
4688
|
+
/**
|
|
4689
|
+
* Extracts argument types from the arguments array.
|
|
4690
|
+
* @param {Array} args - The arguments array.
|
|
4691
|
+
* @returns {Array} The argument types.
|
|
4692
|
+
*/
|
|
4693
|
+
getArgumentTypes(args: any[]): any[];
|
|
4694
|
+
/**
|
|
4695
|
+
* Retrieves the return type from the arguments array.
|
|
4696
|
+
* @param {Array} args - The arguments array.
|
|
4697
|
+
* @returns {Function} The return type.
|
|
4698
|
+
*/
|
|
4699
|
+
getReturnType(args: any[]): Function;
|
|
4700
|
+
/**
|
|
4701
|
+
* Creates parameter expressions from argument types.
|
|
4702
|
+
* @param {Array} argsTypes - The argument types.
|
|
4703
|
+
* @returns {Array} The parameter expressions.
|
|
4704
|
+
*/
|
|
4705
|
+
createParameters(argsTypes: any[]): any[];
|
|
4706
|
+
/**
|
|
4707
|
+
* Creates an array of arguments for the delegate.
|
|
4708
|
+
* @param {string} delegateGuid - The delegate identifier.
|
|
4709
|
+
* @param {Array} parameters - The parameter expressions.
|
|
4710
|
+
* @returns {Array} The arguments array.
|
|
4711
|
+
*/
|
|
4712
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
4713
|
+
/**
|
|
4714
|
+
* Creates a command expression.
|
|
4715
|
+
* @param {string} callingRuntimeName - The runtime name.
|
|
4716
|
+
* @param {Array} payload - The arguments array.
|
|
4717
|
+
* @returns {Object} The command object.
|
|
4718
|
+
*/
|
|
4719
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
4720
|
+
/**
|
|
4721
|
+
* Creates a method call to execute the command.
|
|
4722
|
+
* @param {Command} command - The command object.
|
|
4723
|
+
* @returns {Object} The response object.
|
|
4724
|
+
*/
|
|
4725
|
+
createExecuteCall(command: Command): Object;
|
|
4726
|
+
/**
|
|
4727
|
+
* Retrieves the response payload from the execution call.
|
|
4728
|
+
* @param {Object} executeCall - The execution call.
|
|
4729
|
+
* @returns {Array} The response payload.
|
|
4730
|
+
*/
|
|
4731
|
+
getResponse(executeCall: Object): any[];
|
|
4732
|
+
/**
|
|
4733
|
+
* Converts the first element of the response to the return type.
|
|
4734
|
+
* @param {Array} response - The response payload.
|
|
4735
|
+
* @param {Function} returnType - The return type.
|
|
4736
|
+
* @returns {*} The converted first element.
|
|
4737
|
+
*/
|
|
4738
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
4739
|
+
/**
|
|
4740
|
+
* Creates a block of expressions for the delegate.
|
|
4741
|
+
* @param {Function} returnType - The return type.
|
|
4742
|
+
* @param {*} convertedFirstElement - The converted first element.
|
|
4743
|
+
* @returns {Object} The block expression.
|
|
4744
|
+
*/
|
|
4745
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
4746
|
+
/**
|
|
4747
|
+
* Creates a delegate type.
|
|
4748
|
+
* @param {Array} parameters - The parameter expressions.
|
|
4749
|
+
* @param {Function} returnType - The return type.
|
|
4750
|
+
* @returns {Function} The delegate type.
|
|
4751
|
+
*/
|
|
4752
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
4753
|
+
}
|
|
4754
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4755
|
+
import { Interpreter } from "@javonet/core";
|
|
4756
|
+
import { Command } from "@javonet/core";
|
|
4757
|
+
}
|
|
4758
|
+
declare module "lib/core/handler/InvokeDelegateHandler" {
|
|
4759
|
+
const _exports: InvokeDelegateHandler;
|
|
4760
|
+
export = _exports;
|
|
4761
|
+
/**
|
|
4762
|
+
* Handles invoking a delegate by GUID.
|
|
4763
|
+
*/
|
|
4764
|
+
class InvokeDelegateHandler extends AbstractHandler {
|
|
4765
|
+
/** @type {number} */
|
|
4766
|
+
requiredParametersCount: number;
|
|
4767
|
+
/**
|
|
4768
|
+
* Processes a command to invoke a delegate.
|
|
4769
|
+
* @param {Command} command - The command containing payload data.
|
|
4770
|
+
* @returns {*} The result of the delegate invocation.
|
|
4771
|
+
* @throws {Error} If the parameters mismatch or the delegate cannot be found.
|
|
4772
|
+
*/
|
|
4773
|
+
process(command: Command): any;
|
|
4774
|
+
}
|
|
4775
|
+
import AbstractHandler = require("lib/core/handler/AbstractHandler");
|
|
4776
|
+
}
|
|
3724
4777
|
declare module "lib/core/handler/Handler" {
|
|
3725
4778
|
export class Handler {
|
|
3726
4779
|
handleCommand(command: any): Command;
|
|
@@ -3824,7 +4877,7 @@ declare module "lib/core/handler/Handler" {
|
|
|
3824
4877
|
iterate(cmd: any): void;
|
|
3825
4878
|
process_stack_trace(error: any, class_name: any): any;
|
|
3826
4879
|
};
|
|
3827
|
-
|
|
4880
|
+
42: {
|
|
3828
4881
|
requiredParametersCount: number;
|
|
3829
4882
|
process(command: any): any;
|
|
3830
4883
|
throwError(type: any, methodName: any): void;
|
|
@@ -3903,8 +4956,66 @@ declare module "lib/core/handler/Handler" {
|
|
|
3903
4956
|
iterate(cmd: any): void;
|
|
3904
4957
|
process_stack_trace(error: any, class_name: any): any;
|
|
3905
4958
|
};
|
|
4959
|
+
37: {
|
|
4960
|
+
args: Array<any>;
|
|
4961
|
+
method: Function | null;
|
|
4962
|
+
requiredParametersCount: number;
|
|
4963
|
+
process(command: Command): Function;
|
|
4964
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4965
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4966
|
+
handlers: any[];
|
|
4967
|
+
handleCommand(command: any): void;
|
|
4968
|
+
iterate(cmd: any): void;
|
|
4969
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
4970
|
+
};
|
|
4971
|
+
38: {
|
|
4972
|
+
method: Function | null;
|
|
4973
|
+
requiredParametersCount: number;
|
|
4974
|
+
args: Array<any>;
|
|
4975
|
+
instance: Object | null;
|
|
4976
|
+
process(command: {
|
|
4977
|
+
payload: Array<any>;
|
|
4978
|
+
}): Function;
|
|
4979
|
+
getMethod(type: Object, methodName: string): Function | null;
|
|
4980
|
+
createMethodNotFoundError(type: Object, methodName: string): Error;
|
|
4981
|
+
handlers: any[];
|
|
4982
|
+
handleCommand(command: any): void;
|
|
4983
|
+
iterate(cmd: any): void;
|
|
4984
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
4985
|
+
};
|
|
4986
|
+
39: {
|
|
4987
|
+
requiredParametersCount: number;
|
|
4988
|
+
interpreter: import("@javonet/core").Interpreter;
|
|
4989
|
+
process(command: Command): Function;
|
|
4990
|
+
validateCommand(command: Command): void;
|
|
4991
|
+
getArguments(command: Command): any[];
|
|
4992
|
+
getArgumentTypes(args: any[]): any[];
|
|
4993
|
+
getReturnType(args: any[]): Function;
|
|
4994
|
+
createParameters(argsTypes: any[]): any[];
|
|
4995
|
+
createArgsArray(delegateGuid: string, parameters: any[]): any[];
|
|
4996
|
+
createCommand(callingRuntimeName: string, payload: any[]): Object;
|
|
4997
|
+
createExecuteCall(command: Command): Object;
|
|
4998
|
+
getResponse(executeCall: Object): any[];
|
|
4999
|
+
convertFirstElement(response: any[], returnType: Function): any;
|
|
5000
|
+
createBlock(returnType: Function, convertedFirstElement: any): Object;
|
|
5001
|
+
createDelegateType(parameters: any[], returnType: Function): Function;
|
|
5002
|
+
handlers: any[];
|
|
5003
|
+
handleCommand(command: any): void;
|
|
5004
|
+
iterate(cmd: any): void;
|
|
5005
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
5006
|
+
};
|
|
5007
|
+
40: {
|
|
5008
|
+
requiredParametersCount: number;
|
|
5009
|
+
process(command: Command): any;
|
|
5010
|
+
handlers: any[];
|
|
5011
|
+
handleCommand(command: any): void;
|
|
5012
|
+
iterate(cmd: any): void;
|
|
5013
|
+
process_stack_trace(error: any, class_name: any): any;
|
|
5014
|
+
};
|
|
5015
|
+
41: typeof ConvertTypeHandler;
|
|
3906
5016
|
};
|
|
3907
5017
|
import { Command } from "@javonet/core";
|
|
5018
|
+
import { ConvertTypeHandler } from "lib/utils/TypesConverter";
|
|
3908
5019
|
}
|
|
3909
5020
|
declare module "lib/core/handler/SetGlobalStaticFieldHandler" {
|
|
3910
5021
|
const _exports: SetGlobalStaticFieldHandler;
|
|
@@ -4218,86 +5329,10 @@ declare module "lib/sdk/RuntimeContext" {
|
|
|
4218
5329
|
* @see [Javonet Guides]{@link https://www.javonet.com/guides/v2/javascript/foundations/runtime-context}
|
|
4219
5330
|
* @class
|
|
4220
5331
|
*/
|
|
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;
|
|
5332
|
+
class RuntimeContext extends RuntimeContextCore {
|
|
4299
5333
|
#private;
|
|
4300
5334
|
}
|
|
5335
|
+
import { RuntimeContext as RuntimeContextCore } from "@javonet/core";
|
|
4301
5336
|
}
|
|
4302
5337
|
declare module "lib/sdk/RuntimeFactory" {
|
|
4303
5338
|
export = RuntimeFactory;
|