CodeQL library for Swift
codeql/swift-all 2.0.4-dev (changelog, source)
Search

Class Raw::ObjectLiteralExpr

INTERNAL: Do not use. An instance of #fileLiteral, #imageLiteral or #colorLiteral expressions, which are used in playgrounds.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getArgument

Gets the indexth argument of this object literal expression (0-based).

getKind

Gets the kind of this object literal expression.

toString

Inherited predicates

getLocation

Gets the location associated with this element in the code, if it exists.

from Locatable
getType

Gets the type of this expression, if it exists.

from Expr
isUnknown

Holds if this element is unknown.

from Element