equal
deleted
inserted
replaced
|
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 } |