MCPcopy Index your code
hub / github.com/microsoft/SandDance / runGroup

Method runGroup

docs/app/js/sanddance-app.js:6315–6329  ·  view source on GitHub ↗
(datum, group)

Source from the content-addressed store, hash-verified

6313 } else return this.runExpressionOnColumn(datum, ex);
6314 }
6315 runGroup(datum, group) {
6316 let accumulator = this.runExpression(datum, group.expressions[0]);
6317 for(let i = 1; i < group.expressions.length; i++){
6318 let ex = group.expressions[i];
6319 switch(ex.clause){
6320 case "&&":
6321 accumulator = accumulator && this.runExpression(datum, ex);
6322 break;
6323 case "||":
6324 accumulator = accumulator || this.runExpression(datum, ex);
6325 break;
6326 }
6327 }
6328 return accumulator;
6329 }
6330 run(datum) {
6331 let accumulator = this.runGroup(datum, this.groups[0]);
6332 for(let i = 1; i < this.groups.length; i++){

Callers 2

runExpressionMethod · 0.95
runMethod · 0.95

Calls 1

runExpressionMethod · 0.95

Tested by

no test coverage detected