parameters: (pipeStr)
return_statement: return curr
docstring: Create pipeline object from string representation.
docstring_summary: Create pipeline object from string representation.
docstring_tokens: Create pipeline object from string representation .
function: def fromStr(pipeStr):
      """Create pipeline object from string representation."""
      stack = []
      curr = []
      tok = ''
      kind = ''
      for c in pipeStr:
          if c == ',':
              if tok != '':
                  curr.append([None, tok])
              tok = ''
          elif c == '(':
              stack.append([kind, curr])
              kind = tok
              curr = []
              tok = ''
          elif c == ')':
              if tok != '':
                  curr.append([None, tok])
              tok = ''
              oldKind = kind
              oldCurr = curr
              [kind, curr] = stack.pop()
              curr.append([oldKind, oldCurr])
          else:
              tok += c
      if tok != '':
          curr.append([None, tok])
      return curr
function_tokens: def fromStr ( pipeStr ) : stack = [ ] curr = [ ] tok = '' kind = '' for c in pipeStr : if c == ',' : if tok != '' : curr . append ( [ None , tok ] ) tok = '' elif c == '(' : stack . append ( [ kind , curr ] ) kind = tok curr = [ ] tok = '' elif c == ')' : if tok != '' : curr . append ( [ None , tok ] ) tok = '' oldKind = kind oldCurr = curr [ kind , curr ] = stack . pop ( ) curr . append ( [ oldKind , oldCurr ] ) else : tok += c if tok != '' : curr . append ( [ None , tok ] ) return curr