Sha256: ccdea5faf549f3524c262f6e7a66604fbd28ab681e899fc7d3a40f62c2667a54
Contents?: true
Size: 407 Bytes
Versions: 2
Compression:
Stored size: 407 Bytes
Contents
module Analyst module Entities class Lvar < Entity handles_node :lvar def name name_node.to_s end def full_name (scope.nil? ? parent.full_name : scope.full_name) + '::' + name end def scope @scope ||= process_node(ast.children.first) end private def name_node ast.children.first end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
analyst-1.2.4 | lib/analyst/entities/lvar.rb |
analyst-1.2.3 | lib/analyst/entities/lvar.rb |