sammine-lang
Loading...
Searching...
No Matches
sammine_lang::Token Class Reference

#include <Token.h>

Collaboration diagram for sammine_lang::Token:

Public Member Functions

 Token (TokenType type, std::string lexeme, Location location)
bool is_comparison () const
bool is_assign () const
bool is_logical () const
bool is_bitwise () const
Location get_location () const

Public Attributes

TokenType tok_type
std::string lexeme
Location location

Detailed Description

A class representing a token for sammine-lang, includes TokenType, lexeme and position pair as its members.


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