MCPcopy Create free account
hub / github.com/KDE/kdevelop / toString

Method toString

kdevplatform/language/duchain/types/arraytype.cpp:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74QString ArrayType::toString() const
75{
76 if (d_func()->m_dimension == 0) {
77 return QStringLiteral("%1[]").arg(elementType() ? elementType()->toString() : QStringLiteral("<notype>"));
78 }
79 return QStringLiteral("%1[%2]").arg(elementType() ? elementType()->toString() : QStringLiteral("<notype>")).arg(
80 d_func()->m_dimension);
81}
82
83void ArrayType::accept0(TypeVisitor* v) const
84{

Callers 15

createItemMethod · 0.45
indexForTypeMethod · 0.45
testIdentifierMethod · 0.45
testIdentifiersMethod · 0.45
testReferenceTypeMethod · 0.45
runTestMethod · 0.45
htmlMethod · 0.45
htmlMethod · 0.45
ContextUsesWidgetMethod · 0.45
nameMethod · 0.45

Calls

no outgoing calls

Tested by 5

testIdentifierMethod · 0.36
testIdentifiersMethod · 0.36
testReferenceTypeMethod · 0.36
runTestMethod · 0.36