Class: Metamorpher::Terms::TermSet

Inherits:
Term
  • Object
show all
Defined in:
lib/metamorpher/terms/term_set.rb

Instance Attribute Summary

Attributes inherited from Term

#parent

Instance Method Summary collapse

Methods inherited from Term

#path, #with_younger_siblings

Methods included from Rewriter::Substitution

#substitute

Methods included from Rewriter::Replacement

#replace

Methods included from Matcher::Matching

#match

Methods included from Visitable

#accept

Instance Method Details

#alternativesObject



12
13
14
# File 'lib/metamorpher/terms/term_set.rb', line 12

def alternatives
  terms
end

#inspectObject



8
9
10
# File 'lib/metamorpher/terms/term_set.rb', line 8

def inspect
  "TermSet" + terms.inspect
end