(str: string)
| 21 | // Code created with the help of Stack Overflow answer by AymKdn |
| 22 | // https://stackoverflow.com/a/59094308 |
| 23 | function strip(str: string) { |
| 24 | return str.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g,'').trim(); |
| 25 | } |
| 26 | |
| 27 | export function generateCoderLibrary(struct: ProcessedStruct, context: FileContext) { |
| 28 | if (struct.dynamic) { |