javonet-ruby-sdk 2.4.7 → 2.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/Javonet.Clr.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/JavonetClrRuntime.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Linux/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libruby.so.3.1.5 +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libruby.so.3.3.1 +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libruby.3.3.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNativeAuxiliary.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/x64-vcruntime140-ruby330.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/Handler.js +4 -3
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/protocol/CommandDeserializer.js +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/protocol/TypeDeserializer.js +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/protocol/TypeSerializer.js +11 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/utils/CommandType.js +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/utils/Type.js +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/Handler.js +4 -3
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/CommandDeserializer.js +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/TypeDeserializer.js +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/TypeSerializer.js +11 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/CommandType.js +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/Type.js +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/Handler.js +4 -3
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/CommandDeserializer.js +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/TypeDeserializer.js +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/TypeSerializer.js +11 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/CommandType.js +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/Type.js +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Config/MakeMaker.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Config.pm +3 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/Nice/Try.pm +242 -243
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Element.pm +10 -17
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Lexer.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Node.pm +35 -32
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Singletons.pm +3 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Compound.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Prototype.pm +6 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Tokenizer.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/Try/Tiny.pm +3 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Clone.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/File/Base.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/File/C.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/File/CXX.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/File/Library.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/File/Object.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/MM.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/Platform.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/Plugin.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build/PluginData.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/API.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Buffer.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Bundle.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Closure.pm +5 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Constant.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/DL.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Function.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Internal.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/ASM.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/C.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/Win32.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Legacy.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Memory.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/Meta.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/TieArray.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/ShareConfig.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/PointerSizeBuffer.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringArray.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringPointer.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/WideString.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version0.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version1.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version2.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Builder.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Result.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe.pm +5 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Temp.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util/XS.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm +14 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Sub/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Clone/Clone.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/config.pl +3 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/include/ffi_platypus_config.h +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +95 -95
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Exception/ExceptionThrower.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/AbstractHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetItemHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetRankHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetSizeHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ArraySetItemHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/CastingHandler.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/CreateClassInstanceHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/DestructReferenceHandler.pm +1 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/GetInstanceFieldHandler.pm +1 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/GetStaticFieldHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/GetTypeHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeInstanceMethodHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeStaticMethodHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/LoadLibraryHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +2 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/SetInstanceFieldHandler.pm +2 -6
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/SetStaticFieldHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ValueHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/PerlHandler.pm +9 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +15 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +82 -16
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +19 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +53 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +77 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Receiver/Receiver.pm +7 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +3 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +1 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/PerlCommand.pm +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +4 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +3 -6
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +3 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/Type.pm +7 -8
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/ConnectionType.pm +0 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm +82 -45
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +73 -35
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Config/MakeMaker.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Config.pm +3 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Nice/Try.pm +242 -243
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Element.pm +10 -17
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Lexer.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Node.pm +35 -32
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Singletons.pm +3 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Compound.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Include.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Prototype.pm +6 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Tokenizer.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Try/Tiny.pm +3 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Clone.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/Base.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/C.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/CXX.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/Library.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/Object.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/MM.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/Platform.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/Plugin.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/PluginData.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/API.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Buffer.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Bundle.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Closure.pm +5 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Constant.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/DL.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Function.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Internal.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang/ASM.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang/C.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang/Win32.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Legacy.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Memory.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Record/Meta.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Record/TieArray.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Record.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/ShareConfig.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/PointerSizeBuffer.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/StringArray.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/StringPointer.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/WideString.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser/Version0.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser/Version1.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser/Version2.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe/Runner/Builder.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe/Runner/Result.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe/Runner.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe.pm +5 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Temp.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Clone/Clone.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/FFI/Platypus/Platypus.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Package/Stash/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/config.pl +3 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/include/ffi_platypus_config.h +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +92 -92
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/ExceptionThrower.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/AbstractHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetItemHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetRankHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetSizeHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArraySetItemHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/CastingHandler.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/CreateClassInstanceHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/DestructReferenceHandler.pm +1 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/GetInstanceFieldHandler.pm +1 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/GetStaticFieldHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/GetTypeHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeInstanceMethodHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeStaticMethodHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/LoadLibraryHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +2 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/SetInstanceFieldHandler.pm +2 -6
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/SetStaticFieldHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ValueHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/PerlHandler.pm +9 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +15 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +82 -16
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +19 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +53 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +77 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Receiver/Receiver.pm +7 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +3 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +1 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/PerlCommand.pm +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +4 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +3 -6
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +3 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/Type.pm +7 -8
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/ConnectionType.pm +0 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm +82 -45
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +73 -35
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +18 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/Nice/Try.pm +242 -243
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Element.pm +10 -17
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Lexer.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Node.pm +35 -32
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Singletons.pm +3 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Compound.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Prototype.pm +6 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Unknown.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Tokenizer.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Exception/ExceptionThrower.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/AbstractHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetItemHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetRankHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetSizeHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ArraySetItemHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/CastingHandler.pm +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/CreateClassInstanceHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/DestructReferenceHandler.pm +1 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/GetInstanceFieldHandler.pm +1 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/GetStaticFieldHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/GetTypeHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeInstanceMethodHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeStaticMethodHandler.pm +1 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/LoadLibraryHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +2 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/SetInstanceFieldHandler.pm +2 -6
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/SetStaticFieldHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ValueHandler.pm +1 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/PerlHandler.pm +9 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +15 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +82 -16
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +19 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +53 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +77 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Receiver/Receiver.pm +7 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +3 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +1 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommand.pm +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +4 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +3 -6
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +3 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/Type.pm +7 -8
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/ConnectionType.pm +0 -5
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm +82 -45
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +73 -35
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/Handler.py +5 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/CommandDeserializer.py +8 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/CommandSerializer.py +2 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/TypeDeserializer.py +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/TypeSerializer.py +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/CommandType.py +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/exception/ExceptionThrower.py +18 -4
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/Handler.py +5 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandDeserializer.py +8 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py +2 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/TypeDeserializer.py +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/TypeSerializer.py +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/CommandType.py +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/exception/ExceptionThrower.py +18 -4
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/Handler.py +5 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandDeserializer.py +8 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py +2 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/TypeDeserializer.py +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/TypeSerializer.py +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/CommandType.py +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/ExceptionThrower.py +18 -4
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/handler.rb +5 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/command_deserializer.rb +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/command_serializer.rb +6 -4
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/type_deserializer.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/type_serializer.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/command_type.rb +3 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/type.rb +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/handler.rb +5 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/command_deserializer.rb +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/command_serializer.rb +6 -4
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/type_deserializer.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/type_serializer.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/command_type.rb +3 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/type.rb +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/handler.rb +5 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/command_deserializer.rb +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/command_serializer.rb +6 -4
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/type_deserializer.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/type_serializer.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/command_type.rb +3 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/type.rb +1 -0
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- data/lib/javonet-ruby-sdk/core/handler/handler.rb +5 -1
- data/lib/javonet-ruby-sdk/core/protocol/command_deserializer.rb +10 -0
- data/lib/javonet-ruby-sdk/core/protocol/command_serializer.rb +6 -4
- data/lib/javonet-ruby-sdk/core/protocol/type_deserializer.rb +4 -0
- data/lib/javonet-ruby-sdk/core/protocol/type_serializer.rb +4 -0
- data/lib/javonet-ruby-sdk/sdk/invocation_context.rb +8 -0
- data/lib/javonet-ruby-sdk/sdk/runtime_context.rb +6 -0
- data/lib/javonet-ruby-sdk/utils/command_type.rb +3 -0
- data/lib/javonet-ruby-sdk/utils/type.rb +1 -0
- metadata +8 -4
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby314RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby322RuntimeNative.dll +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
##----------------------------------------------------------------------------
|
2
2
|
## A real Try Catch Block Implementation Using Perl Filter - ~/lib/Nice/Try.pm
|
3
|
-
## Version v1.3.
|
3
|
+
## Version v1.3.11
|
4
4
|
## Copyright(c) 2024 DEGUEST Pte. Ltd.
|
5
5
|
## Author: Jacques Deguest <jack@deguest.jp>
|
6
6
|
## Created 2020/05/17
|
7
|
-
## Modified 2024/
|
7
|
+
## Modified 2024/08/11
|
8
8
|
## All rights reserved
|
9
9
|
##
|
10
10
|
## This program is free software; you can redistribute it and/or modify it
|
@@ -21,14 +21,12 @@ BEGIN
|
|
21
21
|
$CATCH $DIED $EXCEPTION $FINALLY $HAS_CATCH @RETVAL $SENTINEL $TRY $WANTARRAY
|
22
22
|
$VERSION $ERROR
|
23
23
|
);
|
24
|
-
# XXX Only for debugging
|
25
|
-
# use Devel::Confess;
|
26
24
|
use PPI 1.277;
|
27
25
|
use Filter::Util::Call;
|
28
26
|
use Scalar::Util ();
|
29
27
|
use List::Util ();
|
30
28
|
use Want ();
|
31
|
-
our $VERSION = 'v1.3.
|
29
|
+
our $VERSION = 'v1.3.11';
|
32
30
|
our $ERROR;
|
33
31
|
our( $CATCH, $DIED, $EXCEPTION, $FINALLY, $HAS_CATCH, @RETVAL, $SENTINEL, $TRY, $WANTARRAY );
|
34
32
|
}
|
@@ -119,7 +117,6 @@ sub filter
|
|
119
117
|
return( $line ) if( !$line );
|
120
118
|
unless( $status < 0 )
|
121
119
|
{
|
122
|
-
# $self->_message( 5, "Processing at line $line code:\n$code" );
|
123
120
|
# 2021-06-05 (Jacques): fixes the issue No. 3 <https://gitlab.com/jackdeguest/Nice-Try/issues/3>
|
124
121
|
# Make sure there is at least a space at the beginning
|
125
122
|
$code = ' ' . $code;
|
@@ -139,7 +136,6 @@ sub filter
|
|
139
136
|
# Rollback
|
140
137
|
else
|
141
138
|
{
|
142
|
-
# $self->_message( 5, "Nothing found, restoring code to '$code'" );
|
143
139
|
$_ = $code;
|
144
140
|
# $status = -1;
|
145
141
|
# filter_del();
|
@@ -147,7 +143,7 @@ sub filter
|
|
147
143
|
}
|
148
144
|
else
|
149
145
|
{
|
150
|
-
$self->_message( 4, "There does not seem to be any try block in this code, so skipping." );
|
146
|
+
$self->_message( 4, "There does not seem to be any try block in this code, so skipping." ) if( $self->{debug} >= 4 );
|
151
147
|
$_ = $code;
|
152
148
|
}
|
153
149
|
|
@@ -160,12 +156,11 @@ sub filter
|
|
160
156
|
{
|
161
157
|
while( $status = filter_read() )
|
162
158
|
{
|
163
|
-
$self->_message( 4, "Reading more line: $_" );
|
159
|
+
$self->_message( 4, "Reading more line: $_" ) if( $self->{debug} >= 4 );
|
164
160
|
return( $status ) if( $status < 0 );
|
165
161
|
$line++;
|
166
162
|
}
|
167
163
|
}
|
168
|
-
# $self->_message( 3, "Returning status '$line' with \$_ set to '$_'." );
|
169
164
|
if( $self->{debug_file} )
|
170
165
|
{
|
171
166
|
if( open( my $fh, ">$self->{debug_file}" ) )
|
@@ -175,7 +170,6 @@ sub filter
|
|
175
170
|
close( $fh );
|
176
171
|
}
|
177
172
|
}
|
178
|
-
# filter_del();
|
179
173
|
return( $line );
|
180
174
|
}
|
181
175
|
|
@@ -219,13 +213,13 @@ sub _browse
|
|
219
213
|
my $level = shift( @_ ) || 0;
|
220
214
|
if( $self->{debug} >= 4 )
|
221
215
|
{
|
222
|
-
$self->_message( 4, "Checking code: ", $self->_serialize( $elem ) );
|
223
|
-
$self->_messagef( 4, "PPI element of class %s has children property '%s'.", $elem->class, $elem->{children} );
|
216
|
+
$self->_message( 4, "Checking code: ", $self->_serialize( $elem ) ) if( $self->{debug} >= 4 );
|
217
|
+
$self->_messagef( 4, "PPI element of class %s has children property '%s'.", $elem->class, $elem->{children} ) if( $self->{debug} >= 4 );
|
224
218
|
}
|
225
219
|
return if( !$elem->children );
|
226
220
|
foreach my $e ( $elem->elements )
|
227
221
|
{
|
228
|
-
printf( STDERR "%sElement: [%d] class %s, value %s\n", ( '.' x $level ), $e->line_number, $e->class, $e->content );
|
222
|
+
printf( STDERR "%sElement: [%d] class %s, value %s\n", ( '.' x $level ), ( $e->line_number // 'undef' ), ( $e->class // 'undef' ), ( $e->content // 'undef' ) );
|
229
223
|
if( $e->can('children') && $e->children )
|
230
224
|
{
|
231
225
|
$self->_browse( $e, $level + 1 );
|
@@ -294,207 +288,258 @@ sub _parse
|
|
294
288
|
{
|
295
289
|
return( $self->_error( "Element provided to parse is not a PPI::Node object" ) );
|
296
290
|
}
|
297
|
-
|
298
|
-
my $
|
299
|
-
|
300
|
-
my( $top, $this ) = @_;
|
301
|
-
return( $this->class eq 'PPI::Statement' && substr( $this->content, 0, 3 ) eq 'try' );
|
302
|
-
});
|
303
|
-
return( $self->_error( "Failed to find any try-catch clause: $@" ) ) if( !defined( $ref ) );
|
304
|
-
$self->_messagef( 4, "Found %d match(es)", scalar( @$ref ) ) if( $ref && ref( $ref ) && $self->{debug} >= 4 );
|
305
|
-
return if( !$ref || !scalar( @$ref ) );
|
306
|
-
|
307
|
-
# 2020-09-13: PPI will return 2 or more consecutive try-catch block as 1 statement
|
308
|
-
# It does not tell them apart, so we need to post process the result to effectively search within for possible for other try-catch blocks and update the @$ref array consequently
|
309
|
-
# Array to contain the new version of the $ref array.
|
310
|
-
my $alt_ref = [];
|
311
|
-
$self->_message( 3, "Checking for consecutive try-catch blocks in results found by PPI" ) if( $self->{debug} >= 3 );
|
312
|
-
foreach my $this ( @$ref )
|
291
|
+
|
292
|
+
my $check_consecutive_blocks;
|
293
|
+
$check_consecutive_blocks = sub
|
313
294
|
{
|
314
|
-
my( @
|
315
|
-
|
316
|
-
my $
|
317
|
-
## to contain all the nodes to move
|
318
|
-
my $tmp_nodes = [];
|
319
|
-
my $prev_sib = $block_children[0];
|
320
|
-
push( @$tmp_nodes, $prev_sib );
|
321
|
-
my $sib;
|
322
|
-
while( $sib = $prev_sib->next_sibling )
|
295
|
+
my $top_elem = shift( @_ );
|
296
|
+
my $level = shift( @_ );
|
297
|
+
my $ref = $top_elem->find(sub
|
323
298
|
{
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
299
|
+
my( $top, $this ) = @_;
|
300
|
+
return( $this->class eq 'PPI::Statement' && substr( $this->content, 0, 3 ) eq 'try' ? 1 : 0 );
|
301
|
+
});
|
302
|
+
return( $self->_error( "Failed to find any try-catch clause: $@" ) ) if( !defined( $ref ) );
|
303
|
+
$self->_messagef( 4, "[blocks check level ${level}] Found %d match(es) for try statement", scalar( @$ref ) ) if( $ref && ref( $ref ) && $self->{debug} >= 4 );
|
304
|
+
return if( !$ref || !scalar( @$ref ) );
|
305
|
+
# We will store the additional blocks here, and we will dig deeper into them recursively.
|
306
|
+
my $has_additional_blocks = 0;
|
307
|
+
|
308
|
+
# NOTE: Checking for consecutive try-catch block statements
|
309
|
+
# 2020-09-13: PPI will return 2 or more consecutive try-catch block as 1 statement
|
310
|
+
# It does not tell them apart, so we need to post process the result to effectively search within for possible for other try-catch blocks and update the @$ref array consequently
|
311
|
+
# Array to contain the new version of the $ref array.
|
312
|
+
my $alt_ref = [];
|
313
|
+
$self->_message( 3, "[blocks check level ${level}] Checking for consecutive try-catch blocks in ", scalar( @$ref ), " results found by PPI" ) if( $self->{debug} >= 3 );
|
314
|
+
foreach my $this ( @$ref )
|
315
|
+
{
|
316
|
+
$self->_message( 3, "[blocks check level ${level}] Getting children from object '", overload::StrVal( $this ), "'" ) if( $self->{debug} >= 3 );
|
317
|
+
$self->_message( 3, "[blocks check level ${level}] Checking if following code has children" ) if( $self->{debug} >= 3 );
|
318
|
+
# my( @block_children ) = ( exists( $this->{children} ) && ref( $this->{children} // '' ) eq 'ARRAY' ) ? $this->children : ();
|
319
|
+
# Stringifying forces PPI to set the object children somehow
|
320
|
+
my $ct = "$this";
|
321
|
+
my( @block_children ) = $this->children;
|
322
|
+
next if( !scalar( @block_children ) );
|
323
|
+
my $tmp_ref = [];
|
324
|
+
## to contain all the nodes to move
|
325
|
+
my $tmp_nodes = [];
|
326
|
+
my $prev_sib = $block_children[0];
|
327
|
+
push( @$tmp_nodes, $prev_sib );
|
328
|
+
my $sib;
|
329
|
+
while( $sib = $prev_sib->next_sibling )
|
330
|
+
{
|
331
|
+
# We found a try-catch block. Move the buffer to $alt_ref
|
332
|
+
if( $sib->class eq 'PPI::Token::Word' && $sib->content eq 'try' )
|
330
333
|
{
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
334
|
+
# Look ahead for a block...
|
335
|
+
my $next = $sib->snext_sibling;
|
336
|
+
if( $next && $next->class eq 'PPI::Structure::Block' )
|
337
|
+
{
|
338
|
+
$has_additional_blocks++;
|
339
|
+
$self->_messagef( 3, "[blocks check level ${level}] Found consecutive try-block at line %d.", $sib->line_number ) if( $self->{debug} >= 3 );
|
340
|
+
# Push the previous statement $st to the stack $alt_ref
|
341
|
+
$self->_messagef( 3, "[blocks check level ${level}] Saving previous %d nodes collected.", scalar( @$tmp_nodes ) ) if( $self->{debug} >= 3 );
|
342
|
+
push( @$tmp_ref, $tmp_nodes );
|
343
|
+
$tmp_nodes = [];
|
344
|
+
}
|
336
345
|
}
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
foreach my $arr ( @$tmp_ref )
|
350
|
-
{
|
351
|
-
$self->_message( 3, "Adding statement block with ", scalar( @$arr ), " children after '$last_obj'" ) if( $self->{debug} >= 3 );
|
352
|
-
# 2021-06-05 (Jacques): Fixing issue No. 2: <https://gitlab.com/jackdeguest/Nice-Try/issues/2>
|
353
|
-
# Find the last block that belongs to us
|
354
|
-
$self->_message( 4, "Checking first level objects collected." ) if( $self->{debug} >= 4 );
|
355
|
-
my $last_control = '';
|
356
|
-
my $last_block;
|
357
|
-
my $last = {};
|
358
|
-
foreach my $o ( @$arr )
|
346
|
+
push( @$tmp_nodes, $sib );
|
347
|
+
$prev_sib = $sib;
|
348
|
+
}
|
349
|
+
$self->_messagef( 3, "[blocks check level ${level}] Saving last %d nodes collected.", scalar( @$tmp_nodes ) ) if( $self->{debug} >= 3 );
|
350
|
+
push( @$tmp_ref, $tmp_nodes );
|
351
|
+
$self->_messagef( 3, "[blocks check level ${level}] Found %d try-catch block(s) in initial PPI result.", scalar( @$tmp_ref ) ) if( $self->{debug} >= 3 );
|
352
|
+
# If we did find consecutive try-catch blocks, we add each of them after the nominal one and remove the nominal one after. The nominal one should be empty by then
|
353
|
+
if( scalar( @$tmp_ref ) > 1 )
|
354
|
+
{
|
355
|
+
my $last_obj = $this;
|
356
|
+
my $spaces = [];
|
357
|
+
foreach my $arr ( @$tmp_ref )
|
359
358
|
{
|
360
|
-
|
361
|
-
|
359
|
+
$self->_message( 3, "[blocks check level ${level}] Adding statement block with ", scalar( @$arr ), " children after one at line ", $last_obj->line_number, ": '", substr( $last_obj, 0, 255 ), "'" ) if( $self->{debug} >= 3 );
|
360
|
+
# 2021-06-05 (Jacques): Fixing issue No. 2: <https://gitlab.com/jackdeguest/Nice-Try/issues/2>
|
361
|
+
# Find the last block that belongs to us
|
362
|
+
$self->_message( 4, "[blocks check level ${level}] Checking first level objects collected." ) if( $self->{debug} >= 4 );
|
363
|
+
my $last_control = '';
|
364
|
+
my $last_block;
|
365
|
+
my $last = {};
|
366
|
+
foreach my $o ( @$arr )
|
367
|
+
{
|
368
|
+
if( $o->class eq 'PPI::Structure::Block' && $last_control )
|
369
|
+
{
|
370
|
+
$last->{block} = $o;
|
371
|
+
$last->{control} = $last_control;
|
372
|
+
$last_control = '';
|
373
|
+
}
|
374
|
+
elsif( $o->class eq 'PPI::Token::Word' )
|
375
|
+
{
|
376
|
+
my $ct = $o->content;
|
377
|
+
if( $ct eq 'try' || $ct eq 'catch' || $ct eq 'finally' )
|
378
|
+
{
|
379
|
+
$last_control = $o;
|
380
|
+
}
|
381
|
+
}
|
382
|
+
}
|
383
|
+
|
384
|
+
# Get the trailing insignificant elements at the end of the statement and move them out of the statement
|
385
|
+
my $insignificants = [];
|
386
|
+
while( scalar( @$arr ) > 0 )
|
362
387
|
{
|
363
|
-
$
|
364
|
-
|
365
|
-
|
388
|
+
my $o = $arr->[-1];
|
389
|
+
# 2021-06-05 (Jacques): We don't just look for the last block, because
|
390
|
+
# that was making a bad assumption that the last trailing block would be our
|
391
|
+
# try-catch block.
|
392
|
+
# Following issue No. 2 reported with a trailing anonymous subroutine,
|
393
|
+
# We remove everything up until our known last block that belongs to us.
|
394
|
+
last if( $o->class eq 'PPI::Structure::Block' && Scalar::Util::refaddr( $o ) eq Scalar::Util::refaddr( $last->{block} ) );
|
395
|
+
unshift( @$insignificants, pop( @$arr )->remove );
|
366
396
|
}
|
367
|
-
|
397
|
+
$self->_messagef( 3, "[blocks check level ${level}] %d insignificant objects found.", scalar( @$insignificants ) ) if( $self->{debug} >= 3 );
|
398
|
+
|
399
|
+
my $new_code = join( '', map( "$_", @$arr ) );
|
400
|
+
$self->_message( 3, "[blocks check level ${level}] Parsing new code to extract statement:\n${new_code}" ) if( $self->{debug} >= 3 );
|
401
|
+
# 2021-06-05 (Jacques): It is unfortunately difficult to simply add a new PPI::Statement object
|
402
|
+
# Instead, we have PPI parse our new code and we grab what we need.
|
403
|
+
my $new_block = PPI::Document->new( \$new_code, readonly => 1 );
|
404
|
+
# my $st = $new_block->{children}->[0]->remove;
|
405
|
+
my $st;
|
406
|
+
for( my $i = 0; $i < scalar( @{$new_block->{children}} ); $i++ )
|
368
407
|
{
|
369
|
-
|
370
|
-
|
408
|
+
if( Scalar::Util::blessed( $new_block->{children}->[$i] ) &&
|
409
|
+
$new_block->{children}->[$i]->isa( 'PPI::Statement' ) )
|
371
410
|
{
|
372
|
-
$
|
411
|
+
$st = $new_block->{children}->[$i]->remove;
|
412
|
+
last;
|
373
413
|
}
|
374
414
|
}
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
# $
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
# $self->_browse( $new_block );
|
401
|
-
my $st = $new_block->{children}->[0]->remove;
|
402
|
-
# $self->_message( 4, "Statemnt now contains: '$st'" );
|
403
|
-
|
404
|
-
# $self->_messagef( 3, "Adding the updated statement objects with %d children.", scalar( @$arr ) );
|
405
|
-
foreach my $o ( @$arr )
|
406
|
-
{
|
407
|
-
# We remove the object from its parent, now that it has become useless
|
408
|
-
my $old = $o->remove || die( "Unable to remove element '$o'\n" );
|
409
|
-
}
|
410
|
-
my $err = '';
|
411
|
-
$self->_messagef( 3, "Adding the statement object after last object '%s' of class '%s' with parent with class '%s'.", Scalar::Util::refaddr( $last_obj ), ( defined( $last_obj ) ? $last_obj->class : 'undefined class' ), ( defined( $last_obj ) ? $last_obj->parent->class : 'undefined parent class' ) ) if( $self->{debug} >= 3 );
|
412
|
-
$self->_message( 4, "In other word, adding:\n'$st'\nAFTER:\n'$last_obj'" ) if( $self->{debug} >= 4 );
|
413
|
-
# my $rc = $last_obj->insert_after( $st );
|
414
|
-
my $rc;
|
415
|
-
if( $last_obj->class eq 'PPI::Token::Whitespace' )
|
416
|
-
{
|
417
|
-
$rc = $last_obj->__insert_after( $st );
|
418
|
-
}
|
419
|
-
else
|
420
|
-
{
|
421
|
-
$rc = $last_obj->insert_after( $st );
|
422
|
-
}
|
423
|
-
|
424
|
-
if( !defined( $rc ) )
|
425
|
-
{
|
426
|
-
$err = sprintf( 'Object to be added after last try-block statement must be a PPI::Element. Class provided is \"%s\".', $st->class );
|
427
|
-
}
|
428
|
-
elsif( !$rc )
|
429
|
-
{
|
430
|
-
$err = sprintf( "Object of class \"%s\" could not be added after object '%s' of class '%s' with parent '%s' with class '%s': '$last_obj'.", $st->class, Scalar::Util::refaddr( $last_obj ), $last_obj->class, Scalar::Util::refaddr( $last_obj->parent ), $last_obj->parent->class );
|
431
|
-
}
|
432
|
-
else
|
433
|
-
{
|
434
|
-
$last_obj = $st;
|
435
|
-
if( scalar( @$insignificants ) )
|
415
|
+
|
416
|
+
foreach my $o ( @$arr )
|
417
|
+
{
|
418
|
+
# We remove the object from its parent, now that it has become useless
|
419
|
+
my $old = $o->remove || die( "Unable to remove element '$o'\n" );
|
420
|
+
}
|
421
|
+
my $err = '';
|
422
|
+
$self->_messagef( 3, "[blocks check level ${level}] Adding the statement object after last object '%s' of class '%s' with parent with class '%s'.", Scalar::Util::refaddr( $last_obj ), ( defined( $last_obj ) ? $last_obj->class : 'undefined class' ), ( defined( $last_obj ) ? $last_obj->parent->class : 'undefined parent class' ) ) if( $self->{debug} >= 3 );
|
423
|
+
# my $rc = $last_obj->insert_after( $st );
|
424
|
+
my $rc;
|
425
|
+
if( $last_obj->class eq 'PPI::Token::Whitespace' )
|
426
|
+
{
|
427
|
+
$rc = $last_obj->__insert_after( $st );
|
428
|
+
}
|
429
|
+
elsif( $last_obj->class eq 'PPI::Token::Comment' )
|
430
|
+
{
|
431
|
+
# $rc = $last_obj->parent->__insert_after_child( $last_obj, $st );
|
432
|
+
$rc = $last_obj->__insert_after( $st );
|
433
|
+
}
|
434
|
+
else
|
435
|
+
{
|
436
|
+
$rc = $last_obj->insert_after( $st );
|
437
|
+
}
|
438
|
+
|
439
|
+
if( !defined( $rc ) )
|
436
440
|
{
|
437
|
-
$
|
438
|
-
|
441
|
+
$err = sprintf( 'Object to be added after last try-block statement must be a PPI::Element. Class provided is \"%s\".', $st->class );
|
442
|
+
}
|
443
|
+
elsif( !$rc )
|
444
|
+
{
|
445
|
+
my $requires;
|
446
|
+
if( $last_obj->isa( 'PPI::Structure' ) ||
|
447
|
+
$last_obj->isa( 'PPI::Token' ) )
|
448
|
+
{
|
449
|
+
$requires = 'PPI::Structure or PPI::Token';
|
450
|
+
}
|
451
|
+
elsif( $last_obj->isa( 'PPI::Statement' ) )
|
439
452
|
{
|
440
|
-
$
|
441
|
-
|
442
|
-
|
453
|
+
$requires = 'PPI::Statement or PPI::Token';
|
454
|
+
}
|
455
|
+
$err = sprintf( "Object of class \"%s\" could not be added after object with address '%s' and of class '%s' with parent '%s' with class '%s': '$last_obj'. The object of class '%s' must be a ${requires} object.", $st->class, Scalar::Util::refaddr( $last_obj ), $last_obj->class, Scalar::Util::refaddr( $last_obj->parent ), $last_obj->parent->class, $st->class );
|
456
|
+
}
|
457
|
+
else
|
458
|
+
{
|
459
|
+
$last_obj = $st;
|
460
|
+
if( scalar( @$insignificants ) )
|
461
|
+
{
|
462
|
+
$self->_messagef( 4, "[blocks check level ${level}] Adding %d trailing insignificant objects after last element of class '%s'", scalar( @$insignificants ), $last_obj->class ) if( $self->{debug} >= 4 );
|
463
|
+
foreach my $o ( @$insignificants )
|
443
464
|
{
|
444
|
-
$
|
445
|
-
|
465
|
+
$self->_messagef( 4, "[blocks check level ${level}] Adding trailing insignificant object of class '%s' after last element of class '%s'", $o->class, $last_obj->class ) if( $self->{debug} >= 4 );
|
466
|
+
# printf( STDERR "Inserting object '%s' (%s) of type '%s' after object '%s' (%s) of type %s who has parent '%s' of type '%s'\n", overload::StrVal( $o ), Scalar::Util::refaddr( $o ), ref( $o ), overload::StrVal( $last_obj), Scalar::Util::refaddr( $last_obj ), ref( $last_obj ), overload::StrVal( $last_obj->parent ), ref( $last_obj->parent ) );
|
467
|
+
CORE::eval
|
446
468
|
{
|
447
|
-
|
469
|
+
$rc = $last_obj->insert_after( $o ) ||
|
470
|
+
do
|
471
|
+
{
|
472
|
+
warn( "Failed to insert object of class '", $o->class, "' before last object of class '", $st->class, "'\n" ) if( $self->{debug} );
|
473
|
+
};
|
448
474
|
};
|
449
|
-
|
450
|
-
if( $@ )
|
451
|
-
{
|
452
|
-
if( ref( $o ) )
|
475
|
+
if( $@ )
|
453
476
|
{
|
454
|
-
|
477
|
+
if( ref( $o ) )
|
478
|
+
{
|
479
|
+
warn( "Failed to insert object of class '", $o->class, "' before last object of class '", $st->class, "': $@\n" ) if( $self->{debug} );
|
480
|
+
}
|
481
|
+
else
|
482
|
+
{
|
483
|
+
warn( "Was expecting an object to insert before last object of class '", $st->class, "', but instead got '$o': $@\n" ) if( $self->{debug} );
|
484
|
+
}
|
455
485
|
}
|
456
|
-
|
486
|
+
elsif( !defined( $rc ) )
|
457
487
|
{
|
458
|
-
warn(
|
488
|
+
warn( sprintf( 'Object to be added after last try-block statement must be a PPI::Element. Class provided is \"%s\".', $o->class ) ) if( $self->{debug} );
|
459
489
|
}
|
490
|
+
elsif( !$rc )
|
491
|
+
{
|
492
|
+
warn( sprintf( "Object of class \"%s\" could not be added after object of class '%s': '$last_obj'.", $o->class, $last_obj->class ) ) if( $self->{debug} );
|
493
|
+
}
|
494
|
+
# printf( STDERR "Object inserted '%s' (%s) of class '%s' now has parent '%s' (%s) of class '%s'\n", overload::StrVal( $o ), Scalar::Util::refaddr( $o ), ref( $o ), overload::StrVal( $o->parent ), Scalar::Util::refaddr( $o->parent ), ref( $o->parent ) );
|
495
|
+
$o->parent( $last_obj->parent ) if( !$o->parent );
|
496
|
+
$last_obj = $o;
|
460
497
|
}
|
461
|
-
elsif( !defined( $rc ) )
|
462
|
-
{
|
463
|
-
warn( sprintf( 'Object to be added after last try-block statement must be a PPI::Element. Class provided is \"%s\".', $o->class ) ) if( $self->{debug} );
|
464
|
-
}
|
465
|
-
elsif( !$rc )
|
466
|
-
{
|
467
|
-
warn( sprintf( "Object of class \"%s\" could not be added after object of class '%s': '$last_obj'.", $o->class, $last_obj->class ) ) if( $self->{debug} );
|
468
|
-
}
|
469
|
-
## printf( STDERR "Object inserted '%s' (%s) of class '%s' now has parent '%s' (%s) of class '%s'\n", overload::StrVal( $o ), Scalar::Util::refaddr( $o ), ref( $o ), overload::StrVal( $o->parent ), Scalar::Util::refaddr( $o->parent ), ref( $o->parent ) );
|
470
|
-
$o->parent( $last_obj->parent ) if( !$o->parent );
|
471
|
-
$last_obj = $o;
|
472
498
|
}
|
473
499
|
}
|
500
|
+
die( $err ) if( length( $err ) );
|
501
|
+
push( @$alt_ref, $st );
|
474
502
|
}
|
475
|
-
|
476
|
-
|
503
|
+
my $parent = $this->parent;
|
504
|
+
# Completely destroy it; it is now replaced by our updated code
|
505
|
+
$this->delete;
|
506
|
+
}
|
507
|
+
else
|
508
|
+
{
|
509
|
+
push( @$alt_ref, $this );
|
477
510
|
}
|
478
|
-
|
479
|
-
|
480
|
-
|
511
|
+
}
|
512
|
+
$self->_messagef( 3, "[blocks check level ${level}] Results found increased from %d to %d results.", scalar( @$ref ), scalar( @$alt_ref ) ) if( $self->{debug} >= 3 );
|
513
|
+
|
514
|
+
if( $has_additional_blocks )
|
515
|
+
{
|
516
|
+
$self->_message( 3, "[blocks check level ${level}] Consecutive block search now found ", scalar( @$alt_ref ), " try blocks." ) if( $self->{debug} >= 3 );
|
517
|
+
my $more = [];
|
518
|
+
foreach my $el ( @$alt_ref )
|
519
|
+
{
|
520
|
+
push( @$more, $el );
|
521
|
+
my $rv = $check_consecutive_blocks->( $el, ( $level + 1 ) );
|
522
|
+
if( ref( $rv ) && scalar( @$rv ) )
|
523
|
+
{
|
524
|
+
push( @$more, @$rv );
|
525
|
+
}
|
526
|
+
}
|
527
|
+
return( $more );
|
481
528
|
}
|
482
529
|
else
|
483
530
|
{
|
484
|
-
|
531
|
+
return( $ref );
|
485
532
|
}
|
486
|
-
}
|
487
|
-
$
|
488
|
-
|
489
|
-
|
490
|
-
# $self->_message( 3, "Script code is now:\n'$elem'" );
|
533
|
+
};
|
534
|
+
my $ref = $check_consecutive_blocks->( $elem => 0 );
|
535
|
+
return if( !$ref || !scalar( @$ref ) );
|
491
536
|
|
537
|
+
$self->_messagef( 3, "Implementing try-catch for %d try-catch blocks.", scalar( @$ref ) ) if( $self->{debug} >= 3 );
|
538
|
+
# NOTE: processing implementation of our try-catch
|
492
539
|
foreach my $this ( @$ref )
|
493
540
|
{
|
494
541
|
$self->_browse( $this ) if( $self->{debug} >= 5 );
|
495
|
-
# $self->_message( 4, "\$this is of class '", $this->class, "' and its parent of class '", $this->parent->class, "'." );
|
496
542
|
my $element_before_try = $this->previous_sibling;
|
497
|
-
# $self->_message( 4, "Is \$element_before_try defined ? ", defined( $element_before_try ) ? 'Yes' : 'No', "(", overload::StrVal( $element_before_try ), ") -> '$element_before_try'" );
|
498
543
|
my $try_block_ref = [];
|
499
544
|
# Contains the finally block reference
|
500
545
|
my $fin_block_ref = [];
|
@@ -507,7 +552,6 @@ sub _parse
|
|
507
552
|
# There is a weird bug in PPI that I have searched but could not find
|
508
553
|
# If I don't attempt to stringify, I may end up with a PPI::Statement object that has no children as an array reference
|
509
554
|
my $ct = "$this";
|
510
|
-
# $self->_message( 3, "Checking sibling elements for '$ct'" );
|
511
555
|
my( @block_children ) = $this->children;
|
512
556
|
next if( !scalar( @block_children ) );
|
513
557
|
my $prev_sib = $block_children[0];
|
@@ -521,10 +565,8 @@ sub _parse
|
|
521
565
|
my $sib;
|
522
566
|
while( $sib = $prev_sib->next_sibling )
|
523
567
|
{
|
524
|
-
# $self->_messagef( 3, "Try sibling at line %d with class '%s': '%s'", $sib->line_number, $sib->class, $sib->content );
|
525
568
|
if( !scalar( @$try_block_ref ) )
|
526
569
|
{
|
527
|
-
# $self->_message( 3, "\tWorking on the initial try block." );
|
528
570
|
if( $sib->class eq 'PPI::Structure::Block' &&
|
529
571
|
substr( "$sib", 0, 1 ) eq "\{" &&
|
530
572
|
substr( "$sib", -1, 1 ) eq "\}" )
|
@@ -541,11 +583,10 @@ sub _parse
|
|
541
583
|
}
|
542
584
|
elsif( $sib->class eq 'PPI::Token::Whitespace' && $sib->content =~ /[\015\012]+/ )
|
543
585
|
{
|
544
|
-
## $self->_messagef( 4, "\tTry -> Found open new line at line %d", $sib->line_number );
|
545
586
|
$temp->{open_curly_nl}++;
|
546
587
|
push( @$buff, $sib );
|
547
588
|
}
|
548
|
-
|
589
|
+
# We skip anything else until we find that try block
|
549
590
|
else
|
550
591
|
{
|
551
592
|
push( @$buff, $sib );
|
@@ -565,7 +606,6 @@ sub _parse
|
|
565
606
|
}
|
566
607
|
elsif( $inside_catch )
|
567
608
|
{
|
568
|
-
# $self->_message( 3, "\tWorking on a catch block." );
|
569
609
|
# This is the catch list as in catch( $e ) or catch( Exception $e )
|
570
610
|
if( $sib->class eq 'PPI::Structure::List' )
|
571
611
|
{
|
@@ -591,7 +631,6 @@ sub _parse
|
|
591
631
|
}
|
592
632
|
elsif( $sib->class eq 'PPI::Token::Whitespace' && $sib->content =~ /[\015\012]+/ )
|
593
633
|
{
|
594
|
-
# $self->_messagef( 4, "\tCatch -> Found open new line at line %d", $sib->line_number );
|
595
634
|
$temp->{open_curly_nl}++;
|
596
635
|
push( @$nodes_to_replace, $sib );
|
597
636
|
}
|
@@ -612,8 +651,7 @@ sub _parse
|
|
612
651
|
}
|
613
652
|
elsif( $inside_finally )
|
614
653
|
{
|
615
|
-
|
616
|
-
## We could ignore it, but it is best to let the developer know in case he/she counts on it somehow
|
654
|
+
# We could ignore it, but it is best to let the developer know in case he/she counts on it somehow
|
617
655
|
if( $sib->class eq 'PPI::Structure::List' )
|
618
656
|
{
|
619
657
|
die( sprintf( "the finally block does not accept any list parameters at line %d\n", $sib->line_number ) );
|
@@ -641,7 +679,6 @@ sub _parse
|
|
641
679
|
}
|
642
680
|
elsif( $sib->class eq 'PPI::Token::Whitespace' && $sib->content =~ /[\015\012]+/ )
|
643
681
|
{
|
644
|
-
## $self->_messagef( 4, "\tFinally -> Found open new line at line %d", $sib->line_number );
|
645
682
|
$temp->{open_curly_nl}++;
|
646
683
|
push( @$nodes_to_replace, $sib );
|
647
684
|
}
|
@@ -659,7 +696,6 @@ sub _parse
|
|
659
696
|
# This could also be new lines following the last catch block
|
660
697
|
elsif( $sib->class eq 'PPI::Token::Whitespace' && $sib->content =~ /[\015\012]+/ )
|
661
698
|
{
|
662
|
-
# $self->_messagef( 4, "Between -> Found closing new line at line %d", $sib->line_number );
|
663
699
|
$nl_counter++;
|
664
700
|
push( @$buff, $sib );
|
665
701
|
}
|
@@ -710,19 +746,9 @@ EOT
|
|
710
746
|
# Found any try block at all?
|
711
747
|
if( scalar( @$try_block_ref ) )
|
712
748
|
{
|
713
|
-
# $self->_message( 3, "Original code to remove is:\n", join( '', @$nodes_to_replace ) );
|
714
|
-
# $self->_message( 3, "Try definition: ", $try_block_ref->[0]->{block}->content );
|
715
|
-
# $self->_messagef( 3, "%d catch clauses found", scalar( @$catch_def ) );
|
716
|
-
foreach my $c ( @$catch_def )
|
717
|
-
{
|
718
|
-
# $self->_message( 3, "Catch variable assignment: ", $c->{var} );
|
719
|
-
# $self->_message( 3, "Catch block: ", $c->{block} );
|
720
|
-
}
|
721
749
|
my $try_def = $try_block_ref->[0];
|
722
|
-
# $self->_messagef( 3, "Try new lines before block: %d, after block %d", $try_def->{open_curly_nl}, $try_def->{close_curly_nl} );
|
723
750
|
|
724
751
|
# Checking for embedded try-catch
|
725
|
-
# $self->_message( 4, "Checking for embedded try-catch in ", $try_def->{block} );
|
726
752
|
if( my $emb = $self->_parse( $try_def->{block} ) )
|
727
753
|
{
|
728
754
|
$try_def->{block} = $emb;
|
@@ -733,7 +759,7 @@ EOT
|
|
733
759
|
$self->_process_sub_token( $try_def->{block} );
|
734
760
|
$self->_process_caller( try => $try_def->{block} );
|
735
761
|
|
736
|
-
|
762
|
+
# my $try_block = $try_def->{block}->content;
|
737
763
|
my $try_block = $self->_serialize( $try_def->{block} );
|
738
764
|
$try_block =~ s/^\{[[:blank:]]*|[[:blank:]]*\}$//gs;
|
739
765
|
|
@@ -903,7 +929,6 @@ EOT
|
|
903
929
|
}
|
904
930
|
else
|
905
931
|
{
|
906
|
-
# $self->_message( 3, "** No try block found!!" );
|
907
932
|
next;
|
908
933
|
}
|
909
934
|
|
@@ -924,14 +949,12 @@ EOT
|
|
924
949
|
push( @$catch_repl, $if_start );
|
925
950
|
if( scalar( @$catch_def ) )
|
926
951
|
{
|
927
|
-
# $self->_messagef( 3, "Found %d catch blocks", scalar( @$catch_def ) );
|
928
952
|
my $total_catch = scalar( @$catch_def );
|
929
953
|
# To count how many times we have else's – obviously we should not have more than 1
|
930
954
|
my $else = 0;
|
931
955
|
for( my $i = 0; $i < $total_catch; $i++ )
|
932
956
|
{
|
933
957
|
my $cdef = $catch_def->[$i];
|
934
|
-
# $self->_messagef( 3, "Catch No ${i} new lines before block: %d, after block %d", $cdef->{open_curly_nl}, $cdef->{close_curly_nl} );
|
935
958
|
# Checking for embedded try-catch
|
936
959
|
if( my $emb = $self->_parse( $cdef->{block} ) )
|
937
960
|
{
|
@@ -944,7 +967,7 @@ EOT
|
|
944
967
|
{
|
945
968
|
$cdef->{var}->prune( 'PPI::Token::Comment' );
|
946
969
|
$cdef->{var}->prune( 'PPI::Token::Pod' );
|
947
|
-
$self->_messagef( 3, "Catch assignment is: '%s'", $cdef->{var}->content );
|
970
|
+
$self->_messagef( 3, "Catch assignment is: '%s'", $cdef->{var}->content ) if( $self->{debug} >= 3 );
|
948
971
|
# my $str = $cdef->{var}->content;
|
949
972
|
my $str = $self->_serialize( $cdef->{var} );
|
950
973
|
$str =~ s/^\([[:blank:]\h\v]*|[[:blank:]]*\)$//g;
|
@@ -976,16 +999,16 @@ EOT
|
|
976
999
|
}
|
977
1000
|
else
|
978
1001
|
{
|
979
|
-
# $self->_message( 3, "No Catch assignment found" );
|
1002
|
+
# $self->_message( 3, "No Catch assignment found" ) if( $self->{debug} >= 3 );
|
980
1003
|
}
|
981
1004
|
|
982
1005
|
if( $cdef->{block} )
|
983
1006
|
{
|
984
|
-
# $self->_messagef( 3, "Catch block is:\n%s", $cdef->{block}->content );
|
1007
|
+
# $self->_messagef( 3, "Catch block is:\n%s", $cdef->{block}->content ) if( $self->{debug} >= 3 );
|
985
1008
|
}
|
986
1009
|
else
|
987
1010
|
{
|
988
|
-
# $self->_message( 3, "No catch block found!" );
|
1011
|
+
# $self->_message( 3, "No catch block found!" ) if( $self->{debug} >= 3 );
|
989
1012
|
next;
|
990
1013
|
}
|
991
1014
|
my $cond;
|
@@ -1005,7 +1028,6 @@ EOT
|
|
1005
1028
|
{
|
1006
1029
|
$cond = 'elsif';
|
1007
1030
|
}
|
1008
|
-
# $self->_message( 3, "\$i = $i, \$total_catch = $total_catch and cond = '$cond'" );
|
1009
1031
|
# my $block = $cdef->{block}->content;
|
1010
1032
|
$self->_process_loop_breaks( $cdef->{block} );
|
1011
1033
|
$self->_process_sub_token( $cdef->{block} );
|
@@ -1130,7 +1152,6 @@ EOT
|
|
1130
1152
|
# No class, just variable assignment like $e or something
|
1131
1153
|
else
|
1132
1154
|
{
|
1133
|
-
# $self->_message( 3, "Called here for fallback for element No $i" );
|
1134
1155
|
if( ++$else > 1 )
|
1135
1156
|
{
|
1136
1157
|
# CORE::warn( "Cannot have more than one falllback catch clause for block: ", $cdef->{block}->content, "\n" ) if( warnings::enabled );
|
@@ -1139,7 +1160,6 @@ EOT
|
|
1139
1160
|
next;
|
1140
1161
|
}
|
1141
1162
|
$cond = "${cond}( 1 )" if( $cond eq 'if' || $cond eq 'elsif' );
|
1142
|
-
# push( @$catch_repl, <<EOT );
|
1143
1163
|
$catch_section = <<EOT;
|
1144
1164
|
${cond}
|
1145
1165
|
{
|
@@ -1340,7 +1360,7 @@ EOT
|
|
1340
1360
|
push( @$repl, $last_return_block );
|
1341
1361
|
my $try_catch_code = join( '', @$repl );
|
1342
1362
|
# my $token = PPI::Token->new( "; \{ $try_catch_code \}" ) || die( "Unable to create token" );
|
1343
|
-
#
|
1363
|
+
# NOTE: 2021-05-11 (Jacques): Need to remove blocks so that next or last statements can be effective.
|
1344
1364
|
my $envelop = <<EOT;
|
1345
1365
|
; CORE::local( \$Nice::Try::BREAK, \@Nice::Try::LAST_VAL );
|
1346
1366
|
\{
|
@@ -1368,16 +1388,11 @@ EOT
|
|
1368
1388
|
$envelop =~ s/__TRY_CATCH_CODE__/$try_catch_code/;
|
1369
1389
|
my $token = PPI::Token->new( $envelop ) || die( "Unable to create token" );
|
1370
1390
|
$token->set_class( 'Structure' );
|
1371
|
-
# $self->_messagef( 3, "Token is '$token' and of class '%s' and inherit from PPI::Token? %s", $token->class, ($token->isa( 'PPI::Token' ) ? 'yes' : 'no' ) );
|
1372
1391
|
my $struct = PPI::Structure->new( $token ) || die( "Unable to create PPI::Structure element" );
|
1373
|
-
# $self->_message( 3, "Resulting try-catch block is:\n'$token'" );
|
1374
1392
|
my $orig_try_catch_block = join( '', @$nodes_to_replace );
|
1375
|
-
# $self->_message( 3, "Original try-catch block is:\n'$orig_try_catch_block'" );
|
1376
|
-
# $self->_messagef( 3, "Element before our try-catch block is of class %s with value '%s'", $element_before_try->class, $element_before_try->content );
|
1377
1393
|
my $rc;
|
1378
1394
|
if( !( $rc = $element_before_try->insert_after( $token ) ) )
|
1379
1395
|
{
|
1380
|
-
# $self->_message( 3, "Return code is defined? ", CORE::defined( $rc ) ? 'yes' : 'no', " and is it a PPI::Element object? ", $token->isa( 'PPI::Element' ) ? 'yes' : 'no' );
|
1381
1396
|
$self->_error( "Failed to add replacement code of class '", $token->class, "' after '$element_before_try'" );
|
1382
1397
|
next;
|
1383
1398
|
}
|
@@ -1386,13 +1401,11 @@ EOT
|
|
1386
1401
|
for( my $k = 0; $k < scalar( @$nodes_to_replace ); $k++ )
|
1387
1402
|
{
|
1388
1403
|
my $e = $nodes_to_replace->[$k];
|
1389
|
-
## $self->_messagef( 4, "[$k] Removing node: $e" );
|
1390
1404
|
$e->delete || warn( "Could not remove node No $k: '$e'\n" );
|
1391
1405
|
}
|
1392
1406
|
}
|
1393
1407
|
# End foreach catch found
|
1394
1408
|
|
1395
|
-
# $self->_message( 3, "\n\nResulting code is\n", $elem->content );
|
1396
1409
|
return( $elem );
|
1397
1410
|
}
|
1398
1411
|
|
@@ -1412,11 +1425,9 @@ sub _process_caller
|
|
1412
1425
|
foreach my $e ( $elem->elements )
|
1413
1426
|
{
|
1414
1427
|
my $content = $e->content // '';
|
1415
|
-
# $self->_messagef( 6, "Checking element: [%d] class %s with %d children and value '%s'\n", $e->line_number, $e->class, ( $e->can('elements') ? scalar( $e->elements ) : 0 ), $content );
|
1416
1428
|
my $class = $e->class;
|
1417
1429
|
if( $class eq 'PPI::Token::Word' && $content =~ /^(?:CORE\::)?(?:GLOBAL\::)?caller$/ )
|
1418
1430
|
{
|
1419
|
-
# $self->_message( 4, "Found caller, replacing with ", 'Nice::Try::caller_' . $where );
|
1420
1431
|
$e->set_content( 'Nice::Try::caller_' . $where );
|
1421
1432
|
}
|
1422
1433
|
|
@@ -1425,8 +1436,6 @@ sub _process_caller
|
|
1425
1436
|
$self->_process_caller( $where => $e );
|
1426
1437
|
}
|
1427
1438
|
}
|
1428
|
-
# $self->_message( 5, "Element now is: '$elem'" );
|
1429
|
-
# $self->_browse( $elem );
|
1430
1439
|
return( $elem );
|
1431
1440
|
}
|
1432
1441
|
|
@@ -1444,7 +1453,7 @@ sub _process_loop_breaks
|
|
1444
1453
|
index( $ct, 'goto' ) == -1 &&
|
1445
1454
|
index( $ct, 'return' ) == -1 )
|
1446
1455
|
{
|
1447
|
-
$self->_message( 4, "There is nothing to be done. Key words last, next, redo or goto are not found." );
|
1456
|
+
$self->_message( 4, "There is nothing to be done. Key words last, next, redo or goto are not found." ) if( $self->{debug} >= 4 );
|
1448
1457
|
return( '' );
|
1449
1458
|
}
|
1450
1459
|
$self->_message( 5, "Checking loop breaks in ", scalar( $elem->elements ), " elements for '$elem'" ) if( $self->{debug} >= 5 );
|
@@ -1459,7 +1468,6 @@ sub _process_loop_breaks
|
|
1459
1468
|
CORE::defined( $e->first_element->content ) &&
|
1460
1469
|
$e->first_element->content =~ /^(for|foreach|while)$/ ) )
|
1461
1470
|
{
|
1462
|
-
# $self->_message( 6, "Skipping it. Its first word was '", $e->first_element->content, "'" );
|
1463
1471
|
next;
|
1464
1472
|
}
|
1465
1473
|
elsif( $class eq 'PPI::Token::Word' && $content =~ /^(?:CORE\::)?(?:GLOBAL\::)?(next|last|redo)$/ )
|
@@ -1470,7 +1478,6 @@ sub _process_loop_breaks
|
|
1470
1478
|
my $break_code = q{$Nice::Try::BREAK='} . $1 . qq{', return;};
|
1471
1479
|
my $break_doc = PPI::Document->new( \$break_code, readonly => 1 );
|
1472
1480
|
my $new_elem = $break_doc->first_element;
|
1473
|
-
# $self->_browse( $new_elem );
|
1474
1481
|
$new_elem->remove;
|
1475
1482
|
$self->_message( 5, "New element is object '", sub{ overload::StrVal( $new_elem ) }, "' -> $new_elem" ) if( $self->{debug} >= 5 );
|
1476
1483
|
# Not yet implemented as of 2021-05-11 dixit PPI, so we use a hack to make it available anyhow
|
@@ -1485,7 +1492,6 @@ sub _process_loop_breaks
|
|
1485
1492
|
my $word2 = ( scalar( @$words ) > 1 ? $words->[1]->content // '' : '' );
|
1486
1493
|
$self->_message( 5, "Word 1 -> ", $word1 ) if( $self->{debug} >= 5 );
|
1487
1494
|
$self->_message( 5, "Word 2 -> ", $word2 ) if( $self->{debug} >= 5 && scalar( @$words ) > 1 );
|
1488
|
-
# $self->_browse( $e );
|
1489
1495
|
# If we found a break word without a label, i.e. next, last, redo,
|
1490
1496
|
# we replace it with a special return statement
|
1491
1497
|
if( (
|
@@ -1519,7 +1525,6 @@ sub _process_loop_breaks
|
|
1519
1525
|
|
1520
1526
|
my $break_doc = PPI::Document->new( \$break_code, readonly => 1 );
|
1521
1527
|
my $new_elem = $break_doc->first_element;
|
1522
|
-
# $self->_browse( $new_elem );
|
1523
1528
|
$new_elem->remove;
|
1524
1529
|
$self->_message( 5, "New element is object '", sub{ overload::StrVal( $new_elem ) }, "' -> $new_elem" ) if( $self->{debug} >= 5 );
|
1525
1530
|
# Not yet implemented as of 2021-05-11 dixit PPI, so we use a hack to make it available anyhow
|
@@ -1529,7 +1534,6 @@ sub _process_loop_breaks
|
|
1529
1534
|
# PPI (at least with PPI::Node version 1.270) will refuse to add our element
|
1530
1535
|
# if the 'return' word is 'CORE::return' so, we add it without and change it after
|
1531
1536
|
# $new_elem->first_element->set_content( 'CORE::return' );
|
1532
|
-
# $self->_message( 5, "return litteral value is: ", $new_elem->first_element->content );
|
1533
1537
|
}
|
1534
1538
|
next;
|
1535
1539
|
}
|
@@ -1539,9 +1543,6 @@ sub _process_loop_breaks
|
|
1539
1543
|
$self->_process_loop_breaks( $e );
|
1540
1544
|
}
|
1541
1545
|
}
|
1542
|
-
# $self->_message( 5, "Element now is: '", sub{ $elem->content }, "'" );
|
1543
|
-
# $self->_message( 5, "Element now is: '$elem'" );
|
1544
|
-
# $self->_browse( $elem );
|
1545
1546
|
return( $elem );
|
1546
1547
|
}
|
1547
1548
|
|
@@ -1617,12 +1618,10 @@ PERL
|
|
1617
1618
|
my $sub_token_doc = PPI::Document->new( \$sub_token_code, readonly => 1 );
|
1618
1619
|
my @new_elems = $sub_token_doc->elements;
|
1619
1620
|
# my $new_elem = $sub_token_doc;
|
1620
|
-
# $self->_browse( $new_elem );
|
1621
1621
|
# $new_elem->remove;
|
1622
1622
|
$_->remove for( @new_elems );
|
1623
1623
|
$self->_message( 5, "New elements is object '", sub{ join( ', ', map( overload::StrVal( $_ ), @new_elems ) ) }, "' -> $_" ) if( $self->{debug} >= 5 );
|
1624
1624
|
# $block->replace( $new_elem );
|
1625
|
-
# $self->_message( 5, "New element is a PPI::Element ? -> ", ( $new_elem->isa( 'PPI::Element' ) ? 'yes' : 'no' ) );
|
1626
1625
|
# Not yet implemented as of 2021-05-11 dixit PPI, so we use a hack to make it available anyhow
|
1627
1626
|
my $rv;
|
1628
1627
|
my @children = $block->children;
|
@@ -1680,7 +1679,7 @@ PERL
|
|
1680
1679
|
return( $elem );
|
1681
1680
|
}
|
1682
1681
|
|
1683
|
-
|
1682
|
+
# Taken from PPI::Document
|
1684
1683
|
sub _serialize
|
1685
1684
|
{
|
1686
1685
|
my $self = shift( @_ );
|
@@ -1859,25 +1858,25 @@ sub _serialize
|
|
1859
1858
|
}
|
1860
1859
|
|
1861
1860
|
{
|
1861
|
+
# NOTE: Nice::Try::ObjectContext
|
1862
1862
|
package
|
1863
1863
|
Nice::Try::ObjectContext;
|
1864
1864
|
|
1865
1865
|
sub new
|
1866
1866
|
{
|
1867
1867
|
my $that = shift( @_ );
|
1868
|
-
# print( STDERR "Got here in Nice::Try::ObjectContext->new with args '", join( "', '", @_ ), "'\n" );
|
1869
1868
|
return( bless( { val => [@_] } => ( ref( $that ) || $that ) ) );
|
1870
1869
|
}
|
1871
1870
|
|
1872
1871
|
sub callback
|
1873
1872
|
{
|
1874
1873
|
my $self = shift( @_ );
|
1875
|
-
# print( STDERR "Got here in Nice::Try::ObjectContext->dummy with args '", join( "', '", @_ ), "'\n" );
|
1876
1874
|
return( $self->{val}->[0] );
|
1877
1875
|
}
|
1878
1876
|
}
|
1879
1877
|
|
1880
1878
|
{
|
1879
|
+
# NOTE: PPI::Element
|
1881
1880
|
package
|
1882
1881
|
PPI::Element;
|
1883
1882
|
|
@@ -2040,7 +2039,7 @@ And you also have granular power in the catch block to filter which exception to
|
|
2040
2039
|
|
2041
2040
|
=head1 VERSION
|
2042
2041
|
|
2043
|
-
v1.3.
|
2042
|
+
v1.3.11
|
2044
2043
|
|
2045
2044
|
=head1 DESCRIPTION
|
2046
2045
|
|
@@ -2788,7 +2787,7 @@ Other cases are:
|
|
2788
2787
|
|
2789
2788
|
See L<Want> for more information on how you can benefit from it.
|
2790
2789
|
|
2791
|
-
Currently lvalues are
|
2790
|
+
Currently lvalues are not implemented and will be in future releases. Also note that L<Want> does not work within tie-handlers. It would trigger a segmentation fault. L<Nice::Try> detects this and disable automatically support for L<Want> if used inside a tie-handler, reverting to regular L<perlfunc/wantarray> context.
|
2792
2791
|
|
2793
2792
|
Also, for this rich context awareness to be used, obviously try-catch would need to be inside a subroutine, otherwise there is no rich context other than the one the regular L<perlfunc/wantarray> provides.
|
2794
2793
|
|
@@ -2814,7 +2813,7 @@ Before version C<v1.3.5>, there was a limitation on using signature on a subrout
|
|
2814
2813
|
sub foo ($f = test()) { 1 }
|
2815
2814
|
|
2816
2815
|
try {
|
2817
|
-
my $k = sub ($f = foo()) {}; # <-- this sub routine attribute inside try-catch block
|
2816
|
+
my $k = sub ($f = foo()) {}; # <-- this sub routine attribute inside try-catch block used to disrupt Nice::Try and make it fail.
|
2818
2817
|
print( "worked\n" );
|
2819
2818
|
}
|
2820
2819
|
catch($e) {
|
@@ -2918,7 +2917,7 @@ L<JavaScript implementation of nice-try|https://javascript.info/try-catch>
|
|
2918
2917
|
|
2919
2918
|
=head1 COPYRIGHT & LICENSE
|
2920
2919
|
|
2921
|
-
Copyright (c) 2020-
|
2920
|
+
Copyright (c) 2020-2024 DEGUEST Pte. Ltd.
|
2922
2921
|
|
2923
2922
|
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
|
2924
2923
|
|