clang 20.0.0git
|
Public Member Functions | |
Subtree (const SyntaxTree::Impl &Tree, NodeId SubtreeRoot) | |
int | getSize () const |
NodeId | getIdInRoot (SNodeId Id) const |
const Node & | getNode (SNodeId Id) const |
SNodeId | getLeftMostDescendant (SNodeId Id) const |
NodeId | getPostorderOffset () const |
Returns the postorder index of the leftmost descendant in the subtree. | |
std::string | getNodeValue (SNodeId Id) const |
Public Attributes | |
std::vector< SNodeId > | KeyRoots |
Definition at line 485 of file ASTDiff.cpp.
|
inline |
Definition at line 497 of file ASTDiff.cpp.
References clang::diff::getSubtreePostorder(), and Tree.
Definition at line 503 of file ASTDiff.cpp.
References Id.
Referenced by clang::diff::ZhangShashaMatcher::getMatchingNodes().
Definition at line 510 of file ASTDiff.cpp.
References Id.
Referenced by clang::diff::ZhangShashaMatcher::getMatchingNodes().
Definition at line 507 of file ASTDiff.cpp.
|
inline |
Definition at line 518 of file ASTDiff.cpp.
|
inline |
Returns the postorder index of the leftmost descendant in the subtree.
Definition at line 515 of file ASTDiff.cpp.
References Tree.
|
inline |
Definition at line 502 of file ASTDiff.cpp.
Referenced by clang::diff::ZhangShashaMatcher::getMatchingNodes(), and clang::diff::ZhangShashaMatcher::ZhangShashaMatcher().
std::vector<SNodeId> clang::diff::Subtree::KeyRoots |
Definition at line 495 of file ASTDiff.cpp.