Syntax::Arg
Inherits Syntax::SpecialVar < Syntax::ASTNode < Reference < Object
A def argument.
Constructors
Instance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourceclone_without_location
Sourcedefault_value
Sourcedefault_value=(default_value : ASTNode | Nil)
Sourcedoc
Returns the doc comment attached to this node. Not every node
supports having doc comments, so by default this returns nil.
external_name
Sourcehash(hasher)
See Object#hash(hasher)
name_size
Sourcerestriction
Sourcerestriction=(restriction : ASTNode | Nil)
Source