parameters: (self, layer)
return_statement: return layer
docstring: append an additional layer to layer list
docstring_summary: append an additional layer to layer list
docstring_tokens: append an additional layer to layer list
function: def addLayer(self, layer):
          """append an additional layer to layer list"""
          layer = layer.clone()
          layer.jsLayerId = self.nextJsLayerId
          self.nextJsLayerId += 1
  
          layers = self.layers()
          layers.append(layer)
          self.data[ExportSettings.LAYERS] = layers
          return layer
function_tokens: def addLayer ( self , layer ) : layer = layer . clone ( ) layer . jsLayerId = self . nextJsLayerId self . nextJsLayerId += 1 layers = self . layers ( ) layers . append ( layer ) self . data [ ExportSettings . LAYERS ] = layers return layer