Crytic::Mutation::InjectMutatedSubjectIntoSpecs
Inherits Crystal::Visitor / Reference / Object
Constructors
new(path : String, source : String, mutated_subject : MutatedSubject, tracker : Tracker)
SourceInstance methods
astree
Sourceastree?
Sourceenriched_source
Sourceenriched_source?
Sourcepath
Sourceto_mutated_source
Sourcevisit(node : Crystal::Require)
Management of required file is nasty and should be improved Since I've hard time to replace node on visit, I change the file argument to a number linked to an array of files Then on finalization, we replace each require "xxx" by the proper file.
visit(node : Crystal::ASTNode)
Source