Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ use sqlquack_syntax::expressions::tree::models::Expression;
use sqlquack_syntax::guard::models::ParseOptions;
use sqlquack_syntax::tokens::models::Dialect;

/// The statements of `sql`, refusing on any parse error or any byte no token covers.
/// The statements of `sql`, refusing on any parse error or uncovered byte; the instruction guard's entry.
#[inline(never)]
pub fn parse_strict(
sql: &str,
dialect: Dialect,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ use sqlquack_syntax::tokens::models::{CallMode, Dialect};
use crate::modes::errors::StrictFailure;
use crate::parser::_helpers::support::dialects::dialect_type;

/// The statements of `sql`, with coverage checked over the tokens the parse itself read.
/// The statements of `sql`, coverage checked over the tokens read; inlined so `parse_strict` holds it.
#[inline(always)]
pub(crate) fn strict_statements(
sql: &str,
dialect: Dialect,
Expand Down
Loading