CppParser
Loading...
Searching...
No Matches
CodeEnablementInfo Struct Reference

#include <parser.l.h>

Collaboration diagram for CodeEnablementInfo:
Collaboration graph

Public Attributes

MacroDependentCodeEnablement macroDependentCodeEnablement = MacroDependentCodeEnablement::kNoInfo
 
int numHashIfInMacroDependentCode = 0
 Counting of # to keep track of when we need to consider the code outside of disabled segment. More...
 

Detailed Description

Definition at line 71 of file parser.l.h.

Member Data Documentation

◆ macroDependentCodeEnablement

MacroDependentCodeEnablement CodeEnablementInfo::macroDependentCodeEnablement = MacroDependentCodeEnablement::kNoInfo

Definition at line 73 of file parser.l.h.

◆ numHashIfInMacroDependentCode

int CodeEnablementInfo::numHashIfInMacroDependentCode = 0

Counting of # to keep track of when we need to consider the code outside of disabled segment.

For example, when the parsing is outside of "#if 0 ... #endif" segment.

Definition at line 78 of file parser.l.h.


The documentation for this struct was generated from the following file: