StacksForbidsTag

class StacksForbidsTag(val arityIndex: AbstractStacksToken, val forbidMethods: MutableList<QuotedStacksToken>) : StacksTag

The "@forbids" tag in an Avail Class comment.

Author

Richard Arriaga

Parameters

arityIndex

The forbids arity index.

forbidMethods

The list of the methods for which the method is "forbidden" to used in conjunction with.

Constructors

Link copied to clipboard
fun StacksForbidsTag(arityIndex: AbstractStacksToken, forbidMethods: MutableList<QuotedStacksToken>)

Construct a new StacksForbidsTag.

Functions

Link copied to clipboard
fun mergeForbidsTag(tag: StacksForbidsTag)

Merge two forbids tags of the same arity

Link copied to clipboard
open override fun toJSON(    linkingFileMap: LinkingFileMap,     hashID: Int,     errorLog: StacksErrorLog,     position: Int,     jsonWriter: JSONWriter)

Create JSON content from implementation.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val arityIndex: AbstractStacksToken

The forbids arity index.

Link copied to clipboard
val forbidMethods: MutableList<QuotedStacksToken>

The list of the methods for which the method is "forbidden" to used in conjunction with.