33 const IR::ParserState *sourceState;
34 const IR::ParserState *destState;
38 : sourceState(source), destState(dest), label(label) {}
41 std::map<const IR::P4Parser *, safe_vector<const TransitionEdge *>> transitions;
42 std::map<const IR::P4Parser *, safe_vector<const IR::ParserState *>> states;
48 void postorder(
const IR::P4Parser *parser)
override;
49 void postorder(
const IR::ParserState *state)
override;
50 void postorder(
const IR::PathExpression *expression)
override;
51 void postorder(
const IR::SelectExpression *expression)
override;
53 std::vector<Graph *> parserGraphsArray{};
58 std::optional<cstring> instanceName{};
Graph * CreateSubGraph(Graph ¤tSubgraph, const cstring &name)
We always have only one subgraph.
Definition parsers.cpp:37