Reckon 1.10.0
A Tool to Count Logical Lines of Code
Loading...
Searching...
No Matches
RcnSourceFormatDetection Struct Reference

The result of lightweight text format detection for a source file. More...

#include <reckon/reckon.h>

Data Fields

RcnTextFormat format
 The detected supported text format.
bool isSupportedFormat
 Indicates whether the file format is supported by the library.

Detailed Description

The result of lightweight text format detection for a source file.

Indicates whether the source file format is supported and, if so, which format or programming language was detected. If isSupportedFormat is false, then the value of format is undefined and must not be used.

Since
1.10.0

Field Documentation

◆ format

RcnTextFormat RcnSourceFormatDetection::format

The detected supported text format.

◆ isSupportedFormat

bool RcnSourceFormatDetection::isSupportedFormat

Indicates whether the file format is supported by the library.