DescriptionFactor abstract base class IDLCompiler, concrete class IDLComplierV8
This factors out the code common to all IDL compilers to IDLCompiler,
an abstract base class, and puts the V8-specific code in a concrete class.
This makes reuse easier, and has been requested by Terry (Dart) and Yosi
(Closure), and in any case makes the code very generic.
Also regularizes write_file(), so it's always on full file contents
(previously had 2 versions, one for full file contents (suitable for Jinja),
one for line-by-line (legacy from Perl)).
...and renames compile() to compile_file(), due to existing
built-in function compile() (causes misleading highlighting).
BUG=341748
R=haraken
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168824
Patch Set 1 #
Total comments: 2
Patch Set 2 : Revised #Patch Set 3 : get_file_contents() #
Messages
Total messages: 18 (0 generated)
|