class Raabro::Tree
def lookup_all_error
consuming all the input)
words lookup the point up until which the parser stopped (not
Not "lookup all errors" but "lookup all error", in other
def lookup_all_error nt "lae(): "; Raabro.pp(self, colors: true) @children.each { |c| return [ c, nil ] if c.result == 0 } @children.reverse.each { |c| es = c.lookup_all_error; return es if es } nil end