def add_assignment_clause(self, clause):
if not isinstance(clause, AssignmentClause):<EOL><INDENT>raise StatementException("<STR_LIT>")<EOL><DEDENT>clause.set_context_id(self.context_counter)<EOL>self.context_counter += clause.get_context_size()<EOL>self.assignments.append(clause)<EOL>
adds an assignment clause to this statement
:param clause: the clause to add
:type clause: AssignmentClause