| Revision 137,
523 bytes
checked in by xi, 7 years ago
(diff) |
|
Refactor resolver.
|
| Rev | Line | |
|---|
| [117] | 1 | %YAML 1.1 |
|---|
| 2 | --- |
|---|
| 3 | !!map { |
|---|
| 4 | ? !!str "in the block context" |
|---|
| 5 | : !!map { |
|---|
| 6 | ? !!str "indentation should be kept" |
|---|
| 7 | : !!map { |
|---|
| 8 | ? !!str "but in the flow context" |
|---|
| 9 | : !!seq [ !!str "it may be violated" ] |
|---|
| 10 | } |
|---|
| 11 | } |
|---|
| 12 | } |
|---|
| 13 | --- !!str |
|---|
| 14 | "the parser does not require scalars to be indented with at least one space" |
|---|
| 15 | --- !!str |
|---|
| 16 | "the parser does not require scalars to be indented with at least one space" |
|---|
| 17 | --- !!map |
|---|
| [137] | 18 | { ? !!str "foo": { ? !!str "bar" : !!str "quoted scalars may not adhere indentation" } } |
|---|
Note: See
TracBrowser
for help on using the repository browser.