Public Member Functions | |
| DummyDecl () | |
| void | stream (fe::Tab &, std::ostream &os) const final |
| Public Member Functions inherited from mim::ast::Decl | |
| const Def * | def () const |
| virtual Dbg | dbg () const |
| The name this Decl introduces; anonymous if it has none. | |
| virtual const Scope * | scope () const |
| Non-nullptr if this Decl is a module whose members a Path may walk into. | |
| virtual std::pair< AnnexInfo *, sub_t > | annex_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 Def * | def_ = nullptr |
|
inline |
Definition at line 13 of file bind.cpp.
References mim::ast::Decl::Decl().
|
inlinefinalvirtual |
Implements mim::ast::Node.