Dan Kubb
475512146f
Change emit_nil to not emit on the left node of an assignment
...
* Add emit_nil to other nodes so that they can be replaced
with nil, effectively removing them from the code.
2013-09-07 23:57:47 -07:00
Dan Kubb
7293386c26
Add magic encoding header to all ruby files
...
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
36011568d5
Move nil body mutation to parent nodes
...
This ensures mutant all the time creates semantically valid asts.
2013-07-05 03:03:33 +02:00
Markus Schirp
04c72c5d0f
Replace empty body/block mutations with raise
2013-07-02 20:42:09 +02:00
Markus Schirp
9f38f271d4
Fix edge cases in block mutator
2013-06-21 15:07:40 +02:00
Markus Schirp
7aa8fafed9
Port block mutators to parser
2013-06-14 21:12:10 +02:00
Markus Schirp
2d9da54041
Fix begin mutator
2013-06-14 21:11:54 +02:00
Markus Schirp
6b2e2a8bb0
Initial round of refactoring
...
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Markus Schirp
97a75dd062
Cleanup mutation generation
...
This is a reaction to the to_source rewrite
* Do not use 1.8 specific nodes anymore
* Do not generate AST nodes that would not be generatable from source
2013-01-09 20:43:06 +01:00
Markus Schirp
93556763dd
Bring back yard coverage to 100%
...
Also do some minor refactorings
2012-12-12 22:31:27 +01:00
Markus Schirp
b5430e2000
Cleanup crashes and invalid mutants
2012-12-07 23:27:21 +01:00
Markus Schirp
fe941ff74c
Cleanup node body mutation
2012-12-06 22:30:57 +01:00
Markus Schirp
69e9de95ed
Extract node specific mutator base class
2012-12-06 21:30:28 +01:00