color-math
Version:
expressions to manipulate colors
17 lines (13 loc) • 327 B
JavaScript
import Expr from './Expr'
export default class ParamExpr extends Expr {
constructor($type, obj, name, value, operator, $loc) {
super($type, $loc)
this.obj = obj
this.name = name
this.value = value
this.operator = operator
}
_evaluateInternal(e) {
return e.evalParam(this)
}
}