P4C
The P4 Compiler
Toggle main menu visibility
Main Page
P4C Repository Organization
Getting Started
P4C Intermediate Representation (IR)
Frontend
Midend
Backends
Behavioral Model Backend
DPDK Backend
eBPF Backend
TC Backend
uBPF Backend
P4test Backend
Graphs Backend
p4fmt (P4 Formatter)
P4Tools
P4Smith
P4Testgen
Contribute to the P4 Compiler Project
Releases
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
w
x
z
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
x
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Typedefs
Enumerations
Enumerator
Related Symbols
►
P4 Compiler Documentation (P4C)
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
tofino/bf-asm/parser.h
1
17
18
#ifndef BACKENDS_TOFINO_BF_ASM_PARSER_H_
19
#define BACKENDS_TOFINO_BF_ASM_PARSER_H_
20
21
#include "asm-types.h"
22
#include "backends/tofino/bf-asm/json.h"
23
#include "backends/tofino/bf-asm/target.h"
24
#include "sections.h"
25
#include "vector.h"
26
32
class
BaseParser
:
virtual
public
Configurable {
33
protected
:
34
int
lineno = -1;
35
};
32
class
BaseParser
:
virtual
public
Configurable {
…
};
36
40
class
BaseAsmParser :
public
Section {
41
public
:
42
explicit
BaseAsmParser(
const
char
*name_) : Section(name_) {}
43
};
40
class
BaseAsmParser :
public
Section {
…
};
44
45
#endif
/* BACKENDS_TOFINO_BF_ASM_PARSER_H_ */
BaseParser
Base class of Tofino parser in assembler.
Definition
tofino/bf-asm/parser.h:32
backends
tofino
bf-asm
parser.h
Generated by
1.13.2