startOffsetStart method
Returns the source range that starts at startOffset
and ends at the
start of rightEntity
.
Implementation
SourceRange startOffsetStart(int startOffset, SyntacticEntity rightEntity) {
var length = rightEntity.offset - startOffset;
return SourceRange(startOffset, length);
}