001    package sexp;
002    
003    /**
004     * A SExpVisitor represents a function over SExp
005     * @param <T> the return type of the function.
006     */
007    public interface SExpVisitor<T> {
008        
009        public T visit(SList sexp);
010    
011        public T visit(SString sexp);
012    
013        public T visit(SSymbol sexp);
014    
015    }