()
| 854 | // YAML 1.2.2 §7.3.3: in flow context, a `:` followed by white space, a line break or a flow |
| 855 | // indicator separates a key from its value. Any other `:` is part of a plain scalar. |
| 856 | private isValueSeparator(): boolean { |
| 857 | const next = this.line.charCodeAt(this.index + 1) |
| 858 | return this.index + 1 >= this.line.length || isWhiteCode(next) || isFlowIndicatorCode(next) |
| 859 | } |
| 860 | |
| 861 | // Preserve "\n" on continuation lines. Inside quotes, `#` is content; inside plain scalars, |
| 862 | // quotes are content. Token mode permits new quoted scalars. |
no test coverage detected