IsExprSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.IsExprSyntax
case class IsExprSyntax(json: Value) extends ExprSyntax
Documentation
Checks if an expression is of a given type.
An example of an is
expression is
value is Double
- Note: This node is only generated after operators are folded using the
SwiftOperators
library. Beforehand, the parser does not know the precedences of operators and thus representsis
by anUnresolvedIsExpr
.
Children
expression
:ExprSyntax
isKeyword
:is
type
:TypeSyntax
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article