op rhs; PrefixExpr::op picks the meaning - see MIM_PREFIX. More...
#include <mim/ast/ast.h>
Public Member Functions | |
| PrefixExpr (Loc loc, Tok op, Ptr< Expr > rhs) | |
| Tok | op () const |
| const Expr * | rhs () 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) | |
op rhs; PrefixExpr::op picks the meaning - see MIM_PREFIX.
Definition at line 630 of file ast.h.
References mim::ast::Expr::Expr(), mim::ast::Node::loc(), op(), and rhs().
|
overridevirtual |
Implements mim::ast::Expr.
Definition at line 257 of file bind.cpp.
References mim::ast::Expr::bind(), and rhs().
Implements mim::ast::Expr.
Definition at line 523 of file emit.cpp.
References mim::ast::Expr::emit(), mim::ast::Node::loc(), op(), mim::ast::open_nom(), rhs(), and mim::type_of().
|
inline |
Definition at line 635 of file ast.h.
Referenced by emit_(), PrefixExpr(), and stream().
|
inline |
Definition at line 636 of file ast.h.
References mim::ast::Expr::Expr().
Referenced by bind(), emit_(), PrefixExpr(), and stream().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 163 of file stream.cpp.
References op(), rhs(), mim::ast::S::S(), and mim::ast::Tok::tag2str().