projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
86c85d7d4afd8d6827ad027af16b2864b064e14b
[platform/framework/web/crosswalk.git]
/
src
/
mojo
/
public
/
tools
/
bindings
/
generators
/
cpp_templates
/
enum_declaration.tmpl
1
enum {{enum.name}} {
2
{%- for field in enum.fields %}
3
{%- if field.value %}
4
{{enum.name|to_all_caps}}_{{field.name}} = {{field.value|expression_to_text}},
5
{%- else %}
6
{{enum.name|to_all_caps}}_{{field.name}},
7
{%- endif %}
8
{%- endfor %}
9
};