Struct gitql_parser::context::ParserContext
source · pub struct ParserContext {
pub symbol_table: Scope,
pub aggregations: HashMap<String, AggregateFunction>,
pub selected_fields: Vec<String>,
pub hidden_selections: Vec<String>,
pub generated_field_count: i32,
pub is_single_value_query: bool,
}
Fields§
§symbol_table: Scope
§aggregations: HashMap<String, AggregateFunction>
§selected_fields: Vec<String>
§generated_field_count: i32
§is_single_value_query: bool
Implementations§
source§impl ParserContext
impl ParserContext
pub fn new() -> ParserContext
pub fn generate_column_name(&mut self) -> String
Auto Trait Implementations§
impl RefUnwindSafe for ParserContext
impl Send for ParserContext
impl Sync for ParserContext
impl Unpin for ParserContext
impl UnwindSafe for ParserContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more