rapidyaml  0.9.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/parser_dbg.hpp"
#include "c4/yml/filter_processor.hpp"

Go to the source code of this file.

Namespaces

 c4
 
 c4::yml
 

Macros

#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

◆ _RYML_WITH_TAB_TOKENS

#define _RYML_WITH_TAB_TOKENS (   ...)

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

◆ _RYML_WITHOUT_TAB_TOKENS

#define _RYML_WITHOUT_TAB_TOKENS (   ...)    __VA_ARGS__

Definition at line 25 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 26 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 31 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); \
}