src/java/isac/util/tactics/Rewrite.java
branchjava_rename_format
changeset 3922 fcd5648113ca
equal deleted inserted replaced
963:b4896ce4d1b0 3922:fcd5648113ca
       
     1 /*
       
     2  * Created on Jun 25, 2004
       
     3  */
       
     4 package isac.util.tactics;
       
     5 
       
     6 /**
       
     7  * @author richard
       
     8  */
       
     9 public class Rewrite extends Tactic {
       
    10 
       
    11     Theorem theorem_;
       
    12 
       
    13     public Rewrite() {
       
    14     }
       
    15 
       
    16     public String toSMLString() {
       
    17         return name_ + theorem_.toSMLString();
       
    18     }
       
    19 
       
    20     /**
       
    21      * @return
       
    22      */
       
    23     public Theorem getTheorem() {
       
    24         return theorem_;
       
    25     }
       
    26 
       
    27     /**
       
    28      * for use in
       
    29      * 
       
    30      * @see isac.util.parser.XMLParserDigest.java
       
    31      * @param theorem
       
    32      */
       
    33     public void setTheorem(Theorem theorem) {
       
    34         this.theorem_ = theorem;
       
    35     }
       
    36 
       
    37 }