Struct stack_graphs::graph::PushSymbolNode [−][src]
Expand description
Pushes a symbol onto the symbol stack.
Fields
id: NodeIDExpand description
The unique identifier for this node.
symbol: Handle<Symbol>Expand description
The symbol to push onto the symbol stack.
is_reference: boolExpand description
Whether this node represents a reference in the source language.
Implementations
impl PushSymbolNode[src]
impl PushSymbolNode[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<PushSymbolNode> for Node[src]
impl From<PushSymbolNode> for Node[src]fn from(node: PushSymbolNode) -> Node[src]
fn from(node: PushSymbolNode) -> Node[src]Performs the conversion.