|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include "a11/flow/lexer.h"#include <algorithm>#include <cstddef>#include <optional>#include <string>#include <string_view>#include <utility>#include <vector>#include <absl/strings/numbers.h>#include <absl/strings/str_cat.h>#include <absl/strings/str_join.h>#include <absl/time/time.h>#include "a11/flow/diagnostic.h"#include "a11/flow/token.h"#include "a11/flow/vocabulary.h"#include "a11/utf8.h"Namespaces | |
| namespace | a11 |
| namespace | a11::flow |
Functions | |
| Lexer (std::string_view source, const LexOptions &options) | |
| LexResult | Run () |
| LexResult | Lex (std::string_view source, LexOptions options) |
| std::string_view | KindName (TokenKind kind) |
| TokenKind | KindFromName (std::string_view name) |
| TokenKind KindFromName | ( | std::string_view | name | ) |
| std::string_view KindName | ( | TokenKind | kind | ) |
| LexResult Lex | ( | std::string_view | source, |
| LexOptions | options | ||
| ) |
| ReadNumber::Lexer | ( | std::string_view | source, |
| const LexOptions & | options | ||
| ) |
| LexResult ReadNumber::Run | ( | ) |