jsgen

Source   Edit  

Type info generation for the JS backend.

Procs

proc finalJSCodeGen(graph: ModuleGraph; b: PPassContext; n: PNode): PNode {....raises: [
    Exception, ValueError, KeyError, OSError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
    TimeEffect, WriteDirEffect], forbids: [].}
Finalize JS code generation of a Nim module. Param n may contain nodes returned from the last module close call. Source   Edit  
proc processJSCodeGen(b: PPassContext; n: PNode): PNode {....raises: [Exception,
    ValueError, KeyError, OSError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
    TimeEffect], forbids: [].}
Generate JS code for a node. Source   Edit  
proc setupJSgen(graph: ModuleGraph; s: PSym; idgen: IdGenerator): PPassContext {.
    ...raises: [], tags: [], forbids: [].}
Source   Edit  

Templates

template config(p: PProc): ConfigRef
Source   Edit