clang
7.0.0
|
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. More... | |
std::string | getNodeValue (SNodeId Id) const |
Public Attributes | |
std::vector< SNodeId > | KeyRoots |
Definition at line 486 of file ASTDiff.cpp.
|
inline |
Definition at line 498 of file ASTDiff.cpp.
References clang::diff::getSubtreePostorder().
Definition at line 504 of file ASTDiff.cpp.
References clang::diff::SyntaxTree::Impl::getSize().
Definition at line 511 of file ASTDiff.cpp.
References clang::diff::SyntaxTree::Impl::getSize().
Definition at line 508 of file ASTDiff.cpp.
References clang::diff::SyntaxTree::Impl::getNode().
|
inline |
Definition at line 519 of file ASTDiff.cpp.
References clang::diff::SyntaxTree::Impl::getNodeValue(), and clang::diff::SyntaxTree::Impl::getSize().
|
inline |
Returns the postorder index of the leftmost descendant in the subtree.
Definition at line 516 of file ASTDiff.cpp.
References clang::diff::SyntaxTree::Impl::PostorderIds.
|
inline |
Definition at line 503 of file ASTDiff.cpp.
Referenced by clang::diff::ZhangShashaMatcher::ZhangShashaMatcher().
std::vector<SNodeId> clang::diff::Subtree::KeyRoots |
Definition at line 496 of file ASTDiff.cpp.