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 Path * path () const
Dbg dbg () const
const Decl * decl () 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)

Detailed Description

path

Definition at line 504 of file ast.h.

Constructor & Destructor Documentation

◆ PathExpr()

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

Definition at line 506 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 230 of file bind.cpp.

References path().

◆ dbg()

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

Definition at line 511 of file ast.h.

Referenced by emit_().

◆ decl()

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

Definition at line 512 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 343 of file emit.cpp.

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

◆ path()

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

Definition at line 510 of file ast.h.

Referenced by bind(), mim::ast::emit_ctor(), PathExpr(), and stream().

◆ stream()

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

Implements mim::ast::Node.

Definition at line 111 of file stream.cpp.

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


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