Sha256: 413e1bc89e1501927cf1c8568bcc1a8a106ed13231a66d493f9cc491485cc8b3
Contents?: true
Size: 567 Bytes
Versions: 61
Compression:
Stored size: 567 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.commandType].generate_code(existing_string_builder, common_command, used_object, handlers) existing_string_builder.append("}"); } } module.exports = SharedBodyHandler
Version data entries
61 entries across 35 versions & 1 rubygems