FE 0.13.1
Header-only C++ frontend library
Loading...
Searching...
No Matches
lexer.h File Reference
#include <cstddef>
#include <string>
#include <string_view>
#include "fe/driver.h"
#include "fe/loc.h"
#include "fe/ring.h"
#include "fe/src.h"
#include "fe/utf8.h"
Include dependency graph for lexer.h:

Go to the source code of this file.

Classes

class  fe::Lexer< K, S >
 The blueprint for a lexer with a buffer of K tokens to peek into the future (Lexer::ahead). More...
struct  fe::Lexer< K, S >::Ahead
 A decoded code point together with the byte range it occupies. More...

Namespaces

namespace  fe

Class Documentation

◆ fe::Lexer::Ahead

struct fe::Lexer::Ahead
template<size_t K, class S>
struct fe::Lexer< K, S >::Ahead

A decoded code point together with the byte range it occupies.

Definition at line 53 of file lexer.h.

Class Members
Pos begin
char32_t c = utf8::EoF
Pos end