(parentIndent: number, allowIndentless: boolean)
| 1270 | |
| 1271 | // The node on the lines after a value that is empty on its own line. |
| 1272 | private parseBlockValue(parentIndent: number, allowIndentless: boolean): unknown { |
| 1273 | this.skipIgnored() |
| 1274 | const next = this.lineAt(this.index) |
| 1275 | if (next === undefined) return null |
| 1276 | if (next.indent > parentIndent) return this.parseNode(next.indent, parentIndent, allowIndentless) |
| 1277 | if (allowIndentless && next.indent === parentIndent && isSequenceEntry(next.text)) { |
| 1278 | return this.parseSequence(parentIndent) |
| 1279 | } |
| 1280 | return null |
| 1281 | } |
| 1282 | |
| 1283 | private parseFlowValue(text: string, parentIndent: number): unknown { |
| 1284 | return new FlowParser( |
no test coverage detected