Lines Matching refs:fScopeIndex
484 intptr_t fScopeIndex = 0; member in skjson::__anon409b48780211::DOMParser
490 bool inTopLevelScope() const { return fScopeIndex == 0; } in inTopLevelScope()
491 bool inObjectScope() const { return fScopeIndex > 0; } in inObjectScope()
492 bool inArrayScope() const { return fScopeIndex < 0; } in inArrayScope()
525 fScopeIndex = *static_cast<RawValue<intptr_t>&>(placeholder); in popScopeAsVec()
534 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushObjectScope()
537 fScopeIndex = SkTo<intptr_t>(fValueStack.size()); in pushObjectScope()
542 this->popScopeAsVec<ObjectValue>(SkTo<size_t>(fScopeIndex)); in popObjectScope()
555 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushArrayScope()
558 fScopeIndex = -SkTo<intptr_t>(fValueStack.size()); in pushArrayScope()
563 this->popScopeAsVec<ArrayValue>(SkTo<size_t>(-fScopeIndex)); in popArrayScope()
573 SkASSERT(fValueStack.size() >= SkTo<size_t>(fScopeIndex)); in pushObjectKey()
574 SkASSERT(!((fValueStack.size() - SkTo<size_t>(fScopeIndex)) & 1)); in pushObjectKey()