* String SchemaType constructor. * * @param {string} key * @param {object} options * @param {object} schemaOptions * @param {Schema} parentSchema * @inherits SchemaType * @api public
(key, options, _schemaOptions, parentSchema)
| 25 | */ |
| 26 | |
| 27 | function SchemaString(key, options, _schemaOptions, parentSchema) { |
| 28 | this.enumValues = []; |
| 29 | this.regExp = null; |
| 30 | SchemaType.call(this, key, options, 'String', parentSchema); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * This schema type's name, to defend against minifiers that mangle |
nothing calls this directly
no outgoing calls
no test coverage detected