Commit graph

7 commits

Author SHA1 Message Date
Markus Schirp
ad162c2a42 Add dedicated splat mutator
Closes #66
2013-07-15 22:25:09 +02:00
Markus Schirp
4a2d12e7bf Do not emit invalid ast for op-assign mutations
Closes #64
2013-07-14 21:39:23 +02:00
Markus Schirp
3a82ebea5c Simplify generic mutator 2013-07-05 19:17:17 +02:00
Markus Schirp
7505344a8b Handle masgn outside of generic mutator
May result in syntactially invalid AST.
Currently is a noop.
2013-07-05 13:48:13 +02:00
Markus Schirp
a707027197 Use multiple lines for complex guard 2013-07-05 03:03:56 +02:00
Markus Schirp
93da846051 Add guard to ensure generic mutator only visits nodes 2013-07-05 01:32:13 +02:00
Markus Schirp
4211dfa444 Refactor noop into generic mutator
A generic mutator does delegate mutations to children. The generic
mutator does not know any type specific semantics. For this reason he
cannot do deletion, reordering or anything more sophisticated than
visiting children.

But still it should result in a TON of more mutations!
2013-07-05 01:21:07 +02:00
Renamed from lib/mutant/mutator/node/noop.rb (Browse further)