Home
last modified time | relevance | path

Searched refs:LineColumn (Results 1 - 5 of 5) sorted by relevance

/third_party/rust/crates/proc-macro2/src/
H A Dlocation.rs8 pub struct LineColumn { structure names
17 impl Ord for LineColumn {
25 impl PartialOrd for LineColumn {
H A Dfallback.rs2 use crate::location::LineColumn;
347 fn offset_line_column(&self, offset: usize) -> LineColumn { in offset_line_column()
354 Ok(found) => LineColumn { in offset_line_column()
358 Err(idx) => LineColumn { in offset_line_column()
545 pub fn start(&self) -> LineColumn { in start()
547 return LineColumn { line: 0, column: 0 }; in start()
558 pub fn end(&self) -> LineColumn { in end()
560 return LineColumn { line: 0, column: 0 }; in end()
H A Dwrapper.rs3 use crate::location::LineColumn;
464 pub fn start(&self) -> LineColumn { in start()
466 Span::Compiler(_) => LineColumn { line: 0, column: 0 }, in start()
472 pub fn end(&self) -> LineColumn { in end()
474 Span::Compiler(_) => LineColumn { line: 0, column: 0 }, in end()
H A Dlib.rs175 pub use crate::location::LineColumn;
486 pub fn start(&self) -> LineColumn { in start()
501 pub fn end(&self) -> LineColumn { in end()
/third_party/rust/crates/proc-macro2/tests/
H A Dmarker.rs58 use proc_macro2::{LineColumn, SourceFile};
60 assert_impl!(LineColumn is Send and Sync);
70 use proc_macro2::{LineColumn, SourceFile};
96 LineColumn

Completed in 7 milliseconds