common, codegen: Implement Visitor And Use For CodeGen
Implement a generic visitor for components of a P4 program and use it to start P4 code generation (according to the behavioral model). Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -91,6 +91,7 @@ where `<component>` is one of:
|
||||
5. `documentation`: For any documentation updates.
|
||||
6. `testing`: For Swift-based tests.
|
||||
7. `cli`: For Cli components.
|
||||
7. `codegen`: For code generation components.
|
||||
|
||||
where `<subcomponent>` can be more free-form and `<change>` is a pithy description of the changes in the commit.
|
||||
|
||||
@@ -143,4 +144,4 @@ To check the format:
|
||||
|
||||
```console
|
||||
$ swift-format --recursive -i Sources/
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user