Lines Matching defs:scan
231 fun scan'(state,nil,pos,result) =
235 | scan'(state,rhs as sym::rest,pos,result) =
236 scan'(shift(state,sym), rest, pos+1,
242 x is not epsilon, or A -> x. use scan' to pick up all refs after this
245 fun scan(state,nil,_) =
247 | scan(state,rhs,0) = scan'(state,rhs,pos,nil)
248 | scan(state,sym::rest,place) =
249 scan(shift(state,sym),rest,place-1)
251 in scan(shift(state,sym),rest,pos-1)
481 (* used to scan the item list of a TMPCORE and remove the items not