(properties, is_optional)
| 30 | |
| 31 | |
| 32 | def output_type(properties, is_optional): |
| 33 | typename = properties['type'].replace('_', '\\_') |
| 34 | if typename == 'array': |
| 35 | typename += ' of {}s'.format(properties['items']['type'].replace('_', '\\_')) |
| 36 | if is_optional: |
| 37 | typename += ", optional" |
| 38 | output(" ({})".format(typename)) |
| 39 | |
| 40 | |
| 41 | def output_range(properties): |
no test coverage detected