Struct valkyrie_ast::ProceduralNode
source · pub struct ProceduralNode {
pub kind: AttributeKind,
pub path: NamePathNode,
pub arguments: ArgumentsList,
pub domain: Option<StatementBlock>,
pub span: Range<u32>,
}
Expand description
@module∷name(args) { ... }
Fields§
§kind: AttributeKind
The kind of this attribute.
path: NamePathNode
The names of this attribute.
arguments: ArgumentsList
The arguments of this attribute.
domain: Option<StatementBlock>
The capture of this attribute.
span: Range<u32>
The range of the node
Trait Implementations§
source§impl Clone for ProceduralNode
impl Clone for ProceduralNode
source§fn clone(&self) -> ProceduralNode
fn clone(&self) -> ProceduralNode
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 ProceduralNode
impl Debug for ProceduralNode
source§impl From<ProceduralNode> for AttributeTerm
impl From<ProceduralNode> for AttributeTerm
source§fn from(node: ProceduralNode) -> Self
fn from(node: ProceduralNode) -> Self
Converts to this type from the input type.
source§impl From<ProceduralNode> for ExpressionKind
impl From<ProceduralNode> for ExpressionKind
source§fn from(o: ProceduralNode) -> Self
fn from(o: ProceduralNode) -> Self
Converts to this type from the input type.
source§impl From<ProceduralNode> for FlagTerm
impl From<ProceduralNode> for FlagTerm
source§fn from(o: ProceduralNode) -> Self
fn from(o: ProceduralNode) -> Self
Converts to this type from the input type.
source§impl From<ProceduralNode> for TraitTerm
impl From<ProceduralNode> for TraitTerm
source§fn from(o: ProceduralNode) -> Self
fn from(o: ProceduralNode) -> Self
Converts to this type from the input type.
source§impl From<ProceduralNode> for UnionTerm
impl From<ProceduralNode> for UnionTerm
source§fn from(o: ProceduralNode) -> Self
fn from(o: ProceduralNode) -> Self
Converts to this type from the input type.
source§impl Hash for ProceduralNode
impl Hash for ProceduralNode
source§impl PartialEq for ProceduralNode
impl PartialEq for ProceduralNode
source§fn eq(&self, other: &ProceduralNode) -> bool
fn eq(&self, other: &ProceduralNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValkyrieNode for ProceduralNode
impl ValkyrieNode for ProceduralNode
impl Eq for ProceduralNode
impl StructuralPartialEq for ProceduralNode
Auto Trait Implementations§
impl RefUnwindSafe for ProceduralNode
impl Send for ProceduralNode
impl Sync for ProceduralNode
impl Unpin for ProceduralNode
impl UnwindSafe for ProceduralNode
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