class

Syntax::ProcNotation

Inherits Syntax::ASTNode < Reference < Object

The Proc notation in the type grammar:

input1, input2, ..., inputN -> output

Constructors

new(inputs : Nil | Array(Syntax::ASTNode) = nil, output : Syntax::ASTNode | Nil = nil)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

accept_children(visitor)
Source
clone_without_location
Source
hash(hasher)

See Object#hash(hasher)

inputs
Source
inputs=(inputs : Array(ASTNode) | Nil)
Source
output
Source
output=(output : ASTNode | Nil)
Source