Skip to content

Commit 7473b1f

Browse files
committed
Revert "sq fixes"
This reverts commit 6cdd219.
1 parent 90c05da commit 7473b1f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/expressiontree/TernaryOperatorNode.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,16 @@
3434
@EqualsAndHashCode(callSuper = true)
3535
@ToString(callSuper = true)
3636
public class TernaryOperatorNode extends BslExpression {
37+
3738
BslExpression condition;
3839
BslExpression truePart;
3940
BslExpression falsePart;
41+
42+
private TernaryOperatorNode(BslExpression condition, BslExpression truePart, BslExpression falsePart) {
43+
super(ExpressionNodeType.TERNARY_OP);
44+
this.condition = condition;
45+
this.truePart = truePart;
46+
this.falsePart = falsePart;
47+
}
48+
4049
}

0 commit comments

Comments
 (0)