rapidyaml  0.11.0
parse and emit YAML, and do it fast
parse_engine.def.hpp File Reference
#include "c4/yml/parse_engine.hpp"
#include "c4/error.hpp"
#include "c4/charconv.hpp"
#include "c4/utf.hpp"
#include <ctype.h>
#include "c4/yml/detail/dbgprint.hpp"
#include "c4/yml/filter_processor.hpp"

Go to the source code of this file.

Namespaces

 c4
 (Undefined by default) Use shorter error message from checks/asserts: do not show the check condition in the error message.
 
 c4::yml
 

Macros

#define _c4err(...)    this->_err(RYML_LOC_HERE(), __VA_ARGS__)
 
#define _RYML_WITH_TAB_TOKENS(...)
 
#define _RYML_WITHOUT_TAB_TOKENS(...)   __VA_ARGS__
 
#define _RYML_WITH_OR_WITHOUT_TAB_TOKENS(with, without)   without
 
#define _c4dbgnextline()
 
#define _ryml_relocate(s)
 

Macro Definition Documentation

◆ _c4err

#define _c4err (   ...)     this->_err(RYML_LOC_HERE(), __VA_ARGS__)

Definition at line 19 of file parse_engine.def.hpp.

◆ _RYML_WITH_TAB_TOKENS

#define _RYML_WITH_TAB_TOKENS (   ...)

Definition at line 29 of file parse_engine.def.hpp.

◆ _RYML_WITHOUT_TAB_TOKENS

#define _RYML_WITHOUT_TAB_TOKENS (   ...)    __VA_ARGS__

Definition at line 30 of file parse_engine.def.hpp.

◆ _RYML_WITH_OR_WITHOUT_TAB_TOKENS

#define _RYML_WITH_OR_WITHOUT_TAB_TOKENS (   with,
  without 
)    without

Definition at line 31 of file parse_engine.def.hpp.

◆ _c4dbgnextline

#define _c4dbgnextline ( )
Value:
do { \
_c4dbgq("\n-----------"); \
_c4dbgt("handling line={}, offset={}B", \
m_evt_handler->m_curr->pos.line, \
m_evt_handler->m_curr->pos.offset); \
} while(0)

Definition at line 36 of file parse_engine.def.hpp.

◆ _ryml_relocate

#define _ryml_relocate (   s)
Value:
if((s).is_sub(prev_arena)) \
{ \
(s).str = next_arena.str + ((s).str - prev_arena.str); \
}