Trait SyntaxContextExt
pub trait SyntaxContextExt {
// Required methods
fn normalize_to_macro_rules(
self,
db: &(dyn ExpandDatabase + 'static),
) -> SyntaxContext;
fn normalize_to_macros_2_0(
self,
db: &(dyn ExpandDatabase + 'static),
) -> SyntaxContext;
fn parent_ctxt(self, db: &(dyn ExpandDatabase + 'static)) -> SyntaxContext;
fn remove_mark(
&mut self,
db: &(dyn ExpandDatabase + 'static),
) -> (Option<MacroCallId>, Transparency);
fn outer_mark(
self,
db: &(dyn ExpandDatabase + 'static),
) -> (Option<MacroCallId>, Transparency);
fn marks(
self,
db: &(dyn ExpandDatabase + 'static),
) -> Vec<(MacroCallId, Transparency)>;
fn is_opaque(self, db: &(dyn ExpandDatabase + 'static)) -> bool;
}