tan  0.0.1
tanlang::Token Class Reference

Public Member Functions

 Token (TokenType tokenType, uint32_t line, uint32_t col, str value, SourceFile *src)
 
TokenType get_type () const
 
void set_type (TokenType type)
 
const str & get_value () const
 
str get_source_line () const
 
bool is_unsigned () const
 
void set_is_unsigned (bool is_unsigned)
 
uint32_t get_line () const
 
uint32_t get_col () const
 
SourceFilesrc () const
 

Static Public Member Functions

static SourceSpan GetSourceSpan (const Token &start, const Token &end)
 
static SrcLoc GetSrcLoc (const Token *tok)
 

Detailed Description

Definition at line 33 of file token.h.


The documentation for this class was generated from the following files: