Struct cpc::parser::AstNode[][src]

pub struct AstNode {
    pub children: Vec<AstNode>,
    pub token: Token,
}

A struct with a Token and AstNode children

Fields

children: Vec<AstNode>

The children of the AstNode

token: Token

The token of the AstNode

Implementations

impl AstNode[src]

pub fn new(token: Token) -> AstNode[src]

Trait Implementations

impl Debug for AstNode[src]

Auto Trait Implementations

impl RefUnwindSafe for AstNode

impl Send for AstNode

impl Sync for AstNode

impl Unpin for AstNode

impl UnwindSafe for AstNode

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.