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

Function GetType

include/sonic/dom/genericnode.h:350–352  ·  view source on GitHub ↗

* @brief Get 5-bits type info * @return TypeFlag */

Source from the content-addressed store, hash-verified

348 * @return TypeFlag
349 */
350 sonic_force_inline TypeFlag GetType() const noexcept {
351 return static_cast<TypeFlag>(t.t & kSubTypeMask);
352 }
353
354 /**
355 * @brief Get int64 data.

Callers 7

IsTrueMethod · 0.85
IsFalseMethod · 0.85
IsDoubleMethod · 0.85
IsInt64Method · 0.85
IsUint64Method · 0.85
IsStringConstMethod · 0.85
GetBoolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected