Skip to content

[PSyIR] determine the type of nodes #658

Description

@rupertford

At the moment it is difficult to determine the type of nodes - unless they have an explicit type associated with them i.e. Literal or Reference. This would be very useful for checking correctness when creating or modifying PSyIR and possibly for backends as well. After discussion with @arporter and @sergisiso it is suggested that all nodes have a get_type() method (or similar) which will work out what type the node is, or returns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions