• peria's avatar
    Remove attribute filters from .tmpl files. · 9b985851
    peria authored
    We rarely handle all attributes in a loop.
    Instead, we have filters to iterate only on accessors,
    on data type attributes, so on.
    It is very confusing to have all attributes in a
    variable in .py and filter them in .tmpl files.
    
    This CL applies such filters in pre-process in .py
    and uses more descriptive names in template contexts.
    It keeps 'attributes' for some usages, which are
    to be replaced.
    
    This is a refactoring in template engine, so it
    does not change generated code.
    
    BUG=650150
    
    Review-Url: https://codereview.chromium.org/2568403002
    Cr-Commit-Position: refs/heads/master@{#438099}
    9b985851
interface_base.cpp.tmpl 28.9 KB