def p_term_var(self, p):
_LOGGER.debug("<STR_LIT>")<EOL>if p[<NUM_LIT:1>] not in self._VAR_VALUES:<EOL><INDENT>if self._autodefine_vars:<EOL><INDENT>self._VAR_VALUES[p[<NUM_LIT:1>]] = TypedClass(None, TypedClass.UNKNOWN)<EOL><DEDENT><DEDENT>if p[<NUM_LIT:1>] in self._VAR_VALUES:<EOL><INDENT>_LOGGER.debug("<STR_LIT>")<EOL>p[<NUM_LIT:0>] = self._VAR_VALUES[p[<NUM_LIT:1>]]<EOL><DEDENT>else:<EOL><INDENT>raise UndefinedVar()<EOL><DEDENT>
term   :    VAR