Sha256: 91d3989ba9fed5bcce1a10c9ef3853377034b650a1935682c75713326eb65bd8
Contents?: true
Size: 578 Bytes
Versions: 3
Compression:
Stored size: 578 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
3 entries across 3 versions & 1 rubygems