In Files

Parent

Class/Module Index [+]

Quicksearch

Sexp

Public Instance Methods

all_structural_subhashes() click to toggle source
# File lib/flay.rb, line 299
def all_structural_subhashes
  hashes = []
  self.deep_each do |node|
    hashes << node.structural_hash
  end
  hashes
end
deep_each(&block) click to toggle source
# File lib/flay.rb, line 307
def deep_each(&block)
  self.each_sexp do |sexp|
    block[sexp]
    sexp.deep_each(&block)
  end
end
each_sexp() click to toggle source
# File lib/flay.rb, line 314
def each_sexp
  self.each do |sexp|
    next unless Sexp === sexp

    yield sexp
  end
end
structural_hash() click to toggle source
# File lib/flay.rb, line 295
def structural_hash
  @structural_hash ||= self.structure.hash
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.