| 4553 | } |
| 4554 | |
| 4555 | ev(env) { |
| 4556 | if (this._css) {return this._css;} |
| 4557 | |
| 4558 | var thisframe = env.frames.filter(function (f) { |
| 4559 | return f.name === this.name; |
| 4560 | }.bind(this)); |
| 4561 | if (thisframe.length) { |
| 4562 | return thisframe[0].value.ev(env); |
| 4563 | } else { |
| 4564 | env.error({ |
| 4565 | message: 'variable ' + this.name + ' is undefined', |
| 4566 | index: this.index, |
| 4567 | type: 'runtime', |
| 4568 | filename: this.filename |
| 4569 | }); |
| 4570 | return { |
| 4571 | is: 'undefined', |
| 4572 | value: 'undefined' |
| 4573 | }; |
| 4574 | } |
| 4575 | } |
| 4576 | }; |
| 4577 | |
| 4578 | CartoCSS.Tree.Zoom = class Zoom { |