sexp
Class SExpParser
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SExpParser
public SExpParser()
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