pub struct SelectQuery { /* private fields */ }Implementations§
Source§impl SelectQuery
impl SelectQuery
pub fn where_clause(&self) -> Option<WhereClause>
pub fn select_clause(&self) -> Option<SelectClause>
pub fn variables(&self) -> Vec<Var>
pub fn soulution_modifier(&self) -> Option<SolutionModifier>
Trait Implementations§
Source§impl AstNode for SelectQuery
impl AstNode for SelectQuery
fn kind() -> SyntaxKind
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Source§fn visible_variables(&self) -> Vec<Var>
fn visible_variables(&self) -> Vec<Var>
Returns all variables “visible” from outside the node.
fn has_error(&self) -> bool
fn collect_decendants( &self, matcher: &impl Fn(SyntaxKind) -> bool, ) -> Vec<SyntaxNode> ⓘ
fn preorder_find_kind(&self, kind: SyntaxKind) -> Vec<SyntaxNode> ⓘ
fn used_prefixes(&self) -> Vec<String>
fn text(&self) -> String
fn text_until(&self, offset: TextSize) -> String
Source§impl Debug for SelectQuery
impl Debug for SelectQuery
Source§impl PartialEq for SelectQuery
impl PartialEq for SelectQuery
impl StructuralPartialEq for SelectQuery
Auto Trait Implementations§
impl !RefUnwindSafe for SelectQuery
impl !Send for SelectQuery
impl !Sync for SelectQuery
impl !UnwindSafe for SelectQuery
impl Freeze for SelectQuery
impl Unpin for SelectQuery
impl UnsafeUnpin for SelectQuery
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