File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
ql/lib/codeql/swift/generated/expr Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ import codeql.swift.elements.expr.LiteralExpr
6
6
7
7
module Generated {
8
8
/**
9
- * `#fileLiteral`, `#imageLiteral` and `#colorLiteral` expressions, which are used in playgrounds.
9
+ * An instance of `#fileLiteral`, `#imageLiteral` or `#colorLiteral` expressions, which are used in playgrounds.
10
10
*/
11
11
class ObjectLiteralExpr extends Synth:: TObjectLiteralExpr , LiteralExpr {
12
12
override string getAPrimaryQlClass ( ) { result = "ObjectLiteralExpr" }
13
13
14
14
/**
15
- * Gets the
16
- * This is 0 for `#fileLiteral`, 1 for `#imageLiteral` and 2 for `#colorLiteral`.
17
- * .
15
+ * Gets the kind of this object literal expression.
16
+ *
17
+ * This is 0 for `#fileLiteral`, 1 for `#imageLiteral` and 2 for `#colorLiteral` .
18
18
*/
19
19
int getKind ( ) {
20
20
result = Synth:: convertObjectLiteralExprToRaw ( this ) .( Raw:: ObjectLiteralExpr ) .getKind ( )
Original file line number Diff line number Diff line change @@ -578,11 +578,9 @@ class NilLiteralExpr(LiteralExpr):
578
578
579
579
class ObjectLiteralExpr (LiteralExpr ):
580
580
"""
581
- `#fileLiteral`, `#imageLiteral` and `#colorLiteral` expressions, which are used in playgrounds.
581
+ An instance of `#fileLiteral`, `#imageLiteral` or `#colorLiteral` expressions, which are used in playgrounds.
582
582
"""
583
- kind : int | doc ("""
584
- This is 0 for `#fileLiteral`, 1 for `#imageLiteral` and 2 for `#colorLiteral`.
585
- """ )
583
+ kind : int | desc ("""This is 0 for `#fileLiteral`, 1 for `#imageLiteral` and 2 for `#colorLiteral`.""" )
586
584
arguments : list [Argument ] | child
587
585
588
586
class OptionalTryExpr (AnyTryExpr ):
You can’t perform that action at this time.
0 commit comments