Searched refs:mTaggedItem (Results 1 – 3 of 3) sorted by relevance
798 return mValue == other.mValue && *mTaggedItem == *other.mTaggedItem;806 size_t encodedSize() const override { return headerSize(mValue) + mTaggedItem->encodedSize(); } in encodedSize()814 MajorType type() const override { return mTaggedItem ? mTaggedItem->type() : SEMANTIC; } in type()821 Int* asInt() override { return mTaggedItem->asInt(); } in asInt()823 Uint* asUint() override { return mTaggedItem->asUint(); } in asUint()825 Nint* asNint() override { return mTaggedItem->asNint(); } in asNint()827 Tstr* asTstr() override { return mTaggedItem->asTstr(); } in asTstr()829 Bstr* asBstr() override { return mTaggedItem->asBstr(); } in asBstr()831 Simple* asSimple() override { return mTaggedItem->asSimple(); } in asSimple()833 Map* asMap() override { return mTaggedItem->asMap(); } in asMap()[all …]
562 return std::make_unique<SemanticTag>(mValue, mTaggedItem->clone()); in clone()570 return mTaggedItem->encode(pos, end); in encode()577 mTaggedItem->encode(encodeCallback); in encode()583 while (cur->mTaggedItem && (cur = cur->mTaggedItem->asSemanticTag()) != nullptr) ++levelCount; in semanticTagCount()597 while (--levelCount > 0) cur = cur->mTaggedItem->asSemanticTag(); in semanticTag()
175 void add(std::unique_ptr<Item> item) override { mTaggedItem = std::move(item); } in add()