Struct boa::syntax::ast::node::statement_list::StatementList
source · [−]pub struct StatementList { /* private fields */ }
Expand description
List of statements.
Similar to Node::Block
but without the braces.
More information:
Implementations
sourceimpl StatementList
impl StatementList
sourcepub fn set_strict(&mut self, strict: bool)
pub fn set_strict(&mut self, strict: bool)
Set the strict mode.
pub fn lexically_declared_names(&self) -> HashSet<&str>
pub fn function_declared_names(&self) -> HashSet<&str>
pub fn var_declared_names(&self) -> HashSet<&str>
Trait Implementations
sourceimpl Clone for StatementList
impl Clone for StatementList
sourcefn clone(&self) -> StatementList
fn clone(&self) -> StatementList
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StatementList
impl Debug for StatementList
sourceimpl Display for StatementList
impl Display for StatementList
sourceimpl Drop for StatementList
impl Drop for StatementList
sourceimpl Executable for StatementList
impl Executable for StatementList
sourceimpl Finalize for StatementList
impl Finalize for StatementList
sourceimpl From<StatementList> for RcStatementList
impl From<StatementList> for RcStatementList
sourcefn from(statementlist: StatementList) -> Self
fn from(statementlist: StatementList) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<StatementList> for StatementList
impl PartialEq<StatementList> for StatementList
sourcefn eq(&self, other: &StatementList) -> bool
fn eq(&self, other: &StatementList) -> bool
sourceimpl Trace for StatementList
impl Trace for StatementList
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for StatementList
Auto Trait Implementations
impl RefUnwindSafe for StatementList
impl !Send for StatementList
impl !Sync for StatementList
impl Unpin for StatementList
impl UnwindSafe for StatementList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more