blob: d235676e0c1b68eff082f770eda4dd2d6f80dc30 [file] [log] [blame]
import { newEnforcer } from './enforcer';
export class EnforceContext {
public pType: string;
public rType: string;
public eType: string;
public mType: string;
constructor(rType: string, pType: string, eType: string, mType: string) {
this.pType = pType;
this.eType = eType;
this.mType = mType;
this.rType = rType;
}
}
export class NewEnforceContext {
constructor(index: string) {
return new EnforceContext('r' + index, 'p' + index, 'e' + index, 'm' + index);
}
}