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