sexp
Class SExpParser

java.lang.Object
  extended by sexp.SExpParser

public class SExpParser
extends Object

SExpParser is a parser for s-expressions. Its sole public method takes a string and produces the corresponding SExp.


Constructor Summary
SExpParser()
           
 
Method Summary
 SExp parse(String s)
          Parse a string into a SExp.
 
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 SExp parse(String s)
           throws SExpParseException
Parse a string into a SExp.

Returns:
s-expression corresponding to s
Throws:
SExpParseException
Requires:
s!= null && s is a well-formed s-expression