---
source: crates/ruff_python_parser/src/lexer.rs
expression: lex_source(source)
---
[
    (
        FStringStart(
            StringKind {
                prefix: Format(
                    Regular,
                ),
                triple_quoted: false,
                quote_style: Double,
            },
        ),
        0..2,
    ),
    (
        FStringMiddle {
            value: "normal ",
            kind: StringKind {
                prefix: Format(
                    Regular,
                ),
                triple_quoted: false,
                quote_style: Double,
            },
        },
        2..9,
    ),
    (
        Lbrace,
        9..10,
    ),
    (
        Name {
            name: "foo",
        },
        10..13,
    ),
    (
        Rbrace,
        13..14,
    ),
    (
        FStringMiddle {
            value: " {another} ",
            kind: StringKind {
                prefix: Format(
                    Regular,
                ),
                triple_quoted: false,
                quote_style: Double,
            },
        },
        14..27,
    ),
    (
        Lbrace,
        27..28,
    ),
    (
        Name {
            name: "bar",
        },
        28..31,
    ),
    (
        Rbrace,
        31..32,
    ),
    (
        FStringMiddle {
            value: " {",
            kind: StringKind {
                prefix: Format(
                    Regular,
                ),
                triple_quoted: false,
                quote_style: Double,
            },
        },
        32..35,
    ),
    (
        Lbrace,
        35..36,
    ),
    (
        Name {
            name: "three",
        },
        36..41,
    ),
    (
        Rbrace,
        41..42,
    ),
    (
        FStringMiddle {
            value: "}",
            kind: StringKind {
                prefix: Format(
                    Regular,
                ),
                triple_quoted: false,
                quote_style: Double,
            },
        },
        42..44,
    ),
    (
        FStringEnd,
        44..45,
    ),
    (
        Newline,
        45..45,
    ),
]
