MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / parse_msgpack_internal

Method parse_msgpack_internal

external/json/json.hpp:7205–7562  ·  view source on GitHub ↗

! @return whether a valid MessagePack value was passed to the SAX parser */

Source from the content-addressed store, hash-verified

7203 @return whether a valid MessagePack value was passed to the SAX parser
7204 */
7205 bool parse_msgpack_internal()
7206 {
7207 switch (get())
7208 {
7209 // EOF
7210 case std::char_traits<char>::eof():
7211 return unexpect_eof(input_format_t::msgpack, "value");
7212
7213 // positive fixint
7214 case 0x00:
7215 case 0x01:
7216 case 0x02:
7217 case 0x03:
7218 case 0x04:
7219 case 0x05:
7220 case 0x06:
7221 case 0x07:
7222 case 0x08:
7223 case 0x09:
7224 case 0x0A:
7225 case 0x0B:
7226 case 0x0C:
7227 case 0x0D:
7228 case 0x0E:
7229 case 0x0F:
7230 case 0x10:
7231 case 0x11:
7232 case 0x12:
7233 case 0x13:
7234 case 0x14:
7235 case 0x15:
7236 case 0x16:
7237 case 0x17:
7238 case 0x18:
7239 case 0x19:
7240 case 0x1A:
7241 case 0x1B:
7242 case 0x1C:
7243 case 0x1D:
7244 case 0x1E:
7245 case 0x1F:
7246 case 0x20:
7247 case 0x21:
7248 case 0x22:
7249 case 0x23:
7250 case 0x24:
7251 case 0x25:
7252 case 0x26:
7253 case 0x27:
7254 case 0x28:
7255 case 0x29:
7256 case 0x2A:
7257 case 0x2B:
7258 case 0x2C:
7259 case 0x2D:
7260 case 0x2E:
7261 case 0x2F:
7262 case 0x30:

Callers

nothing calls this directly

Calls 9

getFunction · 0.85
createFunction · 0.85
number_unsignedMethod · 0.45
stringMethod · 0.45
nullMethod · 0.45
booleanMethod · 0.45
number_floatMethod · 0.45
number_integerMethod · 0.45
parse_errorMethod · 0.45

Tested by

no test coverage detected