assume

Source   Edit  

Types

AnIdentDefs = distinct AssNode
Source   Edit  
AnLetSection = distinct AssNode
Source   Edit  
AnVarSection = distinct AssNode
Source   Edit  

Procs

proc add(a: var AnLetSection | var AnVarSection; n: AnIdentDefs)
Source   Edit  
proc isNil(a: AssNode): bool {.borrow, ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc kind(a: AssNode): NimNodeKind {.borrow, ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc len(a: AssNode): int {....raises: [ValueError], tags: [], forbids: [].}
find the length of a node Source   Edit  
proc len(a`gensym22: AnIdentDefs): int {.borrow, ...raises: [ValueError], tags: [],
    forbids: [].}
Source   Edit  
proc len(a`gensym23: AnVarSection): int {.borrow, ...raises: [ValueError],
    tags: [], forbids: [].}
Source   Edit  
proc len(a`gensym24: AnLetSection): int {.borrow, ...raises: [ValueError],
    tags: [], forbids: [].}
Source   Edit  
proc repr(a: AssNode): string {.borrow, ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc treeRepr(a: AssNode): string {.borrow, ...raises: [], tags: [], forbids: [].}
Source   Edit  

Iterators

iterator asIdentDefs(n: AnIdentDefs): AnIdentDefs {....raises: [], tags: [],
    forbids: [].}
iterate over the identdefs in an identdefs Source   Edit  
iterator asIdentDefs(n: AnVarSection or AnLetSection): AnIdentDefs
iterate over the identdefs in a var|let section Source   Edit  
iterator asIdentDefs(n: NimNode): AnIdentDefs {....raises: [ValueError], tags: [],
    forbids: [].}
iterate over the identdefs in a rando node Source   Edit  

Converters

converter fromAnIdentDefstoNimNode(n`gensym36: AnIdentDefs): NimNode {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
converter fromAnLetSectiontoNimNode(n`gensym42: AnLetSection): NimNode {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
converter fromAnVarSectiontoNimNode(n`gensym48: AnVarSection): NimNode {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
converter toAnIdentDefs(n: NimNode): AnIdentDefs {....raises: [ValueError],
    tags: [], forbids: [].}
Source   Edit  
converter toAnLetSection(n: NimNode): AnLetSection {....raises: [ValueError],
    tags: [], forbids: [].}
Source   Edit  
converter toAnVarSection(n: NimNode): AnVarSection {....raises: [ValueError],
    tags: [], forbids: [].}
Source   Edit