A parser for SEXP data presented as a Tokenizer which calls the given visitor for each matched rule.
To construct a JSON model the visitor would be a Builder.
Builder
Anything
Object
Basic
Parser
Identifiable
no subtypes hierarchy
Parser(Tokenizer tokenizer, Visitor visitor)
tokenizer
The data to be parsed.
visitor
The visitor to called for each matched rule.
shared Visitor visitor
hash
string
parse
shared void parse()
Parses s-expressions.
ParseException
encountering unexpected extra characters
parseValue
shared void parseValue()
Parses s-expression values.
If the specified string cannot be parsed
equals