Zuzu::AST::Expr::TypeRef(3)

NAME
Zuzu::AST::Expr::TypeRef - AST node for type reference expressions

DESCRIPTION
Represents a type expression used in class inheritance and trait composition, including imported names like "mod{TypeName}".

INHERITANCE
Inherits from "Moo::Object".

ROLES
Consumes "Zuzu::AST::Role::Node".

ATTRIBUTES

  root
Type: Str.

Base identifier of the referenced type value.

  member
Type: Maybe[Str].

Optional member name for dictionary-style type references.

METHODS

  evaluate
Dispatches this AST node to the matching runtime evaluator.

SEE ALSO
"Zuzu::AST::Role::Node".

Subclasses: none in this distribution.

COPYRIGHT AND LICENCE
Zuzu::AST::Expr::TypeRef is copyright Toby Inkster.

It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.