Struct stack_graphs::graph::PushScopedSymbolNode [−][src]
pub struct PushScopedSymbolNode { pub id: NodeID, pub symbol: Handle<Symbol>, pub scope: Handle<Node>, pub is_reference: bool, }
Expand description
Pushes a scoped symbol onto the symbol stack.
Fields
id: NodeID
Expand description
The unique identifier for this node.
symbol: Handle<Symbol>
Expand description
The symbol to push onto the symbol stack.
scope: Handle<Node>
Expand description
The exported scope node that should be attached to the scoped symbol. The Handle
is_reference: bool
Expand description
Whether this node represents a reference in the source language.
Implementations
impl PushScopedSymbolNode
[src]
impl PushScopedSymbolNode
[src]pub fn add_to_graph(self, graph: &mut StackGraph) -> Option<Handle<Node>>
[src]
pub fn add_to_graph(self, graph: &mut StackGraph) -> Option<Handle<Node>>
[src]Adds the node to a stack graph.
pub fn display<'a>(&'a self, graph: &'a StackGraph) -> impl Display + 'a
[src]
Trait Implementations
impl From<PushScopedSymbolNode> for Node
[src]
impl From<PushScopedSymbolNode> for Node
[src]fn from(node: PushScopedSymbolNode) -> Node
[src]
fn from(node: PushScopedSymbolNode) -> Node
[src]Performs the conversion.