Lines Matching refs:fScopeIndex
476 intptr_t fScopeIndex = 0; member in skjson::__anon2739ce280211::DOMParser
482 bool inTopLevelScope() const { return fScopeIndex == 0; } in inTopLevelScope()
483 bool inObjectScope() const { return fScopeIndex > 0; } in inObjectScope()
484 bool inArrayScope() const { return fScopeIndex < 0; } in inArrayScope()
517 fScopeIndex = *static_cast<RawValue<intptr_t>&>(placeholder); in popScopeAsVec()
526 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushObjectScope()
529 fScopeIndex = SkTo<intptr_t>(fValueStack.size()); in pushObjectScope()
534 this->popScopeAsVec<ObjectValue>(SkTo<size_t>(fScopeIndex)); in popObjectScope()
547 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushArrayScope()
550 fScopeIndex = -SkTo<intptr_t>(fValueStack.size()); in pushArrayScope()
555 this->popScopeAsVec<ArrayValue>(SkTo<size_t>(-fScopeIndex)); in popArrayScope()
565 SkASSERT(fValueStack.size() >= SkTo<size_t>(fScopeIndex)); in pushObjectKey()
566 SkASSERT(!((fValueStack.size() - SkTo<size_t>(fScopeIndex)) & 1)); in pushObjectKey()