mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Kotlin: Add Modifier.isInline()
This commit is contained in:
@@ -58,6 +58,9 @@ abstract class Modifiable extends Element {
|
||||
/** Holds if this element has an `internal` modifier. */
|
||||
predicate isInternal() { this.hasModifier("internal") }
|
||||
|
||||
/** Holds if this element has an `inline` modifier. */
|
||||
predicate isInline() { this.hasModifier("inline") }
|
||||
|
||||
/** Holds if this element has a `volatile` modifier. */
|
||||
predicate isVolatile() { this.hasModifier("volatile") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user