Kotlin: Add Modifier.isInline()

This commit is contained in:
Ian Lynagh
2022-06-27 19:33:08 +01:00
parent af672b4899
commit 44e69e1c09

View File

@@ -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") }