MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches

sym More...

#include <mim/ast/ast.h>

Inheritance diagram for mim::ast::IdExpr:
[legend]

Public Member Functions

 IdExpr (Dbg dbg)
Dbg dbg () const
const Decldecl () const
void bind (Scopes &) const override
std::ostream & stream (Tab &, std::ostream &) const override
Public Member Functions inherited from mim::ast::Expr
const Defemit (Emitter &) const
virtual const Defemit_decl (Emitter &, const Def *) const
virtual void emit_body (Emitter &, const Def *) const
Public Member Functions inherited from mim::ast::Node
Loc loc () const
void dump () const

Private Member Functions

const Defemit_ (Emitter &) const override

Additional Inherited Members

Public Types inherited from mim::ast::Expr
using Prec = ast::Prec
 Backward-compatible alias; prefer the free-standing ast::Prec.
Protected Member Functions inherited from mim::ast::Expr
 Expr (Loc loc)
Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)
virtual ~Node ()

Detailed Description

sym

Definition at line 332 of file ast.h.

Constructor & Destructor Documentation

◆ IdExpr()

mim::ast::IdExpr::IdExpr ( Dbg dbg)
inline

Definition at line 334 of file ast.h.

References dbg(), mim::ast::Expr::Expr(), and mim::ast::Node::loc().

Member Function Documentation

◆ bind()

void mim::ast::IdExpr::bind ( Scopes & s) const
overridevirtual

Implements mim::ast::Expr.

Definition at line 120 of file bind.cpp.

References dbg().

◆ dbg()

Dbg mim::ast::IdExpr::dbg ( ) const
inline

Definition at line 338 of file ast.h.

Referenced by bind(), IdExpr(), and stream().

◆ decl()

const Decl * mim::ast::IdExpr::decl ( ) const
inline

Definition at line 339 of file ast.h.

Referenced by emit_().

◆ emit_()

const Def * mim::ast::IdExpr::emit_ ( Emitter & ) const
overrideprivatevirtual

Implements mim::ast::Expr.

Definition at line 138 of file emit.cpp.

References decl(), and mim::ast::Decl::def().

◆ stream()

std::ostream & mim::ast::IdExpr::stream ( Tab & ,
std::ostream & os ) const
overridevirtual

Implements mim::ast::Node.

Definition at line 77 of file stream.cpp.

References dbg(), and mim::print().


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