datafusion-sqlparse/tests
Eyal Leshem 650b1ca18f refactor: Make Parser methods immutable using interior mutability
Changed all parsing methods to take '&self' instead of '\&mut self'.
Mutable parser state (token index and parser state) now uses
for interior mutability.

This refactoring is preparation for the borrowed tokenizer work. When
holding borrowed tokens from the parser (with lifetime tied to '\&self'),
we cannot call methods requiring '\&mut self' due to Rust's borrowing
rules. Using interior mutability resolves this conflict by allowing
state mutations through shared references.
2025-12-07 21:19:40 +02:00
..
queries/tpch Add Apache License to additional files (#1502) 2024-11-06 16:48:49 -05:00
test_utils Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
pretty_print.rs Add license header to display_utils.rs and pretty_print.rs (#1887) 2025-06-16 18:37:18 +02:00
sqlparser_bigquery.rs Add support for INSERT INTO VALUE (#2085) 2025-11-11 08:10:42 +00:00
sqlparser_clickhouse.rs Moving several struct variants out of Statement enum to allow for trait impls for specific sub-variants (#2057) 2025-10-10 14:08:20 +00:00
sqlparser_common.rs refactor: Make Parser methods immutable using interior mutability 2025-12-07 21:19:40 +02:00
sqlparser_custom_dialect.rs refactor: Make Parser methods immutable using interior mutability 2025-12-07 21:19:40 +02:00
sqlparser_databricks.rs Add support for INSERT INTO VALUE (#2085) 2025-11-11 08:10:42 +00:00
sqlparser_duckdb.rs DuckDB: Allow quoted date parts in EXTRACT (#2030) 2025-09-16 18:25:24 +00:00
sqlparser_hive.rs Fix clippy lints on 1.88.0 (#1910) 2025-06-27 14:21:17 -04:00
sqlparser_mssql.rs refactor: Make Parser methods immutable using interior mutability 2025-12-07 21:19:40 +02:00
sqlparser_mysql.rs Include DML keyword in statement span (#2090) 2025-11-13 09:27:58 +00:00
sqlparser_postgres.rs Add PostgreSQL Operator DDL Support (#2096) 2025-11-19 14:19:39 +00:00
sqlparser_redshift.rs Add support for VACUUM in Redshift (#2005) 2025-08-21 15:29:01 +02:00
sqlparser_regression.rs Update to ASF header / add when missing (#1437) 2024-09-21 06:23:28 -04:00
sqlparser_snowflake.rs Add snowflake dynamic table parsing (#2083) 2025-11-11 08:10:37 +00:00
sqlparser_sqlite.rs Include DML keyword in statement span (#2090) 2025-11-13 09:27:58 +00:00