MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / from

Method from

crates/sith_python_parser/src/error.rs:36–41  ·  view source on GitHub ↗
(error: LexicalError)

Source from the content-addressed store, hash-verified

34
35impl From<LexicalError> for ParseError {
36 fn from(error: LexicalError) -> Self {
37 ParseError {
38 location: error.location(),
39 error: ParseErrorType::Lexical(error.into_error()),
40 }
41 }
42}
43
44impl ParseError {

Callers

nothing calls this directly

Calls 2

locationMethod · 0.80
into_errorMethod · 0.80

Tested by

no test coverage detected