Handle enums.
Compiler implementation of the D programming language.
AST node for EnumDeclaration
https://dlang.org/spec/enum.html#EnumDeclaration
Get the value of the .max/.min property as an Expression. Lazily computes the value and caches it in maxval/minval. Reports any errors.
Loc loc
| location to use for error messages |
Identifier id
| Id::max or Id::min |
Determine if enum is a special one.
true
if specialAST node representing a member of an enum. https://dlang.org/spec/enum.html#EnumMember https://dlang.org/spec/enum.html#AnonymousEnumMember
Check for special enum names.
Special enum names are used by the C++ name mangler to represent C++ types that are not basic D types.
Identifier ident
| identifier to check for specialness |
true
if it is special
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_denum.html