mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
Merge pull request #10677 from tamasvajk/kotlin-param-modifiers
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