MCPcopy Create free account
hub / github.com/dhbloo/rapfi / parse_table

Function parse_table

Rapfi/external/cpptoml/include/cpptoml.h:1933–1944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1931 }
1932
1933 void parse_table(std::string::iterator& it,
1934 const std::string::iterator& end, table*& curr_table)
1935 {
1936 // remove the beginning keytable marker
1937 ++it;
1938 if (it == end)
1939 throw_parse_exception("Unexpected end of table");
1940 if (*it == '[')
1941 parse_table_array(it, end, curr_table);
1942 else
1943 parse_single_table(it, end, curr_table);
1944 }
1945
1946 void parse_single_table(std::string::iterator& it,
1947 const std::string::iterator& end,

Callers 1

parseFunction · 0.85

Calls 3

throw_parse_exceptionFunction · 0.85
parse_table_arrayFunction · 0.85
parse_single_tableFunction · 0.85

Tested by

no test coverage detected