def __init__(self, tok, parent=None):
        self.toknum = int(tok[0])
        self.parent = parent
        self.value = None
        self.children = []

        if self.toknum in token.tok_name:
            self.name = token.tok_name[self.toknum]
            self.value = tok[1]
            if len(tok) > 2:
                raise ValueError("leaf with multiple values? {0}".format(tok))
        elif symbol.sym_name in self.toknum:
            self.name = symbol.sym_name[self.toknum]
            for child_tok in tok[1:]:
                self.children.append(STNode(child_tok, parent=self))
        else:
            raise ValueError("invalid token number:", tok)
dataset/ETHPy150Open KristoforMaynard/SublimeAutoDocstring/dparse.py/STNode.__init__/swapped operands of `in`