CustomSubject

@Serializable
data class CustomSubject(val name: String, val location: SourceLocation? = null) : Subject

Custom or generic subject type for arbitrary rule targets.

Constructors

Link copied to clipboard
constructor(name: String, location: SourceLocation? = null)

Properties

Link copied to clipboard
open override val location: SourceLocation?

Optional source location.

Link copied to clipboard
open override val name: String

Subject display name or pattern.