dmd.astenums

Defines enums common to dmd and dmd as parse library.

Members

Enums

CPPMANGLE
enum CPPMANGLE

Whether to mangle an external aggregate as a struct or class, as set by extern(C++, struct)

FileType
enum FileType

Source file type

InitKind
enum InitKind

Discriminant for which kind of initializer

LINK
enum LINK

A linkage attribute as defined by extern(XXX)

MATCH
enum MATCH

Function match levels

PINLINE
enum PINLINE

Inline setting as defined by pragma(inline, XXX)

STMT
enum STMT

Identify Statement types with this enum rather than virtual functions

VarArg
enum VarArg

Variadic argument lists https://dlang.org/spec/function.html#variadic

Functions

isRefReturnScope
bool isRefReturnScope(ulong stc)

Determine if it's the ambigous case of where return attaches to.

Meta