rapidyaml  0.13.0
parse and emit YAML, and do it fast
parse_engine.def.hpp File Reference
#include "c4/yml/parse_engine.hpp"
#include "c4/charconv.hpp"
#include "c4/utf.hpp"
#include "c4/yml/filter_processor.hpp"
#include "c4/yml/tag.hpp"
#include "c4/yml/node_type.hpp"
#include "c4/yml/detail/dbgprint.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 _c4assert(...)    _RYML_ASSERT_PARSE_(m_evt_handler->m_stack.m_callbacks, __VA_ARGS__, m_evt_handler->m_curr->pos)
 
#define _RYML_WITH_TAB_TOKENS(...)
 
#define _RYML_WITHOUT_TAB_TOKENS(...)   __VA_ARGS__
 
#define _RYML_WITH_OR_WITHOUT_TAB_TOKENS(with, without)   without
 
#define _RYML_SAVE_TEST_YAML(filename, src)
 
#define _RYML_SAVE_TEST_JSON(filename, src)
 
#define _c4dbgnextline()
 
#define _ryml_relocate(s)
 

Macro Definition Documentation

◆ _c4err

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

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

◆ _c4assert

#define _c4assert (   ...)     _RYML_ASSERT_PARSE_(m_evt_handler->m_stack.m_callbacks, __VA_ARGS__, m_evt_handler->m_curr->pos)

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

◆ _RYML_WITH_TAB_TOKENS

#define _RYML_WITH_TAB_TOKENS (   ...)

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

◆ _RYML_WITHOUT_TAB_TOKENS

#define _RYML_WITHOUT_TAB_TOKENS (   ...)    __VA_ARGS__

Definition at line 47 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 48 of file parse_engine.def.hpp.

◆ _RYML_SAVE_TEST_YAML

#define _RYML_SAVE_TEST_YAML (   filename,
  src 
)

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

◆ _RYML_SAVE_TEST_JSON

#define _RYML_SAVE_TEST_JSON (   filename,
  src 
)

Definition at line 54 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 68 of file parse_engine.def.hpp.

◆ _ryml_relocate

#define _ryml_relocate (   s)
Value:
if((s).str >= pb && (s).str <= pe) \
{ \
(s).str = next_arena.str + ((s).str - pb); \
}