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
SwiftOperatorslibrary. Beforehand, the parser does not know the precedences of operators and thus representsisby anUnresolvedIsExpr.
Children
expression:ExprSyntaxisKeyword:istype:TypeSyntax
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article