Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
sourcefileparser.h File Reference

(d3cff9974ebf6ed5f90acad9b0a5627caab00908)

#include "clangcodeparser.h"
#include "puredocparser.h"
#include <variant>
#include <QString>
#include <QFileInfo>
Include dependency graph for sourcefileparser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CppSourceFile
struct  CppHeaderSourceFile
struct  QDocSourceFile
struct  JsSourceFile
struct  UnknownSourceFile
class  SourceFileParser
struct  SourceFileParser::ParseResult

Typedefs

using SourceFileTag = std::variant<CppSourceFile, CppHeaderSourceFile, QDocSourceFile, JsSourceFile, UnknownSourceFile>
using TaggedSourceFile = std::pair<QString, SourceFileTag>

Functions

TaggedSourceFile tag_source_file (const QString &path)

Typedef Documentation

◆ SourceFileTag

◆ TaggedSourceFile

using TaggedSourceFile = std::pair<QString, SourceFileTag>

Definition at line 21 of file sourcefileparser.h.

Function Documentation

◆ tag_source_file()

TaggedSourceFile tag_source_file ( const QString & path)
inline

Definition at line 23 of file sourcefileparser.h.