@specs-feup/lara
Version:
A js port of the popular framework for building source-to-source compilers
26 lines • 738 B
JavaScript
/**
* @deprecated Stupid class that is not used anymore.
*/
export default class PassApplyArg {
static PASS_CLASS = new PassApplyArg("PASS_CLASS");
static PASS_INSTANCE = new PassApplyArg("PASS_INSTANCE");
static FUNCTION = new PassApplyArg("FUNCTION");
static ARRAY_ARG = new PassApplyArg("ARRAY_ARG", true);
static OBJECT_ARG = new PassApplyArg("OBJECT_ARG", true);
_name;
_isArg;
constructor(name, isArg = false) {
this._name = name;
this._isArg = isArg !== undefined ? isArg : false;
}
get name() {
return this._name;
}
get isArg() {
return this._isArg;
}
toString() {
return this._name;
}
}
//# sourceMappingURL=PassApplyArg.js.map