MCPcopy Create free account
hub / github.com/Florob/RustyXML / error

Method error

src/parser.rs:232–238  ·  view source on GitHub ↗
(&self, msg: &'static str)

Source from the content-addressed store, hash-verified

230 }
231
232 fn error(&self, msg: &'static str) -> Result<Option<Event>, ParserError> {
233 Err(ParserError {
234 line: self.line,
235 col: self.col,
236 msg,
237 })
238 }
239
240 fn parse_character(&mut self, c: char) -> Result<Option<Event>, ParserError> {
241 // println(fmt!("Now in state: %?", self.st));

Callers 14

outside_tagMethod · 0.80
in_tag_nameMethod · 0.80
in_close_tag_nameMethod · 0.80
in_tagMethod · 0.80
in_attr_nameMethod · 0.80
in_attr_valueMethod · 0.80
expect_delimiterMethod · 0.80
expect_closeMethod · 0.80
expect_space_or_closeMethod · 0.80
in_exclamation_markMethod · 0.80
in_cdata_openingMethod · 0.80
in_comment_openingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected