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
start: usize
The start byte of the location.
end: usize
The ending byte of the location.
path: Option<Gc<PathBuf>>
The path which the location is associated with.
Trait Implementations
impl Clone for SourceLocation[src]
fn clone(&self) -> SourceLocation[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for SourceLocation[src]
impl Eq for SourceLocation[src]
impl Finalize for SourceLocation[src]
impl Hash for SourceLocation[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for SourceLocation[src]
fn eq(&self, __arg_0: &SourceLocation) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &SourceLocation) -> bool[src]
This method tests for !=.
impl Trace for SourceLocation[src]
unsafe fn trace(&self)[src]
Marks all contained Gcs.
unsafe fn root(&self)[src]
Increments the root-count of all contained Gcs.
unsafe fn unroot(&self)[src]
Decrements the root-count of all contained Gcs.
fn finalize_glue(&self)[src]
Runs Finalize::finalize() on this object and all contained subobjects Read more