Struct parse_js::update::NodeUpdates
source · pub struct NodeUpdates { /* private fields */ }
Implementations
sourceimpl NodeUpdates
impl NodeUpdates
pub fn new(node_map: &NodeMap) -> NodeUpdates
pub fn replace_node(
&mut self,
node_id: NodeId,
scope: ScopeId,
loc: SourceRange,
stx: Syntax
)
pub fn create_node(
&mut self,
scope: ScopeId,
loc: SourceRange,
stx: Syntax
) -> NodeId
pub fn apply_updates(self, node_map: &mut NodeMap)
Auto Trait Implementations
impl RefUnwindSafe for NodeUpdates
impl !Send for NodeUpdates
impl !Sync for NodeUpdates
impl Unpin for NodeUpdates
impl UnwindSafe for NodeUpdates
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