src/pylib/pysugar/stmt/pydef

Source   Edit  

Procs

proc asyncImpl(defsign, body: NimNode; parser: var PySyntaxProcesser;
               procType = nnkProcDef): NimNode
Source   Edit  
proc defAux(signature, body: NimNode; deftype = ident"untyped";
            parser: var PySyntaxProcesser; procType = nnkTemplateDef;
            pragmas = emptyn): NimNode
Source   Edit  
proc defImpl(signature, body: NimNode; parser: var PySyntaxProcesser;
             pragmas = emptyn; deftype = ident"auto"; procType = nnkProcDef): NimNode
if signature is of arrow expr (like f()->int), then def_restype is ignored Source   Edit  
proc parseSignatureMayGenerics(parser: var PySyntaxProcesser;
                               generics: var NimNode; signature: NimNode;
                               deftype = ident"untyped"): tuple[name: NimNode,
    params: seq[NimNode]]
Source   Edit