<s> from pseudo . middlewares . middleware import Middleware <EOL> from pseudo . pseudo_tree import Node <EOL> class StandardMiddleware ( Middleware ) : <EOL> '''<STR_LIT>''' <EOL> @ classmethod <EOL> def process ( cls , tree ) : <EOL> return cls ( ) . transform ( tree ) <EOL> def transform_r ( self , node , in_block = False , assignment = None ) : <EOL> if node . value . type == '<STR_LIT>' : <EOL> node . value . type = '<STR_LIT>' <EOL> return node . value <EOL> else : <EOL> return node <EOL> transform_explicit_return = transform_implicit_return = transform_r </s>
