CppParser
Loading...
Searching...
No Matches
lexer-helper.h
Go to the documentation of this file.
1#pragma once
2
3#include <cassert>
4#include <optional>
5#include <string>
6
7#include "parser.l.h"
8
10{
11 switch (enabledCodeDecision)
12 {
19 }
20
21 assert(false && "We should never be here.");
23}
24
25MacroDefineInfo getMacroDefineInfo(const std::string& id);
26
27std::optional<int> getIdValue(const std::string& id);
std::optional< int > getIdValue(const std::string &id)
MacroDefineInfo getMacroDefineInfo(const std::string &id)
MacroDependentCodeEnablement invert(MacroDependentCodeEnablement enabledCodeDecision)
Definition: lexer-helper.h:9
MacroDependentCodeEnablement
Definition: parser.l.h:65
MacroDefineInfo
Definition: parser.l.h:58