Lines Matching refs:SyntaxTree

60   SyntaxTree::Impl &T1, &T2;
63 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2,
72 NodeId getMapped(const std::unique_ptr<SyntaxTree::Impl> &Tree, in getMapped()
113 class SyntaxTree::Impl {
115 Impl(SyntaxTree *Parent, ASTContext &AST);
117 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
118 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
120 Impl(SyntaxTree *Parent, in Impl()
124 Impl(SyntaxTree *Parent, in Impl()
128 SyntaxTree *Parent;
192 SyntaxTree::Impl &Tree;
194 PreorderVisitor(SyntaxTree::Impl &Tree) : Tree(Tree) {} in PreorderVisitor()
261 SyntaxTree::Impl::Impl(SyntaxTree *Parent, ASTContext &AST) in Impl()
266 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST) in Impl()
273 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST) in Impl()
280 static std::vector<NodeId> getSubtreePostorder(const SyntaxTree::Impl &Tree, in getSubtreePostorder()
293 static std::vector<NodeId> getSubtreeBfs(const SyntaxTree::Impl &Tree, in getSubtreeBfs()
304 void SyntaxTree::Impl::initTree() { in initTree()
318 void SyntaxTree::Impl::setLeftMostDescendants() { in setLeftMostDescendants()
330 int SyntaxTree::Impl::getNumberOfDescendants(NodeId Id) const { in getNumberOfDescendants()
334 bool SyntaxTree::Impl::isInSubtree(NodeId Id, NodeId SubtreeRoot) const { in isInSubtree()
338 int SyntaxTree::Impl::findPositionInParent(NodeId Id, bool Shifted) const { in findPositionInParent()
358 SyntaxTree::Impl::getRelativeName(const NamedDecl *ND, in getRelativeName()
379 std::string SyntaxTree::Impl::getRelativeName(const NamedDecl *ND) const { in getRelativeName()
408 std::string SyntaxTree::Impl::getNodeValue(NodeId Id) const { in getNodeValue()
412 std::string SyntaxTree::Impl::getNodeValue(const Node &N) const { in getNodeValue()
423 std::string SyntaxTree::Impl::getDeclValue(const Decl *D) const { in getDeclValue()
446 std::string SyntaxTree::Impl::getStmtValue(const Stmt *S) const { in getStmtValue()
488 const SyntaxTree::Impl &Tree;
497 Subtree(const SyntaxTree::Impl &Tree, NodeId SubtreeRoot) : Tree(Tree) { in Subtree()
565 ZhangShashaMatcher(const ASTDiff::Impl &DiffImpl, const SyntaxTree::Impl &T1, in ZhangShashaMatcher()
566 const SyntaxTree::Impl &T2, NodeId Id1, NodeId Id2) in ZhangShashaMatcher()
709 const SyntaxTree::Impl &Tree;
710 HeightLess(const SyntaxTree::Impl &Tree) : Tree(Tree) {} in HeightLess()
720 const SyntaxTree::Impl &Tree;
726 PriorityList(const SyntaxTree::Impl &Tree) in PriorityList()
902 ASTDiff::Impl::Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, in Impl()
959 ASTDiff::ASTDiff(SyntaxTree &T1, SyntaxTree &T2, in ASTDiff()
965 NodeId ASTDiff::getMapped(const SyntaxTree &SourceTree, NodeId Id) const { in getMapped()
969 SyntaxTree::SyntaxTree(ASTContext &AST) in SyntaxTree() function in clang::diff::SyntaxTree
970 : TreeImpl(std::make_unique<SyntaxTree::Impl>( in SyntaxTree()
973 SyntaxTree::~SyntaxTree() = default;
975 const ASTContext &SyntaxTree::getASTContext() const { return TreeImpl->AST; } in getASTContext()
977 const Node &SyntaxTree::getNode(NodeId Id) const { in getNode()
981 int SyntaxTree::getSize() const { return TreeImpl->getSize(); } in getSize()
982 NodeId SyntaxTree::getRootId() const { return TreeImpl->getRootId(); } in getRootId()
983 SyntaxTree::PreorderIterator SyntaxTree::begin() const { in begin()
986 SyntaxTree::PreorderIterator SyntaxTree::end() const { return TreeImpl->end(); } in end()
988 int SyntaxTree::findPositionInParent(NodeId Id) const { in findPositionInParent()
993 SyntaxTree::getSourceRangeOffsets(const Node &N) const { in getSourceRangeOffsets()
1008 std::string SyntaxTree::getNodeValue(NodeId Id) const { in getNodeValue()
1012 std::string SyntaxTree::getNodeValue(const Node &N) const { in getNodeValue()