Sha256: caa4d21fa951fa3686a66852cfd11c8c2fa5b7007baa1d8d737d6d105de7f034
Contents?: true
Size: 264 Bytes
Versions: 1
Compression:
Stored size: 264 Bytes
Contents
class ASTDistance class Node attr_accessor :parent_index attr_reader :index, :type def initialize(index:, type:) @index = index @type = type @parent_index = nil end def root_node? parent_index.nil? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ast_distance-0.1.0 | lib/ast_distance/node.rb |