17#ifndef CONTROL_PLANE_P4RUNTIMEANNOTATIONS_H_
18#define CONTROL_PLANE_P4RUNTIMEANNOTATIONS_H_
20#include "frontends/p4/parseAnnotations.h"
25namespace ControlPlaneAPI {
34 PARSE(
"controller_header", StringLiteral),
35 PARSE_EMPTY(
"hidden"),
36 PARSE(
"id", Constant),
37 PARSE(
"brief", StringLiteral),
38 PARSE(
"description", StringLiteral),
52 PARSE(
"max_group_size", Constant),
53 PARSE(
"selector_size_semantics", StringLiteral),
54 PARSE(
"max_member_weight", Constant),
55 {
"p4runtime_translation", &ParseAnnotations::parseP4rtTranslationAnnotation},
Parses P4Runtime-specific annotations.
Definition p4RuntimeAnnotations.h:28
Definition parseAnnotations.h:114
ParseAnnotations(bool warn=false)
Produces a pass that rewrites the spec-defined annotations.
Definition parseAnnotations.h:126
Definition applyOptionsPragmas.cpp:24