Struct stack_graphs::c::sg_edge [−][src]
#[repr(C)]pub struct sg_edge {
pub source: sg_node_handle,
pub sink: sg_node_handle,
pub precedence: i32,
}
Expand description
Connects two nodes in a stack graph.
These edges provide the basic graph connectivity that allow us to search for name binding paths in a stack graph. (Though not all sequence of edges is a well-formed name binding: the nodes that you encounter along the path must also satisfy all of the rules for maintaining correct symbol and scope stacks.)
Fields
source: sg_node_handle
sink: sg_node_handle
precedence: i32