Joos1W Compiler Framework
All Classes Functions Typedefs Pages
ast::BlockStatement Class Referencefinal
Inheritance diagram for ast::BlockStatement:

Public Member Functions

 BlockStatement (BumpAllocator &alloc, array_ref< Stmt * > stmts) noexcept
 
std::ostream & print (std::ostream &os, int indentation=0) const override
 
int printDotNode (DotPrinter &dp) const override
 
utils::Generator< ast::AstNode const * > children () const override
 By default, returns an empty generator for the statement.
 
utils::Generator< const Expr * > exprs () const override
 Returns all the expressions in the statement.
 
auto stmts () const
 
- Public Member Functions inherited from ast::Stmt
utils::Generator< Expr * > mut_exprs ()
 
- Public Member Functions inherited from ast::AstNode
 AstNode (const AstNode &)=delete
 
 AstNode (AstNode &&)=delete
 
AstNodeoperator= (const AstNode &)=delete
 
AstNodeoperator= (AstNode &&)=delete
 
std::ostream & printDot (std::ostream &os) const
 
void dump () const
 
utils::Generator< AstNode * > mut_children ()
 Returns a generator for the mutable children of this node.
 

Additional Inherited Members

- Static Protected Member Functions inherited from ast::AstNode
static std::string indent (int indentation)
 Get a string of spaces for indentation. More...
 

Detailed Description

Definition at line 14 of file Stmt.h.


The documentation for this class was generated from the following files: