Struct lib_ruby_parser::nodes::Regexp [−][src]
Represents regex literal (e.g. /foo/
)
Fields
parts: List<Node>
A list of static and dynamic regex parts
options: MaybePtr<Node>
Regex options.
None
if regex has no explicit flags
begin_l: LocPtr
Location of the regex begin
/foo/
~
%r{foo}
~~
end_l: LocPtr
Location of the regex end
/foo/
~
%r{foo}
~
expression_l: LocPtr
Location of the full expression
/foo/mix
~~~~~~~~
Trait Implementations
impl Clone for Regexp
[src][+]
impl Debug for Regexp
[src][+]
impl PartialEq<Regexp> for Regexp
[src][+]
impl StructuralPartialEq for Regexp
[src]
Auto Trait Implementations
impl RefUnwindSafe for Regexp
impl Send for Regexp
impl Sync for Regexp
impl Unpin for Regexp
impl UnwindSafe for Regexp
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>,