class Analyst::Entities::MethodCall
Public Instance Methods
arguments()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 15 def arguments @arguments ||= process_nodes(ast.children[2..-1]) end
full_name()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 11 def full_name name end
name()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 7 def name name_node.to_s end
scope()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 19 def scope @scope ||= process_node(ast.children.first) end
Private Instance Methods
contents()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 25 def contents (arguments + [target]).compact end
name_node()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 37 def name_node ast.children[1] end
target()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 33 def target @target ||= process_node(target_node) end
target_node()
click to toggle source
# File lib/analyst/entities/method_call.rb, line 29 def target_node ast.children.first end