protobuf_serialization/files/type_generator

Source   Edit  

Types

ProtoHook = proc (packages: seq[ProtoNode]): NimNode {....raises: [], gcsafe.}
Source   Edit  

Procs

proc protoToTypesImpl(filepath: string; protoHook: ProtoHook = nil): NimNode {.
    compileTime, ...raises: [IOError, Exception, CatchableError, ValueError],
    tags: [ReadIOEffect, RootEffect], forbids: [].}
Source   Edit  
proc protoToTypesInternal(filepath: string): NimNode {.compileTime,
    ...deprecated: "use protoToTypesImpl",
    raises: [IOError, Exception, CatchableError, ValueError],
    tags: [ReadIOEffect, RootEffect], forbids: [].}
Deprecated: use protoToTypesImpl
Source   Edit  

Macros

macro protoToTypes(filepath: static[string]): untyped
Source   Edit  

Templates

template import_proto3(file: static[string]): untyped
Source   Edit