# compiler/semfold

Dark Mode

- Index

Search:
Group by:
Source Edit

# Imports

options, ast, trees, nimsets, platform, msgs, idents, renderer, types, commands, magicsys, modulegraphs, lineinfos

# Procs

    proc errorType(g: ModuleGraph): PType {....raises: [], tags: [].}

  creates a type representing an error state Source Edit

    proc evalOp(m: TMagic; n, a, b, c: PNode; idgen: IdGenerator; g: ModuleGraph): PNode {....raises: [
        KeyError, Exception, ValueError, OSError, IOError, ERecoverableError], tags: [
        ReadDirEffect, RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

    proc getConstExpr(m: PSym; n: PNode; idgen: IdGenerator; g: ModuleGraph): PNode {....raises: [
        KeyError, Exception, ValueError, OSError, IOError, ERecoverableError,
        IOError, Exception, OSError, ValueError, KeyError, ERecoverableError,
        IOError, Exception, OSError, ValueError, KeyError, ERecoverableError,
        Exception, ValueError, KeyError, OSError, IOError, ERecoverableError], tags: [
        ReadDirEffect, RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
        TimeEffect].}

  Source Edit

    proc leValueConv(a, b: PNode): bool {....raises: [ERecoverableError], tags: [].}

  Source Edit

    proc newFloatNodeT(floatVal: BiggestFloat; n: PNode; g: ModuleGraph): PNode {.
        ...raises: [], tags: [].}

  Source Edit

    proc newIntNodeT(intVal: Int128; n: PNode; idgen: IdGenerator; g: ModuleGraph): PNode {....raises: [
        KeyError, Exception, ValueError, OSError, IOError, ERecoverableError], tags: [
        ReadDirEffect, RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

    proc newStrNodeT(strVal: string; n: PNode; g: ModuleGraph): PNode {....raises: [],
        tags: [].}

  Source Edit

    proc newSymNodeTypeDesc(s: PSym; idgen: IdGenerator; info: TLineInfo): PNode {.
        ...raises: [], tags: [].}

  Source Edit

    proc ordinalValToString(a: PNode; g: ModuleGraph): string {....raises: [
        ERecoverableError, Exception, ValueError, KeyError, OSError, IOError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit