[][src]Struct binjs::specialized::es6::ast::Script

pub struct Script {
    pub scope: AssertedScriptGlobalScope,
    pub directives: Vec<Directive>,
    pub statements: Vec<Statement>,
}

Implementation of interface Script.

Fields

scope: AssertedScriptGlobalScopedirectives: Vec<Directive>statements: Vec<Statement>

Trait Implementations

impl Clone for Script[src]

impl Debug for Script[src]

impl Default for Script[src]

impl<R> Deserialization<Script> for Deserializer<R> where
    R: TokenReader
[src]

impl<'de> Deserialize<'de> for Script[src]

impl<'a> From<&'a mut Script> for ViewMutScript<'a>[src]

impl From<Script> for Program[src]

impl<R> InnerDeserialization<Script> for Deserializer<R> where
    R: TokenReader
[src]

impl Node for Script[src]

Make it possible to downcast/upcast between Script and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src]

The name of this node. Used mostly for debugging purposes.

impl PartialEq<Script> for Script[src]

impl<W> Serialization<Script> for Serializer<W> where
    W: TokenWriter
[src]

impl Serialize for Script[src]

impl SourceParser<Script> for Shift[src]

type Error = Error

fn parse_file<P: AsRef<Path>>(&self, path: P) -> Result<AST, Error>[src]

Parse a text source file, using Shift.

impl StructuralPartialEq for Script[src]

impl<'a> Walker<'a> for Script[src]

type Output = Script

Auto Trait Implementations

impl !RefUnwindSafe for Script

impl !Send for Script

impl !Sync for Script

impl Unpin for Script

impl UnwindSafe for Script

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]