code: def formpivot(self):
          '''
          -> *
          -> #tag.match
          -> form:prop
          -> form
          '''
  
          self.ignore(whitespace)
  
          self.nextmust('->')
  
          self.ignore(whitespace)
  
          if self.nextchar() == '#':
              match = self.tagmatch()
              return s_ast.PivotToTags(kids=(match,))
  
          # check for pivot out syntax
          if self.nextchar() == '*':
              self.offs += 1
              return s_ast.PivotOut()
  
          prop = self.absprop()
          return s_ast.FormPivot(kids=(prop,)f formpivot(self):
          '''
          -> *
          -> #tag.match
          -> form:prop
          -> form
          '''
  
          self.ignore(whitespace)
  
          self.nextmust('->')
  
          self.ignore(whitespace)
  
          if self.nextchar() == '#':
              match = self.tagmatch()
              return s_ast.PivotToTags(kids=(match,))
  
          # check for pivot out syntax
          if self.nextchar() == '*':
              self.offs += 1
              return s_ast.PivotOut()
  
          prop = self.absprop()
          return s_ast.FormPivot(kids=(prop,))
docs: -> *
          -> #tag.match
          -> form:prop
          -> form