Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.astenums

Defines enums common to dmd and dmd as parse library.

Source astenums.d

pure nothrow @nogc @safe bool isRefReturnScope(const ulong stc);
Determine if it's the ambigous case of where return attaches to.
Parameters:
ulong stc STC flags
Returns:
true if (ref | out) and scope and return
enum VarArg: ubyte;
none
fixed number of arguments
variadic
(T t, ...) can be C-style (core.stdc.stdarg) or D-style (core.vararg)
typesafe
KRvariadic
K+R C style variadics (no function prototype)
enum STMT: ubyte;
Identify Statement types with this enum rather than virtual functions
enum InitKind: ubyte;
Discriminant for which kind of initializer
enum LINK: ubyte;
A linkage attribute as defined by extern(XXX)
enum CPPMANGLE: ubyte;
Whether to mangle an external aggregate as a struct or class, as set by extern(C++, struct)
def
default
asStruct
extern(C++, struct)
asClass
extern(C++, class)
enum MATCH: int;
Function match levels
nomatch
no match
convert
match with conversions
constant
match with conversion to const
exact
exact match
enum PINLINE: ubyte;
Inline setting as defined by pragma(inline, XXX)
default_
as specified on the command line
never
never inline
always
always inline
enum FileType: ubyte;
Source file type
d
normal D source file
dhdr
D header file (.di)
ddoc
Ddoc documentation file (.dd)
c
C source file
struct DArray(T);
Use to return D arrays from C++ functions