Home | History | Annotate | Download | only in pdt

Lines Matching defs:stack_id

49   // 'child_map_' accessed by stack_id and label. The paren_id is
85 StackId Find(StackId stack_id, Label label) {
87 return stack_id; // Non-paren.
92 return stack_id;
96 StackId &child_id = child_map_[make_pair(stack_id, label)];
99 nodes_.push_back(StackNode(stack_id, paren_id));
104 const StackNode &node = nodes_[stack_id];
113 StackId Pop(StackId stack_id) const {
114 return nodes_[stack_id].parent_id;
117 // Returns the paren ID at the top of the stack for 'stack_id'
118 ssize_t Top(StackId stack_id) const {
119 return nodes_[stack_id].paren_id;
159 StackId stack_id;
162 : state_id(kNoStateId), stack_id(-1) {}
165 : state_id(fs), stack_id(ss) {}
174 return x.state_id == y.state_id && x.stack_id == y.stack_id;
183 return tuple.state_id + tuple.stack_id * kPrime;