MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / getBasicType

Function getBasicType

include/sonic/dom/genericnode.h:1034–1036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1032 }
1033
1034 sonic_force_inline TypeFlag getBasicType() const noexcept {
1035 return static_cast<TypeFlag>(t.t & kBasicTypeMask);
1036 }
1037 sonic_force_inline void setLength(size_t len) noexcept {
1038 sv.len = (len << kInfoBits) | static_cast<uint64_t>(t.t);
1039 }

Callers 7

IsNullMethod · 0.85
IsBoolMethod · 0.85
IsStringMethod · 0.85
IsRawMethod · 0.85
IsNumberMethod · 0.85
IsArrayMethod · 0.85
IsObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected