Lines Matching refs:SyntaxTree

59   SyntaxTree::Impl &T1, &T2;
62 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2,
71 NodeId getMapped(const std::unique_ptr<SyntaxTree::Impl> &Tree, in getMapped()
112 class SyntaxTree::Impl {
114 Impl(SyntaxTree *Parent, ASTContext &AST);
116 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
119 Impl(SyntaxTree *Parent, in Impl()
124 Impl(SyntaxTree *Parent, in Impl()
129 SyntaxTree *Parent;
193 SyntaxTree::Impl &Tree;
195 PreorderVisitor(SyntaxTree::Impl &Tree) : Tree(Tree) {} in PreorderVisitor()
262 SyntaxTree::Impl::Impl(SyntaxTree *Parent, ASTContext &AST) in Impl()
267 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST) in Impl()
274 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST) in Impl()
281 static std::vector<NodeId> getSubtreePostorder(const SyntaxTree::Impl &Tree, in getSubtreePostorder()
294 static std::vector<NodeId> getSubtreeBfs(const SyntaxTree::Impl &Tree, in getSubtreeBfs()
305 void SyntaxTree::Impl::initTree() { in initTree()
319 void SyntaxTree::Impl::setLeftMostDescendants() { in setLeftMostDescendants()
331 int SyntaxTree::Impl::getNumberOfDescendants(NodeId Id) const { in getNumberOfDescendants()
335 bool SyntaxTree::Impl::isInSubtree(NodeId Id, NodeId SubtreeRoot) const { in isInSubtree()
339 int SyntaxTree::Impl::findPositionInParent(NodeId Id, bool Shifted) const { in findPositionInParent()
359 SyntaxTree::Impl::getRelativeName(const NamedDecl *ND, in getRelativeName()
380 std::string SyntaxTree::Impl::getRelativeName(const NamedDecl *ND) const { in getRelativeName()
409 std::string SyntaxTree::Impl::getNodeValue(NodeId Id) const { in getNodeValue()
413 std::string SyntaxTree::Impl::getNodeValue(const Node &N) const { in getNodeValue()
424 std::string SyntaxTree::Impl::getDeclValue(const Decl *D) const { in getDeclValue()
447 std::string SyntaxTree::Impl::getStmtValue(const Stmt *S) const { in getStmtValue()
489 const SyntaxTree::Impl &Tree;
498 Subtree(const SyntaxTree::Impl &Tree, NodeId SubtreeRoot) : Tree(Tree) { in Subtree()
566 ZhangShashaMatcher(const ASTDiff::Impl &DiffImpl, const SyntaxTree::Impl &T1, in ZhangShashaMatcher()
567 const SyntaxTree::Impl &T2, NodeId Id1, NodeId Id2) in ZhangShashaMatcher()
712 const SyntaxTree::Impl &Tree;
713 HeightLess(const SyntaxTree::Impl &Tree) : Tree(Tree) {} in HeightLess()
723 const SyntaxTree::Impl &Tree;
729 PriorityList(const SyntaxTree::Impl &Tree) in PriorityList()
905 ASTDiff::Impl::Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, in Impl()
962 ASTDiff::ASTDiff(SyntaxTree &T1, SyntaxTree &T2, in ASTDiff()
968 NodeId ASTDiff::getMapped(const SyntaxTree &SourceTree, NodeId Id) const { in getMapped()
972 SyntaxTree::SyntaxTree(ASTContext &AST) in SyntaxTree() function in clang::diff::SyntaxTree
973 : TreeImpl(llvm::make_unique<SyntaxTree::Impl>( in SyntaxTree()
976 SyntaxTree::~SyntaxTree() = default;
978 const ASTContext &SyntaxTree::getASTContext() const { return TreeImpl->AST; } in getASTContext()
980 const Node &SyntaxTree::getNode(NodeId Id) const { in getNode()
984 int SyntaxTree::getSize() const { return TreeImpl->getSize(); } in getSize()
985 NodeId SyntaxTree::getRootId() const { return TreeImpl->getRootId(); } in getRootId()
986 SyntaxTree::PreorderIterator SyntaxTree::begin() const { in begin()
989 SyntaxTree::PreorderIterator SyntaxTree::end() const { return TreeImpl->end(); } in end()
991 int SyntaxTree::findPositionInParent(NodeId Id) const { in findPositionInParent()
996 SyntaxTree::getSourceRangeOffsets(const Node &N) const { in getSourceRangeOffsets()
1011 std::string SyntaxTree::getNodeValue(NodeId Id) const { in getNodeValue()
1015 std::string SyntaxTree::getNodeValue(const Node &N) const { in getNodeValue()