├── .gitmodules
├── .npmrc
├── explorer
├── .npmrc
├── env.d.ts
├── src
│ └── main.ts
└── tsconfig.json
├── .gitattributes
├── tests
└── fixtures
│ └── parser
│ ├── ast
│ ├── directive01-value.json
│ ├── directive02-value.json
│ ├── empty-pair02-input.yaml
│ ├── empty-pair03-input.yaml
│ ├── empty-pair01-input.yaml
│ ├── empty-sequence-entries03-input.yaml
│ ├── merge02-input.yaml
│ ├── tag01-input.yaml
│ ├── comments01-value.json
│ ├── empty-pair02-value.json
│ ├── empty-pair03-value.json
│ ├── tag01-value.json
│ ├── block-folded01-value.json
│ ├── block-literal01-value.json
│ ├── empty-sequence-entries02-input.yaml
│ ├── empty-sequence-entries03-value.json
│ ├── block-folded01-input.yaml
│ ├── block-literal01-input.yaml
│ ├── block-seq01-value.json
│ ├── directive01-input.yaml
│ ├── pair-in-block-map02-input.yaml
│ ├── block-seq01-input.yaml
│ ├── empty-pair01-value.json
│ ├── alias01-input.yaml
│ ├── merge02-value.json
│ ├── pair-in-flow-seq02-input.yaml
│ ├── pair-in-flow-seq03-input.yaml
│ ├── yaml11-float-input.yaml
│ ├── alias01-value.json
│ ├── docs01-input.yaml
│ ├── empty-sequence-entries01-input.yaml
│ ├── empty-sequence-entries02-value.json
│ ├── flow01-input.yaml
│ ├── no-header01-input.yaml
│ ├── pair-in-flow-seq02-output.json
│ ├── comment-and-flow-map01-value.json
│ ├── comment-and-flow-map02-value.json
│ ├── comments01-input.yaml
│ ├── flow-seq01-value.json
│ ├── pair-in-block-map01-input.yaml
│ ├── pair-in-block-map02-value.json
│ ├── quoted01-input.yaml
│ ├── yaml11-float-value.json
│ ├── directive02-input.yaml
│ ├── options-yaml-version-11
│ │ ├── _options.json
│ │ ├── yaml11-no-for-without-dir-input.yaml
│ │ ├── yaml11-no-for-yaml11-input.yaml
│ │ ├── yaml11-no-for-yaml12-input.yaml
│ │ ├── yaml11-yes-for-without-dir-input.yaml
│ │ ├── yaml11-no-for-yaml12-value.json
│ │ ├── yaml11-no-for-yaml11-value.json
│ │ ├── yaml11-no-for-without-dir-value.json
│ │ ├── yaml11-yes-for-yaml11-input.yaml
│ │ ├── yaml11-yes-for-yaml12-input.yaml
│ │ ├── yaml11-yes-for-yaml11-value.json
│ │ ├── yaml11-yes-for-yaml12-value.json
│ │ └── yaml11-yes-for-without-dir-value.json
│ ├── set01-value.json
│ ├── anchor01-value.json
│ ├── no-header01-value.json
│ ├── anchor01-input.yaml
│ ├── empty-sequence-entries01-value.json
│ ├── omap01-value.json
│ ├── omap02-value.json
│ ├── comment-and-flow-map01-input.yaml
│ ├── comment-and-flow-map02-input.yaml
│ ├── flow-map01-input.yaml
│ ├── block-folded02-value.json
│ ├── pair-in-block-map01-value.json
│ ├── docs01-value.json
│ ├── pair-in-flow-seq03-value.json
│ ├── yaml11-no-for-without-dir-input.yaml
│ ├── flow-seq01-input.yaml
│ ├── yaml11-no-for-yaml11-input.yaml
│ ├── yaml11-no-for-yaml12-input.yaml
│ ├── quoted01-value.json
│ ├── yaml11-yes-for-without-dir-input.yaml
│ ├── pair-in-flow-seq01-input.yaml
│ ├── yaml11-no-for-yaml12-value.json
│ ├── yaml11-no-for-without-dir-value.json
│ ├── yaml11-no-for-yaml11-value.json
│ ├── yaml11-yes-for-yaml11-input.yaml
│ ├── yaml11-yes-for-yaml12-input.yaml
│ ├── flow-map01-value.json
│ ├── yaml11-yes-for-yaml11-value.json
│ ├── yaml11-yes-for-yaml12-value.json
│ ├── yaml11-yes-for-without-dir-value.json
│ ├── set01-input.yaml
│ ├── block-folded02-input.yaml
│ ├── test01-value.json
│ ├── flow01-value.json
│ ├── test01-input.yaml
│ ├── omap01-input.yaml
│ ├── omap02-input.yaml
│ ├── map01-input.yaml
│ └── merge01-input.yaml
│ └── yaml-test-suite
│ ├── AVM7-input.yaml
│ ├── 2G84-3-value.json
│ ├── 2G84-4-value.json
│ ├── 2LFX-value.json
│ ├── 52DL-value.json
│ ├── 6CA3-value.json
│ ├── 6LVF-value.json
│ ├── 753E-value.json
│ ├── 8G76-value.json
│ ├── 8MK2-value.json
│ ├── 98YD-value.json
│ ├── 9MMA-value.json
│ ├── AVM7-value.json
│ ├── BEC7-value.json
│ ├── CC74-value.json
│ ├── HWV9-value.json
│ ├── MYW6-value.json
│ ├── Q5MG-value.json
│ ├── QT73-value.json
│ ├── SF5V-value.json
│ ├── SM9W-2-input.yaml
│ ├── SM9W-input.yaml
│ ├── U3C3-value.json
│ ├── UKK6-3-value.json
│ ├── 27NA-value.json
│ ├── 2G84-3-input.yaml
│ ├── 2G84-4-input.yaml
│ ├── 65WH-input.yaml
│ ├── 8MK2-input.yaml
│ ├── 9MQT-value.json
│ ├── DK95-8-value.json
│ ├── HM87-input.yaml
│ ├── HWV9-input.yaml
│ ├── K54U-value.json
│ ├── MUS6-3-value.json
│ ├── MUS6-4-value.json
│ ├── MUS6-5-value.json
│ ├── MUS6-6-value.json
│ ├── MUS6-7-value.json
│ ├── P76L-value.json
│ ├── Q5MG-input.yaml
│ ├── RTP8-value.json
│ ├── UKK6-2-input.yaml
│ ├── UKK6-3-input.yaml
│ ├── UKK6-input.yaml
│ ├── Y79Y-5-input.yaml
│ ├── Y79Y-7-input.yaml
│ ├── YJV2-input.yaml
│ ├── 2G84-2-input.yaml
│ ├── 2G84-input.yaml
│ ├── 58MP-input.yaml
│ ├── 6CA3-input.yaml
│ ├── 6FWR-value.json
│ ├── 9MMA-input.yaml
│ ├── 9YRD-value.json
│ ├── B3HG-value.json
│ ├── D88J-input.yaml
│ ├── D9TU-input.yaml
│ ├── EX5H-value.json
│ ├── G992-value.json
│ ├── HM87-2-input.yaml
│ ├── JEF9-3-input.yaml
│ ├── K54U-input.yaml
│ ├── KH5V-value.json
│ ├── M2N8-2-input.yaml
│ ├── M2N8-input.yaml
│ ├── MXS3-input.yaml
│ ├── Y79Y-11-input.yaml
│ ├── Y79Y-6-input.yaml
│ ├── Y79Y-9-input.yaml
│ ├── ZCZ6-input.yaml
│ ├── 2JQS-input.yaml
│ ├── 3MYT-value.json
│ ├── 3R3P-value.json
│ ├── 3RLN-2-value.json
│ ├── 3RLN-3-value.json
│ ├── 3RLN-6-value.json
│ ├── 3RLN-value.json
│ ├── 4Q9F-value.json
│ ├── 4RWC-input.yaml
│ ├── 4UYU-value.json
│ ├── 52DL-input.yaml
│ ├── 55WF-input.yaml
│ ├── 65WH-value.json
│ ├── 6WPF-value.json
│ ├── 6XDY-input.yaml
│ ├── 82AN-value.json
│ ├── 96NN-2-input.yaml
│ ├── 98YD-input.yaml
│ ├── C2SP-input.yaml
│ ├── DE56-2-value.json
│ ├── DE56-3-value.json
│ ├── DE56-4-value.json
│ ├── DE56-5-value.json
│ ├── DE56-6-value.json
│ ├── DE56-value.json
│ ├── DHP8-input.yaml
│ ├── DK95-4-input.yaml
│ ├── DK95-input.yaml
│ ├── EXG3-value.json
│ ├── FTA2-value.json
│ ├── FUP4-input.yaml
│ ├── HM87-2-value.json
│ ├── HM87-value.json
│ ├── JEF9-2-input.yaml
│ ├── JEF9-2-value.json
│ ├── JEF9-3-value.json
│ ├── JEF9-input.yaml
│ ├── JEF9-value.json
│ ├── KH5V-2-value.json
│ ├── KH5V-3-value.json
│ ├── KH5V-input.yaml
│ ├── LX3P-input.yaml
│ ├── M9B4-value.json
│ ├── NHX8-input.yaml
│ ├── S7BG-input.yaml
│ ├── S7BG-value.json
│ ├── SM9W-value.json
│ ├── T5N4-value.json
│ ├── TL85-value.json
│ ├── TS54-value.json
│ ├── U99R-input.yaml
│ ├── XLQ9-value.json
│ ├── Y79Y-11-value.json
│ ├── Y79Y-8-input.yaml
│ ├── Z9M4-value.json
│ ├── 3R3P-input.yaml
│ ├── 3RLN-4-value.json
│ ├── 3RLN-5-value.json
│ ├── 4GC6-value.json
│ ├── 4MUZ-2-input.yaml
│ ├── 4MUZ-3-input.yaml
│ ├── 4MUZ-input.yaml
│ ├── 4UYU-input.yaml
│ ├── 54T7-input.yaml
│ ├── 58MP-value.json
│ ├── 6H3V-input.yaml
│ ├── 7W2P-input.yaml
│ ├── 82AN-input.yaml
│ ├── 93WF-value.json
│ ├── 96NN-input.yaml
│ ├── 9J7A-input.yaml
│ ├── B63P-input.yaml
│ ├── CXX2-input.yaml
│ ├── DK95-4-value.json
│ ├── EW3V-input.yaml
│ ├── FP8R-value.json
│ ├── G5U8-input.yaml
│ ├── JKF3-input.yaml
│ ├── K527-value.json
│ ├── KH5V-2-input.yaml
│ ├── KH5V-3-input.yaml
│ ├── L24T-2-input.yaml
│ ├── MJS9-value.json
│ ├── MUS6-3-input.yaml
│ ├── MUS6-6-input.yaml
│ ├── MUS6-7-input.yaml
│ ├── PUW8-input.yaml
│ ├── QF4Y-input.yaml
│ ├── QT73-input.yaml
│ ├── S4T7-input.yaml
│ ├── SSW6-value.json
│ ├── UKK6-2-value.json
│ ├── UV7Q-input.yaml
│ ├── Y79Y-10-input.yaml
│ ├── ZH7C-input.yaml
│ ├── ZL4Z-input.yaml
│ ├── 27NA-input.yaml
│ ├── 3RLN-input.yaml
│ ├── 3UYS-input.yaml
│ ├── 4GC6-input.yaml
│ ├── 4H7K-input.yaml
│ ├── 4MUZ-2-value.json
│ ├── 4MUZ-3-value.json
│ ├── 4MUZ-value.json
│ ├── 5MUD-value.json
│ ├── 5NYZ-value.json
│ ├── 5TRB-input.yaml
│ ├── 5U3A-input.yaml
│ ├── 6BFJ-value.json
│ ├── 6JQW-value.json
│ ├── 6JTT-input.yaml
│ ├── 6XDY-value.json
│ ├── 7FWL-value.json
│ ├── 8XYN-value.json
│ ├── 96NN-2-value.json
│ ├── 96NN-value.json
│ ├── 9MAG-input.yaml
│ ├── 9MQT-2-input.yaml
│ ├── 9MQT-input.yaml
│ ├── CPZ3-input.yaml
│ ├── CTN5-input.yaml
│ ├── D9TU-value.json
│ ├── DK3J-value.json
│ ├── DK95-2-input.yaml
│ ├── DK95-3-input.yaml
│ ├── DK95-5-input.yaml
│ ├── DK95-8-input.yaml
│ ├── DK95-value.json
│ ├── DWX9-value.json
│ ├── E76Z-input.yaml
│ ├── FTA2-input.yaml
│ ├── G7JE-input.yaml
│ ├── H7TQ-input.yaml
│ ├── K3WX-value.json
│ ├── K4SU-input.yaml
│ ├── L24T-input.yaml
│ ├── L24T-value.json
│ ├── LX3P-value.json
│ ├── MUS6-4-input.yaml
│ ├── MUS6-input.yaml
│ ├── N782-input.yaml
│ ├── NHX8-value.json
│ ├── P94K-value.json
│ ├── RR7F-input.yaml
│ ├── RXY3-input.yaml
│ ├── S4T7-value.json
│ ├── SBG9-input.yaml
│ ├── SM9W-2-value.json
│ ├── SY6V-input.yaml
│ ├── T26H-value.json
│ ├── X8DW-value.json
│ ├── Y2GN-value.json
│ ├── Y79Y-input.yaml
│ ├── ZVH3-input.yaml
│ ├── ZXT5-input.yaml
│ ├── 236B-input.yaml
│ ├── 2CMS-input.yaml
│ ├── 33X3-value.json
│ ├── 36F6-value.json
│ ├── 3MYT-input.yaml
│ ├── 3RLN-2-input.yaml
│ ├── 3RLN-3-input.yaml
│ ├── 3RLN-4-input.yaml
│ ├── 3RLN-5-input.yaml
│ ├── 3RLN-6-input.yaml
│ ├── 4RWC-value.json
│ ├── 4V8U-value.json
│ ├── 5MUD-input.yaml
│ ├── 5NYZ-input.yaml
│ ├── 62EZ-input.yaml
│ ├── 652Z-input.yaml
│ ├── 6H3V-value.json
│ ├── 6M2F-input.yaml
│ ├── 6WLZ-value.json
│ ├── 7LBH-input.yaml
│ ├── 8G76-input.yaml
│ ├── 8QBE-input.yaml
│ ├── 8XYN-input.yaml
│ ├── 9JBA-input.yaml
│ ├── 9WXW-value.json
│ ├── BS4K-input.yaml
│ ├── CPZ3-value.json
│ ├── D49Q-input.yaml
│ ├── DE56-2-input.yaml
│ ├── DE56-3-input.yaml
│ ├── DE56-4-input.yaml
│ ├── DE56-5-input.yaml
│ ├── DE56-6-input.yaml
│ ├── DE56-input.yaml
│ ├── DK4H-input.yaml
│ ├── DK95-3-value.json
│ ├── DK95-6-input.yaml
│ ├── DK95-7-input.yaml
│ ├── DK95-9-input.yaml
│ ├── DMG6-input.yaml
│ ├── EXG3-input.yaml
│ ├── GH63-input.yaml
│ ├── GT5M-input.yaml
│ ├── H7J7-input.yaml
│ ├── J7VC-input.yaml
│ ├── KMK3-input.yaml
│ ├── L24T-2-value.json
│ ├── L383-value.json
│ ├── LHL4-input.yaml
│ ├── M29M-value.json
│ ├── MUS6-5-input.yaml
│ ├── MYW6-input.yaml
│ ├── P2EQ-input.yaml
│ ├── SR86-input.yaml
│ ├── SSW6-input.yaml
│ ├── SU5Z-input.yaml
│ ├── TE2A-input.yaml
│ ├── UDM2-input.yaml
│ ├── VJP3-input.yaml
│ ├── X4QW-input.yaml
│ ├── XLQ9-input.yaml
│ ├── Y2GN-input.yaml
│ ├── Y79Y-2-input.yaml
│ ├── Y79Y-3-input.yaml
│ ├── 2JQS-output.json
│ ├── 36F6-input.yaml
│ ├── 3ALJ-input.yaml
│ ├── 3HFZ-input.yaml
│ ├── 3UYS-value.json
│ ├── 4EJS-input.yaml
│ ├── 5KJE-input.yaml
│ ├── 5TRB-output.json
│ ├── 6BCT-input.yaml
│ ├── 6FWR-input.yaml
│ ├── 6KGN-input.yaml
│ ├── 6KGN-value.json
│ ├── 753E-input.yaml
│ ├── 7MNF-input.yaml
│ ├── 7TMG-value.json
│ ├── 8XDJ-input.yaml
│ ├── 9C9N-input.yaml
│ ├── 9SHH-input.yaml
│ ├── 9YRD-input.yaml
│ ├── A984-input.yaml
│ ├── AZ63-input.yaml
│ ├── AZW3-input.yaml
│ ├── BD7L-input.yaml
│ ├── BU8L-input.yaml
│ ├── CQ3W-input.yaml
│ ├── CQ3W-output.json
│ ├── CT4Q-input.yaml
│ ├── CVW2-input.yaml
│ ├── DK95-5-value.json
│ ├── DK95-6-value.json
│ ├── DK95-9-value.json
│ ├── E76Z-value.json
│ ├── FP8R-input.yaml
│ ├── FRK4-input.yaml
│ ├── G992-input.yaml
│ ├── GDY7-input.yaml
│ ├── H3Z8-input.yaml
│ ├── HRE5-input.yaml
│ ├── J7VC-value.json
│ ├── JKF3-output.json
│ ├── L94M-value.json
│ ├── M2N8-2-value.json
│ ├── M9B4-input.yaml
│ ├── MXS3-value.json
│ ├── NB6Z-value.json
│ ├── QB6E-input.yaml
│ ├── QB6E-output.json
│ ├── RLU9-input.yaml
│ ├── RR7F-value.json
│ ├── RXY3-output.json
│ ├── S4JQ-value.json
│ ├── SF5V-input.yaml
│ ├── T833-input.yaml
│ ├── TD5N-input.yaml
│ ├── V55R-input.yaml
│ ├── VJP3-2-input.yaml
│ ├── WZ62-value.json
│ ├── Y79Y-3-value.json
│ ├── Y79Y-4-input.yaml
│ ├── ZH7C-value.json
│ ├── 2SXE-input.yaml
│ ├── 4V8U-input.yaml
│ ├── 55WF-output.json
│ ├── 5T43-input.yaml
│ ├── 5TYM-value.json
│ ├── 652Z-value.json
│ ├── 6CK3-value.json
│ ├── 6M2F-value.json
│ ├── 6S55-input.yaml
│ ├── 7Z25-input.yaml
│ ├── 9KBC-input.yaml
│ ├── 9MQT-2-output.json
│ ├── A2M4-input.yaml
│ ├── A984-value.json
│ ├── AB8U-input.yaml
│ ├── B3HG-input.yaml
│ ├── CML9-input.yaml
│ ├── DC7X-input.yaml
│ ├── DHP8-value.json
│ ├── DK95-2-output.json
│ ├── F3CP-input.yaml
│ ├── G9HC-input.yaml
│ ├── GH63-value.json
│ ├── H3Z8-value.json
│ ├── HRE5-output.json
│ ├── HS5T-value.json
│ ├── HU3P-input.yaml
│ ├── J5UC-input.yaml
│ ├── K3WX-input.yaml
│ ├── K4SU-value.json
│ ├── KSS4-value.json
│ ├── QF4Y-value.json
│ ├── RHX7-input.yaml
│ ├── T5N4-input.yaml
│ ├── UKK6-value.json
│ ├── UV7Q-value.json
│ ├── W4TN-value.json
│ ├── X38W-input.yaml
│ ├── X8DW-input.yaml
│ ├── Y79Y-2-value.json
│ ├── ZK9H-input.yaml
│ ├── ZWK4-input.yaml
│ ├── 2AUY-input.yaml
│ ├── 2AUY-value.json
│ ├── 2SXE-value.json
│ ├── 3HFZ-output.json
│ ├── 54T7-value.json
│ ├── 62EZ-output.json
│ ├── 6JTT-output.json
│ ├── 7A4E-value.json
│ ├── 7TMG-input.yaml
│ ├── 8CWC-input.yaml
│ ├── 9CWY-input.yaml
│ ├── 9HCY-output.json
│ ├── 9MAG-output.json
│ ├── 9TFX-value.json
│ ├── AB8U-value.json
│ ├── BD7L-output.json
│ ├── BS4K-output.json
│ ├── BU8L-value.json
│ ├── CFD4-input.yaml
│ ├── CT4Q-value.json
│ ├── CTN5-output.json
│ ├── DK3J-input.yaml
│ ├── EB22-output.json
│ ├── EX5H-input.yaml
│ ├── F2C7-value.json
│ ├── FRK4-value.json
│ ├── GT5M-output.json
│ ├── HMQ5-value.json
│ ├── KS4U-output.json
│ ├── KSS4-input.yaml
│ ├── L383-input.yaml
│ ├── MJS9-input.yaml
│ ├── MUS6-2-input.yaml
│ ├── MUS6-output.json
│ ├── N782-output.json
│ ├── PRH3-value.json
│ ├── Q4CL-output.json
│ ├── QLJ7-output.json
│ ├── S4GJ-output.json
│ ├── SKE5-input.yaml
│ ├── SU74-input.yaml
│ ├── T4YY-value.json
│ ├── TD5N-output.json
│ ├── V55R-value.json
│ ├── VJP3-2-value.json
│ ├── WZ62-input.yaml
│ ├── 33X3-input.yaml
│ ├── 4EJS-output.json
│ ├── 4FJ6-input.yaml
│ ├── 4HVU-input.yaml
│ ├── 4JVG-output.json
│ ├── 4WA9-input.yaml
│ ├── 5LLU-input.yaml
│ ├── 6BFJ-input.yaml
│ ├── 6PBE-input.yaml
│ ├── 6PBE-value.json
│ ├── 7FWL-input.yaml
│ ├── 8CWC-value.json
│ ├── 96L6-value.json
│ ├── 9J7A-value.json
│ ├── 9SHH-value.json
│ ├── CUP7-input.yaml
│ ├── D88J-value.json
│ ├── DK95-7-output.json
│ ├── EHF6-input.yaml
│ ├── EHF6-value.json
│ ├── FQ7F-input.yaml
│ ├── HMQ5-input.yaml
│ ├── JQ4R-input.yaml
│ ├── JTV5-input.yaml
│ ├── JTV5-value.json
│ ├── K858-input.yaml
│ ├── KS4U-input.yaml
│ ├── L94M-input.yaml
│ ├── M2N8-value.json
│ ├── M6YH-input.yaml
│ ├── NB6Z-input.yaml
│ ├── P2EQ-output.json
│ ├── PUW8-value.json
│ ├── RTP8-input.yaml
│ ├── S4GJ-input.yaml
│ ├── SKE5-value.json
│ ├── TS54-input.yaml
│ ├── W5VH-input.yaml
│ ├── W5VH-value.json
│ ├── Y79Y-10-output.json
│ ├── Y79Y-5-output.json
│ ├── Y79Y-6-output.json
│ ├── Y79Y-7-output.json
│ ├── Y79Y-8-output.json
│ ├── Y79Y-9-output.json
│ ├── ZWK4-value.json
│ ├── 2CMS-output.json
│ ├── 4FJ6-value.json
│ ├── 4Q9F-input.yaml
│ ├── 6JQW-input.yaml
│ ├── 7LBH-output.json
│ ├── 7W2P-value.json
│ ├── 9FMG-input.yaml
│ ├── C2SP-output.json
│ ├── CML9-output.json
│ ├── CUP7-value.json
│ ├── D49Q-output.json
│ ├── FUP4-value.json
│ ├── G7JE-output.json
│ ├── HU3P-output.json
│ ├── K527-input.yaml
│ ├── LE5A-value.json
│ ├── M29M-input.yaml
│ ├── N4JP-input.yaml
│ ├── NP9H-value.json
│ ├── Q88A-input.yaml
│ ├── Q8AD-value.json
│ ├── SY6V-output.json
│ ├── SYW4-value.json
│ ├── T833-output.json
│ ├── TL85-input.yaml
│ ├── UDM2-value.json
│ ├── UT92-value.json
│ ├── V9D5-input.yaml
│ ├── Z67P-input.yaml
│ ├── 5U3A-output.json
│ ├── 6S55-output.json
│ ├── 6WPF-input.yaml
│ ├── 7Z25-value.json
│ ├── 8QBE-value.json
│ ├── 8XDJ-output.json
│ ├── 93JH-input.yaml
│ ├── 93WF-input.yaml
│ ├── B63P-output.json
│ ├── BF9H-input.yaml
│ ├── BF9H-output.json
│ ├── CC74-input.yaml
│ ├── DFF7-input.yaml
│ ├── DMG6-output.json
│ ├── EB22-input.yaml
│ ├── F2C7-input.yaml
│ ├── H7J7-output.json
│ ├── H7TQ-output.json
│ ├── HS5T-input.yaml
│ ├── K858-value.json
│ ├── KMK3-value.json
│ ├── M5C3-value.json
│ ├── N4JP-output.json
│ ├── P94K-input.yaml
│ ├── S98Z-input.yaml
│ ├── SR86-output.json
│ ├── SU74-output.json
│ ├── TE2A-value.json
│ ├── U3C3-input.yaml
│ ├── U44R-input.yaml
│ ├── U44R-output.json
│ ├── Z67P-value.json
│ ├── ZVH3-output.json
│ ├── 236B-output.json
│ ├── 2G84-2-output.json
│ ├── 2G84-output.json
│ ├── 2XXW-value.json
│ ├── 3ALJ-value.json
│ ├── 4H7K-output.json
│ ├── 4JVG-input.yaml
│ ├── 4WA9-value.json
│ ├── 5BVJ-value.json
│ ├── 5C5M-input.yaml
│ ├── 6JWB-input.yaml
│ ├── 6SLA-input.yaml
│ ├── 7A4E-input.yaml
│ ├── 7MNF-output.json
│ ├── 8KB6-input.yaml
│ ├── 9CWY-output.json
│ ├── AZ63-value.json
│ ├── C2DT-input.yaml
│ ├── EW3V-output.json
│ ├── FQ7F-value.json
│ ├── GDY7-output.json
│ ├── J5UC-value.json
│ ├── JS2J-input.yaml
│ ├── JY7Z-output.json
│ ├── L9U5-input.yaml
│ ├── LE5A-input.yaml
│ ├── NJ66-input.yaml
│ ├── PRH3-input.yaml
│ ├── R52L-input.yaml
│ ├── UDR7-input.yaml
│ ├── X38W-value.json
│ ├── Y79Y-output.json
│ ├── Z9M4-input.yaml
│ ├── ZCZ6-output.json
│ ├── ZL4Z-output.json
│ ├── 4HVU-output.json
│ ├── 5BVJ-input.yaml
│ ├── 87E4-input.yaml
│ ├── 9BXH-input.yaml
│ ├── 9HCY-input.yaml
│ ├── 9SA2-input.yaml
│ ├── 9TFX-input.yaml
│ ├── A6F9-input.yaml
│ ├── DC7X-value.json
│ ├── FH7J-input.yaml
│ ├── G9HC-output.json
│ ├── LQZ7-input.yaml
│ ├── M5C3-input.yaml
│ ├── S4JQ-input.yaml
│ ├── SBG9-value.json
│ ├── T4YY-input.yaml
│ ├── UT92-input.yaml
│ ├── YJV2-output.json
│ ├── 4ABK-input.yaml
│ ├── 6SLA-value.json
│ ├── 6ZKB-value.json
│ ├── 7T8X-value.json
│ ├── 96L6-input.yaml
│ ├── A6F9-value.json
│ ├── D83L-value.json
│ ├── DFF7-value.json
│ ├── H2RW-value.json
│ ├── J7PZ-value.json
│ ├── JS2J-value.json
│ ├── JY7Z-input.yaml
│ ├── M7NX-input.yaml
│ ├── MUS6-2-output.json
│ ├── P2AD-value.json
│ ├── Q4CL-input.yaml
│ ├── RHX7-output.json
│ ├── RLU9-value.json
│ ├── S3PD-input.yaml
│ ├── 35KP-input.yaml
│ ├── 35KP-value.json
│ ├── 6ZKB-input.yaml
│ ├── 74H7-input.yaml
│ ├── 7ZZ5-input.yaml
│ ├── BEC7-input.yaml
│ ├── C2DT-value.json
│ ├── CN3R-input.yaml
│ ├── D83L-input.yaml
│ ├── DK4H-output.json
│ ├── F8F9-value.json
│ ├── G5U8-output.json
│ ├── M6YH-value.json
│ ├── NP9H-input.yaml
│ ├── Q9WF-value.json
│ ├── ZXT5-output.json
│ ├── 5T43-value.json
│ ├── 6BCT-value.json
│ ├── 6JWB-value.json
│ ├── 6LVF-input.yaml
│ ├── 74H7-value.json
│ ├── 9DXL-input.yaml
│ ├── 9JBA-output.json
│ ├── 9KBC-output.json
│ ├── 9MMW-input.yaml
│ ├── A2M4-value.json
│ ├── CVW2-output.json
│ ├── CXX2-output.json
│ ├── DWX9-input.yaml
│ ├── F6MC-value.json
│ ├── LHL4-output.json
│ ├── M7A3-value.json
│ ├── P76L-input.yaml
│ ├── Q8AD-input.yaml
│ ├── S9E8-input.yaml
│ ├── SU5Z-output.json
│ ├── U99R-output.json
│ ├── X4QW-output.json
│ ├── 2LFX-input.yaml
│ ├── 4ABK-value.json
│ ├── 4QFQ-value.json
│ ├── 57H4-input.yaml
│ ├── 5WE3-value.json
│ ├── 735Y-value.json
│ ├── AZW3-value.json
│ ├── LP6E-input.yaml
│ ├── MZX3-input.yaml
│ ├── SYW4-input.yaml
│ ├── T26H-input.yaml
│ ├── VJP3-output.json
│ ├── W4TN-input.yaml
│ ├── W9L4-input.yaml
│ ├── ZK9H-value.json
│ ├── 4ZYM-input.yaml
│ ├── 4ZYM-value.json
│ ├── 5GBF-value.json
│ ├── 6CK3-input.yaml
│ ├── 9C9N-output.json
│ ├── R4YG-value.json
│ ├── XV9V-value.json
│ ├── Y79Y-4-output.json
│ ├── YD5X-input.yaml
│ ├── ZF4X-input.yaml
│ ├── 735Y-input.yaml
│ ├── 87E4-value.json
│ ├── 9SA2-value.json
│ ├── J3BT-value.json
│ ├── JQ4R-value.json
│ ├── L9U5-value.json
│ ├── LQZ7-value.json
│ ├── M7A3-input.yaml
│ ├── MZX3-value.json
│ ├── NJ66-value.json
│ ├── 9DXL-value.json
│ ├── 9WXW-input.yaml
│ ├── S3PD-value.json
│ ├── 4CQQ-value.json
│ ├── 5GBF-input.yaml
│ ├── 5KJE-value.json
│ ├── 5LLU-output.json
│ ├── 5WE3-input.yaml
│ ├── 93JH-value.json
│ ├── FH7J-value.json
│ ├── H2RW-input.yaml
│ ├── S98Z-output.json
│ ├── W9L4-output.json
│ ├── XV9V-input.yaml
│ ├── 4CQQ-input.yaml
│ ├── 4QFQ-input.yaml
│ ├── 6WLZ-input.yaml
│ ├── F6MC-input.yaml
│ ├── J3BT-input.yaml
│ ├── W42U-input.yaml
│ ├── 3GZX-input.yaml
│ ├── 6VJK-value.json
│ ├── 8UDB-input.yaml
│ ├── Q9WF-input.yaml
│ ├── QLJ7-input.yaml
│ ├── R4YG-input.yaml
│ ├── 229Q-input.yaml
│ ├── 5TYM-input.yaml
│ ├── PW8X-input.yaml
│ ├── Q88A-value.json
│ ├── 3GZX-value.json
│ ├── W42U-value.json
│ ├── V9D5-value.json
│ ├── 5C5M-value.json
│ ├── 8KB6-value.json
│ ├── 9BXH-value.json
│ ├── 9FMG-value.json
│ ├── 2EBW-input.yaml
│ ├── F3CP-value.json
│ ├── J9HZ-input.yaml
│ ├── M7NX-value.json
│ ├── R52L-value.json
│ ├── S9E8-value.json
│ ├── UDR7-value.json
│ ├── 57H4-value.json
│ ├── 6VJK-input.yaml
│ ├── 7BUB-value.json
│ ├── J9HZ-value.json
│ ├── LP6E-value.json
│ ├── NAT4-value.json
│ ├── 7BUB-input.yaml
│ ├── 8UDB-value.json
│ ├── CFD4-value.json
│ ├── CN3R-value.json
│ ├── JR7V-input.yaml
│ ├── ZF4X-value.json
│ ├── 2XXW-input.yaml
│ ├── PBJ2-input.yaml
│ ├── 7T8X-input.yaml
│ ├── 9U5K-input.yaml
│ ├── FBC9-input.yaml
│ ├── HMK4-input.yaml
│ ├── HMK4-value.json
│ ├── JHB9-value.json
│ ├── U9NS-input.yaml
│ ├── JHB9-input.yaml
│ ├── P2AD-input.yaml
│ ├── 2EBW-value.json
│ ├── M5DY-input.yaml
│ ├── NKF9-input.yaml
│ ├── 229Q-value.json
│ ├── 6HB6-value.json
│ ├── FBC9-value.json
│ ├── G4RS-input.yaml
│ ├── KK5P-input.yaml
│ ├── M5DY-value.json
│ ├── NAT4-input.yaml
│ ├── 7ZZ5-value.json
│ ├── PW8X-value.json
│ └── RZP5-value.json
├── .env-cmdrc
├── tsconfig.build.json
└── src
└── meta.ts
/.gitmodules:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | force=true
--------------------------------------------------------------------------------
/explorer/.npmrc:
--------------------------------------------------------------------------------
1 | package-lock=false
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto eol=lf
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/directive01-value.json:
--------------------------------------------------------------------------------
1 | "foo"
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/directive02-value.json:
--------------------------------------------------------------------------------
1 | "123"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AVM7-input.yaml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-pair02-input.yaml:
--------------------------------------------------------------------------------
1 | a :
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-pair03-input.yaml:
--------------------------------------------------------------------------------
1 | : a
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-3-value.json:
--------------------------------------------------------------------------------
1 | ""
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-4-value.json:
--------------------------------------------------------------------------------
1 | ""
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2LFX-value.json:
--------------------------------------------------------------------------------
1 | "foo"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/52DL-value.json:
--------------------------------------------------------------------------------
1 | "a"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6CA3-value.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6LVF-value.json:
--------------------------------------------------------------------------------
1 | "foo"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/753E-value.json:
--------------------------------------------------------------------------------
1 | "ab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8G76-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8MK2-value.json:
--------------------------------------------------------------------------------
1 | "a"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/98YD-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MMA-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AVM7-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BEC7-value.json:
--------------------------------------------------------------------------------
1 | "foo"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CC74-value.json:
--------------------------------------------------------------------------------
1 | "bar"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HWV9-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MYW6-value.json:
--------------------------------------------------------------------------------
1 | "ab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q5MG-value.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QT73-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SF5V-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SM9W-2-input.yaml:
--------------------------------------------------------------------------------
1 | :
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SM9W-input.yaml:
--------------------------------------------------------------------------------
1 | -
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/U3C3-value.json:
--------------------------------------------------------------------------------
1 | "foo"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UKK6-3-value.json:
--------------------------------------------------------------------------------
1 | ""
--------------------------------------------------------------------------------
/explorer/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/27NA-value.json:
--------------------------------------------------------------------------------
1 | "text"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-3-input.yaml:
--------------------------------------------------------------------------------
1 | --- |1-
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-4-input.yaml:
--------------------------------------------------------------------------------
1 | --- |1+
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/65WH-input.yaml:
--------------------------------------------------------------------------------
1 | - foo
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8MK2-input.yaml:
--------------------------------------------------------------------------------
1 | ! a
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MQT-value.json:
--------------------------------------------------------------------------------
1 | "a ...x b"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-8-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HM87-input.yaml:
--------------------------------------------------------------------------------
1 | [:x]
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HWV9-input.yaml:
--------------------------------------------------------------------------------
1 | ...
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K54U-value.json:
--------------------------------------------------------------------------------
1 | "scalar"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-3-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-4-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-5-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-6-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-7-value.json:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P76L-value.json:
--------------------------------------------------------------------------------
1 | "1 - 3"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q5MG-input.yaml:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RTP8-value.json:
--------------------------------------------------------------------------------
1 | "Document"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UKK6-2-input.yaml:
--------------------------------------------------------------------------------
1 | ::
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UKK6-3-input.yaml:
--------------------------------------------------------------------------------
1 | !
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UKK6-input.yaml:
--------------------------------------------------------------------------------
1 | - :
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-5-input.yaml:
--------------------------------------------------------------------------------
1 | - -
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-7-input.yaml:
--------------------------------------------------------------------------------
1 | ? -
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/YJV2-input.yaml:
--------------------------------------------------------------------------------
1 | [-]
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-pair01-input.yaml:
--------------------------------------------------------------------------------
1 | :
2 | a : b
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-sequence-entries03-input.yaml:
--------------------------------------------------------------------------------
1 | -
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/merge02-input.yaml:
--------------------------------------------------------------------------------
1 | <<:
2 | a: b" 1
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/tag01-input.yaml:
--------------------------------------------------------------------------------
1 | - !!foo 123
2 | - !bar 123
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-2-input.yaml:
--------------------------------------------------------------------------------
1 | --- |10
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-input.yaml:
--------------------------------------------------------------------------------
1 | --- |0
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/58MP-input.yaml:
--------------------------------------------------------------------------------
1 | {x: :x}
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6CA3-input.yaml:
--------------------------------------------------------------------------------
1 | [
2 | ]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6FWR-value.json:
--------------------------------------------------------------------------------
1 | "ab\n\n \n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MMA-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9YRD-value.json:
--------------------------------------------------------------------------------
1 | "a b c d\ne"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/B3HG-value.json:
--------------------------------------------------------------------------------
1 | "folded text\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D88J-input.yaml:
--------------------------------------------------------------------------------
1 | a: [b, c]
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D9TU-input.yaml:
--------------------------------------------------------------------------------
1 | foo: bar
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EX5H-value.json:
--------------------------------------------------------------------------------
1 | "a b c d\ne"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G992-value.json:
--------------------------------------------------------------------------------
1 | "folded text\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HM87-2-input.yaml:
--------------------------------------------------------------------------------
1 | [?x]
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JEF9-3-input.yaml:
--------------------------------------------------------------------------------
1 | - |+
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K54U-input.yaml:
--------------------------------------------------------------------------------
1 | --- scalar
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KH5V-value.json:
--------------------------------------------------------------------------------
1 | "1 inline\ttab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M2N8-2-input.yaml:
--------------------------------------------------------------------------------
1 | ? []: x
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M2N8-input.yaml:
--------------------------------------------------------------------------------
1 | - ? : x
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MXS3-input.yaml:
--------------------------------------------------------------------------------
1 | - {a: b}
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-11-input.yaml:
--------------------------------------------------------------------------------
1 | - -1
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-6-input.yaml:
--------------------------------------------------------------------------------
1 | - -
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-9-input.yaml:
--------------------------------------------------------------------------------
1 | ? key:
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZCZ6-input.yaml:
--------------------------------------------------------------------------------
1 | a: b: c: d
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/comments01-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-pair02-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": null
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2JQS-input.yaml:
--------------------------------------------------------------------------------
1 | : a
2 | : b
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3MYT-value.json:
--------------------------------------------------------------------------------
1 | "k:#foo &a !t s"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3R3P-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-2-value.json:
--------------------------------------------------------------------------------
1 | "2 leading \ttab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-3-value.json:
--------------------------------------------------------------------------------
1 | "3 leading tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-6-value.json:
--------------------------------------------------------------------------------
1 | "6 leading tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-value.json:
--------------------------------------------------------------------------------
1 | "1 leading \ttab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4Q9F-value.json:
--------------------------------------------------------------------------------
1 | "ab cd\nef\n\ngh\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4RWC-input.yaml:
--------------------------------------------------------------------------------
1 | [1, 2, 3]
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4UYU-value.json:
--------------------------------------------------------------------------------
1 | "foo: bar\": baz"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/52DL-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | ! a
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/55WF-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | "\."
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/65WH-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "foo"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6WPF-value.json:
--------------------------------------------------------------------------------
1 | " foo\nbar\nbaz "
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6XDY-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/82AN-value.json:
--------------------------------------------------------------------------------
1 | "---word1 word2"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/96NN-2-input.yaml:
--------------------------------------------------------------------------------
1 | foo: |-
2 | bar
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/98YD-input.yaml:
--------------------------------------------------------------------------------
1 | # Comment only.
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/C2SP-input.yaml:
--------------------------------------------------------------------------------
1 | [23
2 | ]: 42
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-2-value.json:
--------------------------------------------------------------------------------
1 | "2 trailing\t tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-3-value.json:
--------------------------------------------------------------------------------
1 | "3 trailing\t tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-4-value.json:
--------------------------------------------------------------------------------
1 | "4 trailing\t tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-5-value.json:
--------------------------------------------------------------------------------
1 | "5 trailing tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-6-value.json:
--------------------------------------------------------------------------------
1 | "6 trailing tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-value.json:
--------------------------------------------------------------------------------
1 | "1 trailing\t tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DHP8-input.yaml:
--------------------------------------------------------------------------------
1 | [foo, bar, 42]
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-4-input.yaml:
--------------------------------------------------------------------------------
1 |
2 | foo: 1
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-input.yaml:
--------------------------------------------------------------------------------
1 | foo:
2 | bar
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EXG3-value.json:
--------------------------------------------------------------------------------
1 | "---word1 word2"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FTA2-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FUP4-input.yaml:
--------------------------------------------------------------------------------
1 | [a, [b, c]]
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HM87-2-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "?x"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HM87-value.json:
--------------------------------------------------------------------------------
1 | [
2 | ":x"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JEF9-2-input.yaml:
--------------------------------------------------------------------------------
1 | - |+
2 |
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JEF9-2-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "\n"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JEF9-3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "\n"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JEF9-input.yaml:
--------------------------------------------------------------------------------
1 | - |+
2 |
3 |
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JEF9-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "\n\n"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KH5V-2-value.json:
--------------------------------------------------------------------------------
1 | "2 inline\ttab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KH5V-3-value.json:
--------------------------------------------------------------------------------
1 | "3 inline\ttab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KH5V-input.yaml:
--------------------------------------------------------------------------------
1 | "1 inline\ttab"
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LX3P-input.yaml:
--------------------------------------------------------------------------------
1 | [flow]: block
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M9B4-value.json:
--------------------------------------------------------------------------------
1 | "literal\n\ttext\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NHX8-input.yaml:
--------------------------------------------------------------------------------
1 | :
2 |
3 |
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S7BG-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - :,
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S7BG-value.json:
--------------------------------------------------------------------------------
1 | [
2 | ":,"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SM9W-value.json:
--------------------------------------------------------------------------------
1 | [
2 | null
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T5N4-value.json:
--------------------------------------------------------------------------------
1 | "literal\n\ttext\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TL85-value.json:
--------------------------------------------------------------------------------
1 | " foo\nbar\nbaz "
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TS54-value.json:
--------------------------------------------------------------------------------
1 | "ab cd\nef\n\ngh\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/U99R-input.yaml:
--------------------------------------------------------------------------------
1 | - !!str, xxx
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/XLQ9-value.json:
--------------------------------------------------------------------------------
1 | "scalar %YAML 1.2"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-11-value.json:
--------------------------------------------------------------------------------
1 | [
2 | -1
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-8-input.yaml:
--------------------------------------------------------------------------------
1 | ? -
2 | : -
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Z9M4-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "bar"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-pair03-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "null": "a"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/tag01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "123",
3 | "123"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3R3P-input.yaml:
--------------------------------------------------------------------------------
1 | &sequence
2 | - a
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-4-value.json:
--------------------------------------------------------------------------------
1 | "4 leading \t tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-5-value.json:
--------------------------------------------------------------------------------
1 | "5 leading \t tab"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4GC6-value.json:
--------------------------------------------------------------------------------
1 | "here's to \"quotes\""
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4MUZ-2-input.yaml:
--------------------------------------------------------------------------------
1 | {"foo"
2 | : bar}
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4MUZ-3-input.yaml:
--------------------------------------------------------------------------------
1 | {foo
2 | : bar}
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4MUZ-input.yaml:
--------------------------------------------------------------------------------
1 | {"foo"
2 | : "bar"}
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4UYU-input.yaml:
--------------------------------------------------------------------------------
1 | "foo: bar\": baz"
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/54T7-input.yaml:
--------------------------------------------------------------------------------
1 | {foo: you, bar: far}
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/58MP-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "x": ":x"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6H3V-input.yaml:
--------------------------------------------------------------------------------
1 | 'foo: bar\': baz'
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7W2P-input.yaml:
--------------------------------------------------------------------------------
1 | ? a
2 | ? b
3 | c:
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/82AN-input.yaml:
--------------------------------------------------------------------------------
1 | ---word1
2 | word2
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/93WF-value.json:
--------------------------------------------------------------------------------
1 | "trimmed\n\n\nas space"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/96NN-input.yaml:
--------------------------------------------------------------------------------
1 | foo: |-
2 | bar
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9J7A-input.yaml:
--------------------------------------------------------------------------------
1 | foo:
2 | bar: baz
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/B63P-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ...
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CXX2-input.yaml:
--------------------------------------------------------------------------------
1 | --- &anchor a: b
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": 1
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EW3V-input.yaml:
--------------------------------------------------------------------------------
1 | k1: v1
2 | k2: v2
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FP8R-value.json:
--------------------------------------------------------------------------------
1 | "line1 line2 line3\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G5U8-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - [-, -]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JKF3-input.yaml:
--------------------------------------------------------------------------------
1 | - - "bar
2 | bar": x
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K527-value.json:
--------------------------------------------------------------------------------
1 | "trimmed\n\n\nas space"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KH5V-2-input.yaml:
--------------------------------------------------------------------------------
1 | "2 inline\ tab"
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KH5V-3-input.yaml:
--------------------------------------------------------------------------------
1 | "3 inline tab"
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L24T-2-input.yaml:
--------------------------------------------------------------------------------
1 | foo: |
2 | x
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MJS9-value.json:
--------------------------------------------------------------------------------
1 | "foo \n\n\t bar\n\nbaz\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-3-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-6-input.yaml:
--------------------------------------------------------------------------------
1 | %YAM 1.1
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-7-input.yaml:
--------------------------------------------------------------------------------
1 | %YAMLL 1.1
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/PUW8-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a: b
3 | ---
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QF4Y-input.yaml:
--------------------------------------------------------------------------------
1 | [
2 | foo: bar
3 | ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QT73-input.yaml:
--------------------------------------------------------------------------------
1 | # comment
2 | ...
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S4T7-input.yaml:
--------------------------------------------------------------------------------
1 | aaa: bbb
2 | ...
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SSW6-value.json:
--------------------------------------------------------------------------------
1 | "here's to \"quotes\""
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UKK6-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | ":": null
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UV7Q-input.yaml:
--------------------------------------------------------------------------------
1 | x:
2 | - x
3 | x
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-10-input.yaml:
--------------------------------------------------------------------------------
1 | ? key:
2 | : key:
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZH7C-input.yaml:
--------------------------------------------------------------------------------
1 | &a a: b
2 | c: &d d
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZL4Z-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a: 'b': c
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-folded01-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "1 2 3\n"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-literal01-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "1\n2\n3\n"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-sequence-entries02-input.yaml:
--------------------------------------------------------------------------------
1 | -
2 | - a
3 | -
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-sequence-entries03-value.json:
--------------------------------------------------------------------------------
1 | [
2 | null
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/27NA-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | --- text
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-input.yaml:
--------------------------------------------------------------------------------
1 | "1 leading
2 | \ttab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3UYS-input.yaml:
--------------------------------------------------------------------------------
1 | escaped slash: "a\/b"
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4GC6-input.yaml:
--------------------------------------------------------------------------------
1 | 'here''s to "quotes"'
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4H7K-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ a, b, c ] ]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4MUZ-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4MUZ-3-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4MUZ-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5MUD-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5NYZ-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": "value"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5TRB-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | "
3 | ---
4 | "
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5U3A-input.yaml:
--------------------------------------------------------------------------------
1 | key: - a
2 | - b
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6BFJ-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a,b,c": "value"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6JQW-value.json:
--------------------------------------------------------------------------------
1 | "\\//||\\/||\n// || ||__\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6JTT-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ [ a, b, c ]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6XDY-value.json:
--------------------------------------------------------------------------------
1 | [
2 | null,
3 | null
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7FWL-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "baz"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8XYN-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "unicode anchor"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/96NN-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "\tbar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/96NN-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "\tbar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MAG-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ , a, b, c ]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MQT-2-input.yaml:
--------------------------------------------------------------------------------
1 | --- "a
2 | ... x
3 | b"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MQT-input.yaml:
--------------------------------------------------------------------------------
1 | --- "a
2 | ...x
3 | b"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CPZ3-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | tab: "\tstring"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CTN5-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ a, b, c, , ]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D9TU-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK3J-value.json:
--------------------------------------------------------------------------------
1 | "line1 # no comment line3\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-2-input.yaml:
--------------------------------------------------------------------------------
1 | foo: "bar
2 | baz"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-3-input.yaml:
--------------------------------------------------------------------------------
1 | foo: "bar
2 | baz"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-5-input.yaml:
--------------------------------------------------------------------------------
1 | foo: 1
2 |
3 | bar: 2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-8-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 |
3 | ---
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DWX9-value.json:
--------------------------------------------------------------------------------
1 | "\n\nliteral\n \n\ntext\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/E76Z-input.yaml:
--------------------------------------------------------------------------------
1 | &a a: &b b
2 | *b : *a
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FTA2-input.yaml:
--------------------------------------------------------------------------------
1 | --- &sequence
2 | - a
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G7JE-input.yaml:
--------------------------------------------------------------------------------
1 | a\nb: 1
2 | c
3 | d: 1
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H7TQ-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2 foo
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K3WX-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K4SU-input.yaml:
--------------------------------------------------------------------------------
1 | - foo
2 | - bar
3 | - 42
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L24T-input.yaml:
--------------------------------------------------------------------------------
1 | foo: |
2 | x
3 |
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L24T-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "x\n \n"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LX3P-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "flow": "block"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-4-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1#...
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/N782-input.yaml:
--------------------------------------------------------------------------------
1 | [
2 | --- ,
3 | ...
4 | ]
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NHX8-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "null": null
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P94K-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": "value"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RR7F-input.yaml:
--------------------------------------------------------------------------------
1 | a: 4.2
2 | ? d
3 | : 23
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RXY3-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | '
3 | ...
4 | '
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S4T7-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "aaa": "bbb"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SBG9-input.yaml:
--------------------------------------------------------------------------------
1 | {a: [b, c], [d, e]: f}
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SM9W-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "null": null
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SY6V-input.yaml:
--------------------------------------------------------------------------------
1 | &anchor - sequence entry
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T26H-value.json:
--------------------------------------------------------------------------------
1 | "\n\nliteral\n \n\ntext\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/X8DW-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": "value"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y2GN-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": "value"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-input.yaml:
--------------------------------------------------------------------------------
1 | foo: |
2 |
3 | bar: 1
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZVH3-input.yaml:
--------------------------------------------------------------------------------
1 | - key: value
2 | - item1
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZXT5-input.yaml:
--------------------------------------------------------------------------------
1 | [ "key"
2 | :value ]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-folded01-input.yaml:
--------------------------------------------------------------------------------
1 | a: >
2 | 1
3 | 2
4 | 3
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-literal01-input.yaml:
--------------------------------------------------------------------------------
1 | a: |
2 | 1
3 | 2
4 | 3
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-seq01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "a": "b"
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/directive01-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ---
3 | !!str "foo"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-block-map02-input.yaml:
--------------------------------------------------------------------------------
1 | ? a
2 | :
3 | : b
4 | ...
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/236B-input.yaml:
--------------------------------------------------------------------------------
1 | foo:
2 | bar
3 | invalid
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2CMS-input.yaml:
--------------------------------------------------------------------------------
1 | this
2 | is
3 | invalid: x
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/33X3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | 1,
3 | -2,
4 | 33
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/36F6-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "plain": "a b\nc"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3MYT-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | k:#foo
3 | &a !t s
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-2-input.yaml:
--------------------------------------------------------------------------------
1 | "2 leading
2 | \ tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-3-input.yaml:
--------------------------------------------------------------------------------
1 | "3 leading
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-4-input.yaml:
--------------------------------------------------------------------------------
1 | "4 leading
2 | \t tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-5-input.yaml:
--------------------------------------------------------------------------------
1 | "5 leading
2 | \ tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3RLN-6-input.yaml:
--------------------------------------------------------------------------------
1 | "6 leading
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4RWC-value.json:
--------------------------------------------------------------------------------
1 | [
2 | 1,
3 | 2,
4 | 3
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4V8U-value.json:
--------------------------------------------------------------------------------
1 | "plain\\value\\with\\backslashes"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5MUD-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | { "foo"
3 | :bar }
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5NYZ-input.yaml:
--------------------------------------------------------------------------------
1 | key: # Comment
2 | value
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/62EZ-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | x: { y: z }in: valid
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/652Z-input.yaml:
--------------------------------------------------------------------------------
1 | { ?foo: bar,
2 | bar: 42
3 | }
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6H3V-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo: bar\\": "baz'"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6M2F-input.yaml:
--------------------------------------------------------------------------------
1 | ? &a a
2 | : &b b
3 | : *a
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6WLZ-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "bar",
3 | "bar"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7LBH-input.yaml:
--------------------------------------------------------------------------------
1 | "a\nb": 1
2 | "c
3 | d": 1
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8G76-input.yaml:
--------------------------------------------------------------------------------
1 | # Comment
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8QBE-input.yaml:
--------------------------------------------------------------------------------
1 | key:
2 | - item1
3 | - item2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8XYN-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - &😁 unicode anchor
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9JBA-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ a, b, c, ]#invalid
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9WXW-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "bar",
3 | "bar"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BS4K-input.yaml:
--------------------------------------------------------------------------------
1 | word1 # comment
2 | word2
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CPZ3-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "tab": "\tstring"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D49Q-input.yaml:
--------------------------------------------------------------------------------
1 | 'a\nb': 1
2 | 'c
3 | d': 1
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-2-input.yaml:
--------------------------------------------------------------------------------
1 | "2 trailing\t
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-3-input.yaml:
--------------------------------------------------------------------------------
1 | "3 trailing\
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-4-input.yaml:
--------------------------------------------------------------------------------
1 | "4 trailing\
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-5-input.yaml:
--------------------------------------------------------------------------------
1 | "5 trailing
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-6-input.yaml:
--------------------------------------------------------------------------------
1 | "6 trailing
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DE56-input.yaml:
--------------------------------------------------------------------------------
1 | "1 trailing\t
2 | tab"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK4H-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ key
3 | : value ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-3-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar baz"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-6-input.yaml:
--------------------------------------------------------------------------------
1 | foo: 1
2 |
3 | bar: 2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-7-input.yaml:
--------------------------------------------------------------------------------
1 | foo:
2 | a: 1
3 | b: 2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-9-input.yaml:
--------------------------------------------------------------------------------
1 | foo: "bar
2 | baz "
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DMG6-input.yaml:
--------------------------------------------------------------------------------
1 | key:
2 | ok: 1
3 | wrong: 2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EXG3-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | ---word1
3 | word2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/GH63-input.yaml:
--------------------------------------------------------------------------------
1 | ? a
2 | : 1.3
3 | fifteen: d
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/GT5M-input.yaml:
--------------------------------------------------------------------------------
1 | - item1
2 | &node
3 | - item2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H7J7-input.yaml:
--------------------------------------------------------------------------------
1 | key: &x
2 | !!map
3 | a: b
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J7VC-input.yaml:
--------------------------------------------------------------------------------
1 | one: 2
2 |
3 |
4 | three: 4
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KMK3-input.yaml:
--------------------------------------------------------------------------------
1 | foo:
2 | bar: 1
3 | baz: 2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L24T-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "x\n \n"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L383-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "foo",
3 | "foo"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LHL4-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | !invalid{}tag scalar
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M29M-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "ab\n\ncd\nef\n"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-5-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1 # comment
2 | ---
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MYW6-input.yaml:
--------------------------------------------------------------------------------
1 | |-
2 | ab
3 |
4 |
5 | ...
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P2EQ-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - { y: z }- invalid
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SR86-input.yaml:
--------------------------------------------------------------------------------
1 | key1: &a value
2 | key2: &b *a
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SSW6-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | 'here''s to "quotes"'
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SU5Z-input.yaml:
--------------------------------------------------------------------------------
1 | key: "value"# invalid comment
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TE2A-input.yaml:
--------------------------------------------------------------------------------
1 | block mapping:
2 | key: value
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UDM2-input.yaml:
--------------------------------------------------------------------------------
1 | - { url: http://example.org }
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/VJP3-input.yaml:
--------------------------------------------------------------------------------
1 | k: {
2 | k
3 | :
4 | v
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/X4QW-input.yaml:
--------------------------------------------------------------------------------
1 | block: ># comment
2 | scalar
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/XLQ9-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | scalar
3 | %YAML 1.2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y2GN-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | key: &an:chor value
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-2-input.yaml:
--------------------------------------------------------------------------------
1 | foo: |
2 |
3 | bar: 1
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-3-input.yaml:
--------------------------------------------------------------------------------
1 | - [
2 |
3 | foo
4 | ]
5 |
--------------------------------------------------------------------------------
/.env-cmdrc:
--------------------------------------------------------------------------------
1 | {
2 | "version-ci": {
3 | "IN_VERSION_CI_SCRIPT": "true"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-seq01-input.yaml:
--------------------------------------------------------------------------------
1 | - a: b
2 | # block-seq01-input
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-pair01-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "null": null,
3 | "a": "b"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2JQS-output.json:
--------------------------------------------------------------------------------
1 | Map keys must be unique@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/36F6-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | plain: a
3 | b
4 |
5 | c
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3ALJ-input.yaml:
--------------------------------------------------------------------------------
1 | - - s1_i1
2 | - s1_i2
3 | - s2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3HFZ-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | key: value
3 | ... invalid
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3UYS-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "escaped slash": "a/b"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4EJS-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a:
3 | b:
4 | c: value
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5KJE-input.yaml:
--------------------------------------------------------------------------------
1 | - [ one, two, ]
2 | - [three ,four]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5TRB-output.json:
--------------------------------------------------------------------------------
1 | Missing closing "quote@line:2,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6BCT-input.yaml:
--------------------------------------------------------------------------------
1 | - foo: bar
2 | - - baz
3 | - baz
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6FWR-input.yaml:
--------------------------------------------------------------------------------
1 | --- |+
2 | ab
3 |
4 |
5 | ...
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6KGN-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a: &anchor
3 | b: *anchor
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6KGN-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": null,
3 | "b": null
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/753E-input.yaml:
--------------------------------------------------------------------------------
1 | --- |-
2 | ab
3 |
4 |
5 | ...
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7MNF-input.yaml:
--------------------------------------------------------------------------------
1 | top1:
2 | key1: val1
3 | top2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7TMG-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "word1",
3 | "word2"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8XDJ-input.yaml:
--------------------------------------------------------------------------------
1 | key: word1
2 | # xxx
3 | word2
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9C9N-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | flow: [a,
3 | b,
4 | c]
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9SHH-input.yaml:
--------------------------------------------------------------------------------
1 | single: 'text'
2 | double: "text"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9YRD-input.yaml:
--------------------------------------------------------------------------------
1 | a
2 | b
3 | c
4 | d
5 |
6 | e
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/A984-input.yaml:
--------------------------------------------------------------------------------
1 | a: b
2 | c
3 | d:
4 | e
5 | f
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AZ63-input.yaml:
--------------------------------------------------------------------------------
1 | one:
2 | - 2
3 | - 3
4 | four: 5
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AZW3-input.yaml:
--------------------------------------------------------------------------------
1 | - bla"keks: foo
2 | - bla]keks: foo
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BD7L-input.yaml:
--------------------------------------------------------------------------------
1 | - item1
2 | - item2
3 | invalid: x
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BU8L-input.yaml:
--------------------------------------------------------------------------------
1 | key: &anchor
2 | !!map
3 | a: b
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CQ3W-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | key: "missing closing quote
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CQ3W-output.json:
--------------------------------------------------------------------------------
1 | Missing closing "quote@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CT4Q-input.yaml:
--------------------------------------------------------------------------------
1 | [
2 | ? foo
3 | bar : baz
4 | ]
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CVW2-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ a, b, c,#invalid
3 | ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-5-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": 1,
3 | "bar": 2
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-6-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": 1,
3 | "bar": 2
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-9-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar baz \t \t "
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/E76Z-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "b",
3 | "b": "a"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FP8R-input.yaml:
--------------------------------------------------------------------------------
1 | --- >
2 | line1
3 | line2
4 | line3
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FRK4-input.yaml:
--------------------------------------------------------------------------------
1 | {
2 | ? foo :,
3 | : bar,
4 | }
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G992-input.yaml:
--------------------------------------------------------------------------------
1 | >
2 | folded
3 | text
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/GDY7-input.yaml:
--------------------------------------------------------------------------------
1 | key: value
2 | this is #not a: key
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H3Z8-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | wanted: love ♥ and peace ☮
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HRE5-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | double: "quoted \' scalar"
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J7VC-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "one": 2,
3 | "three": 4
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JKF3-output.json:
--------------------------------------------------------------------------------
1 | Missing closing "quote@line:1,column:8
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L94M-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": 47,
3 | "c": "d"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M2N8-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "[object Object]": null
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M9B4-input.yaml:
--------------------------------------------------------------------------------
1 | |
2 | literal
3 | text
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MXS3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "a": "b"
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NB6Z-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": "value with\ntabs"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QB6E-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | quoted: "a
3 | b
4 | c"
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QB6E-output.json:
--------------------------------------------------------------------------------
1 | Missing closing "quote@line:2,column:10
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RLU9-input.yaml:
--------------------------------------------------------------------------------
1 | foo:
2 | - 42
3 | bar:
4 | - 44
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RR7F-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": 4.2,
3 | "d": 23
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RXY3-output.json:
--------------------------------------------------------------------------------
1 | Missing closing 'quote@line:2,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S4JQ-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "12",
3 | 12,
4 | "12"
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SF5V-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | %YAML 1.2
3 | ---
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T833-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | {
3 | foo: 1
4 | bar: 2 }
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TD5N-input.yaml:
--------------------------------------------------------------------------------
1 | - item1
2 | - item2
3 | invalid
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/V55R-input.yaml:
--------------------------------------------------------------------------------
1 | - &a a
2 | - &b b
3 | - *a
4 | - *b
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/VJP3-2-input.yaml:
--------------------------------------------------------------------------------
1 | k: {
2 | k
3 | :
4 | v
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/WZ62-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "",
3 | "": "bar"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "foo"
4 | ]
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-4-input.yaml:
--------------------------------------------------------------------------------
1 | - [
2 | foo,
3 | foo
4 | ]
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZH7C-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "b",
3 | "c": "d"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/alias01-input.yaml:
--------------------------------------------------------------------------------
1 | - &mark foo
2 | - bar
3 | - *mark
4 | - *mark
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/merge02-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "<<": {
3 | "a": "b\" 1"
4 | }
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-flow-seq02-input.yaml:
--------------------------------------------------------------------------------
1 | [
2 | ?
3 | ? : b
4 | ]
5 | ...
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-flow-seq03-input.yaml:
--------------------------------------------------------------------------------
1 | [
2 | : a,
3 | : b
4 | ]
5 | ...
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-float-input.yaml:
--------------------------------------------------------------------------------
1 | - 1.2
2 | - 1.2e3
3 | - 1.2e+3
4 | - 1.2e-3
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2SXE-input.yaml:
--------------------------------------------------------------------------------
1 | &a: key: &a value
2 | foo:
3 | *a:
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4V8U-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | plain\value\with\backslashes
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/55WF-output.json:
--------------------------------------------------------------------------------
1 | Invalid escape sequence \.@line:2,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5T43-input.yaml:
--------------------------------------------------------------------------------
1 | - { "key":value }
2 | - { "key"::value }
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5TYM-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "fluorescent",
3 | "green"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/652Z-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "?foo": "bar",
3 | "bar": 42
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6CK3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "foo",
3 | "bar",
4 | "baz"
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6M2F-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "b",
3 | "null": "a"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6S55-input.yaml:
--------------------------------------------------------------------------------
1 | key:
2 | - bar
3 | - baz
4 | invalid
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7Z25-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | scalar1
3 | ...
4 | key: value
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9KBC-input.yaml:
--------------------------------------------------------------------------------
1 | --- key1: value1
2 | key2: value2
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MQT-2-output.json:
--------------------------------------------------------------------------------
1 | Missing closing "quote@line:1,column:6
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/A2M4-input.yaml:
--------------------------------------------------------------------------------
1 | ? a
2 | : - b
3 | - - c
4 | - d
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/A984-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "b c",
3 | "d": "e f"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AB8U-input.yaml:
--------------------------------------------------------------------------------
1 | - single multiline
2 | - sequence entry
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/B3HG-input.yaml:
--------------------------------------------------------------------------------
1 | --- >
2 | folded
3 | text
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CML9-input.yaml:
--------------------------------------------------------------------------------
1 | key: [ word1
2 | # xxx
3 | word2 ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DC7X-input.yaml:
--------------------------------------------------------------------------------
1 | a: b
2 | seq:
3 | - a
4 | c: d #X
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DHP8-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "foo",
3 | "bar",
4 | 42
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-2-output.json:
--------------------------------------------------------------------------------
1 | Missing closing "quote@line:1,column:9
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/F3CP-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | { a: [b, c, { d: [e, f] } ] }
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G9HC-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | seq:
3 | &anchor
4 | - a
5 | - b
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/GH63-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": 1.3,
3 | "fifteen": "d"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H3Z8-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "wanted": "love ♥ and peace ☮"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HRE5-output.json:
--------------------------------------------------------------------------------
1 | Invalid escape sequence \'@line:2,column:16
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HS5T-value.json:
--------------------------------------------------------------------------------
1 | "1st non-empty\n2nd non-empty 3rd non-empty"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HU3P-input.yaml:
--------------------------------------------------------------------------------
1 | key:
2 | word1 word2
3 | no: key
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J5UC-input.yaml:
--------------------------------------------------------------------------------
1 | foo: blue
2 | bar: arrr
3 | baz: jazz
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K3WX-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | { "foo" # comment
3 | :bar }
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K4SU-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "foo",
3 | "bar",
4 | 42
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KSS4-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "quoted string",
3 | "foo"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QF4Y-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "foo": "bar"
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RHX7-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | key: value
3 | %YAML 1.2
4 | ---
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T5N4-input.yaml:
--------------------------------------------------------------------------------
1 | --- |
2 | literal
3 | text
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UKK6-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "null": null
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UV7Q-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "x": [
3 | "x x"
4 | ]
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W4TN-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "%!PS-Adobe-2.0\n",
3 | null
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/X38W-input.yaml:
--------------------------------------------------------------------------------
1 | { &a [a, &b b]: *b, *a : [c, *b, d]}
2 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/X8DW-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | ? key
3 | # comment
4 | : value
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "\t\n",
3 | "bar": 1
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZK9H-input.yaml:
--------------------------------------------------------------------------------
1 | { key: [[[
2 | value
3 | ]]]
4 | }
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZWK4-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a: 1
3 | ? b
4 | &anchor c: 3
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/alias01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "foo",
3 | "bar",
4 | "foo",
5 | "foo"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/docs01-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | foo: 123
3 | ...
4 | bar
5 | ---
6 | baz: 456
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-sequence-entries01-input.yaml:
--------------------------------------------------------------------------------
1 | - empty-sequence-entries01-input
2 | -
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-sequence-entries02-value.json:
--------------------------------------------------------------------------------
1 | [
2 | null,
3 | "a",
4 | null
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/flow01-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | { a: b, c: d, 0: 1}
3 | ---
4 | [1 ,2, 3, a: b]
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/no-header01-input.yaml:
--------------------------------------------------------------------------------
1 | - Mark McGwire
2 | - Sammy Sosa
3 | - Ken Griffey
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-flow-seq02-output.json:
--------------------------------------------------------------------------------
1 | Unexpected ? in flow sequence@line:3,column:2
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2AUY-input.yaml:
--------------------------------------------------------------------------------
1 | - !!str a
2 | - b
3 | - !!int 42
4 | - d
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2AUY-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a",
3 | "b",
4 | 42,
5 | "d"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2SXE-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": "value",
3 | "foo": "key"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3HFZ-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:3,column:4
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/54T7-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "you",
3 | "bar": "far"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/62EZ-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:2,column:11
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6JTT-output.json:
--------------------------------------------------------------------------------
1 | Flow sequence must end with a ]@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7A4E-value.json:
--------------------------------------------------------------------------------
1 | " 1st non-empty\n2nd non-empty 3rd non-empty "
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7TMG-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [ word1
3 | # comment
4 | , word2]
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8CWC-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | key ends with two colons::: value
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9CWY-input.yaml:
--------------------------------------------------------------------------------
1 | key:
2 | - item1
3 | - item2
4 | invalid
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9HCY-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MAG-output.json:
--------------------------------------------------------------------------------
1 | Unexpected , in flow sequence@line:2,column:2
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9TFX-value.json:
--------------------------------------------------------------------------------
1 | " 1st non-empty\n2nd non-empty 3rd non-empty "
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AB8U-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "single multiline - sequence entry"
3 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BD7L-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BS4K-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BU8L-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": {
3 | "a": "b"
4 | }
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CFD4-input.yaml:
--------------------------------------------------------------------------------
1 | - [ : empty key ]
2 | - [: another empty key]
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CT4Q-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "foo bar": "baz"
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CTN5-output.json:
--------------------------------------------------------------------------------
1 | Unexpected , in flow sequence@line:2,column:11
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK3J-input.yaml:
--------------------------------------------------------------------------------
1 | --- >
2 | line1
3 | # no comment
4 | line3
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EB22-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EX5H-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a
3 | b
4 | c
5 | d
6 |
7 | e
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/F2C7-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a",
3 | 2,
4 | 4,
5 | "d"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FRK4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": null,
3 | "null": "bar"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/GT5M-output.json:
--------------------------------------------------------------------------------
1 | Unexpected anchor at node end@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HMQ5-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "bar",
3 | "baz": "foo"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KS4U-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:5,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KSS4-input.yaml:
--------------------------------------------------------------------------------
1 | --- "quoted
2 | string"
3 | --- &node foo
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L383-input.yaml:
--------------------------------------------------------------------------------
1 | --- foo # comment
2 | --- foo # comment
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MJS9-input.yaml:
--------------------------------------------------------------------------------
1 | >
2 | foo
3 |
4 | bar
5 |
6 | baz
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-2-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ---
3 | %YAML 1.2
4 | ---
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-output.json:
--------------------------------------------------------------------------------
1 | Unsupported YAML version 1.1#...@line:1,column:6
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/N782-output.json:
--------------------------------------------------------------------------------
1 | Flow sequence must end with a ]@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/PRH3-value.json:
--------------------------------------------------------------------------------
1 | " 1st non-empty\n2nd non-empty 3rd non-empty "
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q4CL-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:2,column:16
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QLJ7-output.json:
--------------------------------------------------------------------------------
1 | Could not resolve tag: !prefix!B@line:4,column:4
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S4GJ-output.json:
--------------------------------------------------------------------------------
1 | Not a YAML token: first line@line:2,column:10
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SKE5-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | seq:
3 | &anchor
4 | - a
5 | - b
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SU74-input.yaml:
--------------------------------------------------------------------------------
1 | key1: &alias value1
2 | &b *alias : value2
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T4YY-value.json:
--------------------------------------------------------------------------------
1 | " 1st non-empty\n2nd non-empty 3rd non-empty "
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TD5N-output.json:
--------------------------------------------------------------------------------
1 | Unexpected scalar at node end@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/V55R-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a",
3 | "b",
4 | "a",
5 | "b"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/VJP3-2-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "k": {
3 | "k": "v"
4 | }
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/WZ62-input.yaml:
--------------------------------------------------------------------------------
1 | {
2 | foo : !!str,
3 | !!str : bar,
4 | }
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/comment-and-flow-map01-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": null,
3 | "null": "bar"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/comment-and-flow-map02-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "null": "bar",
3 | "foo": null
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/comments01-input.yaml:
--------------------------------------------------------------------------------
1 | #1
2 | # 2
3 | # 3
4 | ## 4
5 | foo: bar # 5
6 | #
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/flow-seq01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a",
3 | "b",
4 | "c",
5 | "c",
6 | ""
7 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-block-map01-input.yaml:
--------------------------------------------------------------------------------
1 | a : b
2 | ? c
3 | : d
4 | ? e
5 | ?
6 | : f
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-block-map02-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": {
3 | "null": "b"
4 | }
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/quoted01-input.yaml:
--------------------------------------------------------------------------------
1 | "a": "b"
2 | "1": "2"
3 |
4 | ---
5 | 'a': 'b'
6 | '1': '2'
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-float-value.json:
--------------------------------------------------------------------------------
1 | [
2 | 1.2,
3 | 1200,
4 | 1200,
5 | 0.0012
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/33X3-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - !!int 1
3 | - !!int -2
4 | - !!int 33
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4EJS-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4FJ6-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [
3 | [ a, [ [[b,c]]: d, e]]: 23
4 | ]
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4HVU-input.yaml:
--------------------------------------------------------------------------------
1 | key:
2 | - ok
3 | - also ok
4 | - wrong
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4JVG-output.json:
--------------------------------------------------------------------------------
1 | A node can have at most one anchor@line:4,column:2
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4WA9-input.yaml:
--------------------------------------------------------------------------------
1 | - aaa: |2
2 | xxx
3 | bbb: |
4 | xxx
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5LLU-input.yaml:
--------------------------------------------------------------------------------
1 | block scalar: >
2 |
3 |
4 |
5 | invalid
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6BFJ-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | &mapping
3 | &key [ &item a, b, c ]: value
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6PBE-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | ?
3 | - a
4 | - b
5 | :
6 | - c
7 | - d
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6PBE-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a,b": [
3 | "c",
4 | "d"
5 | ]
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7FWL-input.yaml:
--------------------------------------------------------------------------------
1 | ! foo :
2 | ! baz
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8CWC-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key ends with two colons::": "value"
3 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/96L6-value.json:
--------------------------------------------------------------------------------
1 | "Mark McGwire's year was crippled by a knee injury.\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9J7A-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": {
3 | "bar": "baz"
4 | }
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9SHH-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "single": "text",
3 | "double": "text"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CUP7-input.yaml:
--------------------------------------------------------------------------------
1 | anchored: !local &anchor value
2 | alias: *anchor
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D88J-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": [
3 | "b",
4 | "c"
5 | ]
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK95-7-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:3,column:2
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EHF6-input.yaml:
--------------------------------------------------------------------------------
1 | !!map {
2 | k: !!seq
3 | [ a, !!str b]
4 | }
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EHF6-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "k": [
3 | "a",
4 | "b"
5 | ]
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FQ7F-input.yaml:
--------------------------------------------------------------------------------
1 | - Mark McGwire
2 | - Sammy Sosa
3 | - Ken Griffey
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HMQ5-input.yaml:
--------------------------------------------------------------------------------
1 | !!str &a1 "foo":
2 | !!str bar
3 | &a2 baz : *a1
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JQ4R-input.yaml:
--------------------------------------------------------------------------------
1 | block sequence:
2 | - one
3 | - two : three
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JTV5-input.yaml:
--------------------------------------------------------------------------------
1 | ? a
2 | true
3 | : null
4 | d
5 | ? e
6 | 42
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JTV5-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a true": "null d",
3 | "e 42": null
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K858-input.yaml:
--------------------------------------------------------------------------------
1 | strip: >-
2 |
3 | clip: >
4 |
5 | keep: |+
6 |
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KS4U-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | [
3 | sequence item
4 | ]
5 | invalid item
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L94M-input.yaml:
--------------------------------------------------------------------------------
1 | ? !!str a
2 | : !!int 47
3 | ? c
4 | : !!str d
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M2N8-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "[object Object]": null
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M6YH-input.yaml:
--------------------------------------------------------------------------------
1 | - |
2 | x
3 | -
4 | foo: bar
5 | -
6 | - 42
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NB6Z-input.yaml:
--------------------------------------------------------------------------------
1 | key:
2 | value
3 | with
4 |
5 | tabs
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P2EQ-output.json:
--------------------------------------------------------------------------------
1 | Unexpected seq-item-ind at node end@line:2,column:10
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/PUW8-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "a": "b"
4 | },
5 | null
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RTP8-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ---
3 | Document
4 | ... # Suffix
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S4GJ-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | folded: > first line
3 | second line
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SKE5-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "seq": [
3 | "a",
4 | "b"
5 | ]
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TS54-input.yaml:
--------------------------------------------------------------------------------
1 | >
2 | ab
3 | cd
4 |
5 | ef
6 |
7 |
8 | gh
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W5VH-input.yaml:
--------------------------------------------------------------------------------
1 | a: &:@*!$": scalar a
2 | b: *:@*!$":
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W5VH-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "scalar a",
3 | "b": "scalar a"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-10-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:2,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-5-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:1,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-6-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:1,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-7-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:1,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-8-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:2,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-9-output.json:
--------------------------------------------------------------------------------
1 | Tabs are not allowed as indentation@line:1,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZWK4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": 1,
3 | "b": null,
4 | "c": 3
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/directive02-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !yaml! tag:yaml.org,2002:
2 | ---
3 | !yaml!str 123
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/_options.json:
--------------------------------------------------------------------------------
1 | {
2 | "defaultYAMLVersion": "1.1"
3 | }
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/set01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "Mark McGwire",
3 | "Sammy Sosa",
4 | "Ken Griffey"
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2CMS-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys need to be on a single line@line:1,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4FJ6-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "a,[object Object],e": 23
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4Q9F-input.yaml:
--------------------------------------------------------------------------------
1 | --- >
2 | ab
3 | cd
4 |
5 | ef
6 |
7 |
8 | gh
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6JQW-input.yaml:
--------------------------------------------------------------------------------
1 | # ASCII Art
2 | --- |
3 | \//||\/||
4 | // || ||__
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7LBH-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys need to be on a single line@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7W2P-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": null,
3 | "b": null,
4 | "c": null
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9FMG-input.yaml:
--------------------------------------------------------------------------------
1 | a:
2 | b:
3 | c: d
4 | e:
5 | f: g
6 | h: i
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/C2SP-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys need to be on a single line@line:1,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CML9-output.json:
--------------------------------------------------------------------------------
1 | Missing , or : between flow sequence items@line:3,column:2
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CUP7-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "anchored": "value",
3 | "alias": "value"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D49Q-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys need to be on a single line@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FUP4-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a",
3 | [
4 | "b",
5 | "c"
6 | ]
7 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G7JE-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys need to be on a single line@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HU3P-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys need to be on a single line@line:2,column:2
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K527-input.yaml:
--------------------------------------------------------------------------------
1 | >-
2 | trimmed
3 |
4 |
5 |
6 | as
7 | space
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LE5A-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a",
3 | "b",
4 | "c",
5 | "c",
6 | ""
7 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M29M-input.yaml:
--------------------------------------------------------------------------------
1 | a: |
2 | ab
3 |
4 | cd
5 | ef
6 |
7 |
8 | ...
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/N4JP-input.yaml:
--------------------------------------------------------------------------------
1 | map:
2 | key1: "quoted1"
3 | key2: "bad indentation"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NP9H-value.json:
--------------------------------------------------------------------------------
1 | "folded to a space,\nto a line feed, or \t \tnon-content"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q88A-input.yaml:
--------------------------------------------------------------------------------
1 | - [ a, b ]
2 | - { a: b }
3 | - "a"
4 | - 'b'
5 | - c
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q8AD-value.json:
--------------------------------------------------------------------------------
1 | "folded to a space,\nto a line feed, or \t \tnon-content"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SY6V-output.json:
--------------------------------------------------------------------------------
1 | Missing newline after block sequence props@line:1,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SYW4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "hr": 65,
3 | "avg": 0.278,
4 | "rbi": 147
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T833-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys need to be on a single line@line:3,column:6
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TL85-input.yaml:
--------------------------------------------------------------------------------
1 | "
2 | foo
3 |
4 | bar
5 |
6 | baz
7 | "
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UDM2-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "url": "http://example.org"
4 | }
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UT92-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "matches %": 20
4 | },
5 | null
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/V9D5-input.yaml:
--------------------------------------------------------------------------------
1 | - sun: yellow
2 | - ? earth: blue
3 | : moon: white
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Z67P-input.yaml:
--------------------------------------------------------------------------------
1 | literal: |2
2 | value
3 | folded: !foo >1
4 | value
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/anchor01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "a",
3 | "a",
4 | "b",
5 | "b",
6 | "c",
7 | "c"
8 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/no-header01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "Mark McGwire",
3 | "Sammy Sosa",
4 | "Ken Griffey"
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5U3A-output.json:
--------------------------------------------------------------------------------
1 | Unexpected block-seq-ind on same line with key@line:1,column:5
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6S55-output.json:
--------------------------------------------------------------------------------
1 | All mapping items must start at the same column@line:4,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6WPF-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | "
3 | foo
4 |
5 | bar
6 |
7 | baz
8 | "
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7Z25-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "scalar1",
3 | {
4 | "key": "value"
5 | }
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8QBE-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": [
3 | "item1",
4 | "item2"
5 | ]
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8XDJ-output.json:
--------------------------------------------------------------------------------
1 | All mapping items must start at the same column@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/93JH-input.yaml:
--------------------------------------------------------------------------------
1 | - key: value
2 | key2: value2
3 | -
4 | key3: value3
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/93WF-input.yaml:
--------------------------------------------------------------------------------
1 | --- >-
2 | trimmed
3 |
4 |
5 |
6 | as
7 | space
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/B63P-output.json:
--------------------------------------------------------------------------------
1 | Missing directives-end/doc-start indicator line@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BF9H-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | plain: a
3 | b # end of scalar
4 | c
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BF9H-output.json:
--------------------------------------------------------------------------------
1 | All mapping items must start at the same column@line:4,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CC74-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !e! tag:example.com,2000:app/
2 | ---
3 | !e!foo "bar"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DFF7-input.yaml:
--------------------------------------------------------------------------------
1 | {
2 | ? explicit: entry,
3 | implicit: entry,
4 | ?
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DMG6-output.json:
--------------------------------------------------------------------------------
1 | All mapping items must start at the same column@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EB22-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | scalar1 # comment
3 | %YAML 1.2
4 | ---
5 | scalar2
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/F2C7-input.yaml:
--------------------------------------------------------------------------------
1 | - &a !!str a
2 | - !!int 2
3 | - !!int &c 4
4 | - &d d
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H7J7-output.json:
--------------------------------------------------------------------------------
1 | All mapping items must start at the same column@line:1,column:7
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H7TQ-output.json:
--------------------------------------------------------------------------------
1 | %YAML directive should contain exactly one part@line:1,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HS5T-input.yaml:
--------------------------------------------------------------------------------
1 | 1st non-empty
2 |
3 | 2nd non-empty
4 | 3rd non-empty
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/K858-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "strip": "",
3 | "clip": "",
4 | "keep": "\n"
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KMK3-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": {
3 | "bar": 1
4 | },
5 | "baz": 2
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M5C3-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "literal": "value\n",
3 | "folded": "value\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/N4JP-output.json:
--------------------------------------------------------------------------------
1 | All mapping items must start at the same column@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P94K-input.yaml:
--------------------------------------------------------------------------------
1 | key: # Comment
2 | # lines
3 | value
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S98Z-input.yaml:
--------------------------------------------------------------------------------
1 | empty block scalar: >
2 |
3 |
4 |
5 | # comment
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SR86-output.json:
--------------------------------------------------------------------------------
1 | An alias node must not specify any properties@line:2,column:9
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SU74-output.json:
--------------------------------------------------------------------------------
1 | An alias node must not specify any properties@line:2,column:3
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/TE2A-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "block mapping": {
3 | "key": "value"
4 | }
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/U3C3-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !yaml! tag:yaml.org,2002:
2 | ---
3 | !yaml!str "foo"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/U44R-input.yaml:
--------------------------------------------------------------------------------
1 | map:
2 | key1: "quoted1"
3 | key2: "bad indentation"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/U44R-output.json:
--------------------------------------------------------------------------------
1 | All mapping items must start at the same column@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Z67P-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "literal": "value\n",
3 | "folded": "value\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZVH3-output.json:
--------------------------------------------------------------------------------
1 | All sequence items must start at the same column@line:2,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/anchor01-input.yaml:
--------------------------------------------------------------------------------
1 | - &mark a
2 | - *mark
3 | - &mark b
4 | - *mark
5 | - &mark c
6 | - *mark
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/empty-sequence-entries01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "empty-sequence-entries01-input",
3 | null
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/omap01-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Mark McGwire": 65,
3 | "Sammy Sosa": 63,
4 | "Ken Griffy": 58
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/omap02-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Mark McGwire": 65,
3 | "Sammy Sosa": 63,
4 | "Ken Griffy": 58
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/236B-output.json:
--------------------------------------------------------------------------------
1 | Implicit map keys need to be followed by map values@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-2-output.json:
--------------------------------------------------------------------------------
1 | Block scalar header includes extra characters: |10@line:1,column:6
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2G84-output.json:
--------------------------------------------------------------------------------
1 | Block scalar header includes extra characters: |0@line:1,column:5
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2XXW-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "Mark McGwire",
3 | "Sammy Sosa",
4 | "Ken Griff"
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3ALJ-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "s1_i1",
4 | "s1_i2"
5 | ],
6 | "s2"
7 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4H7K-output.json:
--------------------------------------------------------------------------------
1 | Unexpected flow-seq-end token in YAML stream: "]"@line:2,column:12
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4JVG-input.yaml:
--------------------------------------------------------------------------------
1 | top1: &node1
2 | &k1 key1: val1
3 | top2: &node2
4 | &v2 val2
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4WA9-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "aaa": "xxx\n",
4 | "bbb": "xxx\n"
5 | }
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5BVJ-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "literal": "some\ntext\n",
3 | "folded": "some text\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5C5M-input.yaml:
--------------------------------------------------------------------------------
1 | - { one : two , three: four , }
2 | - {five: six,seven : eight}
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6JWB-input.yaml:
--------------------------------------------------------------------------------
1 | foo: !!seq
2 | - !!str a
3 | - !!map
4 | key: !!str value
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6SLA-input.yaml:
--------------------------------------------------------------------------------
1 | "foo\nbar:baz\tx \\$%^&*()x": 23
2 | 'x\ny:z\tx $%^&*()x': 24
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7A4E-input.yaml:
--------------------------------------------------------------------------------
1 | " 1st non-empty
2 |
3 | 2nd non-empty
4 | 3rd non-empty "
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7MNF-output.json:
--------------------------------------------------------------------------------
1 | Implicit map keys need to be followed by map values@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8KB6-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - { single line, a: b}
3 | - { multi
4 | line, a: b}
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9CWY-output.json:
--------------------------------------------------------------------------------
1 | Implicit map keys need to be followed by map values@line:4,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AZ63-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "one": [
3 | 2,
4 | 3
5 | ],
6 | "four": 5
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/C2DT-input.yaml:
--------------------------------------------------------------------------------
1 | {
2 | "adjacent":value,
3 | "readable": value,
4 | "empty":
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/EW3V-output.json:
--------------------------------------------------------------------------------
1 | Nested mappings are not allowed in compact mappings@line:1,column:4
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FQ7F-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "Mark McGwire",
3 | "Sammy Sosa",
4 | "Ken Griffey"
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/GDY7-output.json:
--------------------------------------------------------------------------------
1 | Implicit map keys need to be followed by map values@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J5UC-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": "blue",
3 | "bar": "arrr",
4 | "baz": "jazz"
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JS2J-input.yaml:
--------------------------------------------------------------------------------
1 | First occurrence: &anchor Value
2 | Second occurrence: *anchor
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JY7Z-output.json:
--------------------------------------------------------------------------------
1 | Nested mappings are not allowed in compact mappings@line:2,column:6
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L9U5-input.yaml:
--------------------------------------------------------------------------------
1 | implicit block key : [
2 | implicit flow key : value,
3 | ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LE5A-input.yaml:
--------------------------------------------------------------------------------
1 | - !!str "a"
2 | - 'b'
3 | - &anchor "c"
4 | - *anchor
5 | - !!str
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NJ66-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - { single line: value}
3 | - { multi
4 | line: value}
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/PRH3-input.yaml:
--------------------------------------------------------------------------------
1 | ' 1st non-empty
2 |
3 | 2nd non-empty
4 | 3rd non-empty '
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/R52L-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | { top1: [item1, {key2: value2}, item3], top2: value2 }
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UDR7-input.yaml:
--------------------------------------------------------------------------------
1 | sequence: [ one, two, ]
2 | mapping: { sky: blue, sea: green }
3 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/X38W-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a,b": [
3 | "c",
4 | "b",
5 | "d"
6 | ]
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-output.json:
--------------------------------------------------------------------------------
1 | Block scalar values in collections must be indented@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Z9M4-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !e! tag:example.com,2000:app/
2 | ---
3 | - !e!foo "bar"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZCZ6-output.json:
--------------------------------------------------------------------------------
1 | Nested mappings are not allowed in compact mappings@line:1,column:3
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZL4Z-output.json:
--------------------------------------------------------------------------------
1 | Nested mappings are not allowed in compact mappings@line:2,column:3
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/comment-and-flow-map01-input.yaml:
--------------------------------------------------------------------------------
1 | # comment-and-flow-map01
2 | {
3 | ? foo :,
4 | : bar,
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/comment-and-flow-map02-input.yaml:
--------------------------------------------------------------------------------
1 | # comment-and-flow-map02
2 | {
3 | : bar,
4 | ? foo :,
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/flow-map01-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - {Mark McGwire: 65}
3 | - {Sammy Sosa: 63}
4 | - {Ken Griffy: 58}
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4HVU-output.json:
--------------------------------------------------------------------------------
1 | A block sequence may not be used as an implicit map key@line:4,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5BVJ-input.yaml:
--------------------------------------------------------------------------------
1 | literal: |
2 | some
3 | text
4 | folded: >
5 | some
6 | text
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/87E4-input.yaml:
--------------------------------------------------------------------------------
1 | 'implicit block key' : [
2 | 'implicit flow key' : value,
3 | ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9BXH-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - { "single line", a: b}
3 | - { "multi
4 | line", a: b}
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9HCY-input.yaml:
--------------------------------------------------------------------------------
1 | !foo "bar"
2 | %TAG ! tag:example.com,2000:app/
3 | ---
4 | !foo "bar"
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9SA2-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | - { "single line": value}
3 | - { "multi
4 | line": value}
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9TFX-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | " 1st non-empty
3 |
4 | 2nd non-empty
5 | 3rd non-empty "
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/A6F9-input.yaml:
--------------------------------------------------------------------------------
1 | strip: |-
2 | text
3 | clip: |
4 | text
5 | keep: |+
6 | text
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DC7X-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "b",
3 | "seq": [
4 | "a"
5 | ],
6 | "c": "d"
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FH7J-input.yaml:
--------------------------------------------------------------------------------
1 | - !!str
2 | -
3 | !!null : a
4 | b: !!str
5 | - !!str : !!null
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G9HC-output.json:
--------------------------------------------------------------------------------
1 | A block sequence may not be used as an implicit map key@line:2,column:4
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LQZ7-input.yaml:
--------------------------------------------------------------------------------
1 | "implicit block key" : [
2 | "implicit flow key" : value,
3 | ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M5C3-input.yaml:
--------------------------------------------------------------------------------
1 | literal: |2
2 | value
3 | folded:
4 | !foo
5 | >1
6 | value
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S4JQ-input.yaml:
--------------------------------------------------------------------------------
1 | # Assuming conventional resolution:
2 | - "12"
3 | - 12
4 | - ! 12
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SBG9-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": [
3 | "b",
4 | "c"
5 | ],
6 | "d,e": "f"
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T4YY-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | ' 1st non-empty
3 |
4 | 2nd non-empty
5 | 3rd non-empty '
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UT92-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | { matches
3 | % : 20 }
4 | ...
5 | ---
6 | # Empty
7 | ...
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/YJV2-output.json:
--------------------------------------------------------------------------------
1 | Block collections are not allowed within flow collections@line:1,column:1
--------------------------------------------------------------------------------
/explorer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { createApp } from "vue";
2 | import App from "./App.vue";
3 |
4 | createApp(App).mount("#app");
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-folded02-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "literal\n",
3 | "·folded\n",
4 | "keep\n\n",
5 | "·strip"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-block-map01-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "b",
3 | "c": "d",
4 | "e": null,
5 | "null": "f"
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4ABK-input.yaml:
--------------------------------------------------------------------------------
1 | {
2 | unquoted : "separate",
3 | http://foo.com,
4 | omitted value:,
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6SLA-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo\nbar:baz\tx \\$%^&*()x": 23,
3 | "x\\ny:z\\tx $%^&*()x": 24
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6ZKB-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "Document",
3 | null,
4 | {
5 | "matches %": 20
6 | }
7 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7T8X-value.json:
--------------------------------------------------------------------------------
1 | "\nfolded line\nnext line\n * bullet\n\n * list\n * lines\n\nlast line\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/96L6-input.yaml:
--------------------------------------------------------------------------------
1 | --- >
2 | Mark McGwire's
3 | year was crippled
4 | by a knee injury.
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/A6F9-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "strip": "text",
3 | "clip": "text\n",
4 | "keep": "text\n"
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D83L-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "explicit indent and chomp",
3 | "chomp and explicit indent"
4 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DFF7-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "explicit": "entry",
3 | "implicit": "entry",
4 | "null": null
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H2RW-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": 1,
3 | "bar": 2,
4 | "text": "a\n \nb\n\nc\n\nd\n"
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J7PZ-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Mark McGwire": 65,
3 | "Sammy Sosa": 63,
4 | "Ken Griffy": 58
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JS2J-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "First occurrence": "Value",
3 | "Second occurrence": "Value"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JY7Z-input.yaml:
--------------------------------------------------------------------------------
1 | key1: "quoted1"
2 | key2: "quoted2" no key: nor value
3 | key3: "quoted3"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M7NX-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | {
3 | a: [
4 | b, c, {
5 | d: [e, f]
6 | }
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MUS6-2-output.json:
--------------------------------------------------------------------------------
1 | Plain value cannot start with directive indicator character %@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P2AD-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "literal\n",
3 | " folded\n",
4 | "keep\n\n",
5 | " strip"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q4CL-input.yaml:
--------------------------------------------------------------------------------
1 | key1: "quoted1"
2 | key2: "quoted2" trailing content
3 | key3: "quoted3"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RHX7-output.json:
--------------------------------------------------------------------------------
1 | Plain value cannot start with directive indicator character %@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RLU9-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": [
3 | 42
4 | ],
5 | "bar": [
6 | 44
7 | ]
8 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S3PD-input.yaml:
--------------------------------------------------------------------------------
1 | plain key: in-line value
2 | : # Both empty
3 | "quoted key":
4 | - entry
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/docs01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "foo": 123
4 | },
5 | "bar",
6 | {
7 | "baz": 456
8 | }
9 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-flow-seq03-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "null": "a"
4 | },
5 | {
6 | "null": "b"
7 | }
8 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-no-for-without-dir-input.yaml:
--------------------------------------------------------------------------------
1 | - no
2 | - No
3 | - NO
4 | - off
5 | - Off
6 | - OFF
7 | - n
8 | - N
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/35KP-input.yaml:
--------------------------------------------------------------------------------
1 | --- !!map
2 | ? a
3 | : b
4 | --- !!seq
5 | - !!str c
6 | --- !!str
7 | d
8 | e
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/35KP-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "a": "b"
4 | },
5 | [
6 | "c"
7 | ],
8 | "d e"
9 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6ZKB-input.yaml:
--------------------------------------------------------------------------------
1 | Document
2 | ---
3 | # Empty
4 | ...
5 | %YAML 1.2
6 | ---
7 | matches %: 20
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/74H7-input.yaml:
--------------------------------------------------------------------------------
1 | !!str a: b
2 | c: !!int 42
3 | e: !!str f
4 | g: h
5 | !!str 23: !!bool false
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7ZZ5-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | nested sequences:
3 | - - - []
4 | - - - {}
5 | key1: []
6 | key2: {}
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/BEC7-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.3 # Attempt parsing
2 | # with a warning
3 | ---
4 | "foo"
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/C2DT-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "adjacent": "value",
3 | "readable": "value",
4 | "empty": null
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CN3R-input.yaml:
--------------------------------------------------------------------------------
1 | &flowseq [
2 | a: b,
3 | &c c: d,
4 | { &e e: f },
5 | &g { g: h }
6 | ]
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/D83L-input.yaml:
--------------------------------------------------------------------------------
1 | - |2-
2 | explicit indent and chomp
3 | - |-2
4 | chomp and explicit indent
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DK4H-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys of flow sequence pairs need to be on a single line@line:2,column:5
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/F8F9-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "strip": "# text",
3 | "clip": "# text\n",
4 | "keep": "# text\n\n"
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G5U8-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys of flow sequence pairs need to be on a single line@line:2,column:3
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M6YH-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "x\n",
3 | {
4 | "foo": "bar"
5 | },
6 | [
7 | 42
8 | ]
9 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NP9H-input.yaml:
--------------------------------------------------------------------------------
1 | "folded
2 | to a space,
3 |
4 | to a line feed, or \
5 | \ non-content"
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q9WF-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "[object Object]": {
3 | "hr": 65,
4 | "avg": 0.278
5 | }
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZXT5-output.json:
--------------------------------------------------------------------------------
1 | Implicit keys of flow sequence pairs need to be on a single line@line:1,column:7
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5T43-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "key": "value"
4 | },
5 | {
6 | "key": ":value"
7 | }
8 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6BCT-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "foo": "bar"
4 | },
5 | [
6 | "baz",
7 | "baz"
8 | ]
9 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6JWB-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo": [
3 | "a",
4 | {
5 | "key": "value"
6 | }
7 | ]
8 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6LVF-input.yaml:
--------------------------------------------------------------------------------
1 | %FOO bar baz # Should be ignored
2 | # with a warning.
3 | --- "foo"
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/74H7-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "23": false,
3 | "a": "b",
4 | "c": 42,
5 | "e": "f",
6 | "g": "h"
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9DXL-input.yaml:
--------------------------------------------------------------------------------
1 | Mapping: Document
2 | ---
3 | # Empty
4 | ...
5 | %YAML 1.2
6 | ---
7 | matches %: 20
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9JBA-output.json:
--------------------------------------------------------------------------------
1 | Comments must be separated from other tokens by white space characters@line:2,column:12
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9KBC-output.json:
--------------------------------------------------------------------------------
1 | Block collection cannot start on same line with directives-end marker@line:1,column:4
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9MMW-input.yaml:
--------------------------------------------------------------------------------
1 | - [ YAML : separate ]
2 | - [ "JSON like":adjacent ]
3 | - [ {JSON: like}:adjacent ]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/A2M4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": [
3 | "b",
4 | [
5 | "c",
6 | "d"
7 | ]
8 | ]
9 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CVW2-output.json:
--------------------------------------------------------------------------------
1 | Comments must be separated from other tokens by white space characters@line:2,column:10
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CXX2-output.json:
--------------------------------------------------------------------------------
1 | Block collection cannot start on same line with directives-end marker@line:1,column:4
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/DWX9-input.yaml:
--------------------------------------------------------------------------------
1 | |
2 |
3 |
4 | literal
5 |
6 |
7 | text
8 |
9 | # Comment
10 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/F6MC-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": " more indented\nregular\n",
3 | "b": "\n\n more indented\nregular\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LHL4-output.json:
--------------------------------------------------------------------------------
1 | Tags and anchors must be separated from the next token by white space@line:2,column:8
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M7A3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "Bare document",
3 | null,
4 | "%!PS-Adobe-2.0 # Not the first line\n"
5 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P76L-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !! tag:example.com,2000:app/
2 | ---
3 | !!int 1 - 3 # Interval, not integer
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q8AD-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | "folded
3 | to a space,
4 |
5 | to a line feed, or \
6 | \ non-content"
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S9E8-input.yaml:
--------------------------------------------------------------------------------
1 | sequence:
2 | - one
3 | - two
4 | mapping:
5 | ? sky
6 | : blue
7 | sea : green
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SU5Z-output.json:
--------------------------------------------------------------------------------
1 | Comments must be separated from other tokens by white space characters@line:1,column:12
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/U99R-output.json:
--------------------------------------------------------------------------------
1 | Tags and anchors must be separated from the next token by white space@line:1,column:7
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/X4QW-output.json:
--------------------------------------------------------------------------------
1 | Comments must be separated from other tokens by white space characters@line:1,column:8
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2LFX-input.yaml:
--------------------------------------------------------------------------------
1 | %FOO bar baz # Should be ignored
2 | # with a warning.
3 | ---
4 | "foo"
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4ABK-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "unquoted": "separate",
3 | "http://foo.com": null,
4 | "omitted value": null
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4QFQ-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "detected\n",
3 | "\n\n# detected\n",
4 | " explicit\n",
5 | "detected\n"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/57H4-input.yaml:
--------------------------------------------------------------------------------
1 | sequence: !!seq
2 | - entry
3 | - !!seq
4 | - nested
5 | mapping: !!map
6 | foo: bar
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5WE3-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "explicit key": null,
3 | "block key\n": [
4 | "one",
5 | "two"
6 | ]
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/735Y-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "flow in block",
3 | "Block scalar\n",
4 | {
5 | "foo": "bar"
6 | }
7 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/AZW3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "bla\"keks": "foo"
4 | },
5 | {
6 | "bla]keks": "foo"
7 | }
8 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LP6E-input.yaml:
--------------------------------------------------------------------------------
1 | - [a, b , c ]
2 | - { "a" : b
3 | , c : 'd' ,
4 | e : "f"
5 | }
6 | - [ ]
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MZX3-input.yaml:
--------------------------------------------------------------------------------
1 | - plain
2 | - "double quoted"
3 | - 'single quoted'
4 | - >
5 | block
6 | - plain again
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/SYW4-input.yaml:
--------------------------------------------------------------------------------
1 | hr: 65 # Home runs
2 | avg: 0.278 # Batting average
3 | rbi: 147 # Runs Batted In
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/T26H-input.yaml:
--------------------------------------------------------------------------------
1 | --- |
2 |
3 |
4 | literal
5 |
6 |
7 | text
8 |
9 | # Comment
10 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/VJP3-output.json:
--------------------------------------------------------------------------------
1 | Flow map in block collection must be sufficiently indented and end with a }@line:2,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W4TN-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | --- |
3 | %!PS-Adobe-2.0
4 | ...
5 | %YAML 1.2
6 | ---
7 | # Empty
8 | ...
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W9L4-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | block scalar: |
3 |
4 | more spaces at the beginning
5 | are invalid
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZK9H-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "key": [
3 | [
4 | [
5 | "value"
6 | ]
7 | ]
8 | ]
9 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/flow-seq01-input.yaml:
--------------------------------------------------------------------------------
1 | [!!str "a",
2 | 'b',
3 | &anchor "c",
4 | *anchor,
5 | !!str]
6 |
7 | # flow-seq01-input.yaml
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4ZYM-input.yaml:
--------------------------------------------------------------------------------
1 | plain: text
2 | lines
3 | quoted: "text
4 | lines"
5 | block: |
6 | text
7 | lines
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4ZYM-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "plain": "text lines",
3 | "quoted": "text lines",
4 | "block": "text\n \tlines\n"
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5GBF-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Folding": "Empty line\nas a line feed",
3 | "Chomping": "Clipped empty lines\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6CK3-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !e! tag:example.com,2000:app/
2 | ---
3 | - !local foo
4 | - !!str bar
5 | - !e!tag%21 baz
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9C9N-output.json:
--------------------------------------------------------------------------------
1 | Flow sequence in block collection must be sufficiently indented and end with a ]@line:3,column:0
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/R4YG-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "detected\n",
3 | "\n\n# detected\n",
4 | " explicit\n",
5 | "\t\ndetected\n"
6 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/XV9V-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Folding": "Empty line\nas a line feed",
3 | "Chomping": "Clipped empty lines\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Y79Y-4-output.json:
--------------------------------------------------------------------------------
1 | Flow sequence in block collection must be sufficiently indented and end with a ]@line:2,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/YD5X-input.yaml:
--------------------------------------------------------------------------------
1 | - [name , hr, avg ]
2 | - [Mark McGwire, 65, 0.278]
3 | - [Sammy Sosa , 63, 0.288]
4 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZF4X-input.yaml:
--------------------------------------------------------------------------------
1 | Mark McGwire: {hr: 65, avg: 0.278}
2 | Sammy Sosa: {
3 | hr: 63,
4 | avg: 0.288
5 | }
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/735Y-input.yaml:
--------------------------------------------------------------------------------
1 | -
2 | "flow in block"
3 | - >
4 | Block scalar
5 | - !!map # Block collection
6 | foo : bar
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/87E4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "implicit block key": [
3 | {
4 | "implicit flow key": "value"
5 | }
6 | ]
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9SA2-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "single line": "value"
4 | },
5 | {
6 | "multi line": "value"
7 | }
8 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J3BT-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "quoted": "Quoted \t",
3 | "block": "void main() {\n\tprintf(\"Hello, world!\\n\");\n}\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JQ4R-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "block sequence": [
3 | "one",
4 | {
5 | "two": "three"
6 | }
7 | ]
8 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/L9U5-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "implicit block key": [
3 | {
4 | "implicit flow key": "value"
5 | }
6 | ]
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LQZ7-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "implicit block key": [
3 | {
4 | "implicit flow key": "value"
5 | }
6 | ]
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M7A3-input.yaml:
--------------------------------------------------------------------------------
1 | Bare
2 | document
3 | ...
4 | # No document
5 | ...
6 | |
7 | %!PS-Adobe-2.0 # Not the first line
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/MZX3-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "plain",
3 | "double quoted",
4 | "single quoted",
5 | "block\n",
6 | "plain again"
7 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NJ66-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "single line": "value"
4 | },
5 | {
6 | "multi line": "value"
7 | }
8 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-no-for-without-dir-input.yaml:
--------------------------------------------------------------------------------
1 | - no
2 | - No
3 | - NO
4 | - off
5 | - Off
6 | - OFF
7 | - n
8 | - N
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-no-for-yaml11-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | ---
3 | - no
4 | - No
5 | - NO
6 | - off
7 | - Off
8 | - OFF
9 | - n
10 | - N
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-no-for-yaml12-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ---
3 | - no
4 | - No
5 | - NO
6 | - off
7 | - Off
8 | - OFF
9 | - n
10 | - N
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9DXL-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Mapping": "Document"
4 | },
5 | null,
6 | {
7 | "matches %": 20
8 | }
9 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9WXW-input.yaml:
--------------------------------------------------------------------------------
1 | # Private
2 | !foo "bar"
3 | ...
4 | # Global
5 | %TAG ! tag:example.com,2000:app/
6 | ---
7 | !foo "bar"
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S3PD-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "plain key": "in-line value",
3 | "null": null,
4 | "quoted key": [
5 | "entry"
6 | ]
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/quoted01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "1": "2",
4 | "a": "b"
5 | },
6 | {
7 | "1": "2",
8 | "a": "b"
9 | }
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-yes-for-without-dir-input.yaml:
--------------------------------------------------------------------------------
1 | - yes
2 | - Yes
3 | - YES
4 | - yEs
5 | - Y
6 | - y
7 | - on
8 | - On
9 | - On
10 | - oN
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4CQQ-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "plain": "This unquoted scalar spans many lines.",
3 | "quoted": "So does this quoted scalar.\n"
4 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5GBF-input.yaml:
--------------------------------------------------------------------------------
1 | Folding:
2 | "Empty line
3 |
4 | as a line feed"
5 | Chomping: |
6 | Clipped empty lines
7 |
8 |
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5KJE-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "one",
4 | "two"
5 | ],
6 | [
7 | "three",
8 | "four"
9 | ]
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5LLU-output.json:
--------------------------------------------------------------------------------
1 | Block scalars with more-indented leading empty lines must use an explicit indentation indicator@line:5,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5WE3-input.yaml:
--------------------------------------------------------------------------------
1 | ? explicit key # Empty value
2 | ? |
3 | block key
4 | : - one # Explicit compact
5 | - two # block value
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/93JH-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "key": "value",
4 | "key2": "value2"
5 | },
6 | {
7 | "key3": "value3"
8 | }
9 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FH7J-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "",
3 | {
4 | "null": "a",
5 | "b": ""
6 | },
7 | {
8 | "": null
9 | }
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/H2RW-input.yaml:
--------------------------------------------------------------------------------
1 | foo: 1
2 |
3 | bar: 2
4 |
5 | text: |
6 | a
7 |
8 | b
9 |
10 | c
11 |
12 | d
13 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S98Z-output.json:
--------------------------------------------------------------------------------
1 | Block scalars with more-indented leading empty lines must use an explicit indentation indicator@line:5,column:1
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W9L4-output.json:
--------------------------------------------------------------------------------
1 | Block scalars with more-indented leading empty lines must use an explicit indentation indicator@line:4,column:2
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/XV9V-input.yaml:
--------------------------------------------------------------------------------
1 | Folding:
2 | "Empty line
3 |
4 | as a line feed"
5 | Chomping: |
6 | Clipped empty lines
7 |
8 |
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/pair-in-flow-seq01-input.yaml:
--------------------------------------------------------------------------------
1 | - [ : b ]
2 | - [ a : ]
3 | - [ ? a ]
4 | - [ ? a: b ]
5 | - [ ? : b ]
6 | - [ : ]
7 | - [ ? : ]
8 | - [ a: b ]
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-no-for-yaml12-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "no",
3 | "No",
4 | "NO",
5 | "off",
6 | "Off",
7 | "OFF",
8 | "n",
9 | "N"
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4CQQ-input.yaml:
--------------------------------------------------------------------------------
1 | plain:
2 | This unquoted scalar
3 | spans many lines.
4 |
5 | quoted: "So does this
6 | quoted scalar.\n"
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/4QFQ-input.yaml:
--------------------------------------------------------------------------------
1 | - |
2 | detected
3 | - >
4 |
5 |
6 | # detected
7 | - |1
8 | explicit
9 | - >
10 | detected
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6WLZ-input.yaml:
--------------------------------------------------------------------------------
1 | # Private
2 | ---
3 | !foo "bar"
4 | ...
5 | # Global
6 | %TAG ! tag:example.com,2000:app/
7 | ---
8 | !foo "bar"
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/F6MC-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a: >2
3 | more indented
4 | regular
5 | b: >2
6 |
7 |
8 | more indented
9 | regular
10 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J3BT-input.yaml:
--------------------------------------------------------------------------------
1 | # Tabs and spaces
2 | quoted: "Quoted "
3 | block: |
4 | void main() {
5 | printf("Hello, world!\n");
6 | }
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W42U-input.yaml:
--------------------------------------------------------------------------------
1 | - # Empty
2 | - |
3 | block node
4 | - - one # Compact
5 | - two # sequence
6 | - one: two # Compact mapping
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-no-for-without-dir-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "no",
3 | "No",
4 | "NO",
5 | "off",
6 | "Off",
7 | "OFF",
8 | "n",
9 | "N"
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-no-for-yaml11-value.json:
--------------------------------------------------------------------------------
1 | [
2 | false,
3 | false,
4 | false,
5 | false,
6 | false,
7 | false,
8 | false,
9 | false
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3GZX-input.yaml:
--------------------------------------------------------------------------------
1 | First occurrence: &anchor Foo
2 | Second occurrence: *anchor
3 | Override anchor: &anchor Bar
4 | Reuse anchor: *anchor
5 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6VJK-value.json:
--------------------------------------------------------------------------------
1 | "Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n"
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8UDB-input.yaml:
--------------------------------------------------------------------------------
1 | [
2 | "double
3 | quoted", 'single
4 | quoted',
5 | plain
6 | text, [ nested ],
7 | single: pair,
8 | ]
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q9WF-input.yaml:
--------------------------------------------------------------------------------
1 | { first: Sammy, last: Sosa }:
2 | # Statistics:
3 | hr: # Home runs
4 | 65
5 | avg: # Average
6 | 0.278
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/QLJ7-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !prefix! tag:example.com,2011:
2 | --- !prefix!A
3 | a: b
4 | --- !prefix!B
5 | c: d
6 | --- !prefix!C
7 | e: f
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/R4YG-input.yaml:
--------------------------------------------------------------------------------
1 | - |
2 | detected
3 | - >
4 |
5 |
6 | # detected
7 | - |1
8 | explicit
9 | - >
10 |
11 | detected
12 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/229Q-input.yaml:
--------------------------------------------------------------------------------
1 | -
2 | name: Mark McGwire
3 | hr: 65
4 | avg: 0.278
5 | -
6 | name: Sammy Sosa
7 | hr: 63
8 | avg: 0.288
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5TYM-input.yaml:
--------------------------------------------------------------------------------
1 | %TAG !m! !my-
2 | --- # Bulb here
3 | !m!light fluorescent
4 | ...
5 | %TAG !m! !my-
6 | --- # Color here
7 | !m!light green
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/PW8X-input.yaml:
--------------------------------------------------------------------------------
1 | - &a
2 | - a
3 | -
4 | &a : a
5 | b: &b
6 | -
7 | &c : &a
8 | -
9 | ? &d
10 | -
11 | ? &e
12 | : &a
13 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/Q88A-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "a",
4 | "b"
5 | ],
6 | {
7 | "a": "b"
8 | },
9 | "a",
10 | "b",
11 | "c"
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-no-for-yaml11-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | ---
3 | - no
4 | - No
5 | - NO
6 | - off
7 | - Off
8 | - OFF
9 | - n
10 | - N
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-no-for-yaml12-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ---
3 | - no
4 | - No
5 | - NO
6 | - off
7 | - Off
8 | - OFF
9 | - n
10 | - N
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-yes-for-yaml11-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | ---
3 | - yes
4 | - Yes
5 | - YES
6 | - yEs
7 | - Y
8 | - y
9 | - on
10 | - On
11 | - On
12 | - oN
13 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-yes-for-yaml12-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ---
3 | - yes
4 | - Yes
5 | - YES
6 | - yEs
7 | - Y
8 | - y
9 | - on
10 | - On
11 | - On
12 | - oN
13 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/3GZX-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "First occurrence": "Foo",
3 | "Second occurrence": "Foo",
4 | "Override anchor": "Bar",
5 | "Reuse anchor": "Bar"
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/W42U-value.json:
--------------------------------------------------------------------------------
1 | [
2 | null,
3 | "block node\n",
4 | [
5 | "one",
6 | "two"
7 | ],
8 | {
9 | "one": "two"
10 | }
11 | ]
--------------------------------------------------------------------------------
/tsconfig.build.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "include": ["src/index.ts"],
4 | "compilerOptions": {
5 | "rootDir": "src",
6 | "outDir": "lib"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/flow-map01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Mark McGwire": 65
4 | },
5 | {
6 | "Sammy Sosa": 63
7 | },
8 | {
9 | "Ken Griffy": 58
10 | }
11 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-yes-for-without-dir-input.yaml:
--------------------------------------------------------------------------------
1 | - yes
2 | - Yes
3 | - YES
4 | - yEs
5 | - Y
6 | - y
7 | - on
8 | - On
9 | - On
10 | - oN
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/V9D5-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "sun": "yellow"
4 | },
5 | {
6 | "[object Object]": {
7 | "moon": "white"
8 | }
9 | }
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-no-for-yaml12-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "no",
3 | "No",
4 | "NO",
5 | "off",
6 | "Off",
7 | "OFF",
8 | "n",
9 | "N"
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-yes-for-yaml11-value.json:
--------------------------------------------------------------------------------
1 | [
2 | true,
3 | true,
4 | true,
5 | "yEs",
6 | true,
7 | true,
8 | true,
9 | true,
10 | true,
11 | "oN"
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-yes-for-yaml12-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "yes",
3 | "Yes",
4 | "YES",
5 | "yEs",
6 | "Y",
7 | "y",
8 | "on",
9 | "On",
10 | "On",
11 | "oN"
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/5C5M-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "one": "two",
4 | "three": "four"
5 | },
6 | {
7 | "five": "six",
8 | "seven": "eight"
9 | }
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8KB6-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "single line": null,
4 | "a": "b"
5 | },
6 | {
7 | "multi line": null,
8 | "a": "b"
9 | }
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9BXH-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "single line": null,
4 | "a": "b"
5 | },
6 | {
7 | "multi line": null,
8 | "a": "b"
9 | }
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9FMG-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": {
3 | "b": {
4 | "c": "d"
5 | },
6 | "e": {
7 | "f": "g"
8 | }
9 | },
10 | "h": "i"
11 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-no-for-yaml11-value.json:
--------------------------------------------------------------------------------
1 | [
2 | false,
3 | false,
4 | false,
5 | false,
6 | false,
7 | false,
8 | false,
9 | false
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/yaml11-yes-for-without-dir-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "yes",
3 | "Yes",
4 | "YES",
5 | "yEs",
6 | "Y",
7 | "y",
8 | "on",
9 | "On",
10 | "On",
11 | "oN"
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2EBW-input.yaml:
--------------------------------------------------------------------------------
1 | a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe
2 | ?foo: safe question mark
3 | :foo: safe colon
4 | -foo: safe dash
5 | this is#not: a comment
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/F3CP-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": [
3 | "b",
4 | "c",
5 | {
6 | "d": [
7 | "e",
8 | "f"
9 | ]
10 | }
11 | ]
12 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J9HZ-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | hr: # 1998 hr ranking
3 | - Mark McGwire
4 | - Sammy Sosa
5 | rbi:
6 | # 1998 rbi ranking
7 | - Sammy Sosa
8 | - Ken Griffey
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M7NX-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": [
3 | "b",
4 | "c",
5 | {
6 | "d": [
7 | "e",
8 | "f"
9 | ]
10 | }
11 | ]
12 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/R52L-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "top1": [
3 | "item1",
4 | {
5 | "key2": "value2"
6 | },
7 | "item3"
8 | ],
9 | "top2": "value2"
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/S9E8-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "sequence": [
3 | "one",
4 | "two"
5 | ],
6 | "mapping": {
7 | "sky": "blue",
8 | "sea": "green"
9 | }
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/UDR7-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "sequence": [
3 | "one",
4 | "two"
5 | ],
6 | "mapping": {
7 | "sky": "blue",
8 | "sea": "green"
9 | }
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-no-for-without-dir-value.json:
--------------------------------------------------------------------------------
1 | [
2 | false,
3 | false,
4 | false,
5 | false,
6 | false,
7 | false,
8 | false,
9 | false
10 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/57H4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "sequence": [
3 | "entry",
4 | [
5 | "nested"
6 | ]
7 | ],
8 | "mapping": {
9 | "foo": "bar"
10 | }
11 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6VJK-input.yaml:
--------------------------------------------------------------------------------
1 | >
2 | Sammy Sosa completed another
3 | fine season with great stats.
4 |
5 | 63 Home Runs
6 | 0.288 Batting Average
7 |
8 | What a year!
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7BUB-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "hr": [
3 | "Mark McGwire",
4 | "Sammy Sosa"
5 | ],
6 | "rbi": [
7 | "Sammy Sosa",
8 | "Ken Griffey"
9 | ]
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/J9HZ-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "hr": [
3 | "Mark McGwire",
4 | "Sammy Sosa"
5 | ],
6 | "rbi": [
7 | "Sammy Sosa",
8 | "Ken Griffey"
9 | ]
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/LP6E-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "a",
4 | "b",
5 | "c"
6 | ],
7 | {
8 | "a": "b",
9 | "c": "d",
10 | "e": "f"
11 | },
12 | []
13 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NAT4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": " ",
3 | "b": " ",
4 | "c": " ",
5 | "d": " ",
6 | "e": "\n",
7 | "f": "\n",
8 | "g": "\n\n",
9 | "h": "\n\n"
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-yes-for-yaml11-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | ---
3 | - yes
4 | - Yes
5 | - YES
6 | - yEs
7 | - Y
8 | - y
9 | - on
10 | - On
11 | - On
12 | - oN
13 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-yes-for-yaml12-input.yaml:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | ---
3 | - yes
4 | - Yes
5 | - YES
6 | - yEs
7 | - Y
8 | - y
9 | - on
10 | - On
11 | - On
12 | - oN
13 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/set01-input.yaml:
--------------------------------------------------------------------------------
1 | # Sets are represented as a
2 | # Mapping where each key is
3 | # associated with a null value
4 | --- !!set
5 | ? Mark McGwire
6 | ? Sammy Sosa
7 | ? Ken Griffey
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7BUB-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | hr:
3 | - Mark McGwire
4 | # Following node labeled SS
5 | - &SS Sammy Sosa
6 | rbi:
7 | - *SS # Subsequent occurrence
8 | - Ken Griffey
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/8UDB-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "double quoted",
3 | "single quoted",
4 | "plain text",
5 | [
6 | "nested"
7 | ],
8 | {
9 | "single": "pair"
10 | }
11 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CFD4-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | {
4 | "null": "empty key"
5 | }
6 | ],
7 | [
8 | {
9 | "null": "another empty key"
10 | }
11 | ]
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/CN3R-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "a": "b"
4 | },
5 | {
6 | "c": "d"
7 | },
8 | {
9 | "e": "f"
10 | },
11 | {
12 | "g": "h"
13 | }
14 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JR7V-input.yaml:
--------------------------------------------------------------------------------
1 | - a?string
2 | - another ? string
3 | - key: value?
4 | - [a?string]
5 | - [another ? string]
6 | - {key: value? }
7 | - {key: value?}
8 | - {key?: value }
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/ZF4X-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Mark McGwire": {
3 | "hr": 65,
4 | "avg": 0.278
5 | },
6 | "Sammy Sosa": {
7 | "hr": 63,
8 | "avg": 0.288
9 | }
10 | }
--------------------------------------------------------------------------------
/explorer/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "files": [],
3 | "references": [
4 | {
5 | "path": "./tsconfig.node.json"
6 | },
7 | {
8 | "path": "./tsconfig.app.json"
9 | }
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/block-folded02-input.yaml:
--------------------------------------------------------------------------------
1 | - | # Empty header↓
2 | literal
3 | - >1 # Indentation indicator↓
4 | ·folded
5 | - |+ # Chomping indicator↓
6 | keep
7 |
8 | - >1- # Both indicators↓
9 | ·strip
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/test01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "Mark McGwire",
4 | "Sammy Sosa",
5 | "Ken Griffey"
6 | ],
7 | [
8 | "Chicago Cubs",
9 | "St Louis Cardinals"
10 | ]
11 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2XXW-input.yaml:
--------------------------------------------------------------------------------
1 | # Sets are represented as a
2 | # Mapping where each key is
3 | # associated with a null value
4 | --- !!set
5 | ? Mark McGwire
6 | ? Sammy Sosa
7 | ? Ken Griff
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/PBJ2-input.yaml:
--------------------------------------------------------------------------------
1 | american:
2 | - Boston Red Sox
3 | - Detroit Tigers
4 | - New York Yankees
5 | national:
6 | - New York Mets
7 | - Chicago Cubs
8 | - Atlanta Braves
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/flow01-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "0": 1,
4 | "a": "b",
5 | "c": "d"
6 | },
7 | [
8 | 1,
9 | 2,
10 | 3,
11 | {
12 | "a": "b"
13 | }
14 | ]
15 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-yes-for-yaml11-value.json:
--------------------------------------------------------------------------------
1 | [
2 | true,
3 | true,
4 | true,
5 | "yEs",
6 | true,
7 | true,
8 | true,
9 | true,
10 | true,
11 | "oN"
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-yes-for-yaml12-value.json:
--------------------------------------------------------------------------------
1 | [
2 | "yes",
3 | "Yes",
4 | "YES",
5 | "yEs",
6 | "Y",
7 | "y",
8 | "on",
9 | "On",
10 | "On",
11 | "oN"
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7T8X-input.yaml:
--------------------------------------------------------------------------------
1 | >
2 |
3 | folded
4 | line
5 |
6 | next
7 | line
8 | * bullet
9 |
10 | * list
11 | * lines
12 |
13 | last
14 | line
15 |
16 | # Comment
17 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/9U5K-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | # Products purchased
3 | - item : Super Hoop
4 | quantity: 1
5 | - item : Basketball
6 | quantity: 4
7 | - item : Big Shoes
8 | quantity: 1
9 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FBC9-input.yaml:
--------------------------------------------------------------------------------
1 | safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~
2 | !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~
3 | safe question mark: ?foo
4 | safe colon: :foo
5 | safe dash: -foo
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HMK4-input.yaml:
--------------------------------------------------------------------------------
1 | name: Mark McGwire
2 | accomplishment: >
3 | Mark set a major league
4 | home run record in 1998.
5 | stats: |
6 | 65 Home Runs
7 | 0.278 Batting Average
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/HMK4-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Mark McGwire",
3 | "accomplishment": "Mark set a major league home run record in 1998.\n",
4 | "stats": "65 Home Runs\n0.278 Batting Average\n"
5 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/options-yaml-version-11/yaml11-yes-for-without-dir-value.json:
--------------------------------------------------------------------------------
1 | [
2 | true,
3 | true,
4 | true,
5 | "yEs",
6 | true,
7 | true,
8 | true,
9 | true,
10 | true,
11 | "oN"
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/test01-input.yaml:
--------------------------------------------------------------------------------
1 | # Ranking of 1998 home runs
2 | ---
3 | - Mark McGwire
4 | - Sammy Sosa
5 | - Ken Griffey
6 |
7 | # Team ranking
8 | ---
9 | - Chicago Cubs
10 | - St Louis Cardinals
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JHB9-value.json:
--------------------------------------------------------------------------------
1 | [
2 | [
3 | "Mark McGwire",
4 | "Sammy Sosa",
5 | "Ken Griffey"
6 | ],
7 | [
8 | "Chicago Cubs",
9 | "St Louis Cardinals"
10 | ]
11 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/omap01-input.yaml:
--------------------------------------------------------------------------------
1 | # Ordered maps are represented as
2 | # A sequence of mappings, with
3 | # each mapping having one key
4 | --- !!omap
5 | - {Mark McGwire: 65}
6 | - {Sammy Sosa: 63}
7 | - {Ken Griffy: 58}
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/omap02-input.yaml:
--------------------------------------------------------------------------------
1 | # Ordered maps are represented as
2 | # A sequence of mappings, with
3 | # each mapping having one key
4 | --- !!omap
5 | - Mark McGwire: 65
6 | - Sammy Sosa: 63
7 | - Ken Griffy: 58
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/U9NS-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | time: 20:03:20
3 | player: Sammy Sosa
4 | action: strike (miss)
5 | ...
6 | ---
7 | time: 20:03:47
8 | player: Sammy Sosa
9 | action: grand slam
10 | ...
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/JHB9-input.yaml:
--------------------------------------------------------------------------------
1 | # Ranking of 1998 home runs
2 | ---
3 | - Mark McGwire
4 | - Sammy Sosa
5 | - Ken Griffey
6 |
7 | # Team ranking
8 | ---
9 | - Chicago Cubs
10 | - St Louis Cardinals
11 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/P2AD-input.yaml:
--------------------------------------------------------------------------------
1 | - | # Empty header↓
2 | literal
3 | - >1 # Indentation indicator↓
4 | folded
5 | - |+ # Chomping indicator↓
6 | keep
7 |
8 | - >1- # Both indicators↓
9 | strip
10 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/2EBW-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~": "safe",
3 | "?foo": "safe question mark",
4 | ":foo": "safe colon",
5 | "-foo": "safe dash",
6 | "this is#not": "a comment"
7 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M5DY-input.yaml:
--------------------------------------------------------------------------------
1 | ? - Detroit Tigers
2 | - Chicago cubs
3 | :
4 | - 2001-07-23
5 |
6 | ? [ New York Yankees,
7 | Atlanta Braves ]
8 | : [ 2001-07-02, 2001-08-12,
9 | 2001-08-14 ]
10 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NKF9-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | key: value
3 | : empty key
4 | ---
5 | {
6 | key: value, : empty key
7 | }
8 | ---
9 | # empty key and value
10 | :
11 | ---
12 | # empty key and value
13 | { : }
14 |
--------------------------------------------------------------------------------
/src/meta.ts:
--------------------------------------------------------------------------------
1 | // IMPORTANT!
2 | // This file has been automatically generated,
3 | // in order to update its content execute "npm run build:meta"
4 | export const name = "yaml-eslint-parser" as const;
5 | export const version = "1.3.2" as const;
6 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/map01-input.yaml:
--------------------------------------------------------------------------------
1 | # Unordered set of key: value pairs.
2 | Block style: !!map
3 | Clark : Evans
4 | Brian : Ingerson
5 | Oren : Ben-Kiki
6 | Flow style: !!map { Clark: Evans, Brian: Ingerson, Oren: Ben-Kiki }
7 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/ast/merge01-input.yaml:
--------------------------------------------------------------------------------
1 | common: &common
2 | aaa: 1111
3 | bbb: 2222
4 |
5 | dev:
6 | ccc: xxxx
7 | <<: *common
8 | stg:
9 | ccc: yyyy
10 | <<: *common
11 | prod:
12 | ccc: zzzz
13 | <<: *common
14 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/229Q-value.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "Mark McGwire",
4 | "hr": 65,
5 | "avg": 0.278
6 | },
7 | {
8 | "name": "Sammy Sosa",
9 | "hr": 63,
10 | "avg": 0.288
11 | }
12 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/6HB6-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Not indented": {
3 | "By one space": "By four\n spaces\n",
4 | "Flow style": [
5 | "By two",
6 | "Also by two",
7 | "Still by two"
8 | ]
9 | }
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/FBC9-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "safe": "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~",
3 | "safe question mark": "?foo",
4 | "safe colon": ":foo",
5 | "safe dash": "-foo"
6 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/G4RS-input.yaml:
--------------------------------------------------------------------------------
1 | unicode: "Sosa did fine.\u263A"
2 | control: "\b1998\t1999\t2000\n"
3 | hex esc: "\x0d\x0a is \r\n"
4 |
5 | single: '"Howdy!" he cried.'
6 | quoted: ' # Not a ''comment''.'
7 | tie-fighter: '|\-*-/|'
8 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/KK5P-input.yaml:
--------------------------------------------------------------------------------
1 | complex1:
2 | ? - a
3 | complex2:
4 | ? - a
5 | : b
6 | complex3:
7 | ? - a
8 | : >
9 | b
10 | complex4:
11 | ? >
12 | a
13 | :
14 | complex5:
15 | ? - a
16 | : - b
17 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/M5DY-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "Detroit Tigers,Chicago cubs": [
3 | "2001-07-23"
4 | ],
5 | "New York Yankees,Atlanta Braves": [
6 | "2001-07-02",
7 | "2001-08-12",
8 | "2001-08-14"
9 | ]
10 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/NAT4-input.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | a: '
3 | '
4 | b: '
5 | '
6 | c: "
7 | "
8 | d: "
9 | "
10 | e: '
11 |
12 | '
13 | f: "
14 |
15 | "
16 | g: '
17 |
18 |
19 | '
20 | h: "
21 |
22 |
23 | "
24 |
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/7ZZ5-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "nested sequences": [
3 | [
4 | [
5 | []
6 | ]
7 | ],
8 | [
9 | [
10 | {}
11 | ]
12 | ]
13 | ],
14 | "key1": [],
15 | "key2": {}
16 | }
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/PW8X-value.json:
--------------------------------------------------------------------------------
1 | [
2 | null,
3 | "a",
4 | {
5 | "null": "a",
6 | "b": null
7 | },
8 | {
9 | "null": null
10 | },
11 | {
12 | "null": null
13 | },
14 | {
15 | "null": null
16 | }
17 | ]
--------------------------------------------------------------------------------
/tests/fixtures/parser/yaml-test-suite/RZP5-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "a": "double quotes",
3 | "b": "plain value",
4 | "c": "d",
5 | "seq1": [
6 | "seq2"
7 | ],
8 | "e": [
9 | {
10 | "x": "y"
11 | }
12 | ],
13 | "block": "abcde\n"
14 | }
--------------------------------------------------------------------------------