class

DoisC::ASTData::NamedFieldPattern

Inherits DoisC::ASTData::Pattern < DoisC::ASTData::Node < Reference < Object

A named field match pattern, i.e. value = y

Constructors

new(field_name : String, pattern : Pattern, source_location : SourceLocation)
Source

Instance methods

field_name
Source
pattern
Source
resolved_type
Source
resolved_type=(resolved_type : Types::Type | Nil)
Source