|
Joos1W Compiler Framework
|
Base class for all statements. More...
#include <AstNode.h>

Public Member Functions | |
| virtual utils::Generator< AstNode const * > | children () const override |
| By default, returns an empty generator for the statement. | |
| virtual utils::Generator< Expr const * > | exprs () const =0 |
| Returns all the expressions in the statement. | |
| utils::Generator< Expr * > | mut_exprs () |
Public Member Functions inherited from ast::AstNode | |
| AstNode (const AstNode &)=delete | |
| AstNode (AstNode &&)=delete | |
| AstNode & | operator= (const AstNode &)=delete |
| AstNode & | operator= (AstNode &&)=delete |
| std::ostream & | printDot (std::ostream &os) const |
| virtual std::ostream & | print (std::ostream &os, int indentation=0) const =0 |
| virtual int | printDotNode (DotPrinter &dp) const =0 |
| 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... | |