fn builtin_macro_for(
        &self,
        span: Span,
        id: Option<Id>,
    ) -> Result<Arc<BuiltInMacro>, QueryError> {
        let internal_macro = id
            .and_then(|n| self.internal_macros.get(&n))
            .ok_or_else(|| {
                QueryError::new(
                    span,
                    QueryErrorKind::MissingId {
                        what: "builtin macro",
                        id,
                    },
                )
            })?;

        Ok(internal_macro.clone())
    }
/// Get the internally resolved macro for the specified id.
Get the internally resolved macro for the specified id.
Get the internally resolved macro for the specified id .
fn builtin_macro_for(
        &self,
        span: Span,
        id: Option<Id>,
    ) -> Result<Arc<BuiltInMacro>, QueryError> {
        let internal_macro = id
            .and_then(|n| self.internal_macros.get(&n))
            .ok_or_else(|| {
                QueryError::new(
                    span,
                    QueryErrorKind::MissingId {
                        what: "builtin macro",
                        id,
                    },
                )
            })?;
        Ok(internal_macro.clone())
    }
fn builtin_macro_for ( & self , span : Span , id : Option < Id > , ) -> Result < Arc < BuiltInMacro > , QueryError > { let internal_macro = id . and_then ( | n | self . internal_macros . get ( & n ) ) . ok_or_else ( | | { QueryError :: new ( span , QueryErrorKind :: MissingId { what : " " , id , } , ) } ) ? ; Ok ( internal_macro . clone ( ) ) }
Get the internally resolved macro for the specified id.
Get the internally resolved macro for the specified id .
&self
span
Span
id
Option<Id>
&self
span
Span
id
Option<Id>