Cppcheck
Public Member Functions | Public Attributes | List of all members
clangimport::Data::Decl Struct Reference

Public Member Functions

 Decl (Scope *scope)
 
 Decl (Token *def, Variable *var)
 
 Decl (Token *def, Function *function)
 
 Decl (Token *def, Enumerator *enumerator)
 
void ref (Token *tok) const
 

Public Attributes

Tokendef {}
 
Enumeratorenumerator {}
 
Functionfunction {}
 
Scopescope {}
 
Variablevar {}
 

Detailed Description

Definition at line 208 of file clangimport.cpp.

Constructor & Destructor Documentation

◆ Decl() [1/4]

clangimport::Data::Decl::Decl ( Scope scope)
inlineexplicit

Definition at line 209 of file clangimport.cpp.

◆ Decl() [2/4]

clangimport::Data::Decl::Decl ( Token def,
Variable var 
)
inline

Definition at line 210 of file clangimport.cpp.

◆ Decl() [3/4]

clangimport::Data::Decl::Decl ( Token def,
Function function 
)
inline

Definition at line 211 of file clangimport.cpp.

◆ Decl() [4/4]

clangimport::Data::Decl::Decl ( Token def,
Enumerator enumerator 
)
inline

Definition at line 212 of file clangimport.cpp.

Member Function Documentation

◆ ref()

void clangimport::Data::Decl::ref ( Token tok) const
inline

Member Data Documentation

◆ def

Token* clangimport::Data::Decl::def {}

Definition at line 223 of file clangimport.cpp.

◆ enumerator

Enumerator* clangimport::Data::Decl::enumerator {}

Definition at line 224 of file clangimport.cpp.

Referenced by ref().

◆ function

Function* clangimport::Data::Decl::function {}

Definition at line 225 of file clangimport.cpp.

◆ scope

Scope* clangimport::Data::Decl::scope {}

Definition at line 226 of file clangimport.cpp.

◆ var

Variable* clangimport::Data::Decl::var {}

Definition at line 227 of file clangimport.cpp.

Referenced by ref(), and clangimport::Data::replaceVarDecl().


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