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

Side by Side Diff: mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl

Issue 674383002: Initial work on Dart bindings for Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge. Work on templates. Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 {#--- Constants #}
2 {%- for constant in module.constants %}
3 final {{constant.name}} = {{constant.value|expression_to_text}};
4 {%- endfor %}
5
6 {#--- Enums #}
7 {%- from "enum_definition.tmpl" import enum_def %}
8 {%- for enum in enums %}
9 {{ enum_def("", enum) }}
10 {%- endfor %}
11
12 {#--- Struct definitions #}
13 {% for struct in structs %}
14 {%- include "struct_definition.tmpl" %}
15 {%- endfor -%}
16
17 {#--- Interface definitions #}
18 {%- for interface in interfaces -%}
19 {%- include "interface_definition.tmpl" %}
20 {%- endfor %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698