- logTypeAttr
void logTypeAttr(const ref TypeAttr attr, const uint indent = 0, in uint extra_space = 0, in string func = __FUNCTION__, in uint line = __LINE__)
Pretty loggning with indentation.
- logTypeResult
void logTypeResult(ref const(TypeResult) result, in uint indent, in string func = __FUNCTION__, in uint line = __LINE__)
Pretty loggning with indentation.
- logTypeResult
void logTypeResult(ref const(TypeResults) results, in uint indent = 0, in string func = __FUNCTION__, in uint line = __LINE__)
Pretty loggning with indentation.
- logTypeResult
void logTypeResult(ref const(Nullable!TypeResults) results, in uint indent = 0, in string func = __FUNCTION__, in uint line = __LINE__)
Pretty loggning with indentation.
- mergeExtra
TypeResults mergeExtra(ref return TypeResults lhs, const ref TypeResults rhs)
- splitTypeId
auto splitTypeId(ref const TypeKind t, const uint indent = 0)
Split the TypeId from the formatter in a Left/Right.
- splitTypeId
auto splitTypeId(ref const TypeKind t)
Split the TypeId from the formatter in a Left/Right.
- toStringDecl
auto toStringDecl(const TypeKind t, const TypeAttr ta, string id)
auto toStringDecl(const TypeKind t, const 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(const T value, string id)
auto toStringDecl(const T value)
if a type can be cast to a TypeKindAttr.