parameters: (self)
return_statement: return self.width * 8
docstring: The number of bits occupied by an instance of the type.
docstring_summary: The number of bits occupied by an instance of the type.
docstring_tokens: The number of bits occupied by an instance of the type .
function: def bitwidth(self):
          """The number of bits occupied by an instance of the type."""
          if self.base == 'bool':
              return 1
          return self.width * 8
function_tokens: def bitwidth ( self ) : if self . base == 'bool' : return 1 return self . width * 8