-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PUBLIC: [p4-constraints] Refactor GetMatchFields to GetFields an AddM…
…atchFields to AddFields and extend AddFields to handle action parameters. (#122) I refactored GetMatchFields and AddMatchFields to GetFields and AddFields in ast.cc, ast.h, and ast_test.cc to better reflect how those functions are being used for ExplainReasonViolatesConstraint for both action and table constraints. I also extended AddFields to handle action parameters and updated its corresponding test. PiperOrigin-RevId: 585747337 Co-authored-by: PINS Team <[email protected]>
- Loading branch information
1 parent
071abdc
commit 7d07835
Showing
4 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters