BenchGen
BenchGen is a tool for generating benchmarks to stress-test a computing system.
Loading...
Searching...
No Matches
enums.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  TokenType {
  TOK_IF = -2 , TOK_LOOP = -3 , TOK_CALL = -4 , TOK_SEQ = -5 ,
  TOK_INSERT = -6 , TOK_REMOVE = -7 , TOK_NEW = -8 , TOK_CONTAINS = -9 ,
  TOK_END = -10 , TOK_OPAREN = -11 , TOK_CPAREN = -12 , TOK_COMMA = -13 ,
  TOK_EQUAL = -14 , TOK_COMMENT = -15 , TOK_ID = -16 , TOK_CALL_ID = -17 ,
  TOK_ERROR = -1
}
 Enumeration of different types of tokens. More...
 

Enumeration Type Documentation

◆ TokenType

enum TokenType

Enumeration of different types of tokens.

This enum defines various token types used for parsing and analyzing code. Each token type is represented by a negative integer value to distinguish it from positive values that might be used for other purposes.

Enumerator
TOK_IF 
TOK_LOOP 
TOK_CALL 
TOK_SEQ 
TOK_INSERT 
TOK_REMOVE 
TOK_NEW 
TOK_CONTAINS 
TOK_END 
TOK_OPAREN 
TOK_CPAREN 
TOK_COMMA 
TOK_EQUAL 
TOK_COMMENT 
TOK_ID 
TOK_CALL_ID 
TOK_ERROR