mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Kotlin: Extract parameter modifiers (noinline, crossinline)
This commit is contained in:
@@ -67,6 +67,12 @@ abstract class Modifiable extends Element {
|
||||
/** Holds if this element has an `inline` modifier. */
|
||||
predicate isInline() { this.hasModifier("inline") }
|
||||
|
||||
/** Holds if this element has an `noinline` modifier. */
|
||||
predicate isNoinline() { this.hasModifier("noinline") }
|
||||
|
||||
/** Holds if this element has an `crossinline` modifier. */
|
||||
predicate isCrossinline() { this.hasModifier("crossinline") }
|
||||
|
||||
/** Holds if this element has a `suspend` modifier. */
|
||||
predicate isSuspend() { this.hasModifier("suspend") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user