elementName method
SourceRange
elementName(
- Element element
Return a source range that covers the name of the given element
.
Implementation
SourceRange elementName(Element element) {
return SourceRange(element.nameOffset, element.nameLength);
}