Struct xswag_syntax_java::lex::TokenSpan [] [src]

pub struct TokenSpan {
    pub tok: Token,
    pub span: Span,
}

A token with it's span in the source text

Fields

The token

Byte position of token in Filemap

Trait Implementations

impl Debug for TokenSpan
[src]

Formats the value using the given formatter.

impl Clone for TokenSpan
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TokenSpan
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.