Yuri Astrakhan
0400f04915
Error renaming
...
```
enum sparesults::error::ParseError -> QueryResultsParseError
struct sparesults::error::SyntaxError -> QueryResultsSyntaxError
Inlined inner
enum oxrdfxml::error::ParseError -> RdfXmlParseError
struct oxrdfxml::error::SyntaxError -> RdfXmlSyntaxError
enum oxttl::toolkit::error::ParseError -> TurtleParseError
struct oxttl::toolkit::error::SyntaxError -> TurtleSyntaxError
enum oxrdfio::error::ParseError -> RdfParseError
struct oxrdfio::error::SyntaxError -> RdfSyntaxError
struct spargebra::parser::ParseError -> SparqlSyntaxError
enum spargebra::parser::ParseErrorKind
Parser -> Syntax
```
2 years ago
Tpt
655ecd3e91
Convert error to thiserror
...
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2 years ago
Yuri Astrakhan
1e37577b71
Optimize some code, lints
...
* A few match simplifications
* Order trait impl to match trait itself
* A few unneeded parenthesis
* One dup code de-duplication with a new func
2 years ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
2 years ago
Yuri Astrakhan
5be6f55155
A few more self-fixes
...
These are a bit more questionable but still keep things cleaner a bit, at least in some cases?
Most of these were the result of `cargo clippy --fix -- -W clippy::use_self`
2 years ago
Tpt
c2040a30fd
oxttl: Exposes the base IRI
...
Issue #730
2 years ago
Tpt
99abe69ba1
oxttl: Exposes prefixes
2 years ago
Tpt
13c3515d7b
OxTTL: return file position in errors
2 years ago
Tpt
f10e5a40a3
Enables more Clippy lints
...
Auto-enable all Clippy lints that are not in nursery but a blacklist
2 years ago
Tpt
afaabf6110
Simplifies OxTTL lexer buffer management
2 years ago
Tpt
3adf33d2f4
Renames "parse_from_read" to "parse_read"
2 years ago
Tpt
cdabe52847
RDF I/O: adds basic Tokio support
2 years ago
Tpt
f6c8358b24
Refactor parsers error types
...
Uses SyntaxError and ParseError everywhere
2 years ago
Tpt
cb9922379c
Uses "let else" syntax where relevant
2 years ago
Tpt
71b1768d28
New N3/Turtle/TriG/N-Triple/N-Quad parsers and serializers
...
- Compatible with async IO
- Turtle/TriG parser recovery on simple errors
2 years ago