CppParser
Loading...
Searching...
No Matches
lexer-helper.h File Reference
#include <cassert>
#include <optional>
#include <string>
#include "parser.l.h"
Include dependency graph for lexer-helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MacroDependentCodeEnablement invert (MacroDependentCodeEnablement enabledCodeDecision)
 
MacroDefineInfo getMacroDefineInfo (const std::string &id)
 
std::optional< int > getIdValue (const std::string &id)
 

Function Documentation

◆ getIdValue()

std::optional< int > getIdValue ( const std::string &  id)

Definition at line 25 of file lexer-helper.cpp.

◆ getMacroDefineInfo()

MacroDefineInfo getMacroDefineInfo ( const std::string &  id)

Definition at line 14 of file lexer-helper.cpp.

◆ invert()

MacroDependentCodeEnablement invert ( MacroDependentCodeEnablement  enabledCodeDecision)
inline

Definition at line 9 of file lexer-helper.h.