def __inspect(self, node):
        """ The internal inspection routine """
    
        # Parse comments
        comments = getattr(node, "comments", None)
        if comments:
            for comment in comments:
                commentTags = comment.getTags()
                if commentTags:

                    if "name" in commentTags:
                        self.name = list(commentTags["name"])[0]
                    if "require" in commentTags:
                        self.requires.update(commentTags["require"])
                    if commentTags in "load":
                        # load is a special combination shorthand for requires + breaks
                        # This means load it but don't require it being loaded first
                        self.requires.update(commentTags["load"])
                        self.breaks.update(commentTags["load"])
                    if "optional" in commentTags:
                        self.optionals.update(commentTags["optional"])
                    if "break" in commentTags:
                        self.breaks.update(commentTags["break"])
                    if "asset" in commentTags:
                        self.assets.update(commentTags["asset"])

        # Process children
        for child in node:
            if child is not None:
                self.__inspect(child)
dataset/ETHPy150Open zynga/jasy/jasy/js/MetaData.py/MetaData.__inspect/swapped operands of `in`