fix: no need for return on constructor

This commit is contained in:
Camilo Roca 2020-03-07 13:38:30 +01:00
parent 6ebe0d1317
commit 6a38ae5e3d
1 changed files with 0 additions and 3 deletions

View File

@ -98,7 +98,6 @@ class Predicate extends SemanticContext {
this.ruleIndex = ruleIndex === undefined ? -1 : ruleIndex;
this.predIndex = predIndex === undefined ? -1 : predIndex;
this.isCtxDependent = isCtxDependent === undefined ? false : isCtxDependent; // e.g., $i ref in pred
return this;
}
evaluate(parser, outerContext) {
@ -219,7 +218,6 @@ class AND extends SemanticContext {
operands.add(reduced);
}
this.opnds = operands.values();
return this;
}
equals(other) {
@ -324,7 +322,6 @@ class OR extends SemanticContext {
operands.add(reduced);
}
this.opnds = operands.values();
return this;
}
equals(other) {