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
Jump to: CHECKACTION · CHECKENABLE · CPPMANGLE · DArray · Edition · FileType · InitKind · isRefReturnScope · LINK · MATCH · PINLINE · STMT · VarArg
Defines enums common to dmd and dmd as parse library.
License:
Source astenums.d
Documentation https://dlang.org/phobos/dmd_astenums.html
- D Language version
- pure nothrow @nogc @safe bool
isRefReturnScope
(const ulongstc
); - 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 - Variadic argument lists https://dlang.org/spec/function.html#variadic
none
- fixed number of arguments
variadic
- (T t, ...) can be C-style (core.stdc.stdarg) or D-style (core.vararg)
typesafe
- (T t ...) typesafe https://dlang.org/spec/function.html#typesafe_variadic_functions
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)
- Whether to mangle an external aggregate as a struct or class, as set by extern(C++, struct)
- Function match levels
- Inline setting as defined by pragma(inline, XXX)
- Source file type
- In which context checks for assertions, contracts, bounds checks etc. are enabled
- What should happend when an assertion fails
- struct
DArray
(T); - Use to return D arrays from C++ functions
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Jun 30 05:15:40 2025