Skip to content

sg

This namespace contains template functions that operate on the ROSE AST

Types

Name
AncestorTypeFinder
DefaultHandler
DispatchHandler
VisitDispatcher

Functions

Name
_ancestor
template< class AncestorNode, class QualSgNode> AncestorNode* _ancestor(QualSgNode& n);
_dispatch
template<class RoseVisitor> std::remove_const<std::remove_reference<RoseVisitor>::type>::type _dispatch( RoseVisitor&& rv, SgNode* n);
ancestor
template<class AncestorNode> AncestorNode& ancestor(SgNode& n);
dispatch
template<class RoseVisitor> std::remove_const<std::remove_reference<RoseVisitor>::type>::type dispatch( RoseVisitor&& rv, SgNode* n);
report_error
[[noreturn]] void report_error( std::string desc, char const* file = nullptr, size_t ln = 0); [noreturn]
unexpected_node
[[noreturn]] void unexpected_node( SgNode const& n, char const* file = nullptr, size_t ln = 0); [noreturn]

Created with MrDocs