code: def visit_Attribute(self, node):
          
          obj, path = attr_to_path(node)
          # If no type is given, use a decltype
          if obj.isliteral():
              typename = pytype_to_ctype(obj.signature)
              self.result[node] = self.builder.NamedType(typename)
          else:
              self.result[node] = self.builder.DeclType('::'.join(path) + '{}')
docs: Compute typing for an attribute node.