CommonMarkdownConstraints

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard

Return new constraints with a new modifier added or {@code null} if position does not add new modifiers

Link copied to clipboard

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

Link copied to clipboard
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. In fact, means whether there are list markers or not.

Link copied to clipboard
Link copied to clipboard
open override fun startsWith(other: MarkdownConstraints): Boolean

Whether another constraints can "continue" opened blocks corresponding to {@code this} constraints

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