• Home
  • Raw
  • Download

Lines Matching refs:NodeRole

59   this->setRole(NodeRole::Detached);  in Node()
63 return getRole() == NodeRole::Detached; in isDetached()
66 void syntax::Node::setRole(NodeRole NR) { in setRole()
70 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel()
71 assert(Child->getRole() == NodeRole::Detached); in appendChildLowLevel()
72 assert(Role != NodeRole::Detached); in appendChildLowLevel()
82 assert(Child->getRole() != NodeRole::Detached); in appendChildLowLevel()
94 void syntax::Tree::prependChildLowLevel(Node *Child, NodeRole Role) { in prependChildLowLevel()
95 assert(Child->getRole() == NodeRole::Detached); in prependChildLowLevel()
96 assert(Role != NodeRole::Detached); in prependChildLowLevel()
106 assert(Child->getRole() != NodeRole::Detached); in prependChildLowLevel()
128 assert(N->getRole() != NodeRole::Detached && "Roles must be set"); in replaceChildRangeLowLevel()
159 N->setRole(NodeRole::Detached); in replaceChildRangeLowLevel()
207 if (N->getRole() != syntax::NodeRole::Unknown) in dumpNode()
295 assert(C.getRole() == NodeRole::ListElement || in assertInvariants()
296 C.getRole() == NodeRole::ListDelimiter); in assertInvariants()
297 if (C.getRole() == NodeRole::ListDelimiter) { in assertInvariants()
332 const syntax::Node *syntax::Tree::findChild(NodeRole R) const { in findChild()
349 case syntax::NodeRole::ListElement: { in getElementsAsNodesAndDelimiters()
356 case syntax::NodeRole::ListDelimiter: { in getElementsAsNodesAndDelimiters()
394 case syntax::NodeRole::ListElement: { in getElementsAsNodes()
401 case syntax::NodeRole::ListDelimiter: { in getElementsAsNodes()