src/pd2norg

Search:
Group by:
Source   Edit  

Procs

func `+`(self, o: Coord): auto {....raises: [], tags: [], forbids: [].}
Source   Edit  
func `==`(self, o: Coord): auto {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc attachAttr(s: string; attr: PDAttr; global: bool = true): string {.
    ...raises: [ValueError], tags: [], forbids: [].}
Source   Edit  
proc bootstrapCell(self: Cell): string {....raises: [ValueError, KeyError],
    tags: [], forbids: [].}
Source   Edit  
func c(row, col: int): Coord {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc calcTableCellName(coord: Coord): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc calcTableColumnName(num: int): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
func chainReplace(s: string; replaces: openArray[ReplacePair]): auto {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc compileDefinition(item: (seq[PDInline], seq[seq[PDBlock]]); indent: int = 0): string {.
    ...raises: [Exception, ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc detectObsidianTags(strBlock: var string): seq[string] {.
    ...raises: [ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc escapeBar(text: string): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
func escapeSpaces(s: string): auto {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc fillTable(rows: seq[PDRow]; colCount: int; startRow: int = 0): seq[Cell] {.
    ...raises: [KeyError, Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
func filterJoin(self: openArray[string]; sep: string = "\n"): auto {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc getFirstEmpty(self: CellManager; coord: Coord): auto {....raises: [KeyError],
    tags: [], forbids: [].}
Source   Edit  
proc getValue(self: CellManager; coord: Coord): auto {....raises: [KeyError],
    tags: [], forbids: [].}
Source   Edit  
func iterEnum[T](arr: openArray[T]): seq[(int, T)]
Source   Edit  
func joinWithNewline(strs: varargs[string, `$`]): auto {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
func linkMaybeMergeable(tag: string; target: string): (bool, string) {.
    ...raises: [ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
func lstrip(s: string; chars: set[char] = Whitespace): auto {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc mergeObsidianTags(strBlock: var string): seq[string] {.
    ...raises: [ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc occupyCells(self: CellManager; start: Coord; useRows, useCols: int) {.
    ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit  
proc parseHTML(s: string): string {....raises: [KeyError, ValueError],
                                    tags: [RootEffect], forbids: [].}
Source   Edit  
proc parseTableAlignment(alignment: PDAlignment; col: int = -1;
                         global: bool = false): string {.
    ...raises: [ValueError, KeyError], tags: [], forbids: [].}
Source   Edit  
proc parseTableBody(self: PDTableBody; colCount: int; startRow: int): string {.
    ...raises: [ValueError, KeyError, Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc parseTableCell(self: PDCell; useCoord: Coord): (Cell, int, int) {.
    ...raises: [Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc rawEmbed(s: string; lang: string): string {....raises: [ValueError], tags: [],
    forbids: [].}
Source   Edit  
func rstrip(s: string; chars: set[char] = Whitespace): auto {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc setValue(self: CellManager; coord: Coord; value: bool) {.
    ...raises: [KeyError], tags: [], forbids: [].}
Source   Edit  
func shiftSlice[T](self: Slice[T]; shift: T): auto
Source   Edit  
proc toStr(self: PDBlock; indent: int = 0): string {.
    ...raises: [CatchableError, ValueError, KeyError, Exception, OSError],
    tags: [RootEffect, ReadDirEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockBlockQuote; indent: int = 0): string {.
    ...raises: [Exception, ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockBulletList; indent: int = 0): string {.
    ...raises: [Exception, ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockCodeBlock; indent: int = 0): string {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockDefinitionList; indent: int = 0): string {.
    ...raises: [Exception, ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockDiv; indent: int = 0): string {.
    ...raises: [ValueError, Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockFigure; indent: int = 0): string {.
    ...raises: [ValueError, Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockHeader; indent: int = 0): string {.
    ...raises: [CatchableError, ValueError, KeyError, Exception],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockHorizontalRule; indent: int = 0): string {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockLineBlock; indent: int = 0): string {.
    ...raises: [Exception, ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockOrderedList; indent: int = 0): string {.
    ...raises: [Exception, ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockPlain; indent: int = 0): string {.
    ...raises: [CatchableError, ValueError, KeyError, Exception, OSError],
    tags: [RootEffect, ReadDirEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockRawBlock; indent: int = 0): string {.
    ...raises: [KeyError, ValueError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDBlockTable; indent: int = 0): string {.
    ...raises: [Exception, ValueError, KeyError], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDCaption; indent: int = 0): string {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDCitation): string {....raises: [Exception, ValueError],
                                       tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInline): string {....raises: [CatchableError, ValueError,
    KeyError, Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineCite): string {....raises: [Exception, ValueError],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineCode): string {....raises: [ValueError], tags: [],
    forbids: [].}
Source   Edit  
proc toStr(self: PDInlineEmph): string {.
    ...raises: [KeyError, ValueError, Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineMath): string {....raises: [ValueError, CatchableError],
    tags: [], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineNote): string {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineQuoted): string {....raises: [Exception, ValueError],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineRawInline): string {.
    ...raises: [KeyError, ValueError, Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineSpace): string {....raises: [CatchableError, ValueError],
    tags: [], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineSpan): string {....raises: [Exception, ValueError],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: PDInlineStr): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toStr(self: PDTarget): string {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toStr(self: seq[PDBlock]; indent: int = 0): seq[string] {.
    ...raises: [Exception], tags: [RootEffect], forbids: [].}
Source   Edit  
proc toStr(self: seq[PDInline]): string {....raises: [Exception, ValueError],
    tags: [RootEffect], forbids: [].}
Source   Edit