class

Syntax::Yield

Inherits Syntax::ASTNode < Reference < Object

Constructors

new(exps : Array(Syntax::ASTNode) = [] of ASTNode, scope : Syntax::ASTNode | Nil = nil, has_parentheses : Bool = false)
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
end_location

The location where this node ends, or nil if the location is not known.

Source
exps
Source
exps=(exps : Array(ASTNode))
Source
has_parentheses=(has_parentheses : Bool)
Source
has_parentheses?
Source
hash(hasher)

See Object#hash(hasher)

scope
Source
scope=(scope : ASTNode | Nil)
Source