function ParseStream () {
    Parser.call(this, new Tokenizer());

    this.depth = 0;
    this.initialHandler(this.root());
    // TODO set a default handler which is stricter than `ignore`
    this.defaultHandler(function(token, type, next) {
        if(type !== 'eof') {
            throw new SyntaxError("unexpected token "+token+". expected eof");
        }
    });
}
The constuctor for Json parsing streams.
@inherits Parser