ArkScript
A small, lisp-inspired, functional scripting language
Ark::CodeErrorContext Struct Referencefinal

#include <CodeErrorContext.hpp>

Collaboration diagram for Ark::CodeErrorContext:
[legend]

Public Member Functions

 CodeErrorContext (std::string filename_, const internal::FileSpan &pos)
 
 CodeErrorContext (std::string filename_, const internal::FileSpan &pos, const bool from_macro_expansion)
 

Public Attributes

const std::string filename
 
const internal::FileSpan at
 
const bool is_macro_expansion = false
 

Detailed Description

Definition at line 21 of file CodeErrorContext.hpp.

Constructor & Destructor Documentation

◆ CodeErrorContext() [1/2]

Ark::CodeErrorContext::CodeErrorContext ( std::string filename_,
const internal::FileSpan & pos )
inline

Definition at line 27 of file CodeErrorContext.hpp.

◆ CodeErrorContext() [2/2]

Ark::CodeErrorContext::CodeErrorContext ( std::string filename_,
const internal::FileSpan & pos,
const bool from_macro_expansion )
inline

Definition at line 32 of file CodeErrorContext.hpp.

Member Data Documentation

◆ at

const internal::FileSpan Ark::CodeErrorContext::at

Definition at line 24 of file CodeErrorContext.hpp.

Referenced by Ark::Diagnostics::generate().

◆ filename

const std::string Ark::CodeErrorContext::filename

Definition at line 23 of file CodeErrorContext.hpp.

Referenced by Ark::Diagnostics::generate().

◆ is_macro_expansion

const bool Ark::CodeErrorContext::is_macro_expansion = false

Definition at line 25 of file CodeErrorContext.hpp.


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