Enum stack_graphs::c::sg_node_kind [−][src]
#[repr(C)]
pub enum sg_node_kind {
SG_NODE_KIND_DROP_SCOPES,
SG_NODE_KIND_EXPORTED_SCOPE,
SG_NODE_KIND_INTERNAL_SCOPE,
SG_NODE_KIND_JUMP_TO,
SG_NODE_KIND_POP_SCOPED_SYMBOL,
SG_NODE_KIND_POP_SYMBOL,
SG_NODE_KIND_PUSH_SCOPED_SYMBOL,
SG_NODE_KIND_PUSH_SYMBOL,
SG_NODE_KIND_ROOT,
}
Expand description
The different kinds of node that can appear in a stack graph.
Variants
Removes everything from the current scope stack.
A node that can be referred to on the scope stack, which allows “jump to” nodes in any other part of the graph can jump back here.
A node internal to a single file. This node has no effect on the symbol or scope stacks; it’s just used to add structure to the graph.
The singleton “jump to” node, which allows a name binding path to jump back to another part of the graph.
Pops a scoped symbol from the symbol stack. If the top of the symbol stack doesn’t match the requested symbol, or if the top of the symbol stack doesn’t have an attached scope list, then the path is not allowed to enter this node.
Pops a symbol from the symbol stack. If the top of the symbol stack doesn’t match the requested symbol, then the path is not allowed to enter this node.
Pushes a scoped symbol onto the symbol stack.
Pushes a symbol onto the symbol stack.
The singleton root node, which allows a name binding path to cross between files.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for sg_node_kind
impl Send for sg_node_kind
impl Sync for sg_node_kind
impl Unpin for sg_node_kind
impl UnwindSafe for sg_node_kind
Blanket Implementations
Mutably borrows from an owned value. Read more