pub struct LinkedQuery { /* private fields */ }Implementations§
Source§impl LinkedQuery
impl LinkedQuery
pub fn interner(&self) -> &Interner
pub fn node_type_ids(&self) -> &IndexMap<Symbol, NodeTypeId>
pub fn node_field_ids(&self) -> &IndexMap<Symbol, NodeFieldId>
Methods from Deref<Target = QueryAnalyzed>§
pub fn printer(&self) -> QueryPrinter<'_>
pub fn is_valid(&self) -> bool
Sourcepub fn context(&self) -> QueryContext<'_>
pub fn context(&self) -> QueryContext<'_>
Returns a unified context view for downstream modules.
pub fn get_arity(&self, node: &SyntaxNode) -> Option<Arity>
pub fn type_context(&self) -> &TypeContext
pub fn interner(&self) -> &Interner
Methods from Deref<Target = QueryParsed>§
pub fn query_parser_fuel_consumed(&self) -> u32
pub fn source_map(&self) -> &SourceMap
pub fn diagnostics(&self) -> Diagnostics
pub fn asts(&self) -> &AstMap
Trait Implementations§
Source§impl Deref for LinkedQuery
impl Deref for LinkedQuery
Auto Trait Implementations§
impl Freeze for LinkedQuery
impl !RefUnwindSafe for LinkedQuery
impl !Send for LinkedQuery
impl !Sync for LinkedQuery
impl Unpin for LinkedQuery
impl !UnwindSafe for LinkedQuery
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