toStringDecl

Combine type attributes, kind and identifier to produce a declaration. TODO reconsider the function name. - Don't encode the return type in the name (?) - Is it really a Decl-> declaration? Maybe more appropriate would be "merge", of type and attributes?

trusted: shouldn't be needed but because of changes to dmd-2.094.0

  1. auto toStringDecl(TypeKind t, TypeAttr ta, string id)
    @safe pure
    toStringDecl
    (
    const TypeKind t
    ,,
    string id
    )
  2. auto toStringDecl(TypeKind t, TypeAttr ta)
  3. auto toStringDecl(T value, string id)
  4. auto toStringDecl(T value)

Meta