☰
Index
Modules:
genny
,
genny/common
,
genny/internal
,
genny/languages/nim
.
API symbols
arrayCount:
common: proc arrayCount(sym: NimNode): int
basicTypes:
common: const basicTypes
convertExportExprNim:
nim: proc convertExportExprNim(expr: string; sym: NimNode): string
convertExportFromNim:
nim: proc convertExportFromNim(sym: NimNode): string
convertExportReturnExprNim:
nim: proc convertExportReturnExprNim(expr: string; sym: NimNode): string
convertImportExprNim:
nim: proc convertImportExprNim(expr: string; sym: NimNode): string
convertImportReturnExprNim:
nim: proc convertImportReturnExprNim(expr: string; sym: NimNode): string
convertImportToNim:
nim: proc convertImportToNim(sym: NimNode): string
convertToPointer:
nim: proc convertToPointer(sym: NimNode): string
cppOperatorName:
common: proc cppOperatorName(name: string): string
exportConstInternal:
internal: proc exportConstInternal(sym: NimNode)
exportConstNim:
nim: proc exportConstNim(sym: NimNode)
exportConsts:
genny: template exportConsts(body: untyped)
exportedValueTypeName:
common: proc exportedValueTypeName(sym: NimNode): string
exportEnumInternal:
internal: proc exportEnumInternal(sym: NimNode)
exportEnumNim:
nim: proc exportEnumNim(sym: NimNode)
exportEnums:
genny: template exportEnums(body: untyped)
exportObject:
genny: template exportObject(sym, body: untyped)
exportObjectInternal:
internal: proc exportObjectInternal(sym: NimNode; fields: seq[ObjectField]; constructor: NimNode; external = false)
exportObjectNim:
nim: proc exportObjectNim(sym: NimNode; fields: seq[ObjectField]; constructor: NimNode; externalModule: string = "")
exportProcInternal:
internal: proc exportProcInternal(sym: NimNode; owner: NimNode = nil; prefixes: openArray[NimNode] = []; gcRefResult: bool = false)
exportProcNim:
nim: proc exportProcNim(sym: NimNode; owner: NimNode = nil; prefixes: openArray[NimNode] = [])
exportProcs:
genny: template exportProcs(body: untyped)
exportRefObject:
genny: template exportRefObject(sym, body: untyped)
exportRefObjectInternal:
internal: proc exportRefObjectInternal(sym: NimNode; fields: seq[(string, NimNode)]; constructor: NimNode)
exportRefObjectNim:
nim: proc exportRefObjectNim(sym: NimNode; fields: seq[(string, NimNode)]; constructor: NimNode)
exportReturnTypeCImport:
nim: proc exportReturnTypeCImport(sym: NimNode): string
exportReturnTypeNim:
nim: proc exportReturnTypeNim(sym: NimNode): string
exportSeq:
genny: template exportSeq(sym, body: untyped)
exportSeqInternal:
internal: proc exportSeqInternal(sym: NimNode)
exportSeqNim:
nim: proc exportSeqNim(sym: NimNode)
exportTypeCImport:
nim: proc exportTypeCImport(sym: NimNode): string
exportTypeNim:
nim: proc exportTypeNim(sym: NimNode): string
getName:
common: proc getName(sym: NimNode): string
getParamName:
common: proc getParamName(sym: NimNode): string
getSeqName:
common: proc getSeqName(sym: NimNode): string
isOperatorName:
common: proc isOperatorName(name: string): bool
isRefObjectLike:
nim: proc isRefObjectLike(sym: NimNode): bool
nimCallableName:
common: proc nimCallableName(name: string): string
normalizedOperatorName:
common: proc normalizedOperatorName(name: string): string
ObjectField:
common: tuple ObjectField
objectFieldName:
common: proc objectFieldName(property: NimNode): string
objectFields:
common: proc objectFields(sym: NimNode; explicitFields: seq[ObjectField]): seq[ObjectField]
operatorProcName:
common: proc operatorProcName(name: string): string
pythonOperatorName:
common: proc pythonOperatorName(name: string): string
raises:
common: proc raises(procSym: NimNode): bool
registerValueObjectType:
common: proc registerValueObjectType(sym: NimNode)
registerValueObjectTypeAlias:
common: proc registerValueObjectTypeAlias(name: string; typ: NimNode)
registerValueObjectTypeAliasRepr:
common: proc registerValueObjectTypeAliasRepr(name, alias: string)
toCamelCase:
common: proc toCamelCase(s: string): string
toCapSnakeCase:
common: proc toCapSnakeCase(s: string): string
toSnakeCase:
common: proc toSnakeCase(s: string): string
toVarCase:
common: proc toVarCase(s: string): string
usePrefixName:
common: proc usePrefixName(sym: NimNode): bool
writeFiles:
genny: macro writeFiles(dir, lib: static[string])
writeInternal:
internal: proc writeInternal(dir, lib: string)
writeNim:
nim: proc writeNim(dir, lib: string)