// This file is automatically generated by DemeterJ. CopyVisitor { {{ private java.util.Stack history = new java.util.Stack(); public CopyVisitor(Class firstClass) { try { history.push(firstClass.newInstance()); } catch(Exception e) { e.printStackTrace(); } } }} get copy {{ return history.peek(); }} return Object {{ get_copy() }} before -> CSP, comments, Comment_List {{ CSP it = (CSP) history.peek(); Comment_List p = new Comment_List(); it.set_comments(p); history.push(p); }} after -> CSP, comments, Comment_List {{ history.pop(); }} before -> CSP, preamble, Preamble {{ CSP it = (CSP) history.peek(); Preamble p = new Preamble(); it.set_preamble(p); history.push(p); }} after -> CSP, preamble, Preamble {{ history.pop(); }} before -> CSP, constraints, Constraint_List {{ CSP it = (CSP) history.peek(); Constraint_List p = new Constraint_List(); it.set_constraints(p); history.push(p); }} after -> CSP, constraints, Constraint_List {{ history.pop(); }} before -> Comment, comment, Line {{ Comment it = (Comment) history.peek(); it.set_comment(dest); }} before -> Preamble, numVariables, int {{ Preamble it = (Preamble) history.peek(); it.set_numVariables(dest); }} before -> Preamble, numConstraints, int {{ Preamble it = (Preamble) history.peek(); it.set_numConstraints(dest); }} before -> Preamble, rank, Rank {{ Preamble it = (Preamble) history.peek(); Rank p = new Rank(); it.set_rank(p); history.push(p); }} after -> Preamble, rank, Rank {{ history.pop(); }} before -> Constraint, relation, Relation {{ Constraint it = (Constraint) history.peek(); Relation p = new Relation(); it.set_relation(p); history.push(p); }} after -> Constraint, relation, Relation {{ history.pop(); }} before -> Constraint, weight, Weight {{ Constraint it = (Constraint) history.peek(); Weight p = new Weight(); it.set_weight(p); history.push(p); }} after -> Constraint, weight, Weight {{ history.pop(); }} before -> Constraint, variable_list, Variable_List {{ Constraint it = (Constraint) history.peek(); Variable_List p = new Variable_List(); it.set_variable_list(p); history.push(p); }} after -> Constraint, variable_list, Variable_List {{ history.pop(); }} before -> Relation, relationNumber, int {{ Relation it = (Relation) history.peek(); it.set_relationNumber(dest); }} before -> Weight, v, int {{ Weight it = (Weight) history.peek(); it.set_v(dest); }} before -> Variable, v, int {{ Variable it = (Variable) history.peek(); it.set_v(dest); }} before -> Rank, v, int {{ Rank it = (Rank) history.peek(); it.set_v(dest); }} before -> PrintVisitor, indent, int {{ PrintVisitor it = (PrintVisitor) history.peek(); it.set_indent(dest); }} before -> PrintVisitor, needSpace, boolean {{ PrintVisitor it = (PrintVisitor) history.peek(); it.set_needSpace(dest); }} before -> SubgraphVisitor, is_equal, boolean {{ SubgraphVisitor it = (SubgraphVisitor) history.peek(); it.set_is_equal(dest); }} before -> EqualVisitor, is_equal, boolean {{ EqualVisitor it = (EqualVisitor) history.peek(); it.set_is_equal(dest); }} before -> DisplayVisitor, indent, int {{ DisplayVisitor it = (DisplayVisitor) history.peek(); it.set_indent(dest); }} before -> TraceVisitor, indent, int {{ TraceVisitor it = (TraceVisitor) history.peek(); it.set_indent(dest); }} before -> Comment_List, first, Nonempty_Comment_List {{ Comment_List it = (Comment_List) history.peek(); Nonempty_Comment_List p = new Nonempty_Comment_List(); it.set_first(p); history.push(p); }} after -> Comment_List, first, Nonempty_Comment_List {{ history.pop(); }} before -> Constraint_List, first, Nonempty_Constraint_List {{ Constraint_List it = (Constraint_List) history.peek(); Nonempty_Constraint_List p = new Nonempty_Constraint_List(); it.set_first(p); history.push(p); }} after -> Constraint_List, first, Nonempty_Constraint_List {{ history.pop(); }} before -> Variable_List, first, Nonempty_Variable_List {{ Variable_List it = (Variable_List) history.peek(); Nonempty_Variable_List p = new Nonempty_Variable_List(); it.set_first(p); history.push(p); }} after -> Variable_List, first, Nonempty_Variable_List {{ history.pop(); }} before -> Nonempty_Comment_List, it, Comment {{ Nonempty_Comment_List it = (Nonempty_Comment_List) history.peek(); Comment p = new Comment(); it.set_it(p); history.push(p); }} after -> Nonempty_Comment_List, it, Comment {{ history.pop(); }} before -> Nonempty_Comment_List, next, Nonempty_Comment_List {{ Nonempty_Comment_List it = (Nonempty_Comment_List) history.peek(); Nonempty_Comment_List p = new Nonempty_Comment_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Comment_List, next, Nonempty_Comment_List {{ history.pop(); }} before -> Nonempty_Constraint_List, it, Constraint {{ Nonempty_Constraint_List it = (Nonempty_Constraint_List) history.peek(); Constraint p = new Constraint(); it.set_it(p); history.push(p); }} after -> Nonempty_Constraint_List, it, Constraint {{ history.pop(); }} before -> Nonempty_Constraint_List, next, Nonempty_Constraint_List {{ Nonempty_Constraint_List it = (Nonempty_Constraint_List) history.peek(); Nonempty_Constraint_List p = new Nonempty_Constraint_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Constraint_List, next, Nonempty_Constraint_List {{ history.pop(); }} before -> Nonempty_Variable_List, it, Variable {{ Nonempty_Variable_List it = (Nonempty_Variable_List) history.peek(); Variable p = new Variable(); it.set_it(p); history.push(p); }} after -> Nonempty_Variable_List, it, Variable {{ history.pop(); }} before -> Nonempty_Variable_List, next, Nonempty_Variable_List {{ Nonempty_Variable_List it = (Nonempty_Variable_List) history.peek(); Nonempty_Variable_List p = new Nonempty_Variable_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Variable_List, next, Nonempty_Variable_List {{ history.pop(); }} }