startLength method
Return a source range that starts at the start of entity
and has a
length of length
.
Implementation
SourceRange startLength(SyntacticEntity entity, int length) {
return SourceRange(entity.offset, length);
}
Return a source range that starts at the start of entity
and has a
length of length
.
SourceRange startLength(SyntacticEntity entity, int length) {
return SourceRange(entity.offset, length);
}