Sha256: c528a9efe1a0cd67f319230d68f615fa0802111bff38ab344b47b4d866a062be

Contents?: true

Size: 1.26 KB

Versions: 29

Compression:

Stored size: 1.26 KB

Contents

from javonet.core.generator.internal.SharedHandlerType import SharedHandlerType


class CommonGenerator:

    @staticmethod
    def process_method_arguments(existing_string_builder, common_command, type_array, name_array, handlers):

        for i in range(0, len(name_array)):
            handlers.SHARED_HANDLER[SharedHandlerType.ARGUMENT_NAME].generate_code(existing_string_builder,
                                                                                   common_command, name_array[i],
                                                                                   handlers)
            if i < (len(name_array) - 1):
                existing_string_builder.append(", ")

    @staticmethod
    def process_method_arguments_names(existing_string_builder, common_command, name_array, handlers):
        for i in range(0, len(name_array)):
            handlers.SHARED_HANDLER[SharedHandlerType.ARGUMENT_NAME].generate_code(existing_string_builder,
                                                                                   common_command, name_array[i],
                                                                                   handlers)
            if i < (len(name_array) - 1):
                existing_string_builder.append(", ")

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.4.10 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.9 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.8 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.7 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.6 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.5 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.4 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.3 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.4.2 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.3.0 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.2.0 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.14 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.13 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.12 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.11 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.10 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.9 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.8 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.7 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py
javonet-ruby-sdk-2.1.6 lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py