Skip to main content

source_tokens_with_location

Function source_tokens_with_location 

Source
pub fn source_tokens_with_location(sql: &str) -> Vec<TokenWithSpan>
Expand description

Lexical tokens of sql, including comments, split the way the source-fact parser splits them. A valid lexical prefix is kept when a later token fails.