cpptooling.data.kind_type_format

Members

Structs

ArrayFmt
struct ArrayFmt
Undocumented in source.
ArraySize
struct ArraySize

Size of an array.

CtorFmt
struct CtorFmt
Undocumented in source.
CvPtrQ
struct CvPtrQ

Pair of ptr-qualifier and cv-qualifier.

CvQ
struct CvQ

cv-qualifier such as const/volatile

DeclId
struct DeclId

declaration-id

DtorFmt
struct DtorFmt
Undocumented in source.
FuncFmt
struct FuncFmt
Undocumented in source.
FuncPtrFmt
struct FuncPtrFmt
Undocumented in source.
FuncSignatureFmt
struct FuncSignatureFmt
Undocumented in source.
Left
struct Left
Undocumented in source.
PtrFmt
struct PtrFmt
Undocumented in source.
PtrQ
struct PtrQ

ptr-qualifier such as */&.

Right
struct Right
Undocumented in source.
SimpleFmt
struct SimpleFmt
Undocumented in source.
TypeId
struct TypeId

type-id

TypeIdLR
struct TypeIdLR

type-id where the declaration-id is in between two blocks

Meta

License

MPL-2

Authors

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

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Type safe formatters for C/C++ types.

Every formatter that have a TypeIdLR have a toString method that take a left and right writer. Those are used to compose formatters. Shift to the right writer after declaration-id is written.

Example of types this module must be able to handle: int x void x(int) int *x void (*x)(int) void (*const x)(int) int const* x int *const x int x[3]