pub struct StatementList { /* private fields */ }Expand description
List of statements.
Similar to Node::Block but without the braces.
More information:
Implementations§
Source§impl 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§
Source§impl Clone for StatementList
impl Clone for StatementList
Source§fn clone(&self) -> StatementList
fn clone(&self) -> StatementList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatementList
impl Debug for StatementList
Source§impl Display for StatementList
impl Display for StatementList
Source§impl Drop for StatementList
impl Drop for StatementList
Source§impl Executable for StatementList
impl Executable for StatementList
Source§impl From<StatementList> for RcStatementList
impl From<StatementList> for RcStatementList
Source§fn from(statementlist: StatementList) -> Self
fn from(statementlist: StatementList) -> Self
Converts to this type from the input type.
Source§impl<T> From<T> for StatementList
impl<T> From<T> for StatementList
Source§impl PartialEq for StatementList
impl PartialEq for StatementList
Source§impl Trace for StatementList
impl Trace for StatementList
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for StatementList
Auto Trait Implementations§
impl Freeze for StatementList
impl RefUnwindSafe for StatementList
impl !Send for StatementList
impl !Sync for StatementList
impl Unpin for StatementList
impl UnwindSafe for StatementList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more