P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::ParserErrorMessage Struct Reference

#include <error_message.h>

Public Member Functions

 ParserErrorMessage (Util::SourceInfo loc, std::string msg)
 
std::string toString () const
 

Public Attributes

Util::SourceInfo location
 
std::string message
 

Detailed Description

Variation on ErrorMessage, this one is used for errors coming from parser. This is exclusively used in ErrorReporter