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?

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

Meta