[−][src]Struct deno_lint::js_regex::EcmaRegexValidator
Implementations
impl EcmaRegexValidator
[src]
pub fn new(ecma_version: EcmaVersion) -> Self
[src]
pub fn validate_flags(&self, flags: &str) -> Result<(), String>
[src]
Validates flags of a EcmaScript regular expression.
pub fn validate_pattern(
&mut self,
source: &str,
u_flag: bool
) -> Result<(), String>
[src]
&mut self,
source: &str,
u_flag: bool
) -> Result<(), String>
Validates the pattern of a EcmaScript regular expression.
Trait Implementations
impl Debug for EcmaRegexValidator
[src]
impl Deref for EcmaRegexValidator
[src]
impl DerefMut for EcmaRegexValidator
[src]
Auto Trait Implementations
impl RefUnwindSafe for EcmaRegexValidator
impl Send for EcmaRegexValidator
impl Sync for EcmaRegexValidator
impl Unpin for EcmaRegexValidator
impl UnwindSafe for EcmaRegexValidator
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Node for T where
T: Any + ?Sized,
T: Any + ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,