|
| | IdDecl (Dbg dbg) |
| Dbg | dbg () const override |
| | The name this Decl introduces; anonymous if it has none.
|
| void | bind (Scopes &, bool quiet=false) const |
| const Def * | emit (const Def *) const |
| void | stream (fe::Tab &, std::ostream &) const override |
| const Def * | def () const |
| 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).
|
| Loc | loc () const |
| void | dump () const |
dbg bound to a Def whose type the binding construct dictates; hence, it carries no annotation.
Definition at line 276 of file ast.h.