«arity; body» or ‹arity; body› if SeqExpr::is_pack. More...
#include <mim/ast/ast.h>
Public Member Functions | |
| SeqExpr (Loc loc, bool is_pack, Ptr< IdPtrn > arity, Ptr< Expr > body) | |
| bool | is_pack () const |
| const IdPtrn * | arity () const |
| const Expr * | body () const |
| void | bind (Scopes &) const override |
| void | stream (fe::Tab &, std::ostream &) const override |
| Public Member Functions inherited from mim::ast::Expr | |
| const Def * | emit (Emitter &) const |
| const Def * | emit_decl (Emitter &, const Def *type) const |
| void | emit_body (Emitter &, const Def *decl) const |
| Public Member Functions inherited from mim::ast::Node | |
| Loc | loc () const |
| void | dump () const |
Private Member Functions | |
| const Def * | emit_ (Emitter &) const override |
Additional Inherited Members | |
| Protected Member Functions inherited from mim::ast::Expr | |
| Expr (Loc loc) | |
| Protected Member Functions inherited from mim::ast::Node | |
| Node (Loc loc) | |
«arity; body» or ‹arity; body› if SeqExpr::is_pack.
Definition at line 845 of file ast.h.
References arity(), body(), mim::ast::Expr::Expr(), is_pack(), and mim::ast::Node::loc().
|
inline |
|
overridevirtual |
|
inline |
Implements mim::ast::Expr.
Definition at line 450 of file emit.cpp.
References arity(), body(), mim::ast::Expr::emit(), is_pack(), mim::Lit::isa(), and mim::VarRewriter::VarRewriter().
|
inline |
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 184 of file stream.cpp.
References arity(), body(), is_pack(), and mim::ast::S::S().