19 Commits

Author SHA1 Message Date
Joao Paulo Magalhaes
2e19c005f6 Prepare emitter for comments 2025-12-31 18:23:44 +00:00
Joao Paulo Magalhaes
9a77f9d7ae Emitter: improve coverage 2025-12-31 18:23:44 +00:00
Joao Paulo Magalhaes
2f695333fa Add EmitOptions::indent_flow_ml() 2025-12-31 18:23:44 +00:00
Joao Paulo Magalhaes
27b56e59e5 Implement FLOW_ML style: update tests 2025-12-31 18:23:44 +00:00
Joao Paulo Magalhaes
e08f69fcf6 refactor error API: update tests 2025-12-28 19:17:22 +00:00
Joao Paulo Magalhaes
bcf428ac6d emit: fix folded/literal keys 2025-01-20 13:28:30 +00:00
Joao Paulo Magalhaes
38f616b7bd rename ExpectError::do_check() to ExpectError::check_error() 2024-08-12 18:38:20 +01:00
Joao Paulo Magalhaes
0e28299f7e fix: EmitOptions comparison 2024-06-08 12:09:35 +01:00
Joao Paulo Magalhaes
76ece7db59 improve emit coverage 2024-05-21 18:46:25 +01:00
Joao Paulo Magalhaes
ad7568f4d2 event-based parser policy pt2: tests 2024-05-05 18:51:08 +02:00
Joao Paulo Magalhaes
3bf2570707 [fix] quote backtick and at only when they lead the scalar
re #320
2022-11-28 08:48:07 +00:00
Joao Paulo Magalhaes
5d0243b929 [fix] emitted scalars containing @ or ` should be quoted 2022-09-27 14:33:59 +01:00
Joao Paulo Magalhaes
8654e321ba [refac] deprecate emit() and emitrs(), use emit_yaml() and emitrs_yaml()
re #120
2022-09-08 11:37:49 +01:00
Joao Paulo Magalhaes
61f7eb9003 [impl] add ConstNodeRef to ensure API const-correctness 2022-08-14 12:06:42 +01:00
Joao Paulo Magalhaes
fba1afdab1 [test] re #216: add tests reproducing 2022-02-14 01:52:19 +01:00
Joao Paulo Magalhaes
f1f4eccfbe [fix] emit: fix emission of nested nodes which are seq members:
do not prepend "- "
2022-02-04 14:25:17 +00:00
Joao Paulo Magalhaes
8d59f956e7 [fix] re #208 fixes to whitespace in block folded scalars 2022-02-03 17:07:17 +00:00
Joao Paulo Magalhaes
f7025354dd [wip] scalar emit styles (literal,folded,squo,dquo,plain) 2022-01-29 03:32:24 +00:00
Joao Paulo Magalhaes
6d4f68aad3 [wip] emit styles 2022-01-29 03:28:22 +00:00