Commit graph

12 commits

Author SHA1 Message Date
Markus Schirp
dea1a5741a Consolidate constant names for nodes 2014-06-16 10:56:27 +00:00
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00: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
8366eb2e87 Use child nameing in define mutator 2013-06-21 15:07:40 +02:00
Markus Schirp
aa13faab76 Port define mutator to parser 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
5fed2cb57f Also mutate define arguments 2012-12-10 17:26:56 +01:00
Markus Schirp
fe941ff74c Cleanup node body mutation 2012-12-06 22:30:57 +01:00
Markus Schirp
e3754434dc Rename emit_body_mutation into emit_attribute_mutation(attribute_name) 2012-12-06 22:05:42 +01:00
Markus Schirp
69e9de95ed Extract node specific mutator base class 2012-12-06 21:30:28 +01:00