rangeFrom method
Builds a SourceRange from the startOffset to the current consumed position
Implementation
SourceRange rangeFrom(int startOffset) {
return SourceRange(startOffset, previousEndOffset());
}
Builds a SourceRange from the startOffset to the current consumed position
SourceRange rangeFrom(int startOffset) {
return SourceRange(startOffset, previousEndOffset());
}