P4C
The P4 Compiler
|
#include <bf-p4c-options.h>
Public Member Functions | |
std::optional< CommandLineOptions > | tryToParse (const IR::Annotation *annotation) override |
Public Member Functions inherited from P4::P4COptionPragmaParser | |
std::optional< CommandLineOptions > | tryToParse (const IR::Annotation *annotation) override |
Public Member Functions inherited from P4::IOptionPragmaParser |
Additional Inherited Members | |
Public Types inherited from P4::IOptionPragmaParser | |
using | CommandLineOptions = std::vector<const char *> |
An IOptionPragmaParser implementation that supports Barefoot-specific pragmas.
In addition to the pragmas supported by P4COptionPragmaParser, BFNOptionPragmaParser recognizes:
|
overridevirtual |
Implements P4::IOptionPragmaParser.