pystencils.types.PsDereferencableType

pystencils.types.PsDereferencableType#

class pystencils.types.PsDereferencableType(base_type, const=False)#

Base class for subscriptable types.

PsDereferencableType represents any type that may be dereferenced and may occur as the base of a subscript, that is, before the C [] operator.

Parameters:
  • base_type (PsType) – The base type, which is the type of the object obtained by dereferencing.

  • const (bool) – Const-qualification

  • args (Any)

  • kwargs (Any)

Return type:

Any