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