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

Function argRange

plugins/cmake/parser/cmakelistsparser.h:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 { return KDevelop::RangeInRevision(line-1, column-1, endLine-1, endColumn); }
78
79 KDevelop::RangeInRevision argRange() const
80 {
81 if( !arguments.isEmpty() )
82 {
83 return KDevelop::RangeInRevision(arguments.first().range().start,
84 arguments.last().range().end);
85 } else
86 {
87 return KDevelop::RangeInRevision( line-1, column-1, endLine-1, endColumn);
88 }
89 }
90
91 bool operator==(const CMakeFunctionDesc &other) const;
92 void addArguments( const QStringList&, bool addEvenIfEmpty=true );

Callers

nothing calls this directly

Calls 5

RangeInRevisionClass · 0.50
isEmptyMethod · 0.45
rangeMethod · 0.45
firstMethod · 0.45
lastMethod · 0.45

Tested by

no test coverage detected