IDL parser: Introduce 'constructor' keyword

This CL introduces a new IDL grammar using 'constructor' keyword.

CustomElementRegistry has been using "constructor" as an argument's name,
and this grammar change breaks it.
So it is re-written as "_constructor", and generates the same code.


Bug: 839389
Change-Id: I2a26ced1c093bc44103ccecd71f392505bb72f00
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810450
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#698373}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 68d4d295f90b3ee06ec04985716df7c9f5db7812
4 files changed