#NEWLINE# def parse( self ) : #NEWLINE# #INDENT# if self . at_end ( ) : #NEWLINE# #INDENT# raise self . error_class ( 'No variables provided.' ) #NEWLINE# #UNINDENT# var1 = self . get_bool_var ( ) #NEWLINE# while ( not self . at_end ( ) ) : #NEWLINE# #INDENT# ( op , negate ) = self . get_operator ( ) #NEWLINE# var2 = self . get_bool_var ( ) #NEWLINE# var1 = op ( var1 , var2 , negate = negate ) #NEWLINE# #UNINDENT# return var1