pub enum NodeRemoteFetchStatement {
ReadStateMutable(WithMetaData<String>, WithMetaData<String>, WithMetaData<NodeVariableIdentifier>),
ReadStateMutableSpecialId(WithMetaData<String>, WithMetaData<String>, WithMetaData<String>),
ReadStateMutableMapAccess(WithMetaData<String>, WithMetaData<String>, WithMetaData<String>, Vec<WithMetaData<NodeMapAccess>>),
ReadStateMutableMapAccessExists(WithMetaData<String>, WithMetaData<String>, WithMetaData<String>, Vec<WithMetaData<NodeMapAccess>>),
ReadStateMutableCastAddress(WithMetaData<String>, WithMetaData<NodeVariableIdentifier>, WithMetaData<NodeAddressType>),
}
Expand description
NodeRemoteFetchStatement represents a remote fetch statement node in the AST It can be one of many different types of remote fetch statements
Variants§
ReadStateMutable(WithMetaData<String>, WithMetaData<String>, WithMetaData<NodeVariableIdentifier>)
Represents a read state mutable statement
Example: read x from state;
ReadStateMutableSpecialId(WithMetaData<String>, WithMetaData<String>, WithMetaData<String>)
Represents a read state mutable special id statement
Example: read x from state with id;
ReadStateMutableMapAccess(WithMetaData<String>, WithMetaData<String>, WithMetaData<String>, Vec<WithMetaData<NodeMapAccess>>)
Represents a read state mutable map access statement
Example: read x from state with map access;
ReadStateMutableMapAccessExists(WithMetaData<String>, WithMetaData<String>, WithMetaData<String>, Vec<WithMetaData<NodeMapAccess>>)
Represents a read state mutable map access exists statement
Example: read x from state with map access if exists;
ReadStateMutableCastAddress(WithMetaData<String>, WithMetaData<NodeVariableIdentifier>, WithMetaData<NodeAddressType>)
Represents a read state mutable cast address statement
Example: read x from state with cast address;
Trait Implementations§
Source§impl AstVisitor for NodeRemoteFetchStatement
impl AstVisitor for NodeRemoteFetchStatement
fn visit( &self, emitter: &mut dyn AstConverting, ) -> Result<TraversalResult, String>
Source§impl Clone for NodeRemoteFetchStatement
impl Clone for NodeRemoteFetchStatement
Source§fn clone(&self) -> NodeRemoteFetchStatement
fn clone(&self) -> NodeRemoteFetchStatement
Returns a copy 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 NodeRemoteFetchStatement
impl Debug for NodeRemoteFetchStatement
Source§impl PartialEq for NodeRemoteFetchStatement
impl PartialEq for NodeRemoteFetchStatement
Source§impl PartialOrd for NodeRemoteFetchStatement
impl PartialOrd for NodeRemoteFetchStatement
impl Eq for NodeRemoteFetchStatement
impl StructuralPartialEq for NodeRemoteFetchStatement
Auto Trait Implementations§
impl Freeze for NodeRemoteFetchStatement
impl RefUnwindSafe for NodeRemoteFetchStatement
impl Send for NodeRemoteFetchStatement
impl Sync for NodeRemoteFetchStatement
impl Unpin for NodeRemoteFetchStatement
impl UnwindSafe for NodeRemoteFetchStatement
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