// exception: esrefactor.Context only accepts a syntax tree with range information
context.setCode({ type: 'Program', range: [1, 2, 3]});