This class represents a top-level AST module.
More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
|
| MutableArrayRef< Decl * > | getChildren () |
| | Return the children of this module.
|
| ArrayRef< Decl * > | getChildren () const |
| TypeID | getTypeID () const |
| | Return the type identifier of this node.
|
| SMRange | getLoc () const |
| | Return the location of this node.
|
| void | print (raw_ostream &os) const |
| | Print this node to the given stream.
|
| void | walk (function_ref< void(const Node *)> walkFn) const |
| | Walk all of the nodes including, and nested under, this node in pre-order.
|
| template<typename WalkFnT, typename ArgT = typename llvm::function_traits< WalkFnT>::template arg_t<0>> |
| std::enable_if_t<!std::is_convertible< const Node *, ArgT >::value > | walk (WalkFnT &&walkFn) const |
This class represents a top-level AST module.
Definition at line 1296 of file Nodes.h.
◆ create()
◆ getChildren() [1/2]
Return the children of this module.
Definition at line 1302 of file Nodes.h.
Referenced by create().
◆ getChildren() [2/2]
| ArrayRef< Decl * > mlir::pdll::ast::Module::getChildren |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: