Sha256: 56c90460df770f809d0188322627938b3ae9a3548e4bc5ffd7164f30fa252a23
Contents?: true
Size: 1019 Bytes
Versions: 67
Compression:
Stored size: 1019 Bytes
Contents
const SharedHandlerType = require("./SharedHandlerType"); class CommonGenerator { static process_method_arguments(existing_string_builder, common_command, type_array, name_array, handlers) { for (let i = 0; i < name_array.length; i++) { handlers.SHARED_HANDLER[SharedHandlerType.ARGUMENT_NAME].generate_code(existing_string_builder, common_command, name_array[i], handlers) if (i < name_array.length - 1) { existing_string_builder.append(", ") } } } static process_method_arguments_names(existing_string_builder, common_command, name_array, handlers) { for (let i = 0; i < name_array.length; i++) { handlers.SHARED_HANDLER[SharedHandlerType.ARGUMENT_NAME].generate_code(existing_string_builder, common_command, name_array[i], handlers) if (i < name_array.length - 1) { existing_string_builder.append(", ") } } } } module.exports = CommonGenerator
Version data entries
67 entries across 38 versions & 1 rubygems