

def declare(self, serializer, identifier, asPointer):
    assert isinstance(serializer, ProgramSerializer)
    assert isinstance(asPointer, bool)
    assert isinstance(identifier, str)
    if (self.width <= 32):
        self.serialize(serializer)
        if asPointer:
            serializer.append('*')
        serializer.space()
        serializer.append(identifier)
    elif asPointer:
        self.append('char*')
    else:
        serializer.appendFormat('char {0}[{1}]', identifier, EbpfScalarType.bytesRequired(self.width))

dataset/ETHPy150Open iovisor/bcc/src/cc/frontends/p4/compiler/ebpfScalarType.py EbpfScalarType.declare/VarMisuse@90/100 `serializer`->`self`