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()
710 const SyntaxTree::Impl &Tree;
711 HeightLess(const SyntaxTree::Impl &Tree) : Tree(Tree) {} in HeightLess()
721 const SyntaxTree::Impl &Tree;
727 PriorityList(const SyntaxTree::Impl &Tree) in PriorityList()
903 ASTDiff::Impl::Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, in Impl()
960 ASTDiff::ASTDiff(SyntaxTree &T1, SyntaxTree &T2, in ASTDiff()
966 NodeId ASTDiff::getMapped(const SyntaxTree &SourceTree, NodeId Id) const { in getMapped()
970 SyntaxTree::SyntaxTree(ASTContext &AST) in SyntaxTree() function in clang::diff::SyntaxTree
971 : TreeImpl(std::make_unique<SyntaxTree::Impl>( in SyntaxTree()
974 SyntaxTree::~SyntaxTree() = default;
976 const ASTContext &SyntaxTree::getASTContext() const { return TreeImpl->AST; } in getASTContext()
978 const Node &SyntaxTree::getNode(NodeId Id) const { in getNode()
982 int SyntaxTree::getSize() const { return TreeImpl->getSize(); } in getSize()
983 NodeId SyntaxTree::getRootId() const { return TreeImpl->getRootId(); } in getRootId()
984 SyntaxTree::PreorderIterator SyntaxTree::begin() const { in begin()
987 SyntaxTree::PreorderIterator SyntaxTree::end() const { return TreeImpl->end(); } in end()
989 int SyntaxTree::findPositionInParent(NodeId Id) const { in findPositionInParent()
994 SyntaxTree::getSourceRangeOffsets(const Node &N) const { in getSourceRangeOffsets()
1009 std::string SyntaxTree::getNodeValue(NodeId Id) const { in getNodeValue()
1013 std::string SyntaxTree::getNodeValue(const Node &N) const { in getNodeValue()