nixd
Loading...
Searching...
No Matches
Classes | Namespaces
Lexer.h File Reference

Lexer declaration. The lexer is a "stateful" lexer and highly tied to parser. More...

#include "Token.h"
#include "nixf/Basic/Diagnostic.h"
#include "nixf/Basic/Range.h"
#include <cassert>
#include <optional>
#include <string_view>

Go to the source code of this file.

Classes

class  nixf::Lexer
 

Namespaces

namespace  nixf
 

Detailed Description

Lexer declaration. The lexer is a "stateful" lexer and highly tied to parser.

This should be considered as implementation detail of the parser. So the header is explicitly made private. Unit tests should be placed in the lib/Parse/test directory.

Definition in file Lexer.h.