Lines Matching refs:parent
23 ParentDef::ParentDef(std::string name, FieldList fields, ParentDef* parent) in ParentDef() argument
24 : TypeDef(name), fields_(fields), parent_(parent) {} in ParentDef()
534 auto parent = parent_; in GetAncestors() local
535 while (parent != nullptr) { in GetAncestors()
536 res.push_back(parent); in GetAncestors()
537 parent = parent->parent_; in GetAncestors()
546 for (auto parent : GetAncestors()) { in GetAllConstraints() local
547 res.insert(parent->parent_constraints_.begin(), parent->parent_constraints_.end()); in GetAllConstraints()
553 auto parent = parent_; in HasAncestorNamed() local
554 while (parent != nullptr) { in HasAncestorNamed()
555 if (parent->name_ == name) { in HasAncestorNamed()
558 parent = parent->parent_; in HasAncestorNamed()