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

dbg_0.....dbg_n-1. More...

#include <mim/ast/ast.h>

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

Public Types

using VLA_Types = std::tuple<Dbg>

Public Member Functions

 Path (Loc loc)
auto dbgs () const
Dbg front () const
Dbg back () const
const Decldecl () const
void bind (Scopes &, bool quiet=false) const
void stream (fe::Tab &, std::ostream &) const override
Public Member Functions inherited from mim::ast::Node
Loc loc () const
void dump () const

Additional Inherited Members

Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)

Detailed Description

dbg_0.....dbg_n-1.

Definition at line 450 of file ast.h.

Member Typedef Documentation

◆ VLA_Types

using mim::ast::Path::VLA_Types = std::tuple<Dbg>

Definition at line 452 of file ast.h.

Constructor & Destructor Documentation

◆ Path()

mim::ast::Path::Path ( Loc loc)
inline

Definition at line 454 of file ast.h.

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

Member Function Documentation

◆ back()

Dbg mim::ast::Path::back ( ) const
inline

Definition at line 459 of file ast.h.

References dbgs().

◆ bind()

void mim::ast::Path::bind ( Scopes & s,
bool quiet = false ) const

Definition at line 182 of file bind.cpp.

References dbgs(), front(), and mim::ast::Priv.

◆ dbgs()

auto mim::ast::Path::dbgs ( ) const
inline

Definition at line 457 of file ast.h.

Referenced by back(), bind(), front(), and stream().

◆ decl()

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

Definition at line 460 of file ast.h.

◆ front()

Dbg mim::ast::Path::front ( ) const
inline

Definition at line 458 of file ast.h.

References dbgs().

Referenced by bind().

◆ stream()

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

Implements mim::ast::Node.

Definition at line 103 of file stream.cpp.

References dbgs().

Referenced by mim::ast::PathExpr::stream().


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