(self, rbp=0)
return left
Parses an expression
Parses an expression
Parses an expression
def expression(self, rbp=0):
        """Parses an expression"""
        t = self.token
        self.token = next(self.tokenizer)
        left = t.nud(self)
        while rbp < self.token.lbp:
            t = self.token
            self.token = next(self.tokenizer)
            left = t.led(self, left)
        return left
def expression ( self , rbp = 0 ) : t = self . token self . token = next ( self . tokenizer ) left = t . nud ( self ) while rbp < self . token . lbp : t = self . token self . token = next ( self . tokenizer ) left = t . led ( self , left ) return left