class

Syntax::VisibilityModifier

Inherits Syntax::ASTNode < Reference < Object

Constructors

new(modifier : Visibility, exp : Syntax::ASTNode)
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
doc

Returns the doc comment attached to this node. Not every node supports having doc comments, so by default this returns nil.

Source
doc=(doc : String | Nil)
Source
exp=(exp : ASTNode)
Source
hash(hasher)

See Object#hash(hasher)

modifier
Source
modifier=(modifier : Visibility)
Source