Sha256: f32b24257112ca4261289f605267bf1665ba217e701d4fa4f1d2127c928299b5
Contents?: true
Size: 802 Bytes
Versions: 67
Compression:
Stored size: 802 Bytes
Contents
const AbstractGeneratorHandler = require("./AbstractGeneratorHandler"); const SharedHandlerType = require("../internal/SharedHandlerType"); class GetStaticFieldGeneratorHandler extends AbstractGeneratorHandler { generate_code(existing_string_builder, common_command, used_object, handlers) { existing_string_builder.append("static 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(")") handlers.SHARED_HANDLER[SharedHandlerType.METHOD_BODY].generate_code(existing_string_builder, common_command, used_object, handlers) } } module.exports = GetStaticFieldGeneratorHandler
Version data entries
67 entries across 38 versions & 1 rubygems