Struct tree_sitter_loader::LanguageConfiguration[][src]

pub struct LanguageConfiguration<'a> {
    pub scope: Option<String>,
    pub content_regex: Option<Regex>,
    pub _first_line_regex: Option<Regex>,
    pub injection_regex: Option<Regex>,
    pub file_types: Vec<String>,
    pub root_path: PathBuf,
    pub highlights_filenames: Option<Vec<String>>,
    pub injections_filenames: Option<Vec<String>>,
    pub locals_filenames: Option<Vec<String>>,
    pub tags_filenames: Option<Vec<String>>,
    // some fields omitted
}

Fields

scope: Option<String>content_regex: Option<Regex>_first_line_regex: Option<Regex>injection_regex: Option<Regex>file_types: Vec<String>root_path: PathBufhighlights_filenames: Option<Vec<String>>injections_filenames: Option<Vec<String>>locals_filenames: Option<Vec<String>>tags_filenames: Option<Vec<String>>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.