-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce start of fold_file function
Summary: This is the start of a diff stack. It introduces the `fold_file` function which does a fold over every form in a file, with a callback for each visited element. The callback includes the `FormId`, so the details of the relevent form can be accessed in the callback. Reviewed By: perehonchuk Differential Revision: D49777940 fbshipit-source-id: b5a317f95a7b8153732ba3cc1baae0743aa2149a
- Loading branch information
1 parent
f1438eb
commit 486c3fb
Showing
1 changed file
with
108 additions
and
0 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