Class: Moult::Clones::CloneSet
- Inherits:
-
Struct
- Object
- Struct
- Moult::Clones::CloneSet
- Defined in:
- lib/moult/clones.rb
Overview
One structurally-equivalent clone group. node_type is flay's sexp type
(e.g. :defn, :call, :class). occurrences are the sites, in source order.
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#mass ⇒ Object
Returns the value of attribute mass.
-
#node_type ⇒ Object
Returns the value of attribute node_type.
-
#occurrences ⇒ Object
Returns the value of attribute occurrences.
-
#structural_hash ⇒ Object
Returns the value of attribute structural_hash.
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
30 31 32 |
# File 'lib/moult/clones.rb', line 30 def kind @kind end |
#mass ⇒ Object
Returns the value of attribute mass
30 31 32 |
# File 'lib/moult/clones.rb', line 30 def mass @mass end |
#node_type ⇒ Object
Returns the value of attribute node_type
30 31 32 |
# File 'lib/moult/clones.rb', line 30 def node_type @node_type end |
#occurrences ⇒ Object
Returns the value of attribute occurrences
30 31 32 |
# File 'lib/moult/clones.rb', line 30 def occurrences @occurrences end |
#structural_hash ⇒ Object
Returns the value of attribute structural_hash
30 31 32 |
# File 'lib/moult/clones.rb', line 30 def structural_hash @structural_hash end |