MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::ast::DummyDecl Class Reference
Inheritance diagram for mim::ast::DummyDecl:
[legend]

Public Member Functions

 DummyDecl ()
void stream (fe::Tab &, std::ostream &os) const final
Public Member Functions inherited from mim::ast::Decl
const Defdef () const
virtual Dbg dbg () const
 The name this Decl introduces; anonymous if it has none.
virtual const Scopescope () const
 Non-nullptr if this Decl is a module whose members a Path may walk into.
virtual std::pair< AnnexInfo *, sub_tannex_sub () const
 The (AnnexInfo, sub) slot this decl registered itself under as an annex; {nullptr, 0} if it isn't one.
virtual Vis vis () const
 A ValDecl's own Vis; Pub for anything else (Ptrn, Import, ...), which the priv/pub system ignores.
virtual bool is_extern () const
 Whether this decl crosses the Mim/native boundary (extern); body presence picks which side supplies it.
virtual bool is_anx () const
 Whether this decl is registered as a compiler-exposed annex (anx).
Public Member Functions inherited from mim::ast::Node
Loc loc () const
void dump () const

Additional Inherited Members

Protected Member Functions inherited from mim::ast::Decl
 Decl (Loc loc)
Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)
Protected Attributes inherited from mim::ast::Decl
const Defdef_ = nullptr

Detailed Description

Definition at line 11 of file bind.cpp.

Constructor & Destructor Documentation

◆ DummyDecl()

mim::ast::DummyDecl::DummyDecl ( )
inline

Definition at line 13 of file bind.cpp.

References mim::ast::Decl::Decl().

Member Function Documentation

◆ stream()

void mim::ast::DummyDecl::stream ( fe::Tab & ,
std::ostream & os ) const
inlinefinalvirtual

Implements mim::ast::Node.

Definition at line 16 of file bind.cpp.


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