parameters: (self, p)
docstring: ExtendedAttributeList : Comments '[' ExtendedAttribute ExtendedAttributes ']'
                               | Comments
docstring_summary: ExtendedAttributeList : Comments '[' ExtendedAttribute ExtendedAttributes ']'
                               | Comments
docstring_tokens: ExtendedAttributeList : Comments [ ExtendedAttribute ExtendedAttributes ] | Comments
function: def p_ExtendedAttributeList(self, p):
      """ExtendedAttributeList : Comments '[' ExtendedAttribute ExtendedAttributes ']'
                               | Comments """
      if len(p) > 2:
        items = ListFromConcat(p[3], p[4])
        attribs = self.BuildProduction('ExtAttributes', p, 2, items)
        p[0] = ListFromConcat(p[1], attribs)
      else:
        p[0] = p[1]
function_tokens: def p_ExtendedAttributeList ( self , p ) : if len ( p ) > 2 : items = ListFromConcat ( p [ 3 ] , p [ 4 ] ) attribs = self . BuildProduction ( 'ExtAttributes' , p , 2 , items ) p [ 0 ] = ListFromConcat ( p [ 1 ] , attribs ) else : p [ 0 ] = p [ 1 ]