Adding initial support for @cs_implements:IFoo,IBar

This commit is contained in:
Pavel Shevaev 2023-11-08 17:07:59 +03:00
parent 9499eae42b
commit 3f22b2fc55
2 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,7 @@ function supported_tokens()
'diffable',
'table_pkey',
'bhl_bind',
'cs_implements',
'cs_attributes',
'cs_accessor_interface',
'cs_propget_interface',

View File

@ -204,6 +204,10 @@ ResetFieldMask();
: {{o.parent ? o.parent.name : 'BaseMetaStruct'}}
{{- has_token(o, 'cloneable') and not o.parent ? ', IMetaCloneable' -}}
{%- endif -%}
{%- for ifs in token(o, "cs_implements", "")|split(',') -%}
, {{ifs}}
{%- endfor -%}
{%- for ai in get_accessor_interfaces(o) -%}
, {{ai.interfacename}}
{%- endfor -%}