sammine-lang
Loading...
Searching...
No Matches
Token.h File Reference

Defines the token structure (TokenType, TokStream, TokenMap) More...

#include "util/Utilities.h"
#include <map>
#include <memory>
#include <string>
Include dependency graph for Token.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sammine_lang::Token
 
class  sammine_lang::TokenStream
 A helper class for Lexer to simplify the process of getting a token. More...
 

Enumerations

enum  TokenType {
  TokADD , TokSUB , TokMUL , TokDIV ,
  TokMOD , TokAddAssign , TokAddIncr , TokSubAssign ,
  TokSubDecr , TokMulAssign , TokDivAssign , TokAND ,
  TokAndLogical , TokOR , TokORLogical , TokXOR ,
  TokSHL , TokSHR , TokEQUAL , TokLESS ,
  TokLessEqual , TokGREATER , TokGreaterEqual , TokASSIGN ,
  TokNOT , TokEXP , TokFloorDiv , TokCeilDiv ,
  TokLeftParen , TokRightParen , TokLeftCurly , TokRightCurly ,
  TokComma , TokDot , TokSemiColon , TokColon ,
  TokDoubleColon , TokReturn , TokFunc , TokRecord ,
  TokArrow , TokLet , TokExtern , TokID ,
  TokStr , TokNum , TokTrue , TokFalse ,
  TokIf , TokElse , TokSingleComment , TokEOF ,
  TokINVALID
}
 

Detailed Description

Defines the token structure (TokenType, TokStream, TokenMap)