CommonMarkdownConstraints

open class CommonMarkdownConstraints : MarkdownConstraints

Types

Companion
Link copied to clipboard
common
object Companion

Functions

addModifierIfNeeded
Link copied to clipboard
common
open override fun addModifierIfNeeded(pos: LookaheadText.Position?): CommonMarkdownConstraints?
Return new constraints with a new modifier added or {@code null} if position does not add new modifiers
applyToNextLine
Link copied to clipboard
common
open override fun applyToNextLine(pos: LookaheadText.Position?): CommonMarkdownConstraints
Returns a constraints for the next line (at given pos) by continuing as much as possible from {@code this} constraints without adding any new modifiers
containsListMarkers
Link copied to clipboard
common
open override fun containsListMarkers(upToIndex: Int): Boolean
Leaking abstraction: whether there are "breaking" modifiers which do not continue other constraints even if all types and indents are correct.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
startsWith
Link copied to clipboard
common
open override fun startsWith(other: MarkdownConstraints): Boolean
Whether another constraints can "continue" opened blocks corresponding to {@code this} constraints
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

charsEaten
Link copied to clipboard
common
open override val charsEaten: Int
indent
Link copied to clipboard
common
open override val indent: Int
isExplicit
Link copied to clipboard
common
open override val isExplicit: BooleanArray
types
Link copied to clipboard
common
open override val types: CharArray

Inheritors

GFMConstraints
Link copied to clipboard