[][src]Module sophia::parser

This module re-exports symbols from sophia_api::parser, and also provides some implementations of its traits.

Modules

gtrig

Adapter for the Generalized TriG parser from RIO

nq

Adapter for the N-Quads parser from RIO

nt

Adapter for the N-Triples parser from RIO

rio_common

Common implementations for adapting RIO parsers.

trig

Adapter for the TriG parser from RIO

turtle

Adapter for the Turtle parser from RIO

xml

Adapter for the RDF/XML parser from RIO

xml_legacy

Parser for RDF XML.

Enums

Location

A location in a parsed stream, which can be unknown, a specific point, or a span.

Position

A position in a parsed stream.

Traits

IntoParsable

Utility trait to support TripleParser::parse_str and QuadParser::parse_str.

QuadParser

A parser takes some data of type T, and returns a QuadSource.

TripleParser

A parser takes some data of type T, and returns a TripleSource.

WithLocation

This trait is meant to be implemented by errors raised by parsers.