lib/mutest/ast/regexp/transformer/text.rb in mutest-0.0.9 vs lib/mutest/ast/regexp/transformer/text.rb in mutest-0.0.10

- old
+ new

@@ -10,11 +10,11 @@ # # @return [Parser::AST::Node] def call quantify(ast(expression.text)) end - end # ExpressionToAST + end # Mapper from `Parser::AST::Node` to `Regexp::Expression` class ASTToExpression < Transformer::ASTToExpression include LookupTable @@ -45,13 +45,13 @@ def transform token = expression_token.dup token.text = Util.one(node.children) expression_class.new(token) end - end # ASTToExpression + end ASTToExpression::TABLE.types.each(&method(:register)) - end # Text - end # Transformer - end # Regexp - end # AST -end # Mutest + end + end + end + end +end