# File lib/yard/parser/ruby/ast_node.rb, line 25 def self.node_class_for(type) case type when :params ParameterNode when :call, :fcall, :command, :command_call MethodCallNode when :if, :elsif, :if_mod, :unless, :unless_mod ConditionalNode when /_ref\Z/ ReferenceNode else AstNode end end