Markus Schirp
7bf70d9634
Add support for explicit type in meta examples
...
* This is needed to relate examples to node types for nodes that cannot
stand alone. Example are :where nodes that do not have syntax outside
a :case
2016-03-19 15:13:05 +00:00
Markus Schirp
fe1deba411
Fix repo location of rubyspec
...
* Fix bug exposed by new rubyspec location
* Fix excludes on corpus to actually *do stuff*.
2015-12-19 22:17:30 +00:00
John Backus
229128467c
Fix right hand blindspot for or-assgns
...
Fixes #421
2015-08-20 14:07:33 -07:00
Markus Schirp
c392cb5e4b
Remove redundant encoding comment
...
* Mutant is ruby 2.0+ only where UTF-8 is default encoding
2015-04-27 21:07:30 +00:00
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
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
cadd42908a
Do not emit lhs mutations for ivars on or assign
...
* Closes #150
2014-06-04 16:09:27 +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