SyntaxTutor
Educational app designed to help compiler students understand LL(1) and SLR(1) parsing algorithms.
 
Loading...
Searching...
No Matches
symbol_table.hpp File Reference
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Include dependency graph for symbol_table.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SymbolTable
 Stores and manages grammar symbols, including their classification and special markers. More...
 

Enumerations

enum class  symbol_type { NO_TERMINAL , TERMINAL }
 Represents the type of a grammar symbol. More...
 

Enumeration Type Documentation

◆ symbol_type

enum class symbol_type
strong

Represents the type of a grammar symbol.

This enum distinguishes between terminal and non-terminal symbols within the grammar and the symbol table.

Enumerator
NO_TERMINAL 
TERMINAL