original_docstring: Mark self as the open menu in parent and activate all children
docstring: Mark self as the open menu in parent and activate all children
docstring_tokens: Mark self as the open menu in parent and activate all children
code: def open(self):
          """Mark self as the open menu in parent and activate all children"""
          self.parent.open_menu = self
          for child in self.children:
              child.is_active = True
code_tokens: def open ( self ) : self . parent . open_menu = self for child in self . children : child . is_active = True
short_docstring: Mark self as the open menu in parent and activate all children
short_docstring_tokens: Mark self as the open menu in parent and activate all children
comment: """Mark self as the open menu in parent and activate all children"""