cpptooling.data.kind_type

Public Imports

cpptooling.data.kind
public import cpptooling.data.kind;

Members

Functions

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)

Merge rhs into lhs.

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.

Structs

TypeKindAttr
struct TypeKindAttr
Undocumented in source.
TypeResult
struct TypeResult
Undocumented in source.
TypeResults
struct TypeResults
Undocumented in source.

Meta

Date

Date: 2015-2017, Joakim Brännström

License

MPL-2, Mozilla Public License 2.0

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

Extracted information of types.