![]() |
User Guide
|
#include <string>
#include <catch2/catch_test_macros.hpp>
#include "lexer/unit_lexer.hpp"
#include "parser/unit_driver.hpp"
Go to the source code of this file.
Typedefs | |
using | Token = UnitParser::token |
using | TokenType = UnitParser::token_type |
using | SymbolType = UnitParser::symbol_type |
Functions | |
bool | check_token_type (const std::string &name, TokenType type) |
retrieve token type from lexer and check if it's of given type More... | |
TEST_CASE ("Unit Lexer tests for valid tokens", "[lexer][unit]") | |
using SymbolType = UnitParser::symbol_type |
bool check_token_type | ( | const std::string & | name, |
TokenType | type | ||
) |