pub struct PPToken {
pub kind: TokenKind,
pub column: i32,
pub line: i32,
pub line_string: String,
pub filename: PathBuf,
}
Expand description
Adds filename info to scanner-token, since scanner doesn’t have that information
Fields§
§kind: TokenKind
§column: i32
§line: i32
§line_string: String
§filename: PathBuf
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PPToken
impl RefUnwindSafe for PPToken
impl Send for PPToken
impl Sync for PPToken
impl Unpin for PPToken
impl UnwindSafe for PPToken
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more