arrow-ank / arrow.ank / Snippet

Snippet

data class Snippet

Constructors

<init> Snippet(fence: String, lang: String, code: String, result: Option<String> = None, isSilent: Boolean = fence.contains(AnkSilentBlock), isReplace: Boolean = fence.contains(AnkReplaceBlock), isOutFile: Boolean = fence.contains(AnkOutFileBlock), isFail: Boolean = fence.contains(AnkFailBlock), isPlayground: Boolean = fence.contains(AnkPlayground), isPlaygroundExtension: Boolean = fence.contains(AnkPlaygroundExtension))

Properties

code val code: String
fence val fence: String
isFail val isFail: Boolean
isOutFile val isOutFile: Boolean
isPlayground val isPlayground: Boolean
isPlaygroundExtension val isPlaygroundExtension: Boolean
isReplace val isReplace: Boolean
isSilent val isSilent: Boolean
lang val lang: String
result val result: Option<String>