Syntax::Block
Inherits Syntax::ASTNode < Reference < Object
A code block.
'do' [ '|' arg [ ',' arg ]* '|' ]
body
'end'
| '{' [ '|' arg [ ',' arg ]* '|' ] body '}'
Constructors
Instance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourceargs
Sourcebody
Sourcebody=(body : ASTNode)
Sourcecall
Sourcecall=(call : Call | Nil)
Sourceclone_without_location
Sourcehash(hasher)
See Object#hash(hasher)
splat_index
Source