#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[non_exhaustive]
pub enum Language {
JavaScript,
TypeScript,
Graphql,
Protobuf,
Rust,
Python,
Go,
Java,
CSharp,
C,
Cpp,
Sql,
Solidity,
Swift,
Terraform,
Html,
Xml,
Markdown,
Mdx,
ReStructuredText,
AsciiDoc,
Css,
Scss,
Bash,
Yaml,
}
mod detection;
mod profiles;
#[derive(Debug, Clone, Copy)]
#[non_exhaustive]
#[allow(clippy::struct_excessive_bools)]
pub struct Syntax {
pub line_comments: &'static [&'static str],
pub block_comment: Option<(&'static str, &'static str)>,
pub nested_block_comments: bool,
pub quotes: &'static [char],
pub interpolated_quote: Option<char>,
pub escapes: bool,
pub regex_literals: bool,
pub raw_strings: bool,
pub triple_quotes: bool,
pub char_literals: bool,
pub significant_indentation: bool,
pub identifier_extra: &'static [char],
}