ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::lox::detail::ScopeInfo::ParsedFileName Struct Reference

Description:

Information of a single source file. Stored in the field ScopeInfo::parsedFileNameCache.

Definition at line 91 of file scopeinfo.hpp.

#include <scopeinfo.hpp>

Collaboration diagram for alib::lox::detail::ScopeInfo::ParsedFileName:
[legend]

Public Field Index:

NString fullPath =nullptr
 Full path of source file (evaluated).
NString name =nullptr
 File name (evaluated).
NString nameWOExt =nullptr
 File name without extension (evaluated).
NCString origFile
 Path and name of source file (given by the C++ preprocessor).
integer origFilePathLength =-2
 Index of the last path separator in origFile.
NString trimmedPath =nullptr
 Trimmed path of source file (evaluated).
NString trimmedPathPrefix =nullptr

Public Method Index:

 ParsedFileName (const NCString filename)

Field Details:

◆ fullPath

NString alib::lox::detail::ScopeInfo::ParsedFileName::fullPath =nullptr

Full path of source file (evaluated).

Definition at line 96 of file scopeinfo.hpp.

◆ name

NString alib::lox::detail::ScopeInfo::ParsedFileName::name =nullptr

File name (evaluated).

Definition at line 106 of file scopeinfo.hpp.

◆ nameWOExt

NString alib::lox::detail::ScopeInfo::ParsedFileName::nameWOExt =nullptr

File name without extension (evaluated).

Definition at line 109 of file scopeinfo.hpp.

◆ origFile

NCString alib::lox::detail::ScopeInfo::ParsedFileName::origFile

Path and name of source file (given by the C++ preprocessor).

Definition at line 93 of file scopeinfo.hpp.

◆ origFilePathLength

integer alib::lox::detail::ScopeInfo::ParsedFileName::origFilePathLength =-2

Index of the last path separator in origFile.

Definition at line 112 of file scopeinfo.hpp.

◆ trimmedPath

NString alib::lox::detail::ScopeInfo::ParsedFileName::trimmedPath =nullptr

Trimmed path of source file (evaluated).

Definition at line 99 of file scopeinfo.hpp.

◆ trimmedPathPrefix

NString alib::lox::detail::ScopeInfo::ParsedFileName::trimmedPathPrefix =nullptr

Prefix for the trimmed path taken from trim rule. Has to be added on writing the trimmed path *

Definition at line 103 of file scopeinfo.hpp.

Constructor(s) / Destructor Details:

◆ ParsedFileName()

alib::lox::detail::ScopeInfo::ParsedFileName::ParsedFileName ( const NCString filename)
inline

Constructor.

Parameters
filenameStored in origFile.

Definition at line 116 of file scopeinfo.hpp.


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