Class TernaryOperatorNode
java.lang.Object
com.github._1c_syntax.bsl.languageserver.utils.expressiontree.BslExpression
com.github._1c_syntax.bsl.languageserver.utils.expressiontree.TernaryOperatorNode
Ветка тернарного оператора
-
Constructor Summary
ModifierConstructorDescriptionprotected
TernaryOperatorNode
(BslExpression condition, BslExpression truePart, BslExpression falsePart) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static TernaryOperatorNode
create
(BslExpression condition, BslExpression truePart, BslExpression falsePart) boolean
int
hashCode()
toString()
Methods inherited from class com.github._1c_syntax.bsl.languageserver.utils.expressiontree.BslExpression
cast, getNodeType, getRepresentingAst, setRepresentingAst
-
Constructor Details
-
TernaryOperatorNode
protected TernaryOperatorNode(BslExpression condition, BslExpression truePart, BslExpression falsePart)
-
-
Method Details
-
create
public static TernaryOperatorNode create(BslExpression condition, BslExpression truePart, BslExpression falsePart) -
getCondition
-
getTruePart
-
getFalsePart
-
equals
- Overrides:
equals
in classBslExpression
-
canEqual
- Overrides:
canEqual
in classBslExpression
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBslExpression
-
toString
- Overrides:
toString
in classBslExpression
-