(id: string, e,a,v,node?,scopes?)
| 131 | scopes: string[]; |
| 132 | |
| 133 | constructor(id: string, e,a,v,node?,scopes?) { |
| 134 | this.id = id; |
| 135 | this.resolved = []; |
| 136 | this.eav = [e,a,v,node]; |
| 137 | this.e = e; |
| 138 | this.a = a; |
| 139 | this.v = v; |
| 140 | this.node = node; |
| 141 | this.proposalObject = {providing: null, index: [], cardinality: 0}; |
| 142 | this.scopes = scopes || ["session"]; |
| 143 | |
| 144 | // check if any of the supplied params are variables and store them |
| 145 | this.vars = []; |
| 146 | for(let register of this.eav) { |
| 147 | if(isVariable(register)) { |
| 148 | this.vars[register.id] = register; |
| 149 | } |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | // Return an array of the current values for all the registers |
| 154 | resolve(prefix) { |
nothing calls this directly
no test coverage detected