Optional
decllink to AST so that we can traverse scopes and know what elems to emit
Optional
dependentscope for the references within this declaration (only needed for global decls.) if this decl is included in the link, dependentScope holds other refIdents that should be included too
Optional
idtrue if this is a global declaration (e.g. not a local variable)
Optional
mangledname in the output code
To figure out which module this declaration is from.
scope in which this declaration is found