Cppcheck
Public Member Functions | Public Attributes | List of all members
CTU::FileInfo::Location Struct Reference

#include <ctu.h>

Public Member Functions

 Location ()=default
 
 Location (const Tokenizer &tokenizer, const Token *tok)
 
 Location (std::string fileName, nonneg int lineNumber, nonneg int column)
 

Public Attributes

std::string fileName
 
nonneg int lineNumber {}
 
nonneg int column {}
 

Detailed Description

Definition at line 58 of file ctu.h.

Constructor & Destructor Documentation

◆ Location() [1/3]

CTU::FileInfo::Location::Location ( )
default

◆ Location() [2/3]

CTU::FileInfo::Location::Location ( const Tokenizer tokenizer,
const Token tok 
)

Definition at line 65 of file ctu.cpp.

◆ Location() [3/3]

CTU::FileInfo::Location::Location ( std::string  fileName,
nonneg int  lineNumber,
nonneg int  column 
)
inline

Definition at line 61 of file ctu.h.

Member Data Documentation

◆ column

nonneg int CTU::FileInfo::Location::column {}

Definition at line 64 of file ctu.h.

Referenced by CTU::FileInfo::getErrorPath(), and CTU::loadUnsafeUsageListFromXml().

◆ fileName

std::string CTU::FileInfo::Location::fileName

Definition at line 62 of file ctu.h.

Referenced by CTU::FileInfo::getErrorPath(), and CTU::loadUnsafeUsageListFromXml().

◆ lineNumber

nonneg int CTU::FileInfo::Location::lineNumber {}

Definition at line 63 of file ctu.h.

Referenced by CTU::FileInfo::getErrorPath(), and CTU::loadUnsafeUsageListFromXml().


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