(source, start)
| 1092 | } |
| 1093 | |
| 1094 | function skipQuoted(source, start) { |
| 1095 | const quote = source[start]; |
| 1096 | for (let index = start + 1; index < source.length; index += 1) { |
| 1097 | if (source[index] === "\\") { |
| 1098 | index += 1; |
| 1099 | continue; |
| 1100 | } |
| 1101 | if (source[index] === quote) { |
| 1102 | return index; |
| 1103 | } |
| 1104 | } |
| 1105 | return source.length - 1; |
| 1106 | } |
| 1107 | |
| 1108 | function skipLineComment(source, start) { |
| 1109 | const next = source.indexOf("\n", start + 2); |