Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1x 1x 1x 1x 1x 1x 1x 197x 1x 1x 1x 1x 1x 197x 197x 212x 212x 197x 197x 1x | import * as Expressions from "../../2_statements/expressions";
import {ExpressionNode} from "../../nodes";
import {SyntaxInput} from "../_syntax_input";
import {Compare} from "./compare";
export class Cond {
public static runSyntax(node: ExpressionNode, input: SyntaxInput): void {
for (const t of node.findDirectExpressions(Expressions.CondSub)) {
const c = t.findDirectExpression(Expressions.Cond);
if (c) {
Cond.runSyntax(c, input);
}
}
for (const t of node.findDirectExpressions(Expressions.Compare)) {
Compare.runSyntax(t, input);
}
}
} |