All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.curs.adocwrapper.block.list.OList.kt Maven / Gradle / Ivy

The newest version!
package ru.curs.adocwrapper.block.list

class OList : AdocList() {
    override fun toString(): String {
        var returnString = ""
        returnString += "\n${getBlockMetaSyntax()}"
        blocks.forEach { listItem ->
            returnString += listItem.toString()
        }
        return returnString
    }

    override fun toHabrMd(): String {
        var returnString = ""
        blocks.forEach { listItem ->
            returnString += listItem.toHabrMd()
        }
        return returnString
    }

    override fun toText(): String {
        var returnString = ""
        blocks.forEach { listItem ->
            returnString += listItem.toText()
        }
        return returnString
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy