mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Kotlin: extract suspend modifier and handle suspend SAM conversions
This commit is contained in:
@@ -67,6 +67,9 @@ abstract class Modifiable extends Element {
|
||||
/** Holds if this element has an `inline` modifier. */
|
||||
predicate isInline() { this.hasModifier("inline") }
|
||||
|
||||
/** Holds if this element has a `suspend` modifier. */
|
||||
predicate isSuspend() { this.hasModifier("suspend") }
|
||||
|
||||
/** Holds if this element has a `volatile` modifier. */
|
||||
predicate isVolatile() { this.hasModifier("volatile") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user