| Class | Line # | Actions | |||
|---|---|---|---|---|---|
| PopRule | 14 | 1 | 2 |
| 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 | * Implements substitution rule $POP. See the example file | |
| 12 | * <a href="http://javaregex.com/code/trans3.java.html">trans3.html</a>. | |
| 13 | */ | |
| 14 | public class PopRule extends SpecialRule | |
| 15 | { | |
| 16 | 0 | public PopRule() |
| 17 | { | |
| 18 | } | |
| 19 | ||
| 20 | 0 | public String toString1() |
| 21 | { | |
| 22 | 0 | return "${POP}"; |
| 23 | } | |
| 24 | } |