pub trait TokenSeparatedSequenceExt<'arena, T: HasSpan> {
// Required methods
fn first_span(&self, file_id: FileId) -> Option<Span>;
fn last_span(&self, file_id: FileId) -> Option<Span>;
fn span(&self, file_id: FileId, from: Position) -> Span;
}Expand description
PHP-specific helpers on a TokenSeparatedSequence. Supplies the
span-reconstruction methods that need to combine a file id with a
token’s start and value length.