Skip to main content

from_source

Function from_source 

Source
pub fn from_source(file: &ParsedFile, source: &str) -> Catalog
Expand description

Full offline-mode catalog: tables from AST + sequences / types / extensions / functions / roles harvested from raw source text. The scans are intentionally lenient – partial / unparseable input is fine because the goal is “give the user something without a DB”. source is the buffer text the AST in file came from.