A parser for JSON 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.

By: Stéphane Épardaud
Initializer
Parser(Tokenizer tokenizer, Visitor visitor)
Parameters:
  • tokenizer

    The data to be parsed.

  • visitor

    The visitor to called for each matched rule.

Attributes
visitorSource Codeshared Visitor visitor

The visitor to called for each matched rule.

Inherited Attributes
Attributes inherited from: Object
Methods
parseSource Codeshared void parse()
parseValueSource Codeshared void parseValue()
Throws
Inherited Methods
Methods inherited from: Object