blark.transform.TypeSpecificationBase

class blark.transform.TypeSpecificationBase[source]

Bases: object

Base class for a specification of a type.

Can specify a:

  1. Enumeration:

    ( 1, 1 ) INT
    TYPE_NAME     (TODO; ambiguous with 2)
    
  2. A simple or string type specification:

    TYPE_NAME
    STRING
    STRING[255]
    
  3. An indirect simple specification:

    POINTER TO TYPE_NAME
    REFERENCE TO TYPE_NAME
    REFERENCE TO POINTER TO TYPE_NAME
    
  4. An array specification:

    ARRAY [1..2] OF TypeName
    ARRAY [1..2] OF TypeName(1, 2)
    

Methods

Attributes

base_type_name

The full type name.

full_type_name

The full type name.

type_info

The base type name.

property type_info: TypeInformation

The base type name.

property base_type_name: Token | str

The full type name.

property full_type_name: Token | str

The full type name.