Commit graph

25 commits

Author SHA1 Message Date
John Backus
dd58822cc1
Extract meta duplication to regexp_mutations 2016-08-14 15:01:21 -07:00
John Backus
523bad401e
Refactor to add Mutant::Mutator.mutate(...)
Refactors Registry to be more generic
2016-05-07 15:03:45 -07:00
Markus Schirp
41c41b2a17 Fix coverage of Mutant::Mutator namespace 2016-03-22 01:01:21 +00:00
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
7408e86fd4 Fix coverage for Mutant::Meta namespace
* Remove unparser invariant checking, does not yield enough value
  anymore as unparser is more stable these days
2016-02-29 19:03:08 +00:00
Markus Schirp
b7fdf846bc Remove redundant @api private YARD docs 2015-11-15 23:13:43 +00:00
Markus Schirp
66643789c8 Refactor Mutant::Cache into Mutant::Parser 2015-11-13 04:47:47 +00:00
Markus Schirp
8335cccafb Fix YARD summary line
* Reduce redunrant 'Return' prefix on summaries
* Improve summary line to reflect the semantics of operation better
2015-07-03 15:21:39 +00:00
Markus Schirp
4bd15abeb6 Fix positioning of @api YARD tag 2015-07-02 03:35:54 +00:00
Markus Schirp
12abeff033 Remove unneded constant qualifiers 2015-05-03 00:51:16 +00:00
Tim Chambers
e90e9e1ea4 Correct miscellaneous typos
Mostly comments
2014-11-22 11:16:07 -08:00
Markus Schirp
f3720a6366 Prefer Kernel#fail over Kernel#raise 2014-11-17 17:00:05 +00:00
Markus Schirp
1ae2c04193 Add concat-promotion of resbody nodes
Idea related to #245.
2014-08-16 21:14:22 +00:00
Markus Schirp
d060f462f4 Merge pull request #242 from tjchambers/typos2
Fix documentation of parameters and correct method naming
2014-08-13 16:00:15 +00:00
Tim Chambers
6b741aa95c Fix typo 2014-08-12 16:26:03 -07:00
Markus Schirp
3654ba010d Remove remaining encoding headers 2014-08-10 21:33:44 +00:00
Tim Chambers
fe72c94b94 Fix miscellaneous typos
Mostly in comments and documentation, but one method name was corrected to match documentation.
2014-08-07 09:00:31 -07: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
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