|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
protogen tokenizer for the proto3 subset. More...
#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| struct | protogen::Token |
Namespaces | |
| namespace | protogen |
Enumerations | |
| enum class | protogen::TokKind { protogen::Identifier , protogen::Number , protogen::String , protogen::Symbol , protogen::End } |
Functions | |
| std::vector< Token > | protogen::lex (const std::string &src, const std::string &filename) |
| Tokenize proto source. Throws std::runtime_error on a lexical error. | |
protogen tokenizer for the proto3 subset.
Comments (// and block) are stripped.