CppParser
Loading...
Searching...
No Matches
parser.l.h File Reference
#include "cpptoken.h"
#include "cppvarinit.h"
#include "parser.tab.h"
#include <functional>
#include <map>
#include <set>
#include <vector>
Include dependency graph for parser.l.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CodeEnablementInfo
 
struct  LexerData
 

Typedefs

using CodeEnablementInfoStack = std::vector< CodeEnablementInfo >
 
using BracketDepthStack = std::vector< int >
 

Enumerations

enum  DefineLooksLike {
  kNoDef = 0 , kNumDef = tknNumber , kStrLitDef = tknStrLit , kCharLitDef = tknCharLit ,
  kReDef = tknName , kComplexDef = tknPreProDef
}
 
enum class  TokenSetupFlag { None , DisableCommentTokenization , EnableCommentTokenization , ResetCommentTokenization }
 
enum class  MacroDefineInfo { kNoInfo , kDefined , kUndefined }
 
enum class  MacroDependentCodeEnablement { kNoInfo , kDisabled , kEnabled }
 

Typedef Documentation

◆ BracketDepthStack

using BracketDepthStack = std::vector<int>

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

◆ CodeEnablementInfoStack

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

Enumeration Type Documentation

◆ DefineLooksLike

Enumerator
kNoDef 
kNumDef 
kStrLitDef 
kCharLitDef 
kReDef 
kComplexDef 

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

◆ MacroDefineInfo

enum class MacroDefineInfo
strong
Enumerator
kNoInfo 
kDefined 
kUndefined 

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

◆ MacroDependentCodeEnablement

enum class MacroDependentCodeEnablement
strong
Enumerator
kNoInfo 
kDisabled 
kEnabled 

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

◆ TokenSetupFlag

enum class TokenSetupFlag
strong
Enumerator
None 
DisableCommentTokenization 
EnableCommentTokenization 
ResetCommentTokenization 

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