![]()  | 
  
    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 | 
error(). 
      
  | 
  virtual | 
info(). Reimplemented in P4CContext.
      
  | 
  virtual | 
warning(). Reimplemented in P4CContext.
      
  | 
  virtual | 
Reimplemented in P4CContext.