- logTypeAttr
void logTypeAttr(TypeAttr attr, uint indent, uint extra_space, string func, uint line)
Pretty loggning with indentation.
- logTypeResult
void logTypeResult(TypeResult result, uint indent, string func, uint line)
Pretty loggning with indentation.
- logTypeResult
void logTypeResult(TypeResults results, uint indent, string func, uint line)
Pretty loggning with indentation.
- logTypeResult
void logTypeResult(Nullable!TypeResults results, uint indent, string func, uint line)
Pretty loggning with indentation.
- makeSimple
TypeKindAttr makeSimple(string txt, TypeAttr attr)
Undocumented in source. Be warned that the author may not have intended to support it.
- mergeExtra
TypeResults mergeExtra(TypeResults lhs, TypeResults rhs)
- splitTypeId
auto splitTypeId(TypeKind t, uint indent)
Split the TypeId from the formatter in a Left/Right.
- splitTypeId
auto splitTypeId(TypeKind t)
Split the TypeId from the formatter in a Left/Right.
- toStringDecl
auto toStringDecl(TypeKind t, TypeAttr ta, string id)
auto toStringDecl(TypeKind t, TypeAttr ta)
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?
- toStringDecl
auto toStringDecl(T value, string id)
auto toStringDecl(T value)
if a type can be cast to a TypeKindAttr.