Sha256: 0ecca29f6893c1e8217b29992f1a1b9cc783a0fba68ec5079fb836c62780d151
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 Bytes
Contents
module Yoda module Model module NodeSignatures class Node < Base def descriptions if node_info.require_paths.empty? [node_type_description, *type_descriptions] else node_info.require_paths.map { |path| Descriptions::RequirePathDescription.new(path) } end end def defined_files node_info.require_paths.map { |path| [path, Parsing::Location.first_row, Parsing::Location.first_column] } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yoda-language-server-0.10.1 | lib/yoda/model/node_signatures/node.rb |
yoda-language-server-0.10.0 | lib/yoda/model/node_signatures/node.rb |