Struct darklua_core::nodes::Token [−][src]
pub struct Token { /* fields omitted */ }
Implementations
Creates a token where the position refers to the original code where the token was parsed with the line number where it starts.
Creates a new token that is not contrained to any existing position.
Creates a new token from a position.
pub fn replace_with_content<IntoCowStr: Into<Cow<'static, str>>>(
&mut self,
content: IntoCowStr
)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more