P4C
The P4 Compiler
Loading...
Searching...
No Matches
pretty_print.h
1
19#ifndef BF_P4C_PHV_PRAGMA_PRETTY_PRINT_H_
20#define BF_P4C_PHV_PRAGMA_PRETTY_PRINT_H_
21
22#include <string>
23// Pretty-print Pragma classes for debugging and logging purpose
24
25namespace Pragma {
26
27// defines a common interface for pretty printing collected pragmas, also a
28// place to hold common pretty print routines if there is any.
30 public:
31 virtual std::string pretty_print() const = 0;
32};
33
34} // namespace Pragma
35
36#endif /* BF_P4C_PHV_PRAGMA_PRETTY_PRINT_H_ */
Definition pretty_print.h:29
Definition pretty_print.h:25