P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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
32class BaseParser : virtual public Configurable {
33 protected:
34 int lineno = -1;
35};
36
40class BaseAsmParser : public Section {
41 public:
42 explicit BaseAsmParser(const char *name_) : Section(name_) {}
43};
44
45#endif /* BACKENDS_TOFINO_BF_ASM_PARSER_H_ */
Base class of Tofino parser in assembler.
Definition tofino/bf-asm/parser.h:32