Struct adapton::reflect::DCG
[−]
[src]
pub struct DCG { pub table: HashMap<Loc, Node>, pub stack: Vec<Frame>, pub path: Vec<Name>, }
Reflected version of engine::DCG
.
Fields
table: HashMap<Loc, Node>
The current memo table, mapping Loc
s to Node
s.
stack: Vec<Frame>
A stack of Frame
s, which store the currently-executing nodes, and their outgoing edges thus far.
path: Vec<Name>
A list of Name
s, which is extended for nested regions of code
by the ns
(namespace) combinator. This path variable
determines the path for each allocated Loc
.
Trait Implementations
impl Debug for DCG
[src]
impl Clone for DCG
[src]
fn clone(&self) -> DCG
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more