Commit graph

8 commits

Author SHA1 Message Date
Markus Schirp
13cd04d9be Introduce AST::Meta to externalize semantic analysis
* Add Mutant::AST namespace to hold all AST related data / helpers.
* Mutant::AST will be externalized into an ast-meta gem that can be
  shared with unparser for deduplication.
* Over the time the mutators itself will not need to deal with semantic
  analysis of the AST anymore by themselves.
* Move AST analysis for send nodes to AST::Meta
* Fix #209
2014-06-29 21:26:58 +00:00
Markus Schirp
d46f702d82 Fix YARD docs 2014-06-28 20:52:47 +00:00
Markus Schirp
f1fe9561c5 Remove insignificant delimiter 2014-06-10 02:07:50 +00:00
Markus Schirp
c5f5d595ca Correctly avoid mutations that produce differend AST but same source
* Add detection for this case in Example::Verification
* Revert source location killing Normalization after parse.
* Closes #198
2014-06-09 14:56:15 +00:00
Markus Schirp
8d31d52a93 Sync devtools and fix rubocop warnings 2014-06-08 13:01:26 +00:00
Markus Schirp
017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00
Markus Schirp
ef0f5c2d8c Arrange meta by node name 2014-06-02 14:22:57 +00:00
Markus Schirp
4a9ab9340e Define expected mutations with less redundancy
The mutation examples are now introspectable, this allows to render nice
index or performing better automated analysis against the corpus.
2014-06-02 14:05:11 +00:00