def p_media_query_value(self, p):
if utility.is_variable(p[<NUM_LIT:1>]):<EOL><INDENT>var = self.scope.variables('<STR_LIT>'.join(p[<NUM_LIT:1>]))<EOL>if var:<EOL><INDENT>value = var.value[<NUM_LIT:0>]<EOL>if hasattr(value, '<STR_LIT>'):<EOL><INDENT>p[<NUM_LIT:1>] = value.parse(self.scope)<EOL><DEDENT>else:<EOL><INDENT>p[<NUM_LIT:1>] = value<EOL><DEDENT><DEDENT><DEDENT>if isinstance(p[<NUM_LIT:1>], Expression):<EOL><INDENT>p[<NUM_LIT:0>] = p[<NUM_LIT:1>].parse(self.scope)<EOL><DEDENT>else:<EOL><INDENT>p[<NUM_LIT:0>] = p[<NUM_LIT:1>]<EOL><DEDENT>
media_query_value           : number
                                        | variable
                                        | word
                                        | color
                                        | expression