tools/json_schema_compiler/h_generator.py
def _GenerateManifestKeyConstants(self, properties):
    # type: (list[Property]) -> Code
    """Generates string constants for manifest keys for the given |properties|.
    """

    c = Code()
    for prop in properties:
      c.Append('static constexpr char %s[] = "%s";' %
               (cpp_util.UnixNameToConstantName(prop.unix_name), prop.name))

    return c
Generates string constants for manifest keys for the given |properties|.
    
Generates string constants for manifest keys for the given |properties|.
Generates string constants for manifest keys for the given |properties| .
def _GenerateManifestKeyConstants(self, properties):
    c = Code()
    for prop in properties:
      c.Append('static constexpr char %s[] = "%s";' %
               (cpp_util.UnixNameToConstantName(prop.unix_name), prop.name))
    return c
def _GenerateManifestKeyConstants ( self , properties ) : c = Code ( ) for prop in properties : c . Append ( 'static constexpr char %s[] = "%s";' % ( cpp_util . UnixNameToConstantName ( prop . unix_name ) , prop . name ) ) return c
Generates string constants for manifest keys for the given |properties|.
Generates string constants for manifest keys for the given |properties| .
# type: (list[Property]) -> Code """Generates string constants for manifest keys for the given |properties|.
    """
self
properties