P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::IOptionPragmaParser Class Referenceabstract

#include <applyOptionsPragmas.h>

Inheritance diagram for P4::IOptionPragmaParser:
[legend]

Public Types

using CommandLineOptions = std::vector<const char *>
 

Public Member Functions

virtual std::optional< CommandLineOptions > tryToParse (const IR::Annotation *annotation)=0
 

Detailed Description

An interface for compiler option pragma parsers; used to customize the behavior of ApplyOptionsPragmas.