def accept_operator(self, precedence):
match = grammar.infix(self.tokens)<EOL>if not match:<EOL><INDENT>return<EOL><DEDENT>if match.operator.precedence < precedence:<EOL><INDENT>return<EOL><DEDENT>return self.tokens.accept(grammar.infix)<EOL>
Accept the next binary operator only if it's of higher precedence.