entity method
SourceRange
entity(
- SyntacticEntity node
Return a source range that covers the same range as the given node
.
Implementation
SourceRange entity(SyntacticEntity node) {
return SourceRange(node.offset, node.length);
}