Sha256: ebc156263f02d682b5038ec499002f665d6700c5355effaebc8484f8ba7721a4

Contents?: true

Size: 972 Bytes

Versions: 2

Compression:

Stored size: 972 Bytes

Contents

const AbstractGeneratorHandler = require('./AbstractGeneratorHandler')
const SharedHandlerType = require('../internal/SharedHandlerType')
const OS = require('os')

class GetInstanceFieldGeneratorHandler extends AbstractGeneratorHandler {
    generate_code(existing_string_builder, common_command, used_object, handlers) {
        existing_string_builder.append('get ')
        handlers.SHARED_HANDLER[SharedHandlerType.METHOD_NAME].generate_code(
            existing_string_builder,
            common_command,
            used_object.payload[0],
            handlers
        )
        existing_string_builder.append('(')
        existing_string_builder.append(')')
        existing_string_builder.append(OS.EOL)
        handlers.SHARED_HANDLER[SharedHandlerType.METHOD_BODY].generate_code(
            existing_string_builder,
            common_command,
            used_object,
            handlers
        )
    }
}

module.exports = GetInstanceFieldGeneratorHandler

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.5.10 lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js
javonet-ruby-sdk-2.5.9 lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js