VapourSynth-llvmexpr
Loading...
Searching...
No Matches
infix2postfix::Range Struct Reference

#include <llvmexpr/frontend/infix2postfix/types.hpp>

Collaboration diagram for infix2postfix::Range:

Public Member Functions

std::string to_string () const

Public Attributes

SourceLocation start
SourceLocation end

Detailed Description

Definition at line 46 of file types.hpp.

Member Function Documentation

◆ to_string()

std::string infix2postfix::Range::to_string ( ) const
inlinenodiscard

Definition at line 51 of file types.hpp.

51 {
52 return std::format("{}:{} - {}:{}", start.line, start.column, end.line,
53 end.column);
54 }
SourceLocation end
Definition types.hpp:48
SourceLocation start
Definition types.hpp:47

References end, and start.

Referenced by infix2postfix::AnalysisEngine::formatDiagnostics().

Member Data Documentation

◆ end

SourceLocation infix2postfix::Range::end

Definition at line 48 of file types.hpp.

Referenced by infix2postfix::AnalysisEngine::formatDiagnostics(), and to_string().

◆ start

SourceLocation infix2postfix::Range::start

Definition at line 47 of file types.hpp.

Referenced by infix2postfix::AnalysisEngine::formatDiagnostics(), and to_string().


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