ArkScript
A small, lisp-inspired, functional scripting language
Ark::types::TypeCheckingError Class Referencefinal

#include <TypeChecker.hpp>

Inheritance diagram for Ark::types::TypeCheckingError:
[legend]
Collaboration diagram for Ark::types::TypeCheckingError:
[legend]

Public Member Functions

 TypeCheckingError (std::string &&funcname, const std::vector< Contract > &contracts, const std::vector< Value > &args)
 
std::string details (const bool colorize, VM &vm) const override
 
- Public Member Functions inherited from Ark::Error
 Error (const std::string &message)
 

Private Attributes

std::string m_funcname
 
std::vector< Contractm_contracts
 
std::vector< Valuem_passed_args
 

Detailed Description

Definition at line 112 of file TypeChecker.hpp.

Constructor & Destructor Documentation

◆ TypeCheckingError()

Ark::types::TypeCheckingError::TypeCheckingError ( std::string && funcname,
const std::vector< Contract > & contracts,
const std::vector< Value > & args )
inline

Definition at line 115 of file TypeChecker.hpp.

Member Function Documentation

◆ details()

std::string Ark::types::TypeCheckingError::details ( const bool colorize,
VM & vm ) const
inlinenodiscardoverridevirtual

Reimplemented from Ark::Error.

Definition at line 122 of file TypeChecker.hpp.

References Ark::types::generateError().

Member Data Documentation

◆ m_contracts

std::vector<Contract> Ark::types::TypeCheckingError::m_contracts
private

Definition at line 131 of file TypeChecker.hpp.

◆ m_funcname

std::string Ark::types::TypeCheckingError::m_funcname
private

Definition at line 130 of file TypeChecker.hpp.

◆ m_passed_args

std::vector<Value> Ark::types::TypeCheckingError::m_passed_args
private

Definition at line 132 of file TypeChecker.hpp.


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