![]() |
P4C
The P4 Compiler
|
#include <compile_context.h>
Public Member Functions | |
| virtual ErrorReporter & | errorReporter () |
| virtual DiagnosticAction | getDefaultErrorDiagnosticAction () |
| virtual DiagnosticAction | getDefaultInfoDiagnosticAction () |
| virtual DiagnosticAction | getDefaultWarningDiagnosticAction () |
| virtual DiagnosticAction | getDiagnosticAction (cstring diagnostic, DiagnosticAction defaultAction) |
Static Public Member Functions | |
| static BaseCompileContext & | get () |
Protected Member Functions | |
| BaseCompileContext (const BaseCompileContext &other)=default | |
| BaseCompileContext & | operator= (const BaseCompileContext &other)=default |
A base compilation context which provides members needed by code in libp4ctoolkit. Compilation context types should normally inherit from BaseCompileContext.
|
virtual |
|
static |
|
virtual |
P4::error().
|
virtual |
P4::info(). Reimplemented in P4::P4CContext.
|
virtual |
P4::warning(). Reimplemented in P4::P4CContext.
|
virtual |
Reimplemented in P4::P4CContext.