struct

Heucristic::Index::Parameter

Inherits Struct < Value < Object

Constructors

from(arg : Crystal::Arg, kind : ParameterKind) : Parameter
Source
new(name : String, external_name : String, restriction : Restriction, default : String | Nil, kind : ParameterKind, default_type : Syntax::Type | Nil = nil)
Source

Instance methods

clone
Source
copy_with(name _name = @name, external_name _external_name = @external_name, restriction _restriction = @restriction, default _default = @default, kind _kind = @kind, default_type _default_type = @default_type)
Source
default
default_type
external_name
identity
Source
kind
name
rendered(restriction_text : String | Nil) : Parameter
Source
restriction
to_s(io : IO) : Nil

Same as #inspect(io).

Source
unrestricted_identity
Source