P4C
The P4 Compiler
Loading...
Searching...
No Matches
ternaryBool.h
1
/*
2
* Copyright 2016 VMware, Inc.
3
* SPDX-FileCopyrightText: 2016 VMware, Inc.
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#ifndef FRONTENDS_P4_TERNARYBOOL_H_
9
#define FRONTENDS_P4_TERNARYBOOL_H_
10
11
#include "lib/cstring.h"
12
13
namespace
P4
{
14
enum class
TernaryBool { Yes, No, Maybe };
15
16
cstring
toString(
const
TernaryBool &c);
17
18
}
// namespace P4
19
20
#endif
/* FRONTENDS_P4_TERNARYBOOL_H_ */
P4::cstring
Definition
cstring.h:85
P4
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition
applyOptionsPragmas.cpp:13
frontends
p4
ternaryBool.h
Generated by
1.13.2