Sha256: 9f0f0ead3a89de93b32f35e6955139d6ff3744574cd341fa9bee30337bfba612
Contents?: true
Size: 877 Bytes
Versions: 29
Compression:
Stored size: 877 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
29 entries across 29 versions & 1 rubygems