Clover icon

Coverage Report

  1. Project Clover database Thu Aug 13 2020 12:04:21 BST
  2. Package com.stevesoft.pat

File WantMoreTextReplaceRule.java

 

Coverage histogram

../../../img/srcFileCovDistChart0.png
56% of files have more coverage

Code metrics

0
1
3
1
29
14
3
3
0.33
3
1

Classes

Class Line # Actions
WantMoreTextReplaceRule 15 1 3
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    //
2    // This software is now distributed according to
3    // the Lesser Gnu Public License. Please see
4    // http://www.gnu.org/copyleft/lesser.txt for
5    // the details.
6    // -- Happy Computing!
7    //
8    package com.stevesoft.pat;
9   
10    /**
11    * Triggers the reading of another line of text, allowing a longer pattern to
12    * match -- for details see <a
13    * href="http://javaregex.com/code/WantMore.java.html">WantMore.java</a>.
14    */
 
15    public class WantMoreTextReplaceRule extends SpecialRule
16    {
 
17  0 toggle public WantMoreTextReplaceRule()
18    {
19    }
20   
 
21  0 toggle public void apply(StringBufferLike sb, RegRes res)
22    {
23    }
24   
 
25  0 toggle public String toString1()
26    {
27  0 return "${WANT_MORE_TEXT}";
28    }
29    }