---
source: lexer/lib.rs
expression: token_vs
---
[
    Token {
        span: Span {
            start: 0,
            end: 1,
        },
        kind: ASSIGN,
    },
    Token {
        span: Span {
            start: 1,
            end: 2,
        },
        kind: PLUS,
    },
    Token {
        span: Span {
            start: 2,
            end: 3,
        },
        kind: LPAREN,
    },
    Token {
        span: Span {
            start: 3,
            end: 4,
        },
        kind: RPAREN,
    },
    Token {
        span: Span {
            start: 4,
            end: 5,
        },
        kind: LBRACE,
    },
    Token {
        span: Span {
            start: 5,
            end: 6,
        },
        kind: RBRACE,
    },
    Token {
        span: Span {
            start: 6,
            end: 7,
        },
        kind: COMMA,
    },
    Token {
        span: Span {
            start: 7,
            end: 8,
        },
        kind: COLON,
    },
    Token {
        span: Span {
            start: 8,
            end: 9,
        },
        kind: SEMICOLON,
    },
    Token {
        span: Span {
            start: 9,
            end: 10,
        },
        kind: EOF,
    },
]
