InlineContext

class InlineContext(val parser: MarkdownParser, val text: String, val offset: Int)

Constructors

Link copied to clipboard
constructor(parser: MarkdownParser, text: String, offset: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val end: Int
Link copied to clipboard
Link copied to clipboard
val offset: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addDelimiter(type: DelimiterType, from: Int, to: Int, open: Boolean, close: Boolean): Int
Link copied to clipboard
Link copied to clipboard
fun char(pos: Int): Int
Link copied to clipboard
fun elt(tree: Tree, at: Int): Element
fun elt(type: String, from: Int, to: Int, children: List<Element>? = null): Element
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun skipSpace(from: Int): Int
Link copied to clipboard
fun slice(from: Int, to: Int): String
Link copied to clipboard
fun takeContent(startIndex: Int): List<Element>