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.



487
488
489
490
# File 'lib/rbs/inline/ast/members.rb', line 487

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

Instance Attribute Details

#nodeObject (readonly)

: Prism::CallNode



484
485
486
# File 'lib/rbs/inline/ast/members.rb', line 484

def node
  @node
end