Struct oftlisp::reader::SourceLocation [] [src]

pub struct SourceLocation {
    pub start: usize,
    pub end: usize,
    pub path: Option<Gc<PathBuf>>,
}

The location of an error (or of anything else).

Fields

The start byte of the location.

The ending byte of the location.

The path which the location is associated with.

Trait Implementations

impl Clone for SourceLocation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SourceLocation
[src]

[src]

Formats the value using the given formatter.

impl Eq for SourceLocation
[src]

impl Finalize for SourceLocation
[src]

[src]

impl Hash for SourceLocation
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for SourceLocation
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Trace for SourceLocation
[src]

[src]

Marks all contained Gcs.

[src]

Increments the root-count of all contained Gcs.

[src]

Decrements the root-count of all contained Gcs.

[src]

Runs Finalize::finalize() on this object and all contained subobjects Read more

impl Drop for SourceLocation
[src]

[src]

Executes the destructor for this type. Read more

impl Display for SourceLocation
[src]

[src]

Formats the value using the given formatter. Read more