P4C
The P4 Compiler
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
};
36
40
class
BaseAsmParser :
public
Section {
41
public
:
42
explicit
BaseAsmParser(
const
char
*name_) : Section(name_) {}
43
};
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