Doxygen
Loading...
Searching...
No Matches
Define Class Reference

A class representing a macro definition. More...

#include <src/define.h>

+ Collaboration diagram for Define:

Public Attributes

QCString name
 
QCString definition
 
QCString fileName
 
QCString args
 
FileDeffileDef = nullptr
 
int lineNr = 1
 
int columnNr = 1
 
int nargs = -1
 
bool undef = FALSE
 
bool varArgs = FALSE
 
bool isPredefined = FALSE
 
bool nonRecursive = FALSE
 
bool expandAsDefined = FALSE
 

Detailed Description

A class representing a macro definition.

Definition at line 30 of file define.h.

Member Data Documentation

◆ args

QCString Define::args

Definition at line 36 of file define.h.

Referenced by addMacroDefinition().

◆ columnNr

int Define::columnNr = 1

Definition at line 39 of file define.h.

Referenced by addDefine(), and addMacroDefinition().

◆ definition

QCString Define::definition

◆ expandAsDefined

bool Define::expandAsDefined = FALSE

Definition at line 45 of file define.h.

Referenced by addDefine().

◆ fileDef

FileDef* Define::fileDef = nullptr

Definition at line 37 of file define.h.

Referenced by addDefine(), addMacroDefinition(), and initPredefined().

◆ fileName

QCString Define::fileName

Definition at line 35 of file define.h.

Referenced by addDefine(), addMacroDefinition(), and initPredefined().

◆ isPredefined

bool Define::isPredefined = FALSE

Definition at line 43 of file define.h.

Referenced by addDefine(), expandExpression(), and initPredefined().

◆ lineNr

int Define::lineNr = 1

Definition at line 38 of file define.h.

Referenced by addDefine(), and addMacroDefinition().

◆ name

QCString Define::name

Definition at line 33 of file define.h.

Referenced by addDefine(), addMacroDefinition(), and initPredefined().

◆ nargs

int Define::nargs = -1

Definition at line 40 of file define.h.

Referenced by addDefine(), expandExpression(), initPredefined(), and replaceFunctionMacro().

◆ nonRecursive

bool Define::nonRecursive = FALSE

Definition at line 44 of file define.h.

Referenced by expandExpression(), and initPredefined().

◆ undef

bool Define::undef = FALSE

Definition at line 41 of file define.h.

Referenced by isDefined().

◆ varArgs

bool Define::varArgs = FALSE

Definition at line 42 of file define.h.

Referenced by addDefine(), initPredefined(), and replaceFunctionMacro().


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