| 1 |
name: yaml_parsing |
| 2 |
|
| 3 |
description: | |
| 4 |
A block literal description with mutliple lines. |
| 5 |
- line 2 |
| 6 |
- line 3 |
| 7 |
|
| 8 |
rule: |
| 9 |
match: |
| 10 |
- condition: "match_id == 'folded_unambiguous'" |
| 11 |
output: > |
| 12 |
"a string expression that " + |
| 13 |
"is folded" |
| 14 |
- condition: "match_id == 'folded_line_break'" |
| 15 |
output: > |
| 16 |
'''a string expression that |
| 17 |
is folded''' |
| 18 |
- condition: "match_id == 'folded_line_break_indent'" |
| 19 |
output: > |
| 20 |
'''a string expression that |
| 21 |
is folded''' |
| 22 |
- condition: "match_id == 'literal_unambiguous'" |
| 23 |
output: | |
| 24 |
"a string expression that " + |
| 25 |
"is a literal block" |
| 26 |
- condition: "match_id == 'literal_line_break'" |
| 27 |
output: | |
| 28 |
'''a string expression that |
| 29 |
is a literal block''' |
| 30 |
- condition: "match_id == 'literal_line_break_indent'" |
| 31 |
output: | |
| 32 |
'''a string expression that |
| 33 |
is a literal block''' |
| 34 |
- output: "'no match encountered'" |