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

Issue 15984007: Refactor IDL value checking into SemanticAnalyzer.pm (Closed)

Created:
7 years, 6 months ago by Nils Barth (inactive)
Modified:
7 years, 6 months ago
Reviewers:
haraken
CC:
blink-reviews, jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, kojih
Visibility:
Public.

Description

Refactor IDL value checking into SemanticAnalyzer.pm This is minor refactoring; it makes the main generate-bindings.pl file smaller (by putting the semantic analysis phase into a library), which makes it easier to rewrite in Python, since these can be done incrementally. I've made the refactored functions object-oriented, which is more natural (loads a file on initialization), and will make it clearer when porting to Python. BUG=239771

Patch Set 1 #

Patch Set 2 : Proper header #

Total comments: 1

Patch Set 3 : Add dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -86 lines) Patch
M Source/bindings/derived_sources.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A Source/bindings/scripts/SemanticAnalyzer.pm View 1 1 chunk +118 lines, -0 lines 0 comments Download
M Source/bindings/scripts/generate-bindings.pl View 4 chunks +4 lines, -86 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nils Barth (inactive)
Hi haraken, A little refactoring, moving a big chunk of independent functionality into a library; ...
7 years, 6 months ago (2013-06-03 05:27:10 UTC) #1
haraken
I don't know how helpful this change is, but it looks harmless. https://codereview.chromium.org/15984007/diff/3001/Source/bindings/scripts/generate-bindings.pl File Source/bindings/scripts/generate-bindings.pl ...
7 years, 6 months ago (2013-06-03 07:09:17 UTC) #2
haraken
LGTM
7 years, 6 months ago (2013-06-03 07:09:23 UTC) #3
Nils Barth (inactive)
On 2013/06/03 07:09:17, haraken wrote: > I don't know how helpful this change is, but ...
7 years, 6 months ago (2013-06-03 07:51:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/15984007/5001
7 years, 6 months ago (2013-06-03 07:51:13 UTC) #5
haraken
On 2013/06/03 07:51:01, Nils Barth wrote: > On 2013/06/03 07:09:17, haraken wrote: > > I ...
7 years, 6 months ago (2013-06-03 08:00:02 UTC) #6
Nils Barth (inactive)
On 2013/06/03 08:00:02, haraken wrote: > On 2013/06/03 07:51:01, Nils Barth wrote: > > On ...
7 years, 6 months ago (2013-06-03 09:15:45 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout_rel&number=8361
7 years, 6 months ago (2013-06-03 09:25:24 UTC) #8
Nils Barth (inactive)
On 2013/06/03 09:15:45, Nils Barth wrote: > Actually, can we just move preprocessor.pm to this ...
7 years, 6 months ago (2013-06-03 09:27:18 UTC) #9
haraken
Let's wait for landing the CL. I'll post a comment on https://codereview.chromium.org/16296004/
7 years, 6 months ago (2013-06-03 09:29:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/15984007/5001
7 years, 6 months ago (2013-06-04 02:15:24 UTC) #11
Nils Barth (inactive)
7 years, 6 months ago (2013-06-04 02:17:14 UTC) #12
On 2013/06/03 09:29:21, haraken wrote:
> Let's wait for landing the CL. I'll post a comment on
> https://codereview.chromium.org/16296004/

Oops, restarted CQ before seeing this comment.

Powered by Google App Engine
This is Rietveld 408576698