class Crytic::Mutation::InjectMutatedSubjectIntoSpecs
- Crytic::Mutation::InjectMutatedSubjectIntoSpecs
- Crystal::Visitor
- Reference
- Object
Defined in:
crytic/mutation/inject_mutated_subject_into_specs.crConstructors
Instance Method Summary
- #astree : Crystal::ASTNode
- #astree? : Crystal::ASTNode | Nil
- #enriched_source : String
- #enriched_source? : String | Nil
- #path : String
-
#process
Inject in AST tree if required.
- #to_mutated_source
-
#visit(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)
Constructor Detail
Instance Method Detail
def visit(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.