forked from mirrors/gecko-dev
We have created parser trait and declared parse_chunk function in this trait. We are yet to implement this parse_chunk for ServoHTMLParser struct. Source-Repo: https://github.com/servo/servo Source-Revision: 5858fccf873ce30896def4f58aa8c67d1ddd09f1
10 lines
305 B
Rust
10 lines
305 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);
|
|
}
|