[][src]Struct rslint_parser::ast::CaseClause

pub struct CaseClause { /* fields omitted */ }

Implementations

impl CaseClause[src]

pub fn case_token(&self) -> Option<SyntaxToken>[src]

pub fn test(&self) -> Option<Expr>[src]

pub fn colon_token(&self) -> Option<SyntaxToken>[src]

pub fn cons(&self) -> AstChildren<Stmt>

Notable traits for AstChildren<N>

impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
[src]

Trait Implementations

impl AstNode for CaseClause[src]

impl Clone for CaseClause[src]

impl Debug for CaseClause[src]

impl Display for CaseClause[src]

impl Eq for CaseClause[src]

impl From<CaseClause> for SwitchCase[src]

impl Hash for CaseClause[src]

impl PartialEq<CaseClause> for CaseClause[src]

impl StructuralEq for CaseClause[src]

impl StructuralPartialEq for CaseClause[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erasable for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.