withRange abstract method

LatexToken withRange(
  1. SourceRange newRange
)

Creates a copy with a new SourceRange (eliminating when-dispatch in shiftToken)

Implementation

LatexToken withRange(SourceRange newRange);