transcendental-lisp/src/sexpression/Atom.java

20 lines
280 B
Java

package sexpression;
public abstract class Atom extends SExpression {
private String text;
public Atom(String text) {
this.text = text;
}
public boolean atomp() {
return true;
}
public String toString() {
return text;
}
}