Info

data class Info(val tokenType: IElementType, val position: Int, val length: Int = 0, var canOpen: Boolean, var canClose: Boolean, var marker: Char, var closerIndex: Int = -1)

Constructors

Link copied to clipboard
constructor(tokenType: IElementType, position: Int, length: Int = 0, canOpen: Boolean, canClose: Boolean, marker: Char, closerIndex: Int = -1)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Index of the closing delimiter for the current one. If it is less than 0, current delimiter does not have a matching closer.

Link copied to clipboard
val length: Int = 0

Represents the length of the current delimiter run and will be used to check 9 and 10 rules (rule of 3) for emphasises on the delimiter balancing phase (will be skipped if equals to 0).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard