class Crystal::Macros::VisibilityModifier
Overview
A visibility modifier
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#exp : ASTNode
Returns the expression that the modifier is applied to.
-
#visibility : SymbolLiteral
Returns the visibility of this modifier:
:public
,:protected
or:private
.
Instance Method Detail
def visibility : SymbolLiteral
#
Returns the visibility of this modifier: :public
, :protected
or :private
.