def p_expression_inlist(self, p):
_LOGGER.debug("<STR_LIT>")<EOL>if self._autodefine_vars:<EOL><INDENT>self._init_vars(TypedList([]), p[<NUM_LIT:3>])<EOL><DEDENT>if p[<NUM_LIT:3>].type != TypedClass.LIST: raise TypeError("<STR_LIT>")<EOL>retval = False<EOL>for v in p[<NUM_LIT:3>].value:<EOL><INDENT>if p[<NUM_LIT:1>] == v:<EOL><INDENT>retval = True<EOL>break<EOL><DEDENT><DEDENT>p[<NUM_LIT:0>] = TypedClass(retval, TypedClass.BOOLEAN)<EOL>
expression    :   expression IN lexp