GoTo

class GoTo(val index: Int) : EndOfParagraphInstruction

An end of paragraph instruction that shifts paragraphs based on an absolute index.

Constructors

Link copied to clipboard
constructor(index: Int)

Properties

Link copied to clipboard
val index: Int

Functions

Link copied to clipboard
open override fun getIndexOfNext(current: Paragraph, paragraphs: List<Paragraph>): Int

Get the index of the next paragraph from a current paragraph and an array of paragraphs.