mojo/public/tools/bindings/generators/mojom_cpp_generator.py
def _ContainsOnlyEnums(self):
    """Returns whether this module contains only enums.

    When true, the generated headers can skip many includes.
    """
    m = self.module
    return (len(m.enums) > 0 and len(m.structs) == 0 and len(m.interfaces) == 0
            and len(m.unions) == 0 and len(m.constants) == 0)
Returns whether this module contains only enums.

    When true, the generated headers can skip many includes.
    
Returns whether this module contains only enums.
When true, the generated headers can skip many includes.
Returns whether this module contains only enums . When true the generated headers can skip many includes .
def _ContainsOnlyEnums(self):
    m = self.module
    return (len(m.enums) > 0 and len(m.structs) == 0 and len(m.interfaces) == 0
            and len(m.unions) == 0 and len(m.constants) == 0)
def _ContainsOnlyEnums ( self ) : m = self . module return ( len ( m . enums ) > 0 and len ( m . structs ) == 0 and len ( m . interfaces ) == 0 and len ( m . unions ) == 0 and len ( m . constants ) == 0 )
Returns whether this module contains only enums.
Returns whether this module contains only enums .
"""Returns whether this module contains only enums.

    When true, the generated headers can skip many includes.
    """
self