UnresolvedTernaryExprSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.UnresolvedTernaryExprSyntax
case class UnresolvedTernaryExprSyntax(json: Value) extends ExprSyntax
Documentation
The middle section of a ternary operator between ?
and :
.
- Note: The parser does not know the precedences of operators and thus represents the middle section of a ternary operator by an
UnresolvedTernaryExprSyntax
. After operator folding using theSwiftOperators
library, this gets translated to anTernaryExprSyntax
.
Children
questionMark
:?
thenExpression
:ExprSyntax
colon
::
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article