public State(int n) { pool = new VariablesPool(n); stack = new EvaluationStack(); visitor = new IntVisitor(this); }
private State(VariablesPool pool, EvaluationStack stack) { this.pool = pool; this.stack = stack; visitor = new IntVisitor(this); }
public State(int n) { pool = new VariablesPool(n); stack = new EvaluationStack(); visitor = new IntVisitor(this); }
private State(VariablesPool pool, EvaluationStack stack) { this.pool = pool; this.stack = stack; visitor = new IntVisitor(this); }