[][src]Struct rslint_parser::ast::ArrayExpr

pub struct ArrayExpr { /* fields omitted */ }

Implementations

impl ArrayExpr[src]

pub fn has_trailing_comma(&self) -> bool[src]

pub fn sparse_elements(&self) -> Vec<SyntaxToken>[src]

A list of all sparse elements as a vector of the comma tokens

impl ArrayExpr[src]

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

pub fn elements(&self) -> AstChildren<ExprOrSpread>

Notable traits for AstChildren<N>

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

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

Trait Implementations

impl AstNode for ArrayExpr[src]

impl Clone for ArrayExpr[src]

impl Debug for ArrayExpr[src]

impl Display for ArrayExpr[src]

impl Eq for ArrayExpr[src]

impl From<ArrayExpr> for Expr[src]

impl Hash for ArrayExpr[src]

impl PartialEq<ArrayExpr> for ArrayExpr[src]

impl StructuralEq for ArrayExpr[src]

impl StructuralPartialEq for ArrayExpr[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.