struct

Ast::EnumConstructor

Inherits Ast::Expr < IrNode < Struct < Value < Object

Constructors

new(location : Location, type : Type, variant : ::String, args : Args = [] of Expr)
Source

Instance methods

args
Source
args=(args : Args)
Source
location
Source
location=(location : Location)
Source
to_s(io : IO)

Same as #inspect(io).

Source
type
Source
type=(type : Type)
Source
variant
Source
variant=(variant : ::String)
Source