Struct lib_ruby_parser::nodes::Undef
source · #[repr(C)]pub struct Undef {
pub names: Vec<Node>,
pub keyword_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents an undef
keyword (e.g. undef foo, :bar
)
Fields§
§names: Vec<Node>
A list of names to undef
keyword_l: Loc
Location the undef
keyword
undef foo, :bar
~~~~~
expression_l: Loc
Location of the full expression
undef :foo, bar
~~~~~~~~~~~~~~~
Trait Implementations§
source§impl PartialEq for Undef
impl PartialEq for Undef
impl StructuralPartialEq for Undef
Auto Trait Implementations§
impl Freeze for Undef
impl RefUnwindSafe for Undef
impl Send for Undef
impl Sync for Undef
impl Unpin for Undef
impl UnwindSafe for Undef
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