(body: string)
| 732 | } |
| 733 | |
| 734 | function parseSolStructFields(body: string) { |
| 735 | return body |
| 736 | .split('\n') |
| 737 | .map((line) => line.replace(/\/\/.*$/, '')) |
| 738 | .join('\n') |
| 739 | .split(';') |
| 740 | .map((field) => field.replace(/\s+/g, ' ').trim()) |
| 741 | .filter(Boolean) |
| 742 | } |
| 743 | |
| 744 | function camelCase(name: string) { |
| 745 | return name |
no outgoing calls
no test coverage detected