Home
last modified time | relevance | path

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

/third_party/rust/crates/proc-macro2/src/
Dlocation.rs8 pub struct LineColumn { struct
17 impl Ord for LineColumn { implementation
25 impl PartialOrd for LineColumn { implementation
Dwrapper.rs3 use crate::location::LineColumn;
471 pub fn start(&self) -> LineColumn { in start() argument
475 let proc_macro::LineColumn { line, column } = s.start(); in start()
476 LineColumn { line, column } in start()
479 Span::Compiler(_) => LineColumn { line: 0, column: 0 }, in start()
485 pub fn end(&self) -> LineColumn { in end() argument
489 let proc_macro::LineColumn { line, column } = s.end(); in end()
490 LineColumn { line, column } in end()
493 Span::Compiler(_) => LineColumn { line: 0, column: 0 }, in end()
Dfallback.rs2 use crate::location::LineColumn;
363 fn offset_line_column(&self, offset: usize) -> LineColumn { in offset_line_column() argument
370 Ok(found) => LineColumn { in offset_line_column()
374 Err(idx) => LineColumn { in offset_line_column()
509 pub fn start(&self) -> LineColumn { in start() argument
518 pub fn end(&self) -> LineColumn { in end() argument
Dlib.rs161 pub use crate::location::LineColumn;
473 pub fn start(&self) -> LineColumn { in start() argument
488 pub fn end(&self) -> LineColumn { in end() argument
/third_party/rust/crates/proc-macro2/tests/
Dmarker.rs58 use proc_macro2::{LineColumn, SourceFile};
60 assert_impl!(LineColumn is Send and Sync);
71 use proc_macro2::{LineColumn, SourceFile};
97 LineColumn