P4C
The P4 Compiler
ParserErrorMessage Struct Reference

Public Member Functions

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

Public Attributes

Util::SourceInfo location
 
cstring message
 

Detailed Description

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