Class: RBS::Inline::AST::Members::RubyPrivate

Inherits:
RubyBase
  • Object
show all
Defined in:
lib/rbs/inline/ast/members.rb

Overview

‘private` call without arguments

Instance Attribute Summary collapse

Attributes inherited from Base

#location

Instance Method Summary collapse

Methods inherited from Base

#start_line

Constructor Details

#initialize(node) ⇒ RubyPrivate

Returns a new instance of RubyPrivate.



493
494
495
496
# File 'lib/rbs/inline/ast/members.rb', line 493

def initialize(node) #: void
  super(node.location)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

: Prism::CallNode



490
491
492
# File 'lib/rbs/inline/ast/members.rb', line 490

def node
  @node
end