dmd.astenums

Defines enums common to dmd and dmd as parse library.

Source: astenums.d

  • Declaration

    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

    Return Value

    true if (ref | out) and scope and return

  • Declaration

    enum VarArg: ubyte;

  • Declaration

    enum STMT: ubyte;

    Identify Statement types with this enum rather than virtual functions

  • Declaration

    enum InitKind: ubyte;

    Discriminant for which kind of initializer

  • Declaration

    enum LINK: ubyte;

    A linkage attribute as defined by extern(XXX)

  • Declaration

    enum CPPMANGLE: ubyte;

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

    • def

      Declaration

      def

      default

    • Declaration

      asStruct

      extern(C++, struct)

    • Declaration

      asClass

      extern(C++, class)

  • Declaration

    enum MATCH: int;

    Function match levels

    • Declaration

      nomatch

      no match

    • Declaration

      convert

      match with conversions

    • Declaration

      constant

      match with conversion to const

    • Declaration

      exact

      exact match

  • Declaration

    enum PINLINE: ubyte;

    Inline setting as defined by pragma(inline, XXX)

    • Declaration

      default_

      as specified on the command line

    • Declaration

      never

      never inline

    • Declaration

      always

      always inline

  • Declaration

    enum FileType: ubyte;

    Source file type

    • d

      Declaration

      d

      normal D source file

    • Declaration

      dhdr

      D header file (.di)

    • Declaration

      ddoc

      Ddoc documentation file (.dd)

    • c

      Declaration

      c

      C source file