Class: Solargraph::SourceMap::Call

Inherits:
Object
  • Object
show all
Defined in:
lib/solargraph/source_map/call.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_map, chain, closure) ⇒ Call

Returns a new instance of Call.

Parameters:



11
12
13
14
15
# File 'lib/solargraph/source_map/call.rb', line 11

def initialize source_map, chain, closure
  @source_map = source_map
  @chain = chain
  @closure = closure
end

Instance Attribute Details

#chain ⇒ Object (readonly)

Returns the value of attribute chain.



6
7
8
# File 'lib/solargraph/source_map/call.rb', line 6

def chain
  @chain
end

#closure ⇒ Object (readonly)

Returns the value of attribute closure.



6
7
8
# File 'lib/solargraph/source_map/call.rb', line 6

def closure
  @closure
end

#source_map ⇒ Object (readonly)

Returns the value of attribute source_map.



6
7
8
# File 'lib/solargraph/source_map/call.rb', line 6

def source_map
  @source_map
end