forked from mirrors/gecko-dev
...r parsing. Hook up document loading to async networking events. Relies on https://github.com/servo/html5ever/pull/107, so we'll likely need to backport it rather than wait for the next rustc upgrade. Source-Repo: https://github.com/servo/servo Source-Revision: dd319c1a998bbd3eeb84fdc4ca8a41ee7877ca37
10 lines
304 B
Rust
10 lines
304 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
pub mod html;
|
|
|
|
pub trait Parser {
|
|
fn parse_chunk(self, input: String);
|
|
fn finish(self);
|
|
}
|