Docs.rs
rigsql-rules-0.2.0
rigsql-rules 0.2.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
yoshiomiyamae
github:yukonsky:dev-team
Dependencies
rigsql-core ^0.2.0
normal
rigsql-lexer ^0.2.0
normal
insta ^1
dev
rigsql-parser ^0.2.0
dev
Versions
50.64%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module utils
rigsql_
rules
0.2.0
Module utils
Module Items
Functions
In crate rigsql_
rules
rigsql_rules
Module
utils
Copy item path
Source
Functions
§
find_
keyword_
in_
children
Find a keyword by case-insensitive name in children. Returns (index, segment).
first_
non_
trivia
Return the first non-trivia child segment.
has_
as_
keyword
Check if an AliasExpression’s children contain an explicit AS keyword.
is_
false_
alias
Check if the “alias name” in an AliasExpression is actually a misidentified SQL keyword (e.g. OVER in window functions). Returns true if the alias looks like a false positive.
last_
non_
trivia
Return the last non-trivia child segment.