MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::ast::PathExpr Class Reference

path More...

#include <mim/ast/ast.h>

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

Public Member Functions

 PathExpr (Ptr< Path > path)
const Pathpath () const
Dbg dbg () const
const Decldecl () const
void bind (Scopes &) const override
void stream (fe::Tab &, std::ostream &) const override
Public Member Functions inherited from mim::ast::Expr
const Defemit (Emitter &) const
const Defemit_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 Defemit_ (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)

Detailed Description

path

Definition at line 470 of file ast.h.

Constructor & Destructor Documentation

◆ PathExpr()

mim::ast::PathExpr::PathExpr ( Ptr< Path > path)
inline

Definition at line 472 of file ast.h.

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

Member Function Documentation

◆ bind()

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

Implements mim::ast::Expr.

Definition at line 217 of file bind.cpp.

References path().

◆ dbg()

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

Definition at line 477 of file ast.h.

Referenced by emit_().

◆ decl()

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

Definition at line 478 of file ast.h.

Referenced by emit_().

◆ emit_()

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

Implements mim::ast::Expr.

Definition at line 160 of file emit.cpp.

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

◆ path()

const Path * mim::ast::PathExpr::path ( ) const
inline

Definition at line 476 of file ast.h.

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

◆ stream()

void mim::ast::PathExpr::stream ( fe::Tab & tab,
std::ostream & os ) const
overridevirtual

Implements mim::ast::Node.

Definition at line 105 of file stream.cpp.

References path(), and mim::ast::Path::stream().


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