package net.chayden;
/**
* Eliza pre-post entry (two words).
* This is used to store pre transforms or post transforms.
*/
public class PrePost {
/** The words */
String src;
String dest;
/**
* Initialize the pre-post entry.
*/
PrePost(String src, String dest) {
this.src = src;
this.dest = dest;
}
/**
* Print the pre-post entry.
*/
public void print(int indent) {
for (int i = 0; i < indent; i++) System.out.print(" ");
System.out.println("pre-post: " + src + " " + dest);
}
/**
* Get src.
*/
public String src() {
return src;
}
/**
* Get dest.
*/
public String dest() {
return dest;
}
}