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
13namespace P4 {
14enum class TernaryBool { Yes, No, Maybe };
15
16cstring toString(const TernaryBool &c);
17
18} // namespace P4
19
20#endif /* FRONTENDS_P4_TERNARYBOOL_H_ */
Definition cstring.h:85
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:13