def __init__(self, children, context):
        self.name = children[0]
        if len(children) > 1:
            if children[1].value == '=':
                assert len(children) == 3
                self.default = children[2]
            elif children[1].value == ':':
                self.type = children[2]
                if len(children) > 3:
                    assert len(children) == 5
                    assert children[3].value == '='
                    self.default = children[4]
        super().__init__(context)
dataset/ETHPy150Open tailhook/pyzza/pyzza/parser.py/Argument.__init__/original