endStart method
SourceRange
endStart(
- SyntacticEntity leftEntity,
- SyntacticEntity rightEntity
Return a source range that starts at the end of leftEntity
and ends at
the start of rightEntity
.
Implementation
SourceRange endStart(
SyntacticEntity leftEntity, SyntacticEntity rightEntity) {
var offset = leftEntity.end;
var length = rightEntity.offset - offset;
return SourceRange(offset, length);
}