Package edu.rice.cs.util.sexp

Interface Summary
Atom There are different kinds of atoms: text, boolean, number.
SEListVisitor<Ret> The usual generically typed visitor for functional lists.
SExp SExp ::= Atom | SEList SEList ::= Empty | Cons(SExp, SEList) Atom ::= text | number | boolean text ::= string | symbol string ::= "non-quote-char*" symbol ::= non-special-char* non-quote-char ::= alphanumeric | escapes | white-sp-char | other escapes ::= \" | \\ white-sp-char ::= ascii chars from 0-32 boolean ::= true | false number ::= digit* {.
SExpVisitor<Ret> Just your every-day visitor.
Tokens A common namespace for the token classes.
 

Class Summary
BoolAtom  
Cons  
Empty  
NumberAtom  
SEList  
SExpParser This parser is not meant to be instantiated.
SExpParserTest A JUnit test case class.
TextAtom  
Tokens.BackSlashToken  
Tokens.BooleanToken Words include any text (including symbols) that is not a number, a backslash, or a quote character.
Tokens.LeftParenToken  
Tokens.NumberToken Numbers are string s of only digits (0-9)
Tokens.QuotedTextToken This token is handled as a unit by the lexer.
Tokens.RightParenToken  
Tokens.SExpToken These tokens are designed to be compared using the == operator with (, ), ", and \.
Tokens.WordToken Words include any text (including symbols) that is not a number, a backslash, or a quote character.
TokensTest Test class for Tokens.java in this package.
 

Exception Summary
SExpParseException