struct

Ast::Field

Inherits IrNode < Struct < Value < Object

Constructors

new(location : Location, name : ::String, type : Type, init : Expr | ::Nil = nil)
Source

Instance methods

binding
Source
init
Source
init=(init : Expr | ::Nil)
Source
location
Source
location=(location : Location)
Source
name
Source
name=(name : ::String)
Source
to_s(io : IO)

Same as #inspect(io).

Source
type
Source
type=(type : Type)
Source