tools/json_schema_compiler/feature_compiler.py
def Render(self):
    """Returns the Code object for the body of the .cc file, which handles the
    initialization of all features."""
    c = Code()
    c.Sblock()
    for k in sorted(self._features.keys()):
      c.Sblock('{')
      feature = self._features[k]
      c.Concat(feature.GetCode(self._feature_type))
      c.Append('provider->AddFeature("%s", feature);' % k)
      c.Eblock('}')
    c.Eblock()
    return c
Returns the Code object for the body of the .cc file, which handles the
    initialization of all features.
Returns the Code object for the body of the .cc file, which handles the
initialization of all features.
Returns the Code object for the body of the . cc file which handles the initialization of all features .
def Render(self):
    c = Code()
    c.Sblock()
    for k in sorted(self._features.keys()):
      c.Sblock('{')
      feature = self._features[k]
      c.Concat(feature.GetCode(self._feature_type))
      c.Append('provider->AddFeature("%s", feature);' % k)
      c.Eblock('}')
    c.Eblock()
    return c
def Render ( self ) : c = Code ( ) c . Sblock ( ) for k in sorted ( self . _features . keys ( ) ) : c . Sblock ( '{' ) feature = self . _features [ k ] c . Concat ( feature . GetCode ( self . _feature_type ) ) c . Append ( 'provider->AddFeature("%s", feature);' % k ) c . Eblock ( '}' ) c . Eblock ( ) return c
Returns the Code object for the body of the .cc file, which handles the
initialization of all features.
Returns the Code object for the body of the . cc file which handles the initialization of all features .
"""Returns the Code object for the body of the .cc file, which handles the
    initialization of all features."""
self