javonet-nodejs-sdk 2.5.8 → 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/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Linux/ARM64/NetVersionLatest.runtimeconfig.json +2 -2
- 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 -29
- package/Binaries/Native/Linux/X64/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Linux/X64/NetVersionLatest.runtimeconfig.json +2 -2
- 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/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/MacOs/X64/NetVersionLatest.runtimeconfig.json +2 -2
- 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/libpython3.11.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/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Windows/ARM64/NetVersionLatest.runtimeconfig.json +2 -2
- 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/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Windows/X64/NetVersionLatest.runtimeconfig.json +2 -2
- 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/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Windows/X86/NetVersionLatest.runtimeconfig.json +2 -2
- 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 +66 -0
- package/Binaries/Nodejs/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/AbstractGeneratorHandler.js +0 -1
- package/Binaries/Nodejs/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +27 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GeneratorHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +26 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +24 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GetTypeGeneratorHandler.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/handler/Handlers.js +58 -0
- package/Binaries/Nodejs/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +33 -0
- package/Binaries/Nodejs/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +15 -0
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/shared/SharedClassInstanceHandler.js +4 -5
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/shared/SharedClassNameHandler.js +10 -12
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/shared/SharedMethodNameHandler.js +9 -12
- package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +9 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedBodyHandler.js +18 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +29 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +21 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +31 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +21 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +33 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/internal/CommonGenerator.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/internal/NodejsStringBuilder.js +17 -0
- package/Binaries/Nodejs/{core → lib/core}/generator/internal/SharedHandlerType.js +2 -2
- package/Binaries/Nodejs/{core → lib/core}/generator/utils/StringUtils.js +2 -2
- package/Binaries/Nodejs/{core → lib/core}/handler/AbstractHandler.js +12 -12
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayGetItemHandler.js +3 -4
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayGetRankHandler.js +5 -7
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayGetSizeHandler.js +3 -4
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayHandler.js +2 -3
- package/Binaries/Nodejs/{core → lib/core}/handler/ArraySetItemHandler.js +4 -5
- package/Binaries/Nodejs/{core → lib/core}/handler/CastingHandler.js +3 -3
- package/Binaries/Nodejs/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/CreateClassInstanceHandler.js +36 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/DestructReferenceHandler.js +3 -4
- package/Binaries/Nodejs/{core → lib/core}/handler/EnableNamespaceHandler.js +8 -11
- package/Binaries/Nodejs/{core → lib/core}/handler/EnableTypeHandler.js +8 -10
- package/Binaries/Nodejs/lib/core/handler/GetGlobalStaticFieldHandler.js +37 -0
- package/Binaries/Nodejs/lib/core/handler/GetInstanceFieldHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/Binaries/Nodejs/lib/core/handler/GetStaticFieldHandler.js +36 -0
- package/Binaries/Nodejs/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/GetTypeHandler.js +22 -21
- package/Binaries/Nodejs/{core → lib/core}/handler/Handler.js +22 -11
- package/Binaries/Nodejs/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeGlobalMethodHandler.js +43 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeInstanceMethodHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeStandaloneMethodHandler.js +56 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeStaticMethodHandler.js +38 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/LoadLibraryHandler.js +4 -3
- package/Binaries/Nodejs/lib/core/handler/PassDelegateHandler.js +157 -0
- package/Binaries/Nodejs/lib/core/handler/ResolveReferenceHandler.js +13 -0
- package/Binaries/Nodejs/lib/core/handler/SetGlobalStaticFieldHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/SetInstanceFieldHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/handler/SetStaticFieldHandler.js +33 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/ValueHandler.js +3 -5
- package/Binaries/Nodejs/lib/core/interpreter/Interpreter.js +142 -0
- package/Binaries/Nodejs/{core → lib/core}/namespaceCache/NamespaceCache.js +12 -12
- package/Binaries/Nodejs/{core → lib/core}/protocol/CommandDeserializer.js +43 -48
- package/Binaries/Nodejs/{core → lib/core}/protocol/CommandSerializer.js +4 -5
- package/Binaries/Nodejs/{core → lib/core}/protocol/TypeDeserializer.js +17 -15
- package/Binaries/Nodejs/{core → lib/core}/protocol/TypeSerializer.js +6 -7
- package/Binaries/Nodejs/lib/core/receiver/Receiver.js +32 -0
- package/Binaries/Nodejs/{core → lib/core}/receiver/ReceiverNative.js +3 -3
- package/Binaries/Nodejs/{core → lib/core}/referenceCache/ReferencesCache.js +4 -4
- package/Binaries/Nodejs/{core → lib/core}/transmitter/Transmitter.js +2 -3
- package/Binaries/Nodejs/lib/core/transmitter/TransmitterWebsocket.js +33 -0
- package/Binaries/Nodejs/lib/core/transmitter/TransmitterWrapper.js +34 -0
- package/Binaries/Nodejs/{core → lib/core}/typeCache/TypeCache.js +12 -12
- package/Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient.js +131 -0
- package/Binaries/Nodejs/lib/declarations.d.ts +64 -0
- package/Binaries/Nodejs/lib/sdk/ConfigRuntimeFactory.js +145 -0
- package/{lib → Binaries/Nodejs/lib}/sdk/InvocationContext.js +497 -522
- package/Binaries/Nodejs/lib/sdk/Javonet.js +89 -0
- package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +275 -0
- package/Binaries/Nodejs/lib/sdk/RuntimeFactory.js +78 -0
- package/Binaries/Nodejs/lib/sdk/tools/JsonFileResolver.js +101 -0
- package/Binaries/Nodejs/lib/sdk/tools/SdkExceptionHelper.js +79 -0
- package/Binaries/Nodejs/lib/utils/Command.js +69 -0
- package/Binaries/Nodejs/{utils → lib/utils}/CommandType.js +11 -2
- package/Binaries/Nodejs/lib/utils/ConnectionType.js +8 -0
- package/Binaries/Nodejs/{utils → lib/utils}/ExceptionType.js +6 -3
- package/Binaries/Nodejs/lib/utils/RuntimeLogger.js +30 -0
- package/{lib → Binaries/Nodejs/lib}/utils/RuntimeName.js +14 -11
- package/Binaries/Nodejs/lib/utils/RuntimeNameHandler.js +34 -0
- package/Binaries/Nodejs/lib/utils/StringEncodingMode.js +9 -0
- package/Binaries/Nodejs/{utils → lib/utils}/Type.js +5 -2
- package/Binaries/Nodejs/lib/utils/TypesConverter.js +91 -0
- package/Binaries/Nodejs/{utils → lib/utils}/connectionData/IConnectionData.js +4 -6
- package/Binaries/Nodejs/lib/utils/connectionData/InMemoryConnectionData.js +35 -0
- package/Binaries/Nodejs/lib/utils/connectionData/TcpConnectionData.js +77 -0
- package/Binaries/Nodejs/lib/utils/connectionData/WsConnectionData.js +50 -0
- package/Binaries/Nodejs/{utils → lib/utils}/exception/ExceptionSerializer.js +24 -31
- package/{lib → Binaries/Nodejs/lib}/utils/exception/ExceptionThrower.js +95 -89
- package/Binaries/Nodejs/lib/utils/guid/generateGuid.js +9 -0
- package/Binaries/Nodejs/lib/utils/uuid/REGEX.js +2 -0
- package/Binaries/Nodejs/lib/utils/uuid/rng.js +12 -0
- package/Binaries/Nodejs/lib/utils/uuid/stringify.js +51 -0
- package/Binaries/Nodejs/lib/utils/uuid/v4.js +27 -0
- package/Binaries/Nodejs/lib/utils/uuid/validate.js +6 -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 +64 -20
- 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/README.md +1 -1
- package/dist/Javonet.d.ts +5403 -0
- package/dist/index.js +66 -0
- package/dist/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/dist/lib/core/generator/handler/AbstractGeneratorHandler.js +11 -0
- package/dist/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +27 -0
- package/dist/lib/core/generator/handler/GeneratorHandler.js +38 -0
- package/dist/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +26 -0
- package/dist/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +24 -0
- package/dist/lib/core/generator/handler/GetTypeGeneratorHandler.js +39 -0
- package/dist/lib/core/generator/handler/Handlers.js +58 -0
- package/dist/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +33 -0
- package/dist/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +35 -0
- package/dist/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +35 -0
- package/dist/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +15 -0
- package/dist/lib/core/generator/handler/shared/SharedClassInstanceHandler.js +12 -0
- package/dist/lib/core/generator/handler/shared/SharedClassNameHandler.js +44 -0
- package/dist/lib/core/generator/handler/shared/SharedMethodNameHandler.js +42 -0
- package/dist/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +9 -0
- package/dist/lib/core/generator/handler/shared/body/SharedBodyHandler.js +18 -0
- package/dist/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +29 -0
- package/dist/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +21 -0
- package/dist/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +31 -0
- package/dist/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +21 -0
- package/dist/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +33 -0
- package/dist/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +39 -0
- package/dist/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +39 -0
- package/dist/lib/core/generator/internal/CommonGenerator.js +39 -0
- package/dist/lib/core/generator/internal/NodejsStringBuilder.js +17 -0
- package/dist/lib/core/generator/internal/SharedHandlerType.js +10 -0
- package/dist/lib/core/generator/utils/StringUtils.js +7 -0
- package/dist/lib/core/handler/AbstractHandler.js +41 -0
- package/dist/lib/core/handler/ArrayGetItemHandler.js +38 -0
- package/dist/lib/core/handler/ArrayGetRankHandler.js +28 -0
- package/dist/lib/core/handler/ArrayGetSizeHandler.js +29 -0
- package/dist/lib/core/handler/ArrayHandler.js +18 -0
- package/dist/lib/core/handler/ArraySetItemHandler.js +43 -0
- package/dist/lib/core/handler/CastingHandler.js +10 -0
- package/dist/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/dist/lib/core/handler/CreateClassInstanceHandler.js +36 -0
- package/dist/lib/core/handler/DestructReferenceHandler.js +19 -0
- package/dist/lib/core/handler/EnableNamespaceHandler.js +34 -0
- package/dist/lib/core/handler/EnableTypeHandler.js +35 -0
- package/dist/lib/core/handler/GetGlobalStaticFieldHandler.js +37 -0
- package/dist/lib/core/handler/GetInstanceFieldHandler.js +35 -0
- package/dist/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/dist/lib/core/handler/GetStaticFieldHandler.js +36 -0
- package/dist/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/dist/lib/core/handler/GetTypeHandler.js +63 -0
- package/dist/lib/core/handler/Handler.js +101 -0
- package/dist/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/dist/lib/core/handler/InvokeGlobalMethodHandler.js +43 -0
- package/dist/lib/core/handler/InvokeInstanceMethodHandler.js +38 -0
- package/dist/lib/core/handler/InvokeStandaloneMethodHandler.js +56 -0
- package/dist/lib/core/handler/InvokeStaticMethodHandler.js +38 -0
- package/dist/lib/core/handler/LoadLibraryHandler.js +48 -0
- package/dist/lib/core/handler/PassDelegateHandler.js +157 -0
- package/dist/lib/core/handler/ResolveReferenceHandler.js +13 -0
- package/dist/lib/core/handler/SetGlobalStaticFieldHandler.js +38 -0
- package/dist/lib/core/handler/SetInstanceFieldHandler.js +35 -0
- package/dist/lib/core/handler/SetStaticFieldHandler.js +33 -0
- package/dist/lib/core/handler/ValueHandler.js +13 -0
- package/dist/lib/core/interpreter/Interpreter.js +142 -0
- package/dist/lib/core/namespaceCache/NamespaceCache.js +39 -0
- package/{lib → dist/lib}/core/protocol/CommandDeserializer.js +43 -48
- package/{lib → dist/lib}/core/protocol/CommandSerializer.js +4 -5
- package/{lib → dist/lib}/core/protocol/TypeDeserializer.js +17 -15
- package/{lib → dist/lib}/core/protocol/TypeSerializer.js +6 -7
- package/dist/lib/core/receiver/Receiver.js +32 -0
- package/dist/lib/core/receiver/ReceiverNative.js +13 -0
- package/dist/lib/core/referenceCache/ReferencesCache.js +30 -0
- package/dist/lib/core/transmitter/Transmitter.js +21 -0
- package/dist/lib/core/transmitter/TransmitterWebsocket.js +33 -0
- package/dist/lib/core/transmitter/TransmitterWrapper.js +34 -0
- package/dist/lib/core/typeCache/TypeCache.js +39 -0
- package/dist/lib/core/webSocketClient/WebSocketClient.js +131 -0
- package/dist/lib/declarations.d.ts +64 -0
- package/dist/lib/sdk/ConfigRuntimeFactory.js +145 -0
- package/dist/lib/sdk/InvocationContext.js +497 -0
- package/dist/lib/sdk/Javonet.js +89 -0
- package/dist/lib/sdk/RuntimeContext.js +275 -0
- package/dist/lib/sdk/RuntimeFactory.js +78 -0
- package/dist/lib/sdk/tools/JsonFileResolver.js +101 -0
- package/dist/lib/sdk/tools/SdkExceptionHelper.js +79 -0
- package/dist/lib/utils/Command.js +69 -0
- package/{lib → dist/lib}/utils/CommandType.js +11 -2
- package/dist/lib/utils/ConnectionType.js +8 -0
- package/{lib → dist/lib}/utils/ExceptionType.js +6 -3
- package/dist/lib/utils/RuntimeLogger.js +30 -0
- package/dist/lib/utils/RuntimeName.js +14 -0
- package/dist/lib/utils/RuntimeNameHandler.js +34 -0
- package/dist/lib/utils/StringEncodingMode.js +9 -0
- package/{lib → dist/lib}/utils/Type.js +5 -2
- package/dist/lib/utils/TypesConverter.js +91 -0
- package/{lib → dist/lib}/utils/connectionData/IConnectionData.js +4 -6
- package/dist/lib/utils/connectionData/InMemoryConnectionData.js +35 -0
- package/dist/lib/utils/connectionData/TcpConnectionData.js +77 -0
- package/dist/lib/utils/connectionData/WsConnectionData.js +50 -0
- package/{lib → dist/lib}/utils/exception/ExceptionSerializer.js +24 -31
- package/{Binaries/Nodejs → dist/lib}/utils/exception/ExceptionThrower.js +95 -89
- package/dist/lib/utils/guid/generateGuid.js +9 -0
- package/dist/lib/utils/uuid/REGEX.js +2 -0
- package/dist/lib/utils/uuid/rng.js +12 -0
- package/dist/lib/utils/uuid/stringify.js +51 -0
- package/dist/lib/utils/uuid/v4.js +27 -0
- package/dist/lib/utils/uuid/validate.js +6 -0
- package/lib/core/generator/handler/AbstractGeneratorHandler.js +0 -1
- package/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +20 -10
- package/lib/core/generator/handler/GeneratorHandler.js +22 -14
- package/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +19 -11
- package/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +18 -11
- package/lib/core/generator/handler/GetTypeGeneratorHandler.js +25 -12
- package/lib/core/generator/handler/Handlers.js +32 -25
- package/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +26 -11
- package/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +35 -0
- package/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +27 -12
- package/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +8 -4
- package/lib/core/generator/handler/shared/SharedClassInstanceHandler.js +4 -5
- package/lib/core/generator/handler/shared/SharedClassNameHandler.js +10 -12
- package/lib/core/generator/handler/shared/SharedMethodNameHandler.js +9 -12
- package/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +3 -4
- package/lib/core/generator/handler/shared/body/SharedBodyHandler.js +11 -7
- package/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +21 -16
- package/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +11 -9
- package/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +21 -17
- package/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +13 -12
- package/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +24 -18
- package/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +39 -0
- package/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +29 -21
- package/lib/core/generator/internal/CommonGenerator.js +23 -10
- package/lib/core/generator/internal/NodejsStringBuilder.js +5 -6
- package/lib/core/generator/internal/SharedHandlerType.js +2 -2
- package/lib/core/generator/utils/StringUtils.js +2 -2
- package/lib/core/handler/AbstractHandler.js +12 -12
- package/lib/core/handler/ArrayGetItemHandler.js +3 -4
- package/lib/core/handler/ArrayGetRankHandler.js +5 -7
- package/lib/core/handler/ArrayGetSizeHandler.js +3 -4
- package/lib/core/handler/ArrayHandler.js +2 -3
- package/lib/core/handler/ArraySetItemHandler.js +4 -5
- package/lib/core/handler/CastingHandler.js +3 -3
- package/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/lib/core/handler/CreateClassInstanceHandler.js +29 -31
- package/lib/core/handler/DestructReferenceHandler.js +3 -4
- package/lib/core/handler/EnableNamespaceHandler.js +8 -11
- package/lib/core/handler/EnableTypeHandler.js +8 -10
- package/lib/core/handler/GetGlobalStaticFieldHandler.js +28 -30
- package/lib/core/handler/GetInstanceFieldHandler.js +28 -28
- package/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/lib/core/handler/GetStaticFieldHandler.js +28 -28
- package/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/lib/core/handler/GetTypeHandler.js +22 -21
- package/lib/core/handler/Handler.js +22 -11
- package/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/lib/core/handler/InvokeGlobalMethodHandler.js +36 -40
- package/lib/core/handler/InvokeInstanceMethodHandler.js +31 -33
- package/lib/core/handler/InvokeStandaloneMethodHandler.js +56 -0
- package/lib/core/handler/InvokeStaticMethodHandler.js +31 -33
- package/lib/core/handler/LoadLibraryHandler.js +4 -3
- package/lib/core/handler/PassDelegateHandler.js +157 -0
- package/lib/core/handler/ResolveReferenceHandler.js +4 -5
- package/lib/core/handler/SetGlobalStaticFieldHandler.js +29 -35
- package/lib/core/handler/SetInstanceFieldHandler.js +28 -28
- package/lib/core/handler/SetStaticFieldHandler.js +26 -26
- package/lib/core/handler/ValueHandler.js +3 -5
- package/lib/core/namespaceCache/NamespaceCache.js +12 -12
- package/lib/core/receiver/Receiver.js +15 -9
- package/lib/core/receiver/ReceiverNative.js +3 -3
- package/lib/core/referenceCache/ReferencesCache.js +4 -4
- package/lib/core/transmitter/Transmitter.js +2 -3
- package/lib/core/transmitter/TransmitterWebsocket.js +33 -0
- package/lib/core/transmitter/TransmitterWrapper.js +13 -7
- package/lib/core/typeCache/TypeCache.js +12 -12
- package/lib/core/webSocketClient/WebSocketClient.js +105 -108
- package/lib/sdk/ConfigRuntimeFactory.js +57 -52
- package/lib/sdk/Javonet.js +28 -31
- package/lib/sdk/RuntimeContext.js +19 -274
- package/lib/sdk/RuntimeFactory.js +10 -10
- package/lib/sdk/tools/JsonFileResolver.js +55 -37
- package/lib/sdk/tools/SdkExceptionHelper.js +33 -31
- package/lib/utils/RuntimeLogger.js +12 -9
- package/lib/utils/TypesConverter.js +91 -0
- package/lib/utils/connectionData/TcpConnectionData.js +38 -30
- package/lib/utils/uuid/REGEX.js +2 -1
- package/lib/utils/uuid/rng.js +8 -8
- package/lib/utils/uuid/stringify.js +36 -36
- package/lib/utils/uuid/v4.js +17 -17
- package/lib/utils/uuid/validate.js +3 -3
- package/package.json +78 -46
- package/.editorconfig +0 -8
- package/.prettierrc +0 -12
- package/Binaries/Nodejs/core/generator/handler/CreateInstanceGeneratorHandler.js +0 -17
- package/Binaries/Nodejs/core/generator/handler/GeneratorHandler.js +0 -30
- package/Binaries/Nodejs/core/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -18
- package/Binaries/Nodejs/core/generator/handler/GetStaticFieldGeneratorHandler.js +0 -17
- package/Binaries/Nodejs/core/generator/handler/GetTypeGeneratorHandler.js +0 -26
- package/Binaries/Nodejs/core/generator/handler/Handlers.js +0 -51
- package/Binaries/Nodejs/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -18
- package/Binaries/Nodejs/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -20
- package/Binaries/Nodejs/core/generator/handler/shared/SharedArgumentNameHandler.js +0 -11
- package/Binaries/Nodejs/core/generator/handler/shared/SharedReturnTypeHandler.js +0 -10
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedBodyHandler.js +0 -14
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -24
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -19
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -27
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -20
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -27
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -31
- package/Binaries/Nodejs/core/generator/internal/CommonGenerator.js +0 -26
- package/Binaries/Nodejs/core/generator/internal/NodejsStringBuilder.js +0 -18
- package/Binaries/Nodejs/core/handler/CreateClassInstanceHandler.js +0 -38
- package/Binaries/Nodejs/core/handler/GetGlobalStaticFieldHandler.js +0 -39
- package/Binaries/Nodejs/core/handler/GetInstanceFieldHandler.js +0 -35
- package/Binaries/Nodejs/core/handler/GetStaticFieldHandler.js +0 -36
- package/Binaries/Nodejs/core/handler/InvokeGlobalMethodHandler.js +0 -47
- package/Binaries/Nodejs/core/handler/InvokeInstanceMethodHandler.js +0 -40
- package/Binaries/Nodejs/core/handler/InvokeStaticMethodHandler.js +0 -40
- package/Binaries/Nodejs/core/handler/ResolveReferenceHandler.js +0 -14
- package/Binaries/Nodejs/core/handler/SetGlobalStaticFieldHandler.js +0 -44
- package/Binaries/Nodejs/core/handler/SetInstanceFieldHandler.js +0 -35
- package/Binaries/Nodejs/core/handler/SetStaticFieldHandler.js +0 -33
- package/Binaries/Nodejs/core/interpreter/Interpreter.js +0 -69
- package/Binaries/Nodejs/core/receiver/Receiver.js +0 -26
- package/Binaries/Nodejs/core/transmitter/TransmitterWrapper.js +0 -28
- package/Binaries/Nodejs/core/webSocketClient/WebSocketClient.js +0 -134
- package/Binaries/Nodejs/utils/Command.js +0 -66
- package/Binaries/Nodejs/utils/ConnectionType.js +0 -5
- package/Binaries/Nodejs/utils/RuntimeLogger.js +0 -27
- package/Binaries/Nodejs/utils/RuntimeName.js +0 -11
- package/Binaries/Nodejs/utils/RuntimeNameHandler.js +0 -30
- package/Binaries/Nodejs/utils/StringEncodingMode.js +0 -6
- package/Binaries/Nodejs/utils/connectionData/InMemoryConnectionData.js +0 -28
- package/Binaries/Nodejs/utils/connectionData/TcpConnectionData.js +0 -69
- package/Binaries/Nodejs/utils/connectionData/WsConnectionData.js +0 -33
- package/Binaries/Nodejs/utils/uuid/REGEX.js +0 -1
- package/Binaries/Nodejs/utils/uuid/rng.js +0 -12
- package/Binaries/Nodejs/utils/uuid/stringify.js +0 -51
- package/Binaries/Nodejs/utils/uuid/v4.js +0 -27
- package/Binaries/Nodejs/utils/uuid/validate.js +0 -6
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Dist/CheckConflicts.pm +0 -361
- 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/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Dist/CheckConflicts/.packlist +0 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/config.pl +0 -99
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/include/ffi_platypus_bundle.h +0 -33
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/include/ffi_platypus_config.h +0 -40
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/bin/dlrun +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/probe.pl +0 -300
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/src/dlrun.c +0 -105
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.279/install.json +0 -1
- package/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/delegateCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceMethodAsDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetStaticMethodAsDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/InvokeDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/PassDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/RuntimeLogger.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/core/interpreter/Interpreter.js +0 -69
- package/lib/utils/Command.js +0 -66
- package/lib/utils/ConnectionType.js +0 -5
- package/lib/utils/RuntimeNameHandler.js +0 -30
- package/lib/utils/StringEncodingMode.js +0 -6
- package/lib/utils/connectionData/InMemoryConnectionData.js +0 -28
- package/lib/utils/connectionData/WsConnectionData.js +0 -33
- package/tsconfig.json +0 -14
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
const DelegatesCache = require('../core/delegatesCache/DelegatesCache')
|
|
2
|
+
const Interpreter = require('../core/interpreter/Interpreter')
|
|
3
|
+
const Command = require('../utils/Command')
|
|
4
|
+
const CommandType = require('../utils/CommandType')
|
|
5
|
+
const ConnectionType = require('../utils/ConnectionType')
|
|
6
|
+
const ExceptionThrower = require('../utils/exception/ExceptionThrower')
|
|
7
|
+
const RuntimeName = require('../utils/RuntimeName')
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* InvocationContext is a class that represents a context for invoking commands.
|
|
11
|
+
* It implements several interfaces for different types of interactions.
|
|
12
|
+
* This class is used to construct chains of invocations, representing expressions of interaction that have not yet been executed.
|
|
13
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/invocation-context)
|
|
14
|
+
* @class
|
|
15
|
+
*/
|
|
16
|
+
class InvocationContext {
|
|
17
|
+
#runtimeName
|
|
18
|
+
#connectionData
|
|
19
|
+
#currentCommand
|
|
20
|
+
#responseCommand
|
|
21
|
+
#interpreter
|
|
22
|
+
// eslint-disable-next-line no-unused-private-class-members
|
|
23
|
+
#isExecuted
|
|
24
|
+
#resultValue
|
|
25
|
+
|
|
26
|
+
constructor(runtimeName, connectionData, command, isExecuted = false) {
|
|
27
|
+
this.#runtimeName = runtimeName
|
|
28
|
+
this.#connectionData = connectionData
|
|
29
|
+
this.#currentCommand = command
|
|
30
|
+
this.#responseCommand = null
|
|
31
|
+
this.#isExecuted = isExecuted
|
|
32
|
+
this.#interpreter = null
|
|
33
|
+
this.#resultValue = null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
#createInstanceContext(localCommand) {
|
|
37
|
+
if (this.#connectionData.connectionType === ConnectionType.WEB_SOCKET) {
|
|
38
|
+
return new InvocationWsContext(
|
|
39
|
+
this.#runtimeName,
|
|
40
|
+
this.#connectionData,
|
|
41
|
+
this.#buildCommand(localCommand)
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
return new InvocationContext(
|
|
45
|
+
this.#runtimeName,
|
|
46
|
+
this.#connectionData,
|
|
47
|
+
this.#buildCommand(localCommand)
|
|
48
|
+
)
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
get_current_command() {
|
|
52
|
+
return this.#currentCommand
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
//destructor() {
|
|
56
|
+
// if (this.#currentCommand.commandType === CommandType.Reference) {
|
|
57
|
+
// this.#currentCommand = new Command(
|
|
58
|
+
// this.#runtimeName,
|
|
59
|
+
// CommandType.DestructReference,
|
|
60
|
+
// this.#currentCommand.payload
|
|
61
|
+
// );
|
|
62
|
+
// this.execute();
|
|
63
|
+
// }
|
|
64
|
+
//}
|
|
65
|
+
|
|
66
|
+
[Symbol.iterator] = function () {
|
|
67
|
+
if (this.#currentCommand.commandType !== CommandType.Reference) {
|
|
68
|
+
throw new Error('Object is not iterable')
|
|
69
|
+
}
|
|
70
|
+
let position = -1
|
|
71
|
+
let arraySize = this.getSize().execute().getValue()
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
next: () => ({
|
|
75
|
+
value: this.getIndex(++position),
|
|
76
|
+
done: position >= arraySize,
|
|
77
|
+
}),
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Executes the current command.
|
|
83
|
+
* Because invocation context is building the intent of executing particular expression on target environment, we call the initial state of invocation context as non-materialized.
|
|
84
|
+
* The non-materialized context wraps either single command or chain of recursively nested commands.
|
|
85
|
+
* Commands are becoming nested through each invocation of methods on Invocation Context.
|
|
86
|
+
* Each invocation triggers the creation of new Invocation Context instance wrapping the current command with new parent command valid for invoked method.
|
|
87
|
+
* Developer can decide on any moment of the materialization for the context taking full control of the chunks of the expression being transferred and processed on target runtime.
|
|
88
|
+
* @returns {InvocationContext} the InvocationContext after executing the command.
|
|
89
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
|
|
90
|
+
* @method
|
|
91
|
+
*/
|
|
92
|
+
execute() {
|
|
93
|
+
this.#interpreter = new Interpreter()
|
|
94
|
+
this.#responseCommand = this.#interpreter.execute(this.#currentCommand, this.#connectionData)
|
|
95
|
+
|
|
96
|
+
if (this.#responseCommand.commandType === CommandType.Exception) {
|
|
97
|
+
throw ExceptionThrower.throwException(this.#responseCommand)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (this.#responseCommand.commandType === CommandType.CreateClassInstance) {
|
|
101
|
+
this.#currentCommand = this.#responseCommand
|
|
102
|
+
this.#isExecuted = true
|
|
103
|
+
return this
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return new InvocationContext(this.#runtimeName, this.#connectionData, this.#responseCommand, true)
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Invokes a static method on the target runtime.
|
|
111
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
112
|
+
* @param {...any} args - Method arguments.
|
|
113
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to invoke the static method.
|
|
114
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/calling-methods/invoking-static-method)
|
|
115
|
+
* @method
|
|
116
|
+
*/
|
|
117
|
+
invokeStaticMethod(methodName, ...args) {
|
|
118
|
+
let localCommand = new Command(this.#runtimeName, CommandType.InvokeStaticMethod, [
|
|
119
|
+
methodName,
|
|
120
|
+
...args,
|
|
121
|
+
])
|
|
122
|
+
return this.#createInstanceContext(localCommand)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Invokes a standalone method on the target runtime.
|
|
127
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
128
|
+
* @param {...any} args - Method arguments.
|
|
129
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to invoke the static method.
|
|
130
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/calling-methods/invoking-static-method)
|
|
131
|
+
* @method
|
|
132
|
+
*/
|
|
133
|
+
invokeStandaloneMethod(methodName, ...args) {
|
|
134
|
+
let localCommand = new Command(this.#runtimeName, CommandType.InvokeStandaloneMethod, [
|
|
135
|
+
methodName,
|
|
136
|
+
...args,
|
|
137
|
+
])
|
|
138
|
+
return this.#createInstanceContext(localCommand)
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Retrieves the value of a static field from the target runtime.
|
|
143
|
+
* @param {string} fieldName - The name of the field to get.
|
|
144
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the static field.
|
|
145
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/fields-and-properties/getting-and-setting-values-for-static-fields-and-properties)
|
|
146
|
+
* @method
|
|
147
|
+
*/
|
|
148
|
+
getStaticField(fieldName) {
|
|
149
|
+
let localCommand = new Command(this.#runtimeName, CommandType.GetStaticField, [fieldName])
|
|
150
|
+
return this.#createInstanceContext(localCommand)
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Sets the value of a static field in the target runtime.
|
|
155
|
+
* @param {string} fieldName - The name of the field to set.
|
|
156
|
+
* @param {any} value - The new value of the field.
|
|
157
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to set the static field.
|
|
158
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/fields-and-properties/getting-and-setting-values-for-static-fields-and-properties)
|
|
159
|
+
* @method
|
|
160
|
+
*/
|
|
161
|
+
setStaticField(fieldName, value) {
|
|
162
|
+
let localCommand = new Command(this.#runtimeName, CommandType.SetStaticField, [fieldName, value])
|
|
163
|
+
return this.#createInstanceContext(localCommand)
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Creates a new instance of a class in the target runtime.
|
|
168
|
+
* @param {...any} args - The arguments to pass to the class constructor
|
|
169
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to create the instance.
|
|
170
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/calling-methods/creating-instance-and-calling-instance-methods)
|
|
171
|
+
* @method
|
|
172
|
+
*/
|
|
173
|
+
createInstance(...args) {
|
|
174
|
+
let localCommand = new Command(this.#runtimeName, CommandType.CreateClassInstance, args)
|
|
175
|
+
return this.#createInstanceContext(localCommand)
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Retrieves the value of an instance field from the target runtime.
|
|
180
|
+
* @param {string} fieldName - The name of the field to get.
|
|
181
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the instance field.
|
|
182
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/fields-and-properties/getting-and-setting-values-for-instance-fields-and-properties)
|
|
183
|
+
* @method
|
|
184
|
+
*/
|
|
185
|
+
getInstanceField(fieldName) {
|
|
186
|
+
let localCommand = new Command(this.#runtimeName, CommandType.GetInstanceField, [fieldName])
|
|
187
|
+
return this.#createInstanceContext(localCommand)
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Sets the value of an instance field in the target runtime.
|
|
192
|
+
* @param {string} fieldName - The name of the field to set.
|
|
193
|
+
* @param {any} value - The new value of the field.
|
|
194
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to set the instance field.
|
|
195
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/fields-and-properties/getting-and-setting-values-for-instance-fields-and-properties)
|
|
196
|
+
* @method
|
|
197
|
+
*/
|
|
198
|
+
setInstanceField(fieldName, value) {
|
|
199
|
+
let localCommand = new Command(this.#runtimeName, CommandType.SetInstanceField, [fieldName, value])
|
|
200
|
+
return this.#createInstanceContext(localCommand)
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Invokes an instance method on the target runtime.
|
|
205
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
206
|
+
* @param {...any} args - Method arguments.
|
|
207
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to invoke the instance method.
|
|
208
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/calling-methods/invoking-instance-method)
|
|
209
|
+
* @method
|
|
210
|
+
*/
|
|
211
|
+
invokeInstanceMethod(methodName, ...args) {
|
|
212
|
+
let localCommand = new Command(this.#runtimeName, CommandType.InvokeInstanceMethod, [
|
|
213
|
+
methodName,
|
|
214
|
+
...args,
|
|
215
|
+
])
|
|
216
|
+
return this.#createInstanceContext(localCommand)
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Retrieves the value at a specific index in an array from the target runtime.
|
|
221
|
+
* @param {...any} indexes - the arguments to pass to the array getter. The first argument should be the index.
|
|
222
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the index.
|
|
223
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/arrays-and-collections/one-dimensional-arrays)
|
|
224
|
+
* @method
|
|
225
|
+
*/
|
|
226
|
+
getIndex(...indexes) {
|
|
227
|
+
let localCommand = new Command(this.#runtimeName, CommandType.ArrayGetItem, indexes)
|
|
228
|
+
return this.#createInstanceContext(localCommand)
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Sets the value at a specific index in an array in the target runtime.
|
|
233
|
+
* @param {number[]} indexes - The index to set the value at.
|
|
234
|
+
* @param {any} value - The value to set at the index.
|
|
235
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to set the index.
|
|
236
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/arrays-and-collections/one-dimensional-arrays)
|
|
237
|
+
* @method
|
|
238
|
+
*/
|
|
239
|
+
setIndex(indexes, value) {
|
|
240
|
+
let localCommand = new Command(this.#runtimeName, CommandType.ArraySetItem, [indexes, value])
|
|
241
|
+
return this.#createInstanceContext(localCommand)
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Retrieves the size of an array from the target runtime.
|
|
246
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the size.
|
|
247
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/arrays-and-collections/one-dimensional-arrays)
|
|
248
|
+
* @method
|
|
249
|
+
*/
|
|
250
|
+
getSize() {
|
|
251
|
+
let localCommand = new Command(this.#runtimeName, CommandType.ArrayGetSize, [])
|
|
252
|
+
return this.#createInstanceContext(localCommand)
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Retrieves the rank of an array from the target runtime.
|
|
257
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the rank.
|
|
258
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/arrays-and-collections/one-dimensional-arrays)
|
|
259
|
+
* @method
|
|
260
|
+
*/
|
|
261
|
+
getRank() {
|
|
262
|
+
let localCommand = new Command(this.#runtimeName, CommandType.ArrayGetRank, [])
|
|
263
|
+
return this.#createInstanceContext(localCommand)
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Invokes a generic static method on the target runtime.
|
|
268
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
269
|
+
* @param {...any} args - Method arguments.
|
|
270
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to invoke the generic static method.
|
|
271
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/generics/calling-generic-static-method)
|
|
272
|
+
* @method
|
|
273
|
+
*/
|
|
274
|
+
invokeGenericStaticMethod(methodName, ...args) {
|
|
275
|
+
let localCommand = new Command(this.#runtimeName, CommandType.InvokeGenericStaticMethod, [
|
|
276
|
+
methodName,
|
|
277
|
+
...args,
|
|
278
|
+
])
|
|
279
|
+
return this.#createInstanceContext(localCommand)
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Invokes a generic method on the target runtime.
|
|
284
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
285
|
+
* @param {...any} args - Method arguments.
|
|
286
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to invoke the generic method.
|
|
287
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/generics/calling-generic-instance-method)
|
|
288
|
+
* @method
|
|
289
|
+
*/
|
|
290
|
+
invokeGenericMethod(methodName, ...args) {
|
|
291
|
+
let localCommand = new Command(this.#runtimeName, CommandType.InvokeGenericMethod, [
|
|
292
|
+
methodName,
|
|
293
|
+
...args,
|
|
294
|
+
])
|
|
295
|
+
return this.#createInstanceContext(localCommand)
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Retrieves the name of an enum from the target runtime.
|
|
300
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the enum name.
|
|
301
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/enums/using-enum-type)
|
|
302
|
+
* @method
|
|
303
|
+
*/
|
|
304
|
+
getEnumName() {
|
|
305
|
+
let localCommand = new Command(this.#runtimeName, CommandType.GetEnumName, [])
|
|
306
|
+
return this.#createInstanceContext(localCommand)
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Retrieves the value of an enum from the target runtime.
|
|
311
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the enum value.
|
|
312
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/enums/using-enum-type)
|
|
313
|
+
* @method
|
|
314
|
+
*/
|
|
315
|
+
getEnumValue() {
|
|
316
|
+
let localCommand = new Command(this.#runtimeName, CommandType.GetEnumValue, [])
|
|
317
|
+
return this.#createInstanceContext(localCommand)
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Retrieves the value of a reference from the target runtime.
|
|
322
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to get the ref value.
|
|
323
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/methods-arguments/passing-arguments-by-reference-with-ref-keyword)
|
|
324
|
+
* @method
|
|
325
|
+
*/
|
|
326
|
+
getRefValue() {
|
|
327
|
+
let localCommand = new Command(this.#runtimeName, CommandType.GetRefValue, [])
|
|
328
|
+
return this.#createInstanceContext(localCommand)
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Creates a null object of a specific type on the target runtime.
|
|
333
|
+
*
|
|
334
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
335
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/null-handling/create-null-object)
|
|
336
|
+
* @method
|
|
337
|
+
*/
|
|
338
|
+
createNull() {
|
|
339
|
+
let localCommand = new Command(this.#runtimeName, CommandType.CreateNull, [])
|
|
340
|
+
return this.#createInstanceContext(localCommand)
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Creates a null object of a specific type on the target runtime.
|
|
345
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
346
|
+
* @param {...any} args - Method arguments.
|
|
347
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
348
|
+
* TODO: connect documentation page url
|
|
349
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
350
|
+
* @method
|
|
351
|
+
*/
|
|
352
|
+
getStaticMethodAsDelegate(methodName, ...args) {
|
|
353
|
+
const localCommand = new Command(this.#runtimeName, CommandType.GetStaticMethodAsDelegate, [
|
|
354
|
+
methodName,
|
|
355
|
+
...args,
|
|
356
|
+
])
|
|
357
|
+
return this.#createInstanceContext(localCommand)
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Creates a null object of a specific type on the target runtime.
|
|
362
|
+
* @param {string} methodName - The name of the method to invoke.
|
|
363
|
+
* @param {...any} args - Method arguments.
|
|
364
|
+
* @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
|
|
365
|
+
* TODO: connect documentation page url
|
|
366
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/)
|
|
367
|
+
* @method
|
|
368
|
+
*/
|
|
369
|
+
getInstanceMethodAsDelegate(methodName, ...args) {
|
|
370
|
+
const localCommand = new Command(this.#runtimeName, CommandType.GetInstanceMethodAsDelegate, [
|
|
371
|
+
methodName,
|
|
372
|
+
...args,
|
|
373
|
+
])
|
|
374
|
+
return this.#createInstanceContext(localCommand)
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Retrieves an array from the target runtime.
|
|
379
|
+
* @returns {InvocationContext} A new InvocationContext instance that wraps the command to retrieve the array.
|
|
380
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/arrays-and-collections/retrieve-array)
|
|
381
|
+
* @method
|
|
382
|
+
*/
|
|
383
|
+
retrieveArray() {
|
|
384
|
+
let localCommand = new Command(this.#runtimeName, CommandType.RetrieveArray, [])
|
|
385
|
+
let localInvCtx = new InvocationContext(
|
|
386
|
+
this.#runtimeName,
|
|
387
|
+
this.#connectionData,
|
|
388
|
+
this.#buildCommand(localCommand)
|
|
389
|
+
)
|
|
390
|
+
localInvCtx.execute()
|
|
391
|
+
return localInvCtx.#responseCommand.payload
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Returns the primitive value from the target runtime. This could be any primitive type in JavaScript,
|
|
396
|
+
* such as int, boolean, byte, char, long, double, float, etc.
|
|
397
|
+
* @returns {Command} The value of the current command.
|
|
398
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
|
|
399
|
+
* @method
|
|
400
|
+
*/
|
|
401
|
+
|
|
402
|
+
getValue() {
|
|
403
|
+
this.#resultValue = this.#currentCommand.payload[0]
|
|
404
|
+
return this.#resultValue
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
#buildCommand = function (command) {
|
|
408
|
+
for (let i = 0; i < command.payload.length; i++) {
|
|
409
|
+
command.payload[i] = this.#encapsulatePayloadItem(command.payload[i])
|
|
410
|
+
}
|
|
411
|
+
return command.prependArgToPayload(this.#currentCommand)
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
#encapsulatePayloadItem = function (payloadItem) {
|
|
415
|
+
// eslint-disable-next-line valid-typeof
|
|
416
|
+
if (typeof payloadItem === 'Command' || payloadItem instanceof Command) {
|
|
417
|
+
for (let i = 0; i < payloadItem.payload.length; i++) {
|
|
418
|
+
payloadItem.payload[i] = this.#encapsulatePayloadItem(payloadItem.payload[i])
|
|
419
|
+
}
|
|
420
|
+
return payloadItem
|
|
421
|
+
// eslint-disable-next-line valid-typeof
|
|
422
|
+
} else if (typeof payloadItem === 'InvocationContext' || payloadItem instanceof InvocationContext) {
|
|
423
|
+
return payloadItem.get_current_command()
|
|
424
|
+
} else if (payloadItem instanceof Array) {
|
|
425
|
+
for (let i = 0; i < payloadItem.length; i++) {
|
|
426
|
+
payloadItem[i] = this.#encapsulatePayloadItem(payloadItem[i])
|
|
427
|
+
}
|
|
428
|
+
return new Command(this.runtimeName, CommandType.Array, payloadItem)
|
|
429
|
+
} else if (typeof payloadItem === 'function') {
|
|
430
|
+
let newArray = new Array(payloadItem.length + 1)
|
|
431
|
+
for (let i = 0; i < newArray.length; i++) {
|
|
432
|
+
newArray[i] = typeof Object
|
|
433
|
+
}
|
|
434
|
+
const args = [DelegatesCache.addDelegate(payloadItem), RuntimeName.Nodejs].push(...newArray);
|
|
435
|
+
return new Command(this.#runtimeName, CommandType.PassDelegate, args)
|
|
436
|
+
} else {
|
|
437
|
+
return new Command(this.runtimeName, CommandType.Value, [payloadItem])
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
class InvocationWsContext extends InvocationContext {
|
|
443
|
+
#runtimeName
|
|
444
|
+
#connectionData
|
|
445
|
+
#currentCommand
|
|
446
|
+
#responseCommand
|
|
447
|
+
#interpreter
|
|
448
|
+
// eslint-disable-next-line no-unused-private-class-members
|
|
449
|
+
#isExecuted
|
|
450
|
+
// eslint-disable-next-line no-unused-private-class-members
|
|
451
|
+
#resultValue
|
|
452
|
+
|
|
453
|
+
constructor(runtimeName, connectionData, command, isExecuted = false) {
|
|
454
|
+
super(runtimeName, connectionData, command, isExecuted)
|
|
455
|
+
|
|
456
|
+
this.#runtimeName = runtimeName
|
|
457
|
+
this.#connectionData = connectionData
|
|
458
|
+
this.#currentCommand = command
|
|
459
|
+
this.#responseCommand = null
|
|
460
|
+
this.#isExecuted = isExecuted
|
|
461
|
+
this.#interpreter = null
|
|
462
|
+
this.#resultValue = null
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Executes the current command.
|
|
467
|
+
* Because invocation context is building the intent of executing particular expression on target environment, we call the initial state of invocation context as non-materialized.
|
|
468
|
+
* The non-materialized context wraps either single command or chain of recursively nested commands.
|
|
469
|
+
* Commands are becoming nested through each invocation of methods on Invocation Context.
|
|
470
|
+
* Each invocation triggers the creation of new Invocation Context instance wrapping the current command with new parent command valid for invoked method.
|
|
471
|
+
* Developer can decide on any moment of the materialization for the context taking full control of the chunks of the expression being transferred and processed on target runtime.
|
|
472
|
+
* @returns {InvocationContext} the InvocationContext after executing the command.
|
|
473
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
|
|
474
|
+
* @method
|
|
475
|
+
*/
|
|
476
|
+
async execute() {
|
|
477
|
+
this.#interpreter = new Interpreter()
|
|
478
|
+
this.#responseCommand = await this.#interpreter.executeAsync(
|
|
479
|
+
this.#currentCommand,
|
|
480
|
+
this.#connectionData
|
|
481
|
+
)
|
|
482
|
+
|
|
483
|
+
if (this.#responseCommand.commandType === CommandType.Exception) {
|
|
484
|
+
throw ExceptionThrower.throwException(this.#responseCommand)
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
if (this.#responseCommand.commandType === CommandType.CreateClassInstance) {
|
|
488
|
+
this.#currentCommand = this.#responseCommand
|
|
489
|
+
this.#isExecuted = true
|
|
490
|
+
return this
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
return new InvocationWsContext(this.#runtimeName, this.#connectionData, this.#responseCommand, true)
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
module.exports = { InvocationContext, InvocationWsContext }
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
const { RuntimeFactory, InMemoryConnectionData, WsConnectionData } = require('../..')
|
|
2
|
+
|
|
3
|
+
const Transmitter = require('../core/transmitter/Transmitter')
|
|
4
|
+
const ConfigRuntimeFactory = require('./ConfigRuntimeFactory')
|
|
5
|
+
const RuntimeLogger = require('../utils/RuntimeLogger')
|
|
6
|
+
const TcpConnectionData = require('../utils/connectionData/TcpConnectionData')
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The Javonet class is a singleton class that serves as the entry point for interacting with Javonet.
|
|
10
|
+
* It provides methods to activate and initialize the Javonet SDK.
|
|
11
|
+
* It supports both in-memory and TCP connections.
|
|
12
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/javonet-static-class)
|
|
13
|
+
*/
|
|
14
|
+
class Javonet {
|
|
15
|
+
// Static block to initialize the Transmitter
|
|
16
|
+
static {
|
|
17
|
+
Transmitter.initialize()
|
|
18
|
+
//SDKExceptionHelper.sendExceptionToAppInsights("SdkMessage", "Javonet SDK initialized");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Initializes Javonet using an in-memory channel on the same machine.
|
|
23
|
+
* @returns {RuntimeFactory} A RuntimeFactory instance configured for an in-memory connection.
|
|
24
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/in-memory-channel)
|
|
25
|
+
*/
|
|
26
|
+
static inMemory() {
|
|
27
|
+
return new RuntimeFactory(new InMemoryConnectionData())
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Initializes Javonet with a TCP connection to a remote machine.
|
|
32
|
+
* @param {TcpConnectionData} tcpConnectionData - The tcp connection data of the remote machine.
|
|
33
|
+
* @returns {RuntimeFactory} A RuntimeFactory instance configured for a TCP connection.
|
|
34
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/tcp-channel)
|
|
35
|
+
*/
|
|
36
|
+
static tcp(tcpConnectionData) {
|
|
37
|
+
return new RuntimeFactory(tcpConnectionData)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Initializes Javonet with a WebSocket connection to a remote machine.
|
|
42
|
+
* @param {WsConnectionData} wsConnectionData - The WebSocket connection data of the remote machine.
|
|
43
|
+
* @returns {RuntimeFactory} A RuntimeFactory instance configured for a WebSocket connection.
|
|
44
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/websocket-channel)
|
|
45
|
+
*/
|
|
46
|
+
static ws(wsConnectionData) {
|
|
47
|
+
return new RuntimeFactory(wsConnectionData)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Initializes Javonet with a custom configuration file taken from external source.
|
|
52
|
+
* Currentyl supported: Configuration file in JSON format
|
|
53
|
+
* @param {string} configPath - Path to a configuration file.
|
|
54
|
+
* @returns {ConfigRuntimeFactory} A ConfigRuntimeFactory instance with configuration data.
|
|
55
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/configure-channel)
|
|
56
|
+
*/
|
|
57
|
+
static withConfig(configPath) {
|
|
58
|
+
return new ConfigRuntimeFactory(configPath)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Activates Javonet with the provided license key.
|
|
63
|
+
* @param {string} licenseKey - The license key to activate Javonet.
|
|
64
|
+
* @returns {number} The activation status code.
|
|
65
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/activating-javonet)
|
|
66
|
+
*/
|
|
67
|
+
static activate(licenseKey) {
|
|
68
|
+
return Transmitter.activate(licenseKey)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static getRuntimeInfo() {
|
|
72
|
+
return RuntimeLogger.getRuntimeInfo()
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Sets the configuration source for the Javonet SDK.
|
|
77
|
+
*
|
|
78
|
+
* @param {string} configSource - The configuration source.
|
|
79
|
+
*/
|
|
80
|
+
static setConfigSource(configSource) {
|
|
81
|
+
Transmitter.setConfigSource(configSource)
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
module.exports = {
|
|
86
|
+
Javonet,
|
|
87
|
+
TcpConnectionData,
|
|
88
|
+
WsConnectionData,
|
|
89
|
+
}
|