rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
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

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

Macros

#define _c4err(...)
#define _c4assert(...)
#define _RYML_WITH_TAB_TOKENS(...)
#define _RYML_WITHOUT_TAB_TOKENS(...)
#define _RYML_WITH_OR_WITHOUT_TAB_TOKENS(with, 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 ( ...)
Value:
this->_err(RYML_LOC_HERE(), __VA_ARGS__)

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

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

◆ _c4assert

#define _c4assert ( ...)
Value:
_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.

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

◆ _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 ( ...)
Value:
__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 )
Value:
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.

68#define _c4dbgnextline() \
69 do { \
70 _c4dbgq("\n-----------"); \
71 _c4dbgt("handling line={}, offset={}B", \
72 m_evt_handler->m_curr->pos.line, \
73 m_evt_handler->m_curr->pos.offset); \
74 } while(0)

◆ _ryml_relocate

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