KSeExpr 4.0.4.0
KSeExpr::Expression::Error Struct Reference

Represents a parse or type checking error in an expression. More...

#include <Expression.h>

Public Member Functions

 Error (const ErrorCode errorIn, std::vector< std::string > idsIn, const int startPosIn, const int endPosIn)

Public Attributes

ErrorCode error
 Error code (index to be translated)
std::vector< std::string > ids
 Arguments to the error (to be inserted into the translation)
int startPos
 Error start offset in expression string.
int endPos
 Error end offset in expression string.

Detailed Description

Represents a parse or type checking error in an expression.

Definition at line 82 of file Expression.h.

Constructor & Destructor Documentation

◆ Error()

KSeExpr::Expression::Error::Error ( const ErrorCode errorIn,
std::vector< std::string > idsIn,
const int startPosIn,
const int endPosIn )
inline

Definition at line 95 of file Expression.h.

References endPos, error, ids, and startPos.

Member Data Documentation

◆ endPos

int KSeExpr::Expression::Error::endPos

Error end offset in expression string.

Definition at line 93 of file Expression.h.

Referenced by Error().

◆ error

ErrorCode KSeExpr::Expression::Error::error

Error code (index to be translated)

Definition at line 84 of file Expression.h.

Referenced by Error().

◆ ids

std::vector<std::string> KSeExpr::Expression::Error::ids

Arguments to the error (to be inserted into the translation)

Definition at line 87 of file Expression.h.

Referenced by Error().

◆ startPos

int KSeExpr::Expression::Error::startPos

Error start offset in expression string.

Definition at line 90 of file Expression.h.

Referenced by Error().


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