add with statement into grammar/Object