Sha256: ba97d4b1141afa5c086302ccd64fae1858f5f19c86c0781bf6c49c07c159ebea
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
class AbstractSyntaxTreeKit class Node attr_reader :type, :children, :first_column, :first_lineno, :last_column, :last_lineno def initialize(node) @type = node.type @children = node.children @first_column = node.first_column @first_lineno = node.first_lineno @last_column = node.last_column @last_lineno = node.last_lineno end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
astkit-0.1.1 | lib/astkit/node.rb |
astkit-0.1.0 | lib/astkit/node.rb |