parameters: (self, ruleGroup)
return_statement: return code
docstring: Generate source code relating to a list of function parameters.
docstring_summary: Generate source code relating to a list of function parameters.
docstring_tokens: Generate source code relating to a list of function parameters .
function: def generate(self, ruleGroup):
          """Generate source code relating to a list of function parameters."""
          codeItems = []
          firstItem = True
          for param in self.parameters_:
              if firstItem:
                  firstItem = False
                  if ruleGroup.checkSkipFirst() and self.skipFirst_: continue
              ruleResult = ruleGroup.apply(param)
              if ruleResult:
                  codeItems.append(ruleResult)
          # FIXME the logic below should be moved into the RuleGroup class?
          code = ruleGroup.delimiter().join(codeItems)
          if code and ruleGroup.wrapText():
              code = ruleGroup.wrapText() % code
          return code
function_tokens: def generate ( self , ruleGroup ) : codeItems = [ ] firstItem = True for param in self . parameters_ : if firstItem : firstItem = False if ruleGroup . checkSkipFirst ( ) and self . skipFirst_ : continue ruleResult = ruleGroup . apply ( param ) if ruleResult : codeItems . append ( ruleResult ) # FIXME the logic below should be moved into the RuleGroup class? code = ruleGroup . delimiter ( ) . join ( codeItems ) if code and ruleGroup . wrapText ( ) : code = ruleGroup . wrapText ( ) % code return code