nixd
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
Token.h File Reference
#include "nixf/Basic/Range.h"
#include "nixf/Basic/TokenKinds.h"
#include <cassert>
#include <string_view>
#include "nixf/Basic/TokenKinds.inc"

Go to the source code of this file.

Classes

class  nixf::Token
 A token. With it's kind, and the range in source code. More...
 

Namespaces

namespace  nixf
 
namespace  nixf::tok
 

Macros

#define TOK_KEYWORD(NAME)
 

Functions

constexpr std::string_view nixf::tok::spelling (TokenKind Kind)
 

Macro Definition Documentation

◆ TOK_KEYWORD

#define TOK_KEYWORD ( NAME)
Value:
case tok_kw_##NAME: \
return #NAME;