Sha256: 3fb93fff60296389a2e6d22848069733633da95db328644f429a0a3177a1c22b

Contents?: true

Size: 895 Bytes

Versions: 29

Compression:

Stored size: 895 Bytes

Contents

const AbstractGeneratorHandler = require("./AbstractGeneratorHandler");
const SharedHandlerType = require("../internal/SharedHandlerType");
const CommonGenerator = require("../internal/CommonGenerator");
const OS = require("os");

class CreateInstanceGeneratorHandler extends AbstractGeneratorHandler {

    generate_code(existing_string_builder, common_command, used_object, handlers) {
        existing_string_builder.append("constructor(")
        CommonGenerator.process_method_arguments(existing_string_builder, common_command, used_object.payload[2], used_object.payload[3], handlers)
        existing_string_builder.append(")")
        handlers.SHARED_HANDLER[SharedHandlerType.METHOD_BODY].generate_code(existing_string_builder, common_command, used_object, handlers)
        existing_string_builder.append(OS.EOL)
    }
}

module.exports = CreateInstanceGeneratorHandler

Version data entries

29 entries across 29 versions & 1 rubygems

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