CodeSonar C++ API
Public Member Functions | Related Symbols | List of all members
cs::ast_pattern_compilation_error Class Reference

Describe an error in compiling an ast_pattern. More...

Public Member Functions

std::string as_repr () const
 Get a representation of a ast_pattern_compilation_error object that includes information useful for debugging.
 
std::string as_string () const
 Get a simple string representation of a ast_pattern_compilation_error object.
 
std::string get_pattern () const
 Get a string rendering of the ast_pattern.
 
cs_hash_t hash () const
 Get a hash value for a ast_pattern_compilation_error.
 

Related Symbols

(Note that these are not member symbols.)

std::ostream & operator<< (std::ostream &out, const ast_pattern_compilation_error &a)
 
 

Detailed Description

Describe an error in compiling an ast_pattern.

Will be thrown by ast_pattern constructor if:

Member Function Documentation

◆ as_repr()

std::string cs::ast_pattern_compilation_error::as_repr ( ) const
inline

Get a representation of a ast_pattern_compilation_error object that includes information useful for debugging.

Returns
The string representation.

◆ as_string()

std::string cs::ast_pattern_compilation_error::as_string ( ) const
inline

Get a simple string representation of a ast_pattern_compilation_error object.

Returns
The string representation.

◆ get_pattern()

std::string cs::ast_pattern_compilation_error::get_pattern ( ) const
inline

Get a string rendering of the ast_pattern.

Returns
The rendering, as a std::string.

◆ hash()

cs_hash_t cs::ast_pattern_compilation_error::hash ( ) const
inline

Get a hash value for a ast_pattern_compilation_error.

Friends And Related Symbol Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
const ast_pattern_compilation_error a 
)
related


Print a representation of a ast_pattern_compilation_error object to the specified stream.

Parameters
[in]outThe stream to print to.
[in]aThe ast_pattern_compilation_error object to print.
Returns
void

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