[go: up one dir, main page]

File: skip.cpp

package info (click to toggle)
toml11 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,464 kB
  • sloc: cpp: 38,446; makefile: 8; sh: 5
file content (37 lines) | stat: -rw-r--r-- 2,423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <toml11/parser.hpp>
#include <toml11/skip.hpp>
#include <toml11/types.hpp>

#if ! defined(TOML11_COMPILE_SOURCES)
#error "Define `TOML11_COMPILE_SOURCES` before compiling source code!"
#endif

namespace toml
{

namespace detail
{
template bool skip_whitespace            <type_config>(location& loc, const context<type_config>&);
template bool skip_empty_lines           <type_config>(location& loc, const context<type_config>&);
template void skip_comment_block         <type_config>(location& loc, const context<type_config>&);
template void skip_empty_or_comment_lines<type_config>(location& loc, const context<type_config>&);
template void skip_string_like           <type_config>(location& loc, const context<type_config>&);
template void skip_array_like            <type_config>(location& loc, const context<type_config>&);
template void skip_inline_table_like     <type_config>(location& loc, const context<type_config>&);
template void skip_value                 <type_config>(location& loc, const context<type_config>&);
template void skip_key_value_pair        <type_config>(location& loc, const context<type_config>&);
template void skip_until_next_table      <type_config>(location& loc, const context<type_config>&);

template bool skip_whitespace            <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template bool skip_empty_lines           <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_comment_block         <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_empty_or_comment_lines<ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_string_like           <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_array_like            <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_inline_table_like     <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_value                 <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_key_value_pair        <ordered_type_config>(location& loc, const context<ordered_type_config>&);
template void skip_until_next_table      <ordered_type_config>(location& loc, const context<ordered_type_config>&);

} // detail
} // toml