copy method

Return a newly created token that is a copy of this tokens including any preceedingComment tokens, but that is not a part of any token stream.

Implementation

@override
LanguageVersionToken copy() =>
    new LanguageVersionToken.from(lexeme, offset, major, minor);