Sha256: 2806d50c62d12065874ea85a4cf9d025fa04ba8785649a6a29d853868e79b4ba
Contents?: true
Size: 565 Bytes
Versions: 6
Compression:
Stored size: 565 Bytes
Contents
const AbstractGeneratorHandler = require("../../AbstractGeneratorHandler"); const os = require('os') class SharedBodyHandler extends AbstractGeneratorHandler { generate_code(existing_string_builder, common_command, used_object, handlers) { existing_string_builder.append("{"); existing_string_builder.append(os.EOL); handlers.SHARED_BODY_HANDLER[used_object.commandId].generate_code(existing_string_builder, common_command, used_object, handlers) existing_string_builder.append("}"); } } module.exports = SharedBodyHandler
Version data entries
6 entries across 3 versions & 1 rubygems