tinymist_query

Trait SyntaxRequest

Source
pub trait SyntaxRequest {
    type Response;

    // Required method
    fn request(
        self,
        source: &Source,
        positing_encoding: PositionEncoding,
    ) -> Option<Self::Response>;
}
Expand description

A request handler with given syntax information.

Required Associated Types§

Source

type Response

The response type of the request.

Required Methods§

Source

fn request( self, source: &Source, positing_encoding: PositionEncoding, ) -> Option<Self::Response>

Request the information from the given source.

Implementors§