1 /// We use the same lexer/tokenizer for all parsers for simplicity 2 #[derive(Copy, Clone, Debug, Eq, PartialEq)] 3 pub enum ParserLanguage { 4 // `.proto` files 5 Proto, 6 // Protobuf text format 7 TextFormat, 8 // JSON 9 Json, 10 } 11