Clover icon

Coverage Report

  1. Project Clover database Fri Dec 6 2024 13:47:14 GMT
  2. Package com.stevesoft.pat

File RightRule.java

 

Coverage histogram

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

Code metrics

0
2
3
1
31
15
3
1.5
0.67
3
1

Classes

Class Line # Actions
RightRule 16 2 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    * The apply(StringBufferLike sb,RegRes res) method of this derivation of
12    * ReplaceRule appends the contents of res.right() to the StringBufferLike sb.
13    *
14    * @see com.stevesoft.pat.ReplaceRule
15    */
 
16    public class RightRule extends ReplaceRule
17    {
 
18  0 toggle public RightRule()
19    {
20    }
21   
 
22  0 toggle public void apply(StringBufferLike sb, RegRes res)
23    {
24  0 sb.append(res.right());
25    }
26   
 
27  0 toggle public String toString1()
28    {
29  0 return "$'";
30    }
31    }