pub fn identifier(&self) -> &str {
        use self::SyntaxDefinition::*;
        match *self {
            Rust => "rust",
            Markdown => "markdown",
            //TODO: :|
            Python => "python3",
            C => "c" ,
            Go => "go",
            Dart => "dart",
            Swift => "swift",
            Toml => "toml",
            Json => "json",
            Yaml => "yaml",
            Cpp => "cpp",
            Objc => "objective-c",
            Shell => "shellscript",
            Ruby => "ruby",
            Javascript => "javascript",
            Java => "java",
            Php => "php",
            Perl => "perl",
            Plaintext => "plaintext",
        }
    }
//TODO: this is not currently used.
//We might want it for language server interop?
/// Canonical language identifiers, used for serialization.
/// https://code.visualstudio.com/docs/languages/identifiers
this is not currently used.
We might want it for language server interop.
Canonical language identifiers, used for serialization.
this is not currently used . We might want it for language server interop . Canonical language identifiers used for serialization .
pub fn identifier(&self) -> &str {
        use self::SyntaxDefinition::*;
        match *self {
            Rust => "rust",
            Markdown => "markdown",
            //TODO: :|
            Python => "python3",
            C => "c" ,
            Go => "go",
            Dart => "dart",
            Swift => "swift",
            Toml => "toml",
            Json => "json",
            Yaml => "yaml",
            Cpp => "cpp",
            Objc => "objective-c",
            Shell => "shellscript",
            Ruby => "ruby",
            Javascript => "javascript",
            Java => "java",
            Php => "php",
            Perl => "perl",
            Plaintext => "plaintext",
        }
    }
pub fn identifier ( & self ) -> & str { use self :: SyntaxDefinition :: * ; match * self { Rust => " " , Markdown => " " , //TODO: :| Python => " " , C => " " , Go => " " , Dart => " " , Swift => " " , Toml => " " , Json => " " , Yaml => " " , Cpp => " " , Objc => " " , Shell => " " , Ruby => " " , Javascript => " " , Java => " " , Php => " " , Perl => " " , Plaintext => " " , } }
TODO: this is not currently used.
TODO : this is not currently used .
&self