Initialization
Manipulation
Stack inspection
find_marker return the first frame that might be unsafe for the parser
find_marker
has_marker ?diff t f returns true iff f is still in t stack. If provided, diff is used to speed-up the search (amortized constant time), assuming that diff is the same parser as t with one more or one less token fed.
has_marker ?diff t f
diff
t
Raise Not_found if no frame match
Not_found