edu.rice.cs.util.sexp
Class SExpParser

java.lang.Object
  extended by edu.rice.cs.util.sexp.SExpParser

public class SExpParser
extends Object

This parser is not meant to be instantiated. It has static methods that do all the work for you. These parse methods take in the data that is to be parsed and simply returns an s-expression abstract syntax.

Author:
Jonathan Lugo, PLT Group

Constructor Summary
SExpParser()
           
 
Method Summary
static List<SEList> parse(File f)
           
static List<SEList> parse(Reader r)
           
static List<SEList> parse(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SExpParser

public SExpParser()
Method Detail

parse

public static List<SEList> parse(File f)
                          throws SExpParseException,
                                 IOException
Throws:
SExpParseException
IOException

parse

public static List<SEList> parse(String s)
                          throws SExpParseException
Throws:
SExpParseException

parse

public static List<SEList> parse(Reader r)
                          throws SExpParseException
Throws:
SExpParseException