Commit graph

19 commits

Author SHA1 Message Date
Dan Kubb
fc313945a1 Remove :not node
* The :not node is not used in Ruby 1.9+
2013-07-23 23:24:26 -07:00
Dan Kubb
d44115c0b6 Add binary connective mutator 2013-07-23 23:24:26 -07:00
Dan Kubb
14133fe199 Add cbase mutator 2013-07-23 21:58:10 -07:00
Dan Kubb
e85bdfa0e9 Add mutator for zsuper node 2013-07-23 01:04:31 -07:00
Dan Kubb
23a84df277 Add mutator for self nodes 2013-07-23 00:43:48 -07:00
Dan Kubb
1e14b7f703 Add constant assignment mutator 2013-07-23 00:23:21 -07:00
Dan Kubb
537dbdb99a Add const mutator 2013-07-22 23:57:30 -07:00
Dan Kubb
0e1365a565 Refactor Mutant::Mutator::Node::Generic#dispatch guard clause 2013-07-22 09:20:18 -07:00
Dan Kubb
ec9da5da97 Add Mutant::Mutator::Node::Variable
* Rename lvar mutator to handle all variable usage
2013-07-22 09:20:10 -07:00
Dan Kubb
72b7488809 Add Mutant::Mutator::Node::LocalVariable 2013-07-22 00:33:54 -07:00
Dan Kubb
06e16ee951 Fix code formatting and spelling 2013-07-22 00:33:35 -07:00
Markus Schirp
2ea0df4b86 Fix closing comment 2013-07-16 23:09:04 +02:00
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)