Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1662)

Unified Diff: mojom/mojom_parser/parser/parse_driver.go

Issue 1805743003: Mojom frontend: Compute, validate and populate struct field version info (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rename ComputeDataForGenerators to ComputeFinalData Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojom/mojom_parser/parser/computed_data_test.go ('k') | mojom/mojom_parser/serialization/serialization.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojom/mojom_parser/parser/parse_driver.go
diff --git a/mojom/mojom_parser/parser/parse_driver.go b/mojom/mojom_parser/parser/parse_driver.go
index 250cacaa4fa34bbdc8a105ab98cc7de4b1a8f5c8..246e92f3adec2b911e9d11abca99c6aa185626f4 100644
--- a/mojom/mojom_parser/parser/parse_driver.go
+++ b/mojom/mojom_parser/parser/parse_driver.go
@@ -169,13 +169,8 @@ func (d *ParseDriver) ParseFiles(fileNames []string) (descriptor *mojom.MojomDes
return
}
- // Compute enum value integers.
- if err = descriptor.ComputeEnumValueIntegers(); err != nil {
- return
- }
-
// Compute data for generators.
- err = descriptor.ComputeDataForGenerators()
+ err = descriptor.ComputeFinalData()
return
}
« no previous file with comments | « mojom/mojom_parser/parser/computed_data_test.go ('k') | mojom/mojom_parser/serialization/serialization.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698