A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
lexer.cc File Reference
#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)
 

Function Documentation

◆ KindFromName()

TokenKind KindFromName ( std::string_view  name)

◆ KindName()

std::string_view KindName ( TokenKind  kind)

◆ Lex()

LexResult Lex ( std::string_view  source,
LexOptions  options 
)

◆ Lexer()

ReadNumber::Lexer ( std::string_view  source,
const LexOptions &  options 
)

◆ Run()

LexResult ReadNumber::Run ( )