[−][src]Struct lib_ruby_parser::nodes::MatchWithLvasgn
Represents matching a regex that produces local variables (i.e. /(?<match>bar)/ =~ 'bar'
)
Each named group in regex declares a local variable.
Fields
re: Box<Node>
Regex that is used for matching
value: Box<Node>
Value that is used for matching
operator_l: Range
Location of the =~
operatir
/(?<match>bar)/ =~ 'bar'
~~
expression_l: Range
Location of the full expression
/(?<match>bar)/ =~ 'bar'
~~~~~~~~~~~~~~~~~~~~~~~~
Trait Implementations
impl Clone for MatchWithLvasgn
[src][+]
impl Debug for MatchWithLvasgn
[src][+]
impl PartialEq<MatchWithLvasgn> for MatchWithLvasgn
[src][+]
impl StructuralPartialEq for MatchWithLvasgn
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MatchWithLvasgn
impl !Send for MatchWithLvasgn
impl !Sync for MatchWithLvasgn
impl Unpin for MatchWithLvasgn
impl UnwindSafe for MatchWithLvasgn
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,