def __init__(self, parent, widthInBits, isSigned, config):
        super(EbpfScalarType, self).__init__(None)
        assert isinstance(widthInBits, int)
        assert isinstance(isSigned, bool)
        self.width = widthInBits
        self.isSigned = isSigned
        self.config = config
        if widthInBits is P4_AUTO_WIDTH:
            raise NotSupportedException("{0} Variable-width field", parent)
dataset/ETHPy150Open iovisor/bcc/src/cc/frontends/p4/compiler/ebpfScalarType.py/EbpfScalarType.__init__/original