Class: Sexp

Inherits:
Object
  • Object
show all
Defined in:
lib/temill/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#line_rangeObject

Returns the value of attribute line_range.



130
131
132
# File 'lib/temill/parser.rb', line 130

def line_range
  @line_range
end

Instance Method Details

#deep_each_with_self(&block) ⇒ Object

same as deep_each, but pass self first



133
134
135
136
137
138
# File 'lib/temill/parser.rb', line 133

def deep_each_with_self(&block)
  return enum_for(__method__) unless block

  block.call(self)
  deep_each(&block)
end