---
source: src/parser/treesitter/parser.rs
expression: index.index.symbols.iter().sorted()
---
IntoIter(
    [
        Symbol {
            kind: Attribute,
            name: "decorator",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 22,
                        end_line: 22,
                        start_column: 2,
                        end_column: 11,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Boolean,
            name: "False",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 66,
                        end_line: 66,
                        start_column: 14,
                        end_column: 19,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Boolean,
            name: "True",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 65,
                        end_line: 65,
                        start_column: 13,
                        end_column: 17,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Class,
            name: "MyClass",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 31,
                        end_line: 31,
                        start_column: 7,
                        end_column: 14,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Constant,
            name: "CLASS_CONST",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 32,
                        end_line: 32,
                        start_column: 5,
                        end_column: 16,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Constant,
            name: "MAX_COUNT",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 12,
                        end_line: 12,
                        start_column: 1,
                        end_column: 10,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Field,
            name: "field",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 35,
                        end_line: 35,
                        start_column: 14,
                        end_column: 19,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Function,
            name: "async_function",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 48,
                        end_line: 48,
                        start_column: 11,
                        end_column: 25,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Function,
            name: "decorated_function",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 23,
                        end_line: 23,
                        start_column: 5,
                        end_column: 23,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Function,
            name: "decorator",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 19,
                        end_line: 19,
                        start_column: 5,
                        end_column: 14,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Method,
            name: "__init__",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 34,
                        end_line: 34,
                        start_column: 9,
                        end_column: 17,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Method,
            name: "async_method",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 37,
                        end_line: 37,
                        start_column: 15,
                        end_column: 27,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Method,
            name: "regular_method",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 40,
                        end_line: 40,
                        start_column: 9,
                        end_column: 23,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Module,
            name: "os",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 5,
                        end_line: 5,
                        start_column: 8,
                        end_column: 10,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Module,
            name: "sys",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 6,
                        end_line: 6,
                        start_column: 6,
                        end_column: 9,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Null,
            name: "None",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 67,
                        end_line: 67,
                        start_column: 14,
                        end_column: 18,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Number,
            name: "1",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 55,
                        end_line: 55,
                        start_column: 15,
                        end_column: 16,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Number,
            name: "10",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 12,
                        end_line: 12,
                        start_column: 13,
                        end_column: 15,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Number,
            name: "100",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 32,
                        end_line: 32,
                        start_column: 19,
                        end_column: 22,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Number,
            name: "2",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 49,
                        end_line: 49,
                        start_column: 16,
                        end_column: 17,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Number,
            name: "3.14",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 64,
                        end_line: 64,
                        start_column: 15,
                        end_column: 19,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Number,
            name: "42",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 63,
                        end_line: 63,
                        start_column: 13,
                        end_column: 15,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Number,
            name: "5",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 13,
                        end_line: 13,
                        start_column: 12,
                        end_column: 13,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "a",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 40,
                        end_line: 40,
                        start_column: 30,
                        end_column: 31,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "b",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 40,
                        end_line: 40,
                        start_column: 33,
                        end_column: 34,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "func",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 19,
                        end_line: 19,
                        start_column: 15,
                        end_column: 19,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "n",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 48,
                        end_line: 48,
                        start_column: 26,
                        end_column: 27,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "param",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 37,
                        end_line: 37,
                        start_column: 34,
                        end_column: 39,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "self",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 34,
                        end_line: 34,
                        start_column: 18,
                        end_column: 22,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "self",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 37,
                        end_line: 37,
                        start_column: 28,
                        end_column: 32,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "self",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 40,
                        end_line: 40,
                        start_column: 24,
                        end_column: 28,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "value",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 34,
                        end_line: 34,
                        start_column: 24,
                        end_column: 29,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "x",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 23,
                        end_line: 23,
                        start_column: 24,
                        end_column: 25,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Parameter,
            name: "y",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 23,
                        end_line: 23,
                        start_column: 27,
                        end_column: 28,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Property,
            name: "field",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 38,
                        end_line: 38,
                        start_column: 21,
                        end_column: 26,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Property,
            name: "field",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 56,
                        end_line: 56,
                        start_column: 13,
                        end_column: 18,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: String,
            name: "\"hello\"",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 62,
                        end_line: 62,
                        start_column: 16,
                        end_column: 23,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "bool_false",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 66,
                        end_line: 66,
                        start_column: 1,
                        end_column: 11,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "bool_true",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 65,
                        end_line: 65,
                        start_column: 1,
                        end_column: 10,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "float_value",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 64,
                        end_line: 64,
                        start_column: 1,
                        end_column: 12,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "int_value",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 63,
                        end_line: 63,
                        start_column: 1,
                        end_column: 10,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "local_var",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 24,
                        end_line: 24,
                        start_column: 5,
                        end_column: 14,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "none_value",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 67,
                        end_line: 67,
                        start_column: 1,
                        end_column: 11,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "obj",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 55,
                        end_line: 55,
                        start_column: 1,
                        end_column: 4,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "string_value",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 62,
                        end_line: 62,
                        start_column: 1,
                        end_column: 13,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "temp",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 41,
                        end_line: 41,
                        start_column: 9,
                        end_column: 13,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "value",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 56,
                        end_line: 56,
                        start_column: 1,
                        end_column: 6,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
        Symbol {
            kind: Variable,
            name: "variable",
            definition: Some(
                Occurrence {
                    language: Python,
                    absolute_path: "tests/fixtures/python.py",
                    range: Range {
                        start_line: 13,
                        end_line: 13,
                        start_column: 1,
                        end_column: 9,
                    },
                    roles: Roles(
                        [
                            Definition,
                        ],
                    ),
                },
            ),
            occurrences: [],
        },
    ],
)
