MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::ast::R< T > Struct Template Reference

Public Member Functions

 R (fe::Tab &tab, const Ptrs< T > &range, std::string_view sep=", ")

Public Attributes

fe::Tab & tab
const Ptrs< T > & range
std::string_view sep

Friends

std::ostream & operator<< (std::ostream &os, const R &r)

Detailed Description

template<class T>
struct mim::ast::R< T >

Definition at line 28 of file stream.cpp.

Constructor & Destructor Documentation

◆ R()

template<class T>
mim::ast::R< T >::R ( fe::Tab & tab,
const Ptrs< T > & range,
std::string_view sep = ", " )
inline

Definition at line 29 of file stream.cpp.

References range, sep, and tab.

Referenced by operator<<.

◆ operator<<

template<class T>
std::ostream & operator<< ( std::ostream & os,
const R< T > & r )
friend

Definition at line 38 of file stream.cpp.

References R().

Member Data Documentation

◆ range

template<class T>
const Ptrs<T>& mim::ast::R< T >::range

Definition at line 35 of file stream.cpp.

Referenced by R().

◆ sep

template<class T>
std::string_view mim::ast::R< T >::sep

Definition at line 36 of file stream.cpp.

Referenced by R().

◆ tab

template<class T>
fe::Tab& mim::ast::R< T >::tab

Definition at line 34 of file stream.cpp.

Referenced by R().


The documentation for this struct was generated from the following file: