Modules§
- Contains a menagerie of useful types that implement the
Parsable
trait.
Structs§
- Represents a diagnostic message that can be displayed to the user, typically indicating a parsing error or highlighting some fact about a
Span
of input - Represents an error that occurred during parsing.
- An iterator over the lines of an
IndexedStr
. - A
&str
replacement that allows for safe indexing and slicing of multi-byte characters. - A
String
replacement that allows for safe indexing and slicing of multi-byte characters. - Represents a line and column within a
Source
. - Represents a stream of text that can be parsed.
- Represents source text that can be indexed into to define individual
Span
s. - Represents a specific range of text within a
Source
.
Enums§
- Represents the severity of a
Diagnostic
.
Traits§
- A trait that facilitates safe interaction with strings that contain multi-byte characters.
- A trait for types that have multiple
Span
s. - Types that can be parsed using Quoth must implement this trait.
- Generic over types that can be used to create a Regex
- Indicates that a type can be used to peek at a
ParseStream
. - A trait for types that have a
Span
.
Functions§
- Utility function to find the common prefix between two
str
s. - Attempts to parse the specified string into a value of type
T
.
Type Aliases§
- Represents the result of a parsing operation.
Derive Macros§
- Automatically derives
Spanned
for the annotated type. This will work as long as there is some struct field of typeSpan
.