#include <mim/ast/ast.h>
Public Member Functions | |
| LitExpr (Loc loc, Tok tok, Ptr< Expr > type) | |
| Tok | tok () const |
| Tok::Tag | tag () const |
| const Expr * | type () 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) | |
Definition at line 512 of file ast.h.
References mim::ast::Expr::Expr(), mim::ast::Node::loc(), tok(), and type().
|
overridevirtual |
Implements mim::ast::Expr.
Definition at line 225 of file bind.cpp.
References mim::ast::Expr::bind(), C_LIT_TYPED, ISA, mim::ast::Node::loc(), tag(), and type().
Implements mim::ast::Expr.
Definition at line 233 of file emit.cpp.
References mim::ast::Expr::emit(), mim::ast::encode_f(), mim::ast::Tok::lit_i(), mim::ast::Node::loc(), tag(), tok(), and type().
|
overridevirtual |
Implements mim::ast::Node.
Definition at line 110 of file stream.cpp.
References mim::ast::Tok::lit_i(), mim::ast::Tok::lit_u(), mim::ast::S::S(), tag(), tok(), and type().
|
inline |
|
inline |
|
inline |