diff --git a/algorithm.html b/algorithm.html index 44cd3b83547..1bd9c52a227 100644 --- a/algorithm.html +++ b/algorithm.html @@ -246,7 +246,7 @@

pure/algorithm

  Source   Edit @@ -298,7 +298,7 @@

Types

  Source   Edit @@ -322,7 +322,7 @@

Procs

assert -123 * Ascending == -123 assert 123 * Ascending == 123   Source   Edit @@ -341,7 +341,7 @@

Procs

assert binarySearch(["a", "b", "c", "d"], "d", system.cmp[string]) == 3
 assert binarySearch(["a", "b", "c", "d"], "c", system.cmp[string]) == 2
  Source   Edit @@ -356,7 +356,7 @@

Procs

assert binarySearch([0, 1, 2, 3, 4], 4) == 4
 assert binarySearch([0, 1, 2, 3, 4], 2) == 2
  Source   Edit @@ -377,7 +377,7 @@

Procs

assert a == [0, 9, 9, 7, 7, 7] doAssertRaises(IndexDefect, a.fill(1, 7, 9))   Source   Edit @@ -395,7 +395,7 @@

Procs

a.fill(4) assert a == [4, 4, 4, 4, 4, 4]   Source   Edit @@ -425,7 +425,7 @@

Procs

assert isSorted(d) == true assert isSorted(e) == false   Source   Edit @@ -454,7 +454,7 @@

Procs

assert isSorted(d) == true assert isSorted(e) == false   Source   Edit @@ -482,7 +482,7 @@

Procs

arr.insert(4, arr.lowerBound(4, system.cmp[int])) assert arr == [1, 2, 3, 4, 5, 6, 7, 8, 9]   Source   Edit @@ -500,7 +500,7 @@

Procs

  Source   Edit @@ -524,7 +524,7 @@

Procs

assert merged.isSorted assert merged == @[5, 10, 10, 15, 20, 20, 25, 30, 40, 50]   Source   Edit @@ -565,7 +565,7 @@

Procs

assert seq[int].default.dup(merge([1, 3], [2, 4])) == @[1, 2, 3, 4]   Source   Edit @@ -593,7 +593,7 @@

Procs

assert v.nextPermutation() == false assert v == @[3, 2, 1, 0]   Source   Edit @@ -617,7 +617,7 @@

Procs

assert v.prevPermutation() == true assert v == @[0, 1, 2, 3]   Source   Edit @@ -634,7 +634,7 @@

Procs

assert product(@[@[1], @[2]]) == @[@[1, 2]]
 assert product(@[@["A", "K"], @["Q"]]) == @[@["K", "Q"], @["A", "Q"]]
  Source   Edit @@ -657,7 +657,7 @@

Procs

a.reverse() assert a == [1, 2, 3, 4, 5, 6]   Source   Edit @@ -682,7 +682,7 @@

Procs

assert a == [1, 2, 3, 4, 5, 6] doAssertRaises(IndexDefect, a.reverse(1, 7))   Source   Edit @@ -701,7 +701,7 @@

Procs

assert [10, 11, 12].reversed == @[12, 11, 10]
 assert seq[string].default.reversed == @[]
  Source   Edit @@ -726,7 +726,7 @@

Procs

a = rotatedLeft(a, -6) assert a == @[1, 2, 3, 4, 5]   Source   Edit @@ -758,7 +758,7 @@

Procs

a = rotatedLeft(a, 1 .. 3, -2) assert a == @[1, 5, 2, 3, 4]   Source   Edit @@ -783,7 +783,7 @@

Procs

a.rotateLeft(-6) assert a == [1, 2, 3, 4, 5]   Source   Edit @@ -815,7 +815,7 @@

Procs

assert a == [0, 4, 1, 2, 3, 5] doAssertRaises(IndexDefect, a.rotateLeft(1 .. 7, 2))   Source   Edit @@ -850,7 +850,7 @@

Procs

sort(d, myCmp) assert d == ["fo", "qux", "boo", "barr"]   Source   Edit @@ -869,7 +869,7 @@

Procs

  Source   Edit @@ -897,7 +897,7 @@

Procs

assert c == @[5, 4, 3, 2, 1] assert d == @["adam", "brian", "cat", "dande"]   Source   Edit @@ -924,7 +924,7 @@

Procs

assert c == @[5, 4, 3, 2, 1] assert d == @["adam", "brian", "cat", "dande"]   Source   Edit @@ -952,7 +952,7 @@

Procs

arr.insert(4, arr.upperBound(3, system.cmp[int])) assert arr == [1, 2, 3, 4, 5, 6, 7, 8, 9]   Source   Edit @@ -970,7 +970,7 @@

Procs

  Source   Edit @@ -1010,7 +1010,7 @@

Templates

assert people.sortedByIt((it.age, it.name)) == @[(name: "p2", age: 20), (name: "p3", age: 30), (name: "p4", age: 30), (name: "p1", age: 60)]   Source   Edit diff --git a/asciitables.html b/asciitables.html index 6f9fc1d44a4..8899cd0e373 100644 --- a/asciitables.html +++ b/asciitables.html @@ -132,7 +132,7 @@

std/private/asciitables

  Source   Edit @@ -152,7 +152,7 @@

Types

  Source   Edit @@ -170,7 +170,7 @@

Procs

Formats a delim-delimited s representing a table; each cell is aligned to a width that's computed for each column; consecutive columns are delimited by sep, and alignment space is filled using fill. More customized formatting can be done by calling parseTableCells directly.   Source   Edit @@ -187,7 +187,7 @@

Iterators

Iterates over all cells in a delim-delimited s, after a 1st pass that computes number of rows, columns, and width of each column.   Source   Edit diff --git a/assertions.html b/assertions.html index 35531c69541..725f8286a16 100644 --- a/assertions.html +++ b/assertions.html @@ -148,7 +148,7 @@

system/assertions

  Source   Edit @@ -172,7 +172,7 @@

Procs

Raises an AssertionDefect with msg, but this is hidden from the effect system. Called when an assertion failed.   Source   Edit @@ -185,7 +185,7 @@

Procs

Raises an AssertionDefect with msg.   Source   Edit @@ -210,7 +210,7 @@

Templates

Example: cmd: -d:danger

assert 1 == 2 # ditto
  Source   Edit @@ -224,7 +224,7 @@

Templates

Example:

doAssert 1 == 1 # generates code even when built with `-d:danger` or `--assertions:off`
  Source   Edit @@ -240,7 +240,7 @@

Templates

doAssertRaises(CatchableError): raise newException(ValueError, "Hello World") doAssertRaises(AssertionDefect): doAssert false   Source   Edit @@ -260,7 +260,7 @@

Templates

raise (ref MyError)(msg: msg, lineinfo: instantiationInfo(-2)) doAssertRaises(MyError): doAssert false   Source   Edit diff --git a/asyncjs.html b/asyncjs.html index 83c5277c120..d1c93a0d004 100644 --- a/asyncjs.html +++ b/asyncjs.html @@ -158,7 +158,7 @@

js/asyncjs

  Source   Edit @@ -199,7 +199,7 @@

Types

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error   Source   Edit @@ -213,7 +213,7 @@

Types

  Source   Edit @@ -225,7 +225,7 @@

Types

  Source   Edit @@ -237,7 +237,7 @@

Types

  Source   Edit @@ -271,7 +271,7 @@

Procs

discard main()   Source   Edit @@ -284,7 +284,7 @@

Procs

A helper for wrapping callback-based functions into promises and async procedures.   Source   Edit @@ -297,7 +297,7 @@

Procs

A helper for wrapping callback-based functions into promises and async procedures.   Source   Edit @@ -337,7 +337,7 @@

Procs

await fn(7).then((a: int) => (witness = 2), (r: Error) => (witness = 3)) assert witness == 3   Source   Edit @@ -354,7 +354,7 @@

Macros

Macro which converts normal procedures into javascript-compatible async procedures.   Source   Edit diff --git a/atomics.html b/atomics.html index da5db869d21..d51dfe6f2d0 100644 --- a/atomics.html +++ b/atomics.html @@ -297,7 +297,7 @@

pure/concurrency/atomics

  Source   Edit @@ -369,7 +369,7 @@

Types

  Source   Edit @@ -381,7 +381,7 @@

Types

  Source   Edit @@ -395,7 +395,7 @@

Types

  Source   Edit @@ -412,7 +412,7 @@

Procs

Atomically increments the atomic integer by some value.   Source   Edit @@ -424,7 +424,7 @@

Procs

Atomically decrements the atomic integer by some value.   Source   Edit @@ -436,7 +436,7 @@

Procs

Atomically decrements the atomic integer by some value.   Source   Edit @@ -448,7 +448,7 @@

Procs

Atomically increments the atomic integer by some value.   Source   Edit @@ -463,7 +463,7 @@

Procs

  Source   Edit @@ -477,7 +477,7 @@

Procs

  Source   Edit @@ -491,7 +491,7 @@

Procs

  Source   Edit @@ -506,7 +506,7 @@

Procs

  Source   Edit @@ -520,7 +520,7 @@

Procs

  Source   Edit @@ -534,7 +534,7 @@

Procs

  Source   Edit @@ -547,7 +547,7 @@

Procs

  Source   Edit @@ -561,7 +561,7 @@

Procs

  Source   Edit @@ -575,7 +575,7 @@

Procs

  Source   Edit @@ -589,7 +589,7 @@

Procs

  Source   Edit @@ -603,7 +603,7 @@

Procs

  Source   Edit @@ -616,7 +616,7 @@

Procs

  Source   Edit @@ -630,7 +630,7 @@

Procs

  Source   Edit @@ -644,7 +644,7 @@

Procs

  Source   Edit @@ -658,7 +658,7 @@

Procs

  Source   Edit @@ -672,7 +672,7 @@

Procs

  Source   Edit @@ -686,7 +686,7 @@

Procs

  Source   Edit @@ -700,7 +700,7 @@

Procs

  Source   Edit @@ -713,7 +713,7 @@

Procs

  Source   Edit @@ -727,7 +727,7 @@

Procs

  Source   Edit @@ -741,7 +741,7 @@

Procs

  Source   Edit @@ -754,7 +754,7 @@

Procs

  Source   Edit @@ -769,7 +769,7 @@

Procs

  Source   Edit @@ -786,7 +786,7 @@

Templates

  Source   Edit diff --git a/backends.html b/backends.html index 73ec2dcdda0..d8eb9636f88 100644 --- a/backends.html +++ b/backends.html @@ -123,7 +123,7 @@

doc/backends

  Source   Edit @@ -131,7 +131,7 @@

doc/backends

|NimSkull| Backend Integration

- +
Author:Puppet Master
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

"Heresy grows from idleness." -- Unknown.

Introduction

The Nim Compiler User Guide documents the typical compiler invocation, using the compile or c command to transform a .nim file into one or more .c files which are then compiled with the platform's C compiler into a static binary. However, there are other commands to compile to JavaScript or the VM. This document tries to concentrate in a single place all the backend and interfacing options.

diff --git a/base64.html b/base64.html index b968612b660..d27af9a594e 100644 --- a/base64.html +++ b/base64.html @@ -133,7 +133,7 @@

pure/base64

  Source   Edit @@ -188,7 +188,7 @@

Procs

assert decode("SGVsbG8gV29ybGQ=") == "Hello World"
 assert decode("  SGVsbG8gV29ybGQ=") == "Hello World"
  Source   Edit @@ -212,7 +212,7 @@

Procs

Example:

assert encode("Hello World") == "SGVsbG8gV29ybGQ="
  Source   Edit @@ -238,7 +238,7 @@

Procs

assert encode(@['n', 'i', 'm']) == "bmlt" assert encode([1, 2, 3, 4, 5]) == "AQIDBAU="   Source   Edit @@ -259,7 +259,7 @@

Procs

Example:

assert encodeMime("Hello World", 4, "\n") == "SGVs\nbG8g\nV29y\nbGQ="
  Source   Edit @@ -271,7 +271,7 @@

Procs

  Source   Edit diff --git a/bitops.html b/bitops.html index 759da921028..237b6bb2f5a 100644 --- a/bitops.html +++ b/bitops.html @@ -302,7 +302,7 @@

pure/bitops

  Source   Edit @@ -330,7 +330,7 @@

Types

A range with all bit positions for type T.   Source   Edit @@ -347,7 +347,7 @@

Procs

Computes the bitwise complement of the integer x.   Source   Edit @@ -363,7 +363,7 @@

Procs

x.bitslice(2 .. 4) doAssert x == 0b011   Source   Edit @@ -379,7 +379,7 @@

Procs

doAssert 0b11100.bitsliced(0 .. 2) == 0b100 doAssert 0b11100.bitsliced(0 ..< 3) == 0b100   Source   Edit @@ -395,7 +395,7 @@

Procs

v.clearBit(1'u8) doAssert v == 0b0000_0001'u8   Source   Edit @@ -413,7 +413,7 @@

Procs

v.clearMask(0b0000_1010'u8) doAssert v == 0b0000_0001'u8   Source   Edit @@ -431,7 +431,7 @@

Procs

v.clearMask(1 .. 3) doAssert v == 0b0000_0001'u8   Source   Edit @@ -448,7 +448,7 @@

Procs

let v = 0b0000_0011'u8
 doAssert v.clearMasked(0b0000_1010'u8) == 0b0000_0001'u8
  Source   Edit @@ -465,7 +465,7 @@

Procs

let v = 0b0000_0011'u8
 doAssert v.clearMasked(1 .. 3) == 0b0000_0001'u8
  Source   Edit @@ -487,7 +487,7 @@

Procs

doAssert countLeadingZeroBits(0b0000_1000'u8) == 4 doAssert countLeadingZeroBits(0b0000_1111'u8) == 4   Source   Edit @@ -502,7 +502,7 @@

Procs

doAssert countSetBits(0b0000_0011'u8) == 2
 doAssert countSetBits(0b1010_1010'u8) == 4
  Source   Edit @@ -524,7 +524,7 @@

Procs

doAssert countTrailingZeroBits(0b0000_1000'u8) == 3 doAssert countTrailingZeroBits(0b0000_1111'u8) == 0   Source   Edit @@ -542,7 +542,7 @@

Procs

doAssert fastLog2(0b0000_1000'u8) == 3 doAssert fastLog2(0b0000_1111'u8) == 3   Source   Edit @@ -560,7 +560,7 @@

Procs

doAssert firstSetBit(0b0000_1000'u8) == 4 doAssert firstSetBit(0b0000_1111'u8) == 1   Source   Edit @@ -580,7 +580,7 @@

Procs

v.flipBit(2'u8) doAssert v == 0b0000_0111'u8   Source   Edit @@ -598,7 +598,7 @@

Procs

v.flipMask(0b0000_1010'u8) doAssert v == 0b0000_1001'u8   Source   Edit @@ -616,7 +616,7 @@

Procs

v.flipMask(1 .. 3) doAssert v == 0b0000_1101'u8   Source   Edit @@ -633,7 +633,7 @@

Procs

let v = 0b0000_0011'u8
 doAssert v.flipMasked(0b0000_1010'u8) == 0b0000_1001'u8
  Source   Edit @@ -650,7 +650,7 @@

Procs

let v = 0b0000_0011'u8
 doAssert v.flipMasked(1 .. 3) == 0b0000_1101'u8
  Source   Edit @@ -668,7 +668,7 @@

Procs

v.mask(0b0000_1010'u8) doAssert v == 0b0000_0010'u8   Source   Edit @@ -686,7 +686,7 @@

Procs

v.mask(1 .. 3) doAssert v == 0b0000_1010'u8   Source   Edit @@ -703,7 +703,7 @@

Procs

let v = 0b0000_0011'u8
 doAssert v.masked(0b0000_1010'u8) == 0b0000_0010'u8
  Source   Edit @@ -720,7 +720,7 @@

Procs

let v = 0b0000_1011'u8
 doAssert v.masked(1 .. 3) == 0b0000_1010'u8
  Source   Edit @@ -737,7 +737,7 @@

Procs

doAssert parityBits(0b0110_1001'u8) == 0 doAssert parityBits(0b0111_1111'u8) == 1   Source   Edit @@ -749,7 +749,7 @@

Procs

Alias for countSetBits (Hamming weight).   Source   Edit @@ -766,7 +766,7 @@

Procs

doAssert reverseBits(0xddbb'u16) == 0xddbb'u16 doAssert reverseBits(0xdeadbeef'u32) == 0xf77db57b'u32   Source   Edit @@ -788,7 +788,7 @@

Procs

doAssert rotateLeftBits(0b00000000111111111111111100000000_11111111000000000000000011111111'u64, 32) == 0b11111111000000000000000011111111_00000000111111111111111100000000'u64   Source   Edit @@ -809,7 +809,7 @@

Procs

doAssert rotateRightBits(0b00000000111111111111111100000000_11111111000000000000000011111111'u64, 32) == 0b11111111000000000000000011111111_00000000111111111111111100000000'u64   Source   Edit @@ -825,7 +825,7 @@

Procs

v.setBit(5'u8) doAssert v == 0b0010_0011'u8   Source   Edit @@ -843,7 +843,7 @@

Procs

v.setMask(0b0000_1010'u8) doAssert v == 0b0000_1011'u8   Source   Edit @@ -861,7 +861,7 @@

Procs

v.setMask(2 .. 3) doAssert v == 0b0000_1111'u8   Source   Edit @@ -878,7 +878,7 @@

Procs

let v = 0b0000_0011'u8
 doAssert v.setMasked(0b0000_1010'u8) == 0b0000_1011'u8
  Source   Edit @@ -895,7 +895,7 @@

Procs

let v = 0b0000_0011'u8
 doAssert v.setMasked(2 .. 3) == 0b0000_1111'u8
  Source   Edit @@ -911,7 +911,7 @@

Procs

doAssert v.testBit(0) doAssert not v.testBit(7)   Source   Edit @@ -926,7 +926,7 @@

Procs

doAssert toMask[int32](1 .. 3) == 0b1110'i32
 doAssert toMask[int32](0 .. 3) == 0b1111'i32
  Source   Edit @@ -943,7 +943,7 @@

Macros

Computes the bitwise and of all arguments collectively.   Source   Edit @@ -955,7 +955,7 @@

Macros

Computes the bitwise or of all arguments collectively.   Source   Edit @@ -967,7 +967,7 @@

Macros

Computes the bitwise xor of all arguments collectively.   Source   Edit @@ -983,7 +983,7 @@

Macros

v.clearBits(1, 3, 5, 7) doAssert v == 0b0101_0101'u8   Source   Edit @@ -999,7 +999,7 @@

Macros

v.flipBits(1, 3, 5, 7) doAssert v == 0b1010_0101'u8   Source   Edit @@ -1015,7 +1015,7 @@

Macros

v.setBits(3, 5, 7) doAssert v == 0b1010_1011'u8   Source   Edit diff --git a/bitops_utils.html b/bitops_utils.html index 47766ff9c04..c77f7ec6082 100644 --- a/bitops_utils.html +++ b/bitops_utils.html @@ -124,7 +124,7 @@

std/private/bitops_utils

  Source   Edit @@ -141,7 +141,7 @@

Templates

  Source   Edit @@ -153,7 +153,7 @@

Templates

  Source   Edit @@ -165,7 +165,7 @@

Templates

  Source   Edit @@ -177,7 +177,7 @@

Templates

  Source   Edit @@ -189,7 +189,7 @@

Templates

  Source   Edit @@ -201,7 +201,7 @@

Templates

  Source   Edit diff --git a/browsers.html b/browsers.html index e8f465dbe9e..7273ee9c9be 100644 --- a/browsers.html +++ b/browsers.html @@ -127,7 +127,7 @@

pure/browsers

  Source   Edit @@ -152,7 +152,7 @@

Consts

Alias for the operating system specific "open" command, "open" on OSX, MacOS and Windows, "xdg-open" on Linux, BSD, etc.   Source   Edit @@ -176,7 +176,7 @@

Procs

block: openDefaultBrowser()
  Source   Edit @@ -192,7 +192,7 @@

Procs

This proc doesn't raise an exception on error, beware.

block: openDefaultBrowser("https://nim-lang.org")
  Source   Edit diff --git a/cgi.html b/cgi.html index ef5811bb952..f35afe4ee03 100644 --- a/cgi.html +++ b/cgi.html @@ -363,7 +363,7 @@

pure/cgi

  Source   Edit @@ -401,7 +401,7 @@

Types

Exception that is raised if a CGI error occurs.   Source   Edit @@ -416,7 +416,7 @@

Types

The used request method.   Source   Edit @@ -433,7 +433,7 @@

Procs

Raises a CgiError exception with message msg.   Source   Edit @@ -445,7 +445,7 @@

Procs

Checks if a cookie of name exists.   Source   Edit @@ -457,7 +457,7 @@

Procs

Returns contents of the CONTENT_LENGTH environment variable.   Source   Edit @@ -469,7 +469,7 @@

Procs

Returns contents of the CONTENT_TYPE environment variable.   Source   Edit @@ -481,7 +481,7 @@

Procs

Gets a cookie. If no cookie of name exists, "" is returned.   Source   Edit @@ -493,7 +493,7 @@

Procs

Returns contents of the DOCUMENT_ROOT environment variable.   Source   Edit @@ -505,7 +505,7 @@

Procs

Returns contents of the GATEWAY_INTERFACE environment variable.   Source   Edit @@ -517,7 +517,7 @@

Procs

Returns contents of the HTTP_ACCEPT environment variable.   Source   Edit @@ -529,7 +529,7 @@

Procs

Returns contents of the HTTP_ACCEPT_CHARSET environment variable.   Source   Edit @@ -541,7 +541,7 @@

Procs

Returns contents of the HTTP_ACCEPT_ENCODING environment variable.   Source   Edit @@ -553,7 +553,7 @@

Procs

Returns contents of the HTTP_ACCEPT_LANGUAGE environment variable.   Source   Edit @@ -565,7 +565,7 @@

Procs

Returns contents of the HTTP_CONNECTION environment variable.   Source   Edit @@ -577,7 +577,7 @@

Procs

Returns contents of the HTTP_COOKIE environment variable.   Source   Edit @@ -589,7 +589,7 @@

Procs

Returns contents of the HTTP_HOST environment variable.   Source   Edit @@ -601,7 +601,7 @@

Procs

Returns contents of the HTTP_REFERER environment variable.   Source   Edit @@ -613,7 +613,7 @@

Procs

Returns contents of the HTTP_USER_AGENT environment variable.   Source   Edit @@ -625,7 +625,7 @@

Procs

Returns contents of the PATH_INFO environment variable.   Source   Edit @@ -637,7 +637,7 @@

Procs

Returns contents of the PATH_TRANSLATED environment variable.   Source   Edit @@ -649,7 +649,7 @@

Procs

Returns contents of the QUERY_STRING environment variable.   Source   Edit @@ -661,7 +661,7 @@

Procs

Returns contents of the REMOTE_ADDR environment variable.   Source   Edit @@ -673,7 +673,7 @@

Procs

Returns contents of the REMOTE_HOST environment variable.   Source   Edit @@ -685,7 +685,7 @@

Procs

Returns contents of the REMOTE_IDENT environment variable.   Source   Edit @@ -697,7 +697,7 @@

Procs

Returns contents of the REMOTE_PORT environment variable.   Source   Edit @@ -709,7 +709,7 @@

Procs

Returns contents of the REMOTE_USER environment variable.   Source   Edit @@ -721,7 +721,7 @@

Procs

Returns contents of the REQUEST_METHOD environment variable.   Source   Edit @@ -733,7 +733,7 @@

Procs

Returns contents of the REQUEST_URI environment variable.   Source   Edit @@ -745,7 +745,7 @@

Procs

Returns contents of the SCRIPT_FILENAME environment variable.   Source   Edit @@ -757,7 +757,7 @@

Procs

Returns contents of the SCRIPT_NAME environment variable.   Source   Edit @@ -769,7 +769,7 @@

Procs

Returns contents of the SERVER_ADDR environment variable.   Source   Edit @@ -781,7 +781,7 @@

Procs

Returns contents of the SERVER_ADMIN environment variable.   Source   Edit @@ -793,7 +793,7 @@

Procs

Returns contents of the SERVER_NAME environment variable.   Source   Edit @@ -805,7 +805,7 @@

Procs

Returns contents of the SERVER_PORT environment variable.   Source   Edit @@ -817,7 +817,7 @@

Procs

Returns contents of the SERVER_PROTOCOL environment variable.   Source   Edit @@ -829,7 +829,7 @@

Procs

Returns contents of the SERVER_SIGNATURE environment variable.   Source   Edit @@ -841,7 +841,7 @@

Procs

Returns contents of the SERVER_SOFTWARE environment variable.   Source   Edit @@ -855,7 +855,7 @@

Procs

Reads CGI data. If the client does not use a method listed in the allowedMethods set, a CgiError exception is raised.   Source   Edit @@ -867,7 +867,7 @@

Procs

Reads CGI data from a string.   Source   Edit @@ -879,7 +879,7 @@

Procs

Sets a cookie.   Source   Edit @@ -891,7 +891,7 @@

Procs

Makes Nim output stacktraces to stdout, instead of server log.   Source   Edit @@ -904,7 +904,7 @@

Procs

Fills the appropriate environment variables to test your CGI application. This can only simulate the 'GET' request method. keysvalues should provide embedded (name, value)-pairs. Example:
setTestData("name", "Hanz", "password", "12345")
  Source   Edit @@ -917,7 +917,7 @@

Procs

Validates data; raises CgiError if this fails. This checks that each variable name of the CGI data occurs in the validKeys array.   Source   Edit @@ -929,7 +929,7 @@

Procs

Calls this before starting to send your HTML data to stdout. This implements this part of the CGI protocol:
write(stdout, "Content-type: text/html\n\n")
  Source   Edit @@ -941,7 +941,7 @@

Procs

Tries to reset browser state and writes data to stdout in <plaintext> tag.   Source   Edit @@ -959,7 +959,7 @@

Procs

  Source   Edit @@ -978,7 +978,7 @@

Iterators

Reads and decodes CGI data and yields the (name, value) pairs the data consists of. If the client does not use a method listed in the allowedMethods set, a CgiError exception is raised.   Source   Edit @@ -991,7 +991,7 @@

Iterators

Reads and decodes CGI data and yields the (name, value) pairs the data consists of.   Source   Edit diff --git a/ci.html b/ci.html index b886a627cf9..66248f6c1a6 100644 --- a/ci.html +++ b/ci.html @@ -127,7 +127,7 @@

Continuous Integration

  Source   Edit diff --git a/colordiff.html b/colordiff.html index 6ef78e99a93..ea82a0f4dcc 100644 --- a/colordiff.html +++ b/colordiff.html @@ -214,7 +214,7 @@

experimental/colordiff

  Source   Edit @@ -263,7 +263,7 @@

Types

Diff formatting configuration   Source   Edit @@ -280,7 +280,7 @@

Procs

  Source   Edit @@ -298,7 +298,7 @@

Procs

  Source   Edit @@ -314,7 +314,7 @@

Procs

oldSeq, newSeq - sequence of lines (no newlines in strings assumed) that will be formatted.

  Source   Edit @@ -327,7 +327,7 @@

Procs

Format diff of two text blocks via newline split and default formatDiffed implementation   Source   Edit @@ -342,7 +342,7 @@

Procs

  Source   Edit @@ -355,7 +355,7 @@

Procs

Generate colored formatting for the levenshtein edit operation using format configuration. Return old formatted line and new formatted line.   Source   Edit @@ -369,7 +369,7 @@

Procs

Format inline edit operations for src and target sequences using list of sequence edit operations diffed, formatting the result using conf formatter. Consecutive edit operations are grouped together if conf.groupInline is set to true   Source   Edit @@ -382,7 +382,7 @@

Procs

Generate inline string editing annotation for the source and target string. Use conf for message mismatch configuration.   Source   Edit @@ -395,7 +395,7 @@

Procs

Format single line diff into old/new line edits. Optionally explain all differences using options from conf   Source   Edit @@ -407,7 +407,7 @@

Procs

Do any of strings in text have signficant invisible characters.   Source   Edit @@ -420,7 +420,7 @@

Procs

Does string have significant invisible characters?   Source   Edit @@ -433,7 +433,7 @@

Procs

Default implementaion of the line splitter - split on sep characters but don't discard them - they will be present in the resulting output.   Source   Edit @@ -445,7 +445,7 @@

Procs

Check if config is used to build unified diff   Source   Edit diff --git a/colors.html b/colors.html index 9cbd562e772..6d4a1e4f5a0 100644 --- a/colors.html +++ b/colors.html @@ -478,7 +478,7 @@

pure/colors

  Source   Edit @@ -500,7 +500,7 @@

Types

A color stored as RGB, e.g. 0xff00cc.   Source   Edit @@ -517,7 +517,7 @@

Consts

  Source   Edit @@ -529,7 +529,7 @@

Consts

  Source   Edit @@ -541,7 +541,7 @@

Consts

  Source   Edit @@ -553,7 +553,7 @@

Consts

  Source   Edit @@ -565,7 +565,7 @@

Consts

  Source   Edit @@ -577,7 +577,7 @@

Consts

  Source   Edit @@ -589,7 +589,7 @@

Consts

  Source   Edit @@ -601,7 +601,7 @@

Consts

  Source   Edit @@ -613,7 +613,7 @@

Consts

  Source   Edit @@ -625,7 +625,7 @@

Consts

  Source   Edit @@ -637,7 +637,7 @@

Consts

  Source   Edit @@ -649,7 +649,7 @@

Consts

  Source   Edit @@ -661,7 +661,7 @@

Consts

  Source   Edit @@ -673,7 +673,7 @@

Consts

  Source   Edit @@ -685,7 +685,7 @@

Consts

  Source   Edit @@ -697,7 +697,7 @@

Consts

  Source   Edit @@ -709,7 +709,7 @@

Consts

  Source   Edit @@ -721,7 +721,7 @@

Consts

  Source   Edit @@ -733,7 +733,7 @@

Consts

  Source   Edit @@ -745,7 +745,7 @@

Consts

  Source   Edit @@ -757,7 +757,7 @@

Consts

  Source   Edit @@ -769,7 +769,7 @@

Consts

  Source   Edit @@ -781,7 +781,7 @@

Consts

  Source   Edit @@ -793,7 +793,7 @@

Consts

  Source   Edit @@ -805,7 +805,7 @@

Consts

  Source   Edit @@ -817,7 +817,7 @@

Consts

  Source   Edit @@ -829,7 +829,7 @@

Consts

  Source   Edit @@ -841,7 +841,7 @@

Consts

  Source   Edit @@ -853,7 +853,7 @@

Consts

  Source   Edit @@ -865,7 +865,7 @@

Consts

  Source   Edit @@ -877,7 +877,7 @@

Consts

  Source   Edit @@ -889,7 +889,7 @@

Consts

  Source   Edit @@ -901,7 +901,7 @@

Consts

  Source   Edit @@ -913,7 +913,7 @@

Consts

  Source   Edit @@ -925,7 +925,7 @@

Consts

  Source   Edit @@ -937,7 +937,7 @@

Consts

  Source   Edit @@ -949,7 +949,7 @@

Consts

  Source   Edit @@ -961,7 +961,7 @@

Consts

  Source   Edit @@ -973,7 +973,7 @@

Consts

  Source   Edit @@ -985,7 +985,7 @@

Consts

  Source   Edit @@ -997,7 +997,7 @@

Consts

  Source   Edit @@ -1009,7 +1009,7 @@

Consts

  Source   Edit @@ -1021,7 +1021,7 @@

Consts

  Source   Edit @@ -1033,7 +1033,7 @@

Consts

  Source   Edit @@ -1045,7 +1045,7 @@

Consts

  Source   Edit @@ -1057,7 +1057,7 @@

Consts

  Source   Edit @@ -1069,7 +1069,7 @@

Consts

  Source   Edit @@ -1081,7 +1081,7 @@

Consts

  Source   Edit @@ -1093,7 +1093,7 @@

Consts

  Source   Edit @@ -1105,7 +1105,7 @@

Consts

  Source   Edit @@ -1117,7 +1117,7 @@

Consts

  Source   Edit @@ -1129,7 +1129,7 @@

Consts

  Source   Edit @@ -1141,7 +1141,7 @@

Consts

  Source   Edit @@ -1153,7 +1153,7 @@

Consts

  Source   Edit @@ -1165,7 +1165,7 @@

Consts

  Source   Edit @@ -1177,7 +1177,7 @@

Consts

  Source   Edit @@ -1189,7 +1189,7 @@

Consts

  Source   Edit @@ -1201,7 +1201,7 @@

Consts

  Source   Edit @@ -1213,7 +1213,7 @@

Consts

  Source   Edit @@ -1225,7 +1225,7 @@

Consts

  Source   Edit @@ -1237,7 +1237,7 @@

Consts

  Source   Edit @@ -1249,7 +1249,7 @@

Consts

  Source   Edit @@ -1261,7 +1261,7 @@

Consts

  Source   Edit @@ -1273,7 +1273,7 @@

Consts

  Source   Edit @@ -1285,7 +1285,7 @@

Consts

  Source   Edit @@ -1297,7 +1297,7 @@

Consts

  Source   Edit @@ -1309,7 +1309,7 @@

Consts

  Source   Edit @@ -1321,7 +1321,7 @@

Consts

  Source   Edit @@ -1333,7 +1333,7 @@

Consts

  Source   Edit @@ -1345,7 +1345,7 @@

Consts

  Source   Edit @@ -1357,7 +1357,7 @@

Consts

  Source   Edit @@ -1369,7 +1369,7 @@

Consts

  Source   Edit @@ -1381,7 +1381,7 @@

Consts

  Source   Edit @@ -1393,7 +1393,7 @@

Consts

  Source   Edit @@ -1405,7 +1405,7 @@

Consts

  Source   Edit @@ -1417,7 +1417,7 @@

Consts

  Source   Edit @@ -1429,7 +1429,7 @@

Consts

  Source   Edit @@ -1441,7 +1441,7 @@

Consts

  Source   Edit @@ -1453,7 +1453,7 @@

Consts

  Source   Edit @@ -1465,7 +1465,7 @@

Consts

  Source   Edit @@ -1477,7 +1477,7 @@

Consts

  Source   Edit @@ -1489,7 +1489,7 @@

Consts

  Source   Edit @@ -1501,7 +1501,7 @@

Consts

  Source   Edit @@ -1513,7 +1513,7 @@

Consts

  Source   Edit @@ -1525,7 +1525,7 @@

Consts

  Source   Edit @@ -1537,7 +1537,7 @@

Consts

  Source   Edit @@ -1549,7 +1549,7 @@

Consts

  Source   Edit @@ -1561,7 +1561,7 @@

Consts

  Source   Edit @@ -1573,7 +1573,7 @@

Consts

  Source   Edit @@ -1585,7 +1585,7 @@

Consts

  Source   Edit @@ -1597,7 +1597,7 @@

Consts

  Source   Edit @@ -1609,7 +1609,7 @@

Consts

  Source   Edit @@ -1621,7 +1621,7 @@

Consts

  Source   Edit @@ -1633,7 +1633,7 @@

Consts

  Source   Edit @@ -1645,7 +1645,7 @@

Consts

  Source   Edit @@ -1657,7 +1657,7 @@

Consts

  Source   Edit @@ -1669,7 +1669,7 @@

Consts

  Source   Edit @@ -1681,7 +1681,7 @@

Consts

  Source   Edit @@ -1693,7 +1693,7 @@

Consts

  Source   Edit @@ -1705,7 +1705,7 @@

Consts

  Source   Edit @@ -1717,7 +1717,7 @@

Consts

  Source   Edit @@ -1729,7 +1729,7 @@

Consts

  Source   Edit @@ -1741,7 +1741,7 @@

Consts

  Source   Edit @@ -1753,7 +1753,7 @@

Consts

  Source   Edit @@ -1765,7 +1765,7 @@

Consts

  Source   Edit @@ -1777,7 +1777,7 @@

Consts

  Source   Edit @@ -1789,7 +1789,7 @@

Consts

  Source   Edit @@ -1801,7 +1801,7 @@

Consts

  Source   Edit @@ -1813,7 +1813,7 @@

Consts

  Source   Edit @@ -1825,7 +1825,7 @@

Consts

  Source   Edit @@ -1837,7 +1837,7 @@

Consts

  Source   Edit @@ -1849,7 +1849,7 @@

Consts

  Source   Edit @@ -1861,7 +1861,7 @@

Consts

  Source   Edit @@ -1873,7 +1873,7 @@

Consts

  Source   Edit @@ -1885,7 +1885,7 @@

Consts

  Source   Edit @@ -1897,7 +1897,7 @@

Consts

  Source   Edit @@ -1909,7 +1909,7 @@

Consts

  Source   Edit @@ -1921,7 +1921,7 @@

Consts

  Source   Edit @@ -1933,7 +1933,7 @@

Consts

  Source   Edit @@ -1945,7 +1945,7 @@

Consts

  Source   Edit @@ -1957,7 +1957,7 @@

Consts

  Source   Edit @@ -1969,7 +1969,7 @@

Consts

  Source   Edit @@ -1981,7 +1981,7 @@

Consts

  Source   Edit @@ -1993,7 +1993,7 @@

Consts

  Source   Edit @@ -2005,7 +2005,7 @@

Consts

  Source   Edit @@ -2017,7 +2017,7 @@

Consts

  Source   Edit @@ -2029,7 +2029,7 @@

Consts

  Source   Edit @@ -2041,7 +2041,7 @@

Consts

  Source   Edit @@ -2053,7 +2053,7 @@

Consts

  Source   Edit @@ -2065,7 +2065,7 @@

Consts

  Source   Edit @@ -2077,7 +2077,7 @@

Consts

  Source   Edit @@ -2089,7 +2089,7 @@

Consts

  Source   Edit @@ -2101,7 +2101,7 @@

Consts

  Source   Edit @@ -2113,7 +2113,7 @@

Consts

  Source   Edit @@ -2125,7 +2125,7 @@

Consts

  Source   Edit @@ -2137,7 +2137,7 @@

Consts

  Source   Edit @@ -2149,7 +2149,7 @@

Consts

  Source   Edit @@ -2161,7 +2161,7 @@

Consts

  Source   Edit @@ -2173,7 +2173,7 @@

Consts

  Source   Edit @@ -2185,7 +2185,7 @@

Consts

  Source   Edit @@ -2197,7 +2197,7 @@

Consts

  Source   Edit @@ -2209,7 +2209,7 @@

Consts

  Source   Edit @@ -2221,7 +2221,7 @@

Consts

  Source   Edit @@ -2233,7 +2233,7 @@

Consts

  Source   Edit @@ -2245,7 +2245,7 @@

Consts

  Source   Edit @@ -2257,7 +2257,7 @@

Consts

  Source   Edit @@ -2269,7 +2269,7 @@

Consts

  Source   Edit @@ -2281,7 +2281,7 @@

Consts

  Source   Edit @@ -2300,7 +2300,7 @@

Procs

Example:

assert $colFuchsia == "#FF00FF"
  Source   Edit @@ -2319,7 +2319,7 @@

Procs

b = Color(0x11_cc_cc) assert a + b == Color(0xbb_cc_ff)   Source   Edit @@ -2338,7 +2338,7 @@

Procs

b = Color(0x11_ff_cc) assert a - b == Color(0xee_00_33)   Source   Edit @@ -2355,7 +2355,7 @@

Procs

assert a == b assert not a == c   Source   Edit @@ -2380,7 +2380,7 @@

Procs

echo extractRGB(b) echo typeof(extractRGB(b))   Source   Edit @@ -2398,7 +2398,7 @@

Procs

assert a.intensity(0.5) == Color(0x80_00_80) assert b.intensity(0.5) == Color(0x00_21_66)   Source   Edit @@ -2418,7 +2418,7 @@

Procs

assert b.isColor assert not c.isColor   Source   Edit @@ -2440,7 +2440,7 @@

Procs

assert parseColor(b) == Color(0x01_79_fc) doAssertRaises(ValueError): discard parseColor(c)   Source   Edit @@ -2454,7 +2454,7 @@

Procs

Example:

assert rgb(0, 255, 128) == Color(0x00_ff_80)
  Source   Edit @@ -2482,7 +2482,7 @@

Templates

assert mix(a, b, myMix) == Color(0x05_32_1f)   Source   Edit diff --git a/colortext.html b/colortext.html index 46b471f1dfb..4a59ea18525 100644 --- a/colortext.html +++ b/colortext.html @@ -477,7 +477,7 @@

experimental/colortext

  Source   Edit @@ -508,7 +508,7 @@

Types

Typeclass, contains all types that can be used for text styling   Source   Edit @@ -523,7 +523,7 @@

Types

Single unicode rune with applied coloring   Source   Edit @@ -535,7 +535,7 @@

Types

  Source   Edit @@ -547,7 +547,7 @@

Types

  Source   Edit @@ -564,7 +564,7 @@

Types

Styling options   Source   Edit @@ -578,7 +578,7 @@

Types

Sequence of colored unicode runes   Source   Edit @@ -590,7 +590,7 @@

Types

Terminal background color. 16-colors are represented as the first 16 values (with 0 being the default), everything higher maps to 256 colors   Source   Edit @@ -602,7 +602,7 @@

Types

Terminal foreground color. Mapping is identical to the background version   Source   Edit @@ -619,7 +619,7 @@

Procs

Convert to string with ansi escape sequences. To disable coloring use toString procedure instead.   Source   Edit @@ -631,7 +631,7 @@

Procs

Convert to multiline string with ansi escape sequences. To disable coloring use toString procedure instead.   Source   Edit @@ -643,7 +643,7 @@

Procs

Convert to string with ansi escape sequences. To disable coloring use toString procedure instead.   Source   Edit @@ -655,7 +655,7 @@

Procs

Convert to string with ansi escape sequences. To disable coloring use toString procedure instead.   Source   Edit @@ -668,7 +668,7 @@

Procs

Shorthand for colored text interpolation   Source   Edit @@ -680,7 +680,7 @@

Procs

Concatenate two colored text blocks   Source   Edit @@ -692,7 +692,7 @@

Procs

Concatenate colored text and regular string (with default style)   Source   Edit @@ -704,7 +704,7 @@

Procs

Concatenate colored text and regular string (with default style)   Source   Edit @@ -716,7 +716,7 @@

Procs

Merge two styling optons, overriding target if the source has non-default value for background or foreground colors   Source   Edit @@ -728,7 +728,7 @@

Procs

Merge two color modifiers and generate color style (fgRed+{styleUnderline})   Source   Edit @@ -740,7 +740,7 @@

Procs

Convert character to colored rune with given style   Source   Edit @@ -752,7 +752,7 @@

Procs

Convert rune to colored one with given style modifier   Source   Edit @@ -764,7 +764,7 @@

Procs

Merge two styles. Second one overrides colors if they are non-default.   Source   Edit @@ -776,7 +776,7 @@

Procs

Apply styling options to colored text   Source   Edit @@ -788,7 +788,7 @@

Procs

Convert text colored one using given style   Source   Edit @@ -800,7 +800,7 @@

Procs

Color equality comparison   Source   Edit @@ -812,7 +812,7 @@

Procs

Compare for equality with std/terminal color   Source   Edit @@ -824,7 +824,7 @@

Procs

Compare for equality with std/terminal color   Source   Edit @@ -836,7 +836,7 @@

Procs

Compare rune for equality with regular character   Source   Edit @@ -848,7 +848,7 @@

Procs

Compare styles for equality - foreground, background and style   Source   Edit @@ -860,7 +860,7 @@

Procs

Assign single character to the colored rune grid, using default style   Source   Edit @@ -873,7 +873,7 @@

Procs

Assign colored text at specific point on the colored grid. Multiline text is assigned propery   Source   Edit @@ -888,7 +888,7 @@

Procs

  Source   Edit @@ -900,7 +900,7 @@

Procs

Shorthand for left align of the colored text. Since library is mostly used for final message formatting it is a very common operation and it was implemented as an operator as well.   Source   Edit @@ -912,7 +912,7 @@

Procs

Shorthand of the right align of the colored text.   Source   Edit @@ -924,7 +924,7 @@

Procs

Add string or character with default style to colored text,   Source   Edit @@ -936,7 +936,7 @@

Procs

Add colored rune line (sequence of runes) to colored text   Source   Edit @@ -948,7 +948,7 @@

Procs

Add one colored text block to another   Source   Edit @@ -960,7 +960,7 @@

Procs

Add colored rune to the text   Source   Edit @@ -972,7 +972,7 @@

Procs

Append one or more colored runes to the text   Source   Edit @@ -987,7 +987,7 @@

Procs

Iterpolation syntax is identical to the std/strutils.addf except $name is currently not supported, so only positional interpolation is available.

  Source   Edit @@ -1000,7 +1000,7 @@

Procs

Add indentation prefix to the colored text.   Source   Edit @@ -1013,7 +1013,7 @@

Procs

Center colored text, using padding rune to fill in missing elements   Source   Edit @@ -1026,7 +1026,7 @@

Procs

Align colored text left, using padding rune to fill in missing elements   Source   Edit @@ -1039,7 +1039,7 @@

Procs

Align colored text right, using padding rune to fill in missing elements   Source   Edit @@ -1051,7 +1051,7 @@

Procs

Construct colored rune with default styling   Source   Edit @@ -1063,7 +1063,7 @@

Procs

Shorthand to construct colored text with single character   Source   Edit @@ -1075,7 +1075,7 @@

Procs

Shorthand to construct colored text string with default value (clt"default")   Source   Edit @@ -1087,7 +1087,7 @@

Procs

Convert to style with only background option set   Source   Edit @@ -1099,7 +1099,7 @@

Procs

Convert to style with only background color set   Source   Edit @@ -1111,7 +1111,7 @@

Procs

Convert to style with only foreground option set   Source   Edit @@ -1123,7 +1123,7 @@

Procs

Convert to style with only foreground color set   Source   Edit @@ -1135,7 +1135,7 @@

Procs

Passthrough proc, used to simplify mapping of the ColModifier typeclass to the ColStyle object.   Source   Edit @@ -1147,7 +1147,7 @@

Procs

Convert to style with given set of styling options   Source   Edit @@ -1159,7 +1159,7 @@

Procs

Convert to style with single styling option set   Source   Edit @@ -1171,7 +1171,7 @@

Procs

Check if coloring contains specific style option   Source   Edit @@ -1183,7 +1183,7 @@

Procs

Default value of the colored rune   Source   Edit @@ -1195,7 +1195,7 @@

Procs

Default value of the color style   Source   Edit @@ -1207,7 +1207,7 @@

Procs

Convert colored text to grid   Source   Edit @@ -1219,7 +1219,7 @@

Procs

Check if colored text has any newlines   Source   Edit @@ -1231,7 +1231,7 @@

Procs

Check if colored text has only trailing newlines and no in-body ones   Source   Edit @@ -1247,7 +1247,7 @@

Procs

  Source   Edit @@ -1261,7 +1261,7 @@

Procs

Initialize color style with given options   Source   Edit @@ -1273,7 +1273,7 @@

Procs

Check if foreground or background color have default value   Source   Edit @@ -1285,7 +1285,7 @@

Procs

Check if rune is a newline rune   Source   Edit @@ -1297,7 +1297,7 @@

Procs

  Source   Edit @@ -1309,7 +1309,7 @@

Procs

Number of runes in text   Source   Edit @@ -1321,7 +1321,7 @@

Procs

  Source   Edit @@ -1333,7 +1333,7 @@

Procs

  Source   Edit @@ -1345,7 +1345,7 @@

Procs

Append newline to the colored text   Source   Edit @@ -1358,7 +1358,7 @@

Procs

Set style for all runes in text, optionally overriding non-defaulted values (or resetting them completely)   Source   Edit @@ -1371,7 +1371,7 @@

Procs

Strip character from each line in text   Source   Edit @@ -1383,7 +1383,7 @@

Procs

Create 256-color with given grey background value (from 0 to 23, for total 24 shades).   Source   Edit @@ -1395,7 +1395,7 @@

Procs

256-color for background. Maps to 216-element color cube.   Source   Edit @@ -1407,7 +1407,7 @@

Procs

Convert std/terminal.BackgroundColor to terminal background color   Source   Edit @@ -1419,7 +1419,7 @@

Procs

Convert std/terminal.ForegroundColor to terminal foreground color   Source   Edit @@ -1431,7 +1431,7 @@

Procs

Grey foreground value   Source   Edit @@ -1443,7 +1443,7 @@

Procs

Create 256-terminal color with given red, green and blue coloring. Colors are mapped to 216-element color cube.   Source   Edit @@ -1455,7 +1455,7 @@

Procs

Convert colered rune to styled one with style   Source   Edit @@ -1467,7 +1467,7 @@

Procs

Convert single rune to colored text   Source   Edit @@ -1479,7 +1479,7 @@

Procs

Passthrough implementation of converter to colored text   Source   Edit @@ -1492,7 +1492,7 @@

Procs

Convert text colored one using given style   Source   Edit @@ -1504,7 +1504,7 @@

Procs

Convert colored text to lowercase   Source   Edit @@ -1516,7 +1516,7 @@

Procs

Convert colored rune to regular string, with ansi escape sequences. color controls whether styling is going to be applied or not.   Source   Edit @@ -1529,7 +1529,7 @@

Procs

Convert sequence of colored runes to the string, with ansi escape sequences in. color controls whether styling is going to be applied or not.   Source   Edit @@ -1541,7 +1541,7 @@

Procs

Convert colored text to string with ansi escape sequences   Source   Edit @@ -1553,7 +1553,7 @@

Procs

Convert colored text to uppercase   Source   Edit @@ -1565,7 +1565,7 @@

Procs

Create single unicode rune from string literal - uc"⮰"   Source   Edit @@ -1577,7 +1577,7 @@

Procs

Get maximum width (line length) of the colored text   Source   Edit @@ -1594,7 +1594,7 @@

Iterators

Iterate over all runes left to right   Source   Edit @@ -1606,7 +1606,7 @@

Iterators

Iterate over lines of the colored text   Source   Edit @@ -1618,7 +1618,7 @@

Iterators

Iterate over all runes right to left   Source   Edit @@ -1648,7 +1648,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/ast.html b/compiler/ast/ast.html index 7ac09b5445b..c8b5da08ec3 100644 --- a/compiler/ast/ast.html +++ b/compiler/ast/ast.html @@ -532,7 +532,7 @@

compiler/ast/ast

  Source   Edit @@ -554,7 +554,7 @@

Vars

convenience switch for trying out things   Source   Edit @@ -571,7 +571,7 @@

Consts

  Source   Edit @@ -583,7 +583,7 @@

Consts

  Source   Edit @@ -600,7 +600,7 @@

Procs

  Source   Edit @@ -612,7 +612,7 @@

Procs

  Source   Edit @@ -624,7 +624,7 @@

Procs

  Source   Edit @@ -636,7 +636,7 @@

Procs

The compiler will use this internally to add nodes that will be appended to the module after the sem pass   Source   Edit @@ -648,7 +648,7 @@

Procs

  Source   Edit @@ -660,7 +660,7 @@

Procs

  Source   Edit @@ -672,7 +672,7 @@

Procs

  Source   Edit @@ -684,7 +684,7 @@

Procs

  Source   Edit @@ -696,7 +696,7 @@

Procs

  Source   Edit @@ -708,7 +708,7 @@

Procs

  Source   Edit @@ -720,7 +720,7 @@

Procs

  Source   Edit @@ -733,7 +733,7 @@

Procs

  Source   Edit @@ -746,7 +746,7 @@

Procs

  Source   Edit @@ -758,7 +758,7 @@

Procs

  Source   Edit @@ -771,7 +771,7 @@

Procs

  Source   Edit @@ -783,7 +783,7 @@

Procs

  Source   Edit @@ -795,7 +795,7 @@

Procs

  Source   Edit @@ -807,7 +807,7 @@

Procs

  Source   Edit @@ -819,7 +819,7 @@

Procs

  Source   Edit @@ -831,7 +831,7 @@

Procs

  Source   Edit @@ -843,7 +843,7 @@

Procs

  Source   Edit @@ -855,7 +855,7 @@

Procs

  Source   Edit @@ -867,7 +867,7 @@

Procs

  Source   Edit @@ -879,7 +879,7 @@

Procs

  Source   Edit @@ -891,7 +891,7 @@

Procs

  Source   Edit @@ -903,7 +903,7 @@

Procs

  Source   Edit @@ -915,7 +915,7 @@

Procs

  Source   Edit @@ -928,7 +928,7 @@

Procs

  Source   Edit @@ -940,7 +940,7 @@

Procs

  Source   Edit @@ -952,7 +952,7 @@

Procs

  Source   Edit @@ -964,7 +964,7 @@

Procs

  Source   Edit @@ -977,7 +977,7 @@

Procs

  Source   Edit @@ -989,7 +989,7 @@

Procs

  Source   Edit @@ -1002,7 +1002,7 @@

Procs

  Source   Edit @@ -1014,7 +1014,7 @@

Procs

  Source   Edit @@ -1026,7 +1026,7 @@

Procs

new node with unknown line info, no type, and no children   Source   Edit @@ -1039,7 +1039,7 @@

Procs

new node with line info, no type, and no children   Source   Edit @@ -1052,7 +1052,7 @@

Procs

new node with line info, no type, and children   Source   Edit @@ -1065,7 +1065,7 @@

Procs

new node with line info, type, and no children   Source   Edit @@ -1078,7 +1078,7 @@

Procs

new node with line info, type, and children   Source   Edit @@ -1092,7 +1092,7 @@

Procs

  Source   Edit @@ -1105,7 +1105,7 @@

Procs

  Source   Edit @@ -1117,7 +1117,7 @@

Procs

  Source   Edit @@ -1129,7 +1129,7 @@

Procs

  Source   Edit @@ -1141,7 +1141,7 @@

Procs

  Source   Edit @@ -1153,7 +1153,7 @@

Procs

  Source   Edit @@ -1167,7 +1167,7 @@

Procs

  Source   Edit @@ -1181,7 +1181,7 @@

Procs

  Source   Edit @@ -1193,7 +1193,7 @@

Procs

create a new sym node from sym with its info and type   Source   Edit @@ -1206,7 +1206,7 @@

Procs

create a new sym node from sym with its type and supplied info   Source   Edit @@ -1218,7 +1218,7 @@

Procs

creates a new nkSym node, unless sym.kind is an skError where an nkError is extracted from the sym and returned instead. NB: not a newSymNode replacement, it's for when symbol sem fails   Source   Edit @@ -1230,7 +1230,7 @@

Procs

creates a new nkSym node, unless sym.kind is an skError where an nkError is extracted from the sym and returned instead. In either case sets the node info to the one provided NB: not a newSymNode replacement, it's for when symbol sem fails   Source   Edit @@ -1243,7 +1243,7 @@

Procs

create a new sym node with the supplied info and typ   Source   Edit @@ -1256,7 +1256,7 @@

Procs

  Source   Edit @@ -1269,7 +1269,7 @@

Procs

  Source   Edit @@ -1282,7 +1282,7 @@

Procs

  Source   Edit @@ -1295,7 +1295,7 @@

Procs

  Source   Edit @@ -1309,7 +1309,7 @@

Procs

create a new error type, with an optional previous type (can be nil) and error node for the error msg   Source   Edit @@ -1322,7 +1322,7 @@

Procs

  Source   Edit @@ -1335,7 +1335,7 @@

Procs

  Source   Edit @@ -1348,7 +1348,7 @@

Procs

  Source   Edit @@ -1360,7 +1360,7 @@

Procs

  Source   Edit @@ -1372,7 +1372,7 @@

Procs

  Source   Edit @@ -1384,7 +1384,7 @@

Procs

  Source   Edit @@ -1397,7 +1397,7 @@

Procs

  Source   Edit @@ -1409,7 +1409,7 @@

Procs

strips leading sk   Source   Edit @@ -1421,7 +1421,7 @@

Procs

strips leading tk   Source   Edit @@ -1433,7 +1433,7 @@

Procs

If typ is a tyRef then its immediate son is returned (which in many cases should be a tyObject). Otherwise typ is simply returned as-is.   Source   Edit @@ -1445,7 +1445,7 @@

Procs

  Source   Edit @@ -1457,7 +1457,7 @@

Procs

  Source   Edit @@ -1469,7 +1469,7 @@

Procs

If typ is a tyObject then it is converted into a ref <typ> and returned. Otherwise typ is simply returned as-is.   Source   Edit @@ -1481,7 +1481,7 @@

Procs

  Source   Edit @@ -1494,7 +1494,7 @@

Procs

If typ is not a tyVar then it is converted into a var <typ> and returned. Otherwise typ is simply returned as-is.   Source   Edit @@ -1506,7 +1506,7 @@

Procs

  Source   Edit @@ -1519,7 +1519,7 @@

Procs

  Source   Edit @@ -1531,7 +1531,7 @@

Procs

  Source   Edit @@ -1544,7 +1544,7 @@

Procs

  Source   Edit @@ -1557,7 +1557,7 @@

Procs

  Source   Edit @@ -1569,7 +1569,7 @@

Procs

transition symbol to an skError with error node   Source   Edit @@ -1581,7 +1581,7 @@

Procs

  Source   Edit @@ -1593,7 +1593,7 @@

Procs

set the line information (info) on the node n   Source   Edit @@ -1610,7 +1610,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/ast_idgen.html b/compiler/ast/ast_idgen.html index ede0577dc21..c98de8b46b3 100644 --- a/compiler/ast/ast_idgen.html +++ b/compiler/ast/ast_idgen.html @@ -147,7 +147,7 @@

compiler/ast/ast_idgen

  Source   Edit @@ -174,7 +174,7 @@

Types

  Source   Edit @@ -191,7 +191,7 @@

Consts

  Source   Edit @@ -208,7 +208,7 @@

Procs

  Source   Edit @@ -220,7 +220,7 @@

Procs

  Source   Edit @@ -232,7 +232,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/ast_parsed_types.html b/compiler/ast/ast_parsed_types.html index 6522414808d..28ae089271c 100644 --- a/compiler/ast/ast_parsed_types.html +++ b/compiler/ast/ast_parsed_types.html @@ -340,7 +340,7 @@

compiler/ast/ast_parsed_types

  Source   Edit @@ -383,7 +383,7 @@

Types

  Source   Edit @@ -402,7 +402,7 @@

Types

  Source   Edit @@ -414,7 +414,7 @@

Types

  Source   Edit @@ -426,7 +426,7 @@

Types

  Source   Edit @@ -438,7 +438,7 @@

Types

  Source   Edit @@ -450,7 +450,7 @@

Types

  Source   Edit @@ -488,7 +488,7 @@

Types

  Source   Edit @@ -525,7 +525,7 @@

Types

  Source   Edit @@ -546,7 +546,7 @@

Types

Used instead of Token to save memory   Source   Edit @@ -566,7 +566,7 @@

Consts

  Source   Edit @@ -581,7 +581,7 @@

Consts

  Source   Edit @@ -594,7 +594,7 @@

Consts

  Source   Edit @@ -606,7 +606,7 @@

Consts

  Source   Edit @@ -618,7 +618,7 @@

Consts

  Source   Edit @@ -630,7 +630,7 @@

Consts

  Source   Edit @@ -642,7 +642,7 @@

Consts

  Source   Edit @@ -659,7 +659,7 @@

Procs

  Source   Edit @@ -671,7 +671,7 @@

Procs

  Source   Edit @@ -683,7 +683,7 @@

Procs

append other to node's sons   Source   Edit @@ -695,7 +695,7 @@

Procs

  Source   Edit @@ -707,7 +707,7 @@

Procs

  Source   Edit @@ -719,7 +719,7 @@

Procs

Number of sons of the parsed node   Source   Edit @@ -733,7 +733,7 @@

Procs

Create an empty ParsedNode   Source   Edit @@ -746,7 +746,7 @@

Procs

Create a new leaf literal parsed node.   Source   Edit @@ -760,7 +760,7 @@

Procs

Create a new non-leaf parsed node with a specified location information and sons.   Source   Edit @@ -773,7 +773,7 @@

Procs

Create a pnkIdent node   Source   Edit @@ -787,7 +787,7 @@

Procs

  Source   Edit @@ -799,7 +799,7 @@

Procs

  Source   Edit @@ -811,7 +811,7 @@

Procs

  Source   Edit @@ -824,7 +824,7 @@

Procs

  Source   Edit @@ -841,7 +841,7 @@

Iterators

  Source   Edit @@ -853,7 +853,7 @@

Iterators

  Source   Edit diff --git a/compiler/ast/ast_query.html b/compiler/ast/ast_query.html index 0446b1a0816..c12a8fcc1a3 100644 --- a/compiler/ast/ast_query.html +++ b/compiler/ast/ast_query.html @@ -635,7 +635,7 @@

compiler/ast/ast_query

  Source   Edit @@ -670,7 +670,7 @@

Types

Named node position accessor   Source   Edit @@ -686,7 +686,7 @@

Types

Named node slice accessor   Source   Edit @@ -704,7 +704,7 @@

Consts

  Source   Edit @@ -716,7 +716,7 @@

Consts

position of body; use rodread.getBody() instead!   Source   Edit @@ -728,7 +728,7 @@

Consts

  Source   Edit @@ -740,7 +740,7 @@

Consts

Error compiler source file as strlit, line & col on info   Source   Edit @@ -756,7 +756,7 @@

Consts

  Source   Edit @@ -768,7 +768,7 @@

Consts

  Source   Edit @@ -781,7 +781,7 @@

Consts

  Source   Edit @@ -793,7 +793,7 @@

Consts

  Source   Edit @@ -805,7 +805,7 @@

Consts

  Source   Edit @@ -817,7 +817,7 @@

Consts

  Source   Edit @@ -829,7 +829,7 @@

Consts

  Source   Edit @@ -842,7 +842,7 @@

Consts

all nodes that have definition slots. In other words, semantic analysis of these can introduce new symbols   Source   Edit @@ -854,7 +854,7 @@

Consts

Error kind enum as an intlit   Source   Edit @@ -868,7 +868,7 @@

Consts

An arguments to these magics never uses nkHiddenAddr, even if the corresponding parameter is a 'var' parameter. The reason for this is that these magics are lowered into code that, because it gets inlined directly, doesn't mutate the arguments through indirection. This also implies that the "is address taken" analysis (see sfAddrTaken) must not be performed for arguments to these magics.   Source   Edit @@ -880,7 +880,7 @@

Consts

Error first 0..n additional nodes depends on error kind   Source   Edit @@ -892,7 +892,7 @@

Consts

Generic parametesr in the procedure-like nodes   Source   Edit @@ -904,7 +904,7 @@

Consts

  Source   Edit @@ -917,7 +917,7 @@

Consts

  Source   Edit @@ -929,7 +929,7 @@

Consts

  Source   Edit @@ -941,7 +941,7 @@

Consts

used for undocumented and hacky stuff   Source   Edit @@ -953,7 +953,7 @@

Consts

Name of the type/proc-like node   Source   Edit @@ -965,7 +965,7 @@

Consts

  Source   Edit @@ -977,7 +977,7 @@

Consts

  Source   Edit @@ -989,7 +989,7 @@

Consts

  Source   Edit @@ -1002,7 +1002,7 @@

Consts

  Source   Edit @@ -1014,7 +1014,7 @@

Consts

  Source   Edit @@ -1026,7 +1026,7 @@

Consts

  Source   Edit @@ -1038,7 +1038,7 @@

Consts

  Source   Edit @@ -1050,7 +1050,7 @@

Consts

  Source   Edit @@ -1062,7 +1062,7 @@

Consts

  Source   Edit @@ -1074,7 +1074,7 @@

Consts

  Source   Edit @@ -1086,7 +1086,7 @@

Consts

  Source   Edit @@ -1098,7 +1098,7 @@

Consts

  Source   Edit @@ -1110,7 +1110,7 @@

Consts

  Source   Edit @@ -1122,7 +1122,7 @@

Consts

  Source   Edit @@ -1134,7 +1134,7 @@

Consts

  Source   Edit @@ -1147,7 +1147,7 @@

Consts

  Source   Edit @@ -1159,7 +1159,7 @@

Consts

Formal parameters in the procedure-like nodes   Source   Edit @@ -1171,7 +1171,7 @@

Consts

empty except for term rewriting macros   Source   Edit @@ -1185,7 +1185,7 @@

Consts

  Source   Edit @@ -1197,7 +1197,7 @@

Consts

Position of the pragma in the procedure-like nodes   Source   Edit @@ -1209,7 +1209,7 @@

Consts

  Source   Edit @@ -1221,7 +1221,7 @@

Consts

  Source   Edit @@ -1233,7 +1233,7 @@

Consts

  Source   Edit @@ -1245,7 +1245,7 @@

Consts

  Source   Edit @@ -1260,7 +1260,7 @@

Consts

  Source   Edit @@ -1272,7 +1272,7 @@

Consts

  Source   Edit @@ -1285,7 +1285,7 @@

Consts

  Source   Edit @@ -1299,7 +1299,7 @@

Consts

  Source   Edit @@ -1311,7 +1311,7 @@

Consts

  Source   Edit @@ -1323,7 +1323,7 @@

Consts

  Source   Edit @@ -1335,7 +1335,7 @@

Consts

Error the ast node we swapped   Source   Edit @@ -1352,7 +1352,7 @@

Procs

  Source   Edit @@ -1364,7 +1364,7 @@

Procs

  Source   Edit @@ -1376,7 +1376,7 @@

Procs

Get subnode by named position   Source   Edit @@ -1388,7 +1388,7 @@

Procs

Access named node slice   Source   Edit @@ -1400,7 +1400,7 @@

Procs

get only the definition (initializer) portion of the ast   Source   Edit @@ -1412,7 +1412,7 @@

Procs

  Source   Edit @@ -1424,7 +1424,7 @@

Procs

  Source   Edit @@ -1436,7 +1436,7 @@

Procs

  Source   Edit @@ -1448,7 +1448,7 @@

Procs

  Source   Edit @@ -1460,7 +1460,7 @@

Procs

return the nkPragma node for declaration n, or nil if no pragma was found. Currently only supports routineDefs + {nkTypeDef}.   Source   Edit @@ -1472,7 +1472,7 @@

Procs

  Source   Edit @@ -1484,7 +1484,7 @@

Procs

Returns the line information of the identifier-like node in the (semantically valid) AST n appearing in a name slot.   Source   Edit @@ -1496,7 +1496,7 @@

Procs

  Source   Edit @@ -1512,7 +1512,7 @@

Procs

  Source   Edit @@ -1524,7 +1524,7 @@

Procs

  Source   Edit @@ -1536,7 +1536,7 @@

Procs

  Source   Edit @@ -1548,7 +1548,7 @@

Procs

Returns underlying PIdent for {nkSym, nkIdent}, or nil.   Source   Edit @@ -1560,7 +1560,7 @@

Procs

  Source   Edit @@ -1572,7 +1572,7 @@

Procs

  Source   Edit @@ -1584,7 +1584,7 @@

Procs

Returns whether the underlying concrete type of t has attached lifetime tracking hooks (that is, is resource-like).   Source   Edit @@ -1596,7 +1596,7 @@

Procs

  Source   Edit @@ -1608,7 +1608,7 @@

Procs

  Source   Edit @@ -1620,7 +1620,7 @@

Procs

  Source   Edit @@ -1632,7 +1632,7 @@

Procs

  Source   Edit @@ -1644,7 +1644,7 @@

Procs

  Source   Edit @@ -1656,7 +1656,7 @@

Procs

  Source   Edit @@ -1668,7 +1668,7 @@

Procs

  Source   Edit @@ -1680,7 +1680,7 @@

Procs

  Source   Edit @@ -1692,7 +1692,7 @@

Procs

  Source   Edit @@ -1704,7 +1704,7 @@

Procs

'void' and 'typed' types are often equivalent to 'nil' these days:   Source   Edit @@ -1716,7 +1716,7 @@

Procs

whether the node is an error, strictly checks nkError and is nil safe   Source   Edit @@ -1728,7 +1728,7 @@

Procs

whether the symbol is an error, strictly checks skError, an error node exists, and is nil safe.   Source   Edit @@ -1742,7 +1742,7 @@

Procs

xxx: currently we have no way to disambiguate between legacy and new

  Source   Edit @@ -1757,7 +1757,7 @@

Procs

  Source   Edit @@ -1769,7 +1769,7 @@

Procs

whether the symbol is an error. useful because of compiler legacy, as skError isn't an enum field rather a const refering to skUnkonwn. we disambiguate via the presence of the ast field being non-nil and of kind nkError   Source   Edit @@ -1783,7 +1783,7 @@

Procs

xxx: currently we have no way to disambiguate between legacy and new

  Source   Edit @@ -1795,7 +1795,7 @@

Procs

used to judge whether a node is generic params.   Source   Edit @@ -1807,7 +1807,7 @@

Procs

  Source   Edit @@ -1825,7 +1825,7 @@

Procs

  Source   Edit @@ -1837,7 +1837,7 @@

Procs

determines if this symbol represents a generic routine the unusual name is so it doesn't collide and eventually replaces isGenericRoutine   Source   Edit @@ -1849,7 +1849,7 @@

Procs

  Source   Edit @@ -1861,7 +1861,7 @@

Procs

  Source   Edit @@ -1873,7 +1873,7 @@

Procs

  Source   Edit @@ -1885,7 +1885,7 @@

Procs

Tests if b is the transitive owner of a, returns true if a got owned! :)   Source   Edit @@ -1897,7 +1897,7 @@

Procs

  Source   Edit @@ -1909,7 +1909,7 @@

Procs

  Source   Edit @@ -1921,7 +1921,7 @@

Procs

  Source   Edit @@ -1933,7 +1933,7 @@

Procs

  Source   Edit @@ -1945,7 +1945,7 @@

Procs

  Source   Edit @@ -1957,7 +1957,7 @@

Procs

  Source   Edit @@ -1969,7 +1969,7 @@

Procs

  Source   Edit @@ -1981,7 +1981,7 @@

Procs

  Source   Edit @@ -1993,7 +1993,7 @@

Procs

  Source   Edit @@ -2005,7 +2005,7 @@

Procs

works even for leaves.   Source   Edit @@ -2017,7 +2017,7 @@

Procs

  Source   Edit @@ -2029,7 +2029,7 @@

Procs

  Source   Edit @@ -2041,7 +2041,7 @@

Procs

Skips over all possible distinct instantiations, getting base.   Source   Edit @@ -2053,7 +2053,7 @@

Procs

Generic instantiations are owned by their originating generic symbol. This proc skips such owners and goes straight to the owner of the generic itself (the module or the enclosing proc).   Source   Edit @@ -2065,7 +2065,7 @@

Procs

  Source   Edit @@ -2077,7 +2077,7 @@

Procs

Used throughout the compiler code to test whether a type tree contains or doesn't contain a specific type/types - it is often the case that only the last child nodes of a type tree need to be searched. This is a really hot path within the compiler!   Source   Edit @@ -2090,7 +2090,7 @@

Procs

  Source   Edit @@ -2102,7 +2102,7 @@

Procs

same as skipTypes but handles 'nil'   Source   Edit @@ -2120,7 +2120,7 @@

Iterators

Returns all branches of the case statement or expression node in order of occurrence. position is the 0-based position of the branch, not the index of the sub-node   Source   Edit @@ -2132,7 +2132,7 @@

Iterators

Returns all labels of the branch-like constructs (i.e. of, if, elif) that node represents, together with their position. For convenience, else branches are also allowed: they're treated as having no labels   Source   Edit @@ -2144,7 +2144,7 @@

Iterators

Returns the nodes appearing in the name slots (including nested ones) of the provided nkForStmt node.   Source   Edit @@ -2157,7 +2157,7 @@

Iterators

For a macro call, yields the symbol for each generic parameter toghether with the argument provided to it   Source   Edit @@ -2169,7 +2169,7 @@

Iterators

  Source   Edit @@ -2181,7 +2181,7 @@

Iterators

Returns the node for each name slot of the node, where node is the definition node for some symbol that is not a routine.   Source   Edit @@ -2193,7 +2193,7 @@

Iterators

  Source   Edit @@ -2210,7 +2210,7 @@

Templates

  Source   Edit @@ -2222,7 +2222,7 @@

Templates

  Source   Edit @@ -2234,7 +2234,7 @@

Templates

  Source   Edit @@ -2246,7 +2246,7 @@

Templates

  Source   Edit @@ -2258,7 +2258,7 @@

Templates

  Source   Edit @@ -2270,7 +2270,7 @@

Templates

  Source   Edit @@ -2282,7 +2282,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/ast_types.html b/compiler/ast/ast_types.html index 9957dcbdabd..a5186e354d6 100644 --- a/compiler/ast/ast_types.html +++ b/compiler/ast/ast_types.html @@ -1620,7 +1620,7 @@

compiler/ast/ast_types

  Source   Edit @@ -1653,7 +1653,7 @@

Types

  Source   Edit @@ -1667,7 +1667,7 @@

Types

  Source   Edit @@ -1748,7 +1748,7 @@

Types

  Source   Edit @@ -1795,7 +1795,7 @@

Types

  Source   Edit @@ -1827,7 +1827,7 @@

Types

  Source   Edit @@ -1846,7 +1846,7 @@

Types

Kinds for errors produced by vmgen   Source   Edit @@ -1867,7 +1867,7 @@

Types

  Source   Edit @@ -1888,7 +1888,7 @@

Types

  Source   Edit @@ -1900,7 +1900,7 @@

Types

id that is used for the caching logic within system.compiles. See the seminst module.   Source   Edit @@ -1914,7 +1914,7 @@

Types

  Source   Edit @@ -1934,7 +1934,7 @@

Types

Flags that describe a symbol's external interface.   Source   Edit @@ -1946,7 +1946,7 @@

Types

  Source   Edit @@ -1958,7 +1958,7 @@

Types

  Source   Edit @@ -1973,7 +1973,7 @@

Types

  Source   Edit @@ -1994,7 +1994,7 @@

Types

  Source   Edit @@ -2016,7 +2016,7 @@

Types

Procedure call argument mismatch reason   Source   Edit @@ -2028,7 +2028,7 @@

Types

  Source   Edit @@ -2040,7 +2040,7 @@

Types

  Source   Edit @@ -2052,7 +2052,7 @@

Types

  Source   Edit @@ -2064,7 +2064,7 @@

Types

  Source   Edit @@ -2076,7 +2076,7 @@

Types

  Source   Edit @@ -2088,7 +2088,7 @@

Types

  Source   Edit @@ -2102,7 +2102,7 @@

Types

  Source   Edit @@ -2114,7 +2114,7 @@

Types

  Source   Edit @@ -2126,7 +2126,7 @@

Types

  Source   Edit @@ -2138,7 +2138,7 @@

Types

  Source   Edit @@ -2156,7 +2156,7 @@

Types

Description of the single candidate mismatch. This type is later used to construct meaningful type mismatch message, and must contain all the necessary information to provide meaningful sorting, collapse and other operations.   Source   Edit @@ -2174,7 +2174,7 @@

Types

  Source   Edit @@ -2191,7 +2191,7 @@

Types

  Source   Edit @@ -2206,7 +2206,7 @@

Types

  Source   Edit @@ -2510,7 +2510,7 @@

Types

  Source   Edit @@ -2532,7 +2532,7 @@

Types

  Source   Edit @@ -2555,7 +2555,7 @@

Types

  Source   Edit @@ -2567,7 +2567,7 @@

Types

  Source   Edit @@ -2582,7 +2582,7 @@

Types

  Source   Edit @@ -2594,7 +2594,7 @@

Types

  Source   Edit @@ -2609,7 +2609,7 @@

Types

  Source   Edit @@ -2623,7 +2623,7 @@

Types

  Source   Edit @@ -2638,7 +2638,7 @@

Types

  Source   Edit @@ -2650,7 +2650,7 @@

Types

  Source   Edit @@ -2665,7 +2665,7 @@

Types

  Source   Edit @@ -2678,7 +2678,7 @@

Types

  Source   Edit @@ -2694,7 +2694,7 @@

Types

  Source   Edit @@ -2712,7 +2712,7 @@

Types

also misused for headers! keep in sync with PackedLib   Source   Edit @@ -2725,7 +2725,7 @@

Types

  Source   Edit @@ -2737,7 +2737,7 @@

Types

  Source   Edit @@ -2784,7 +2784,7 @@

Types

symbols that require compiler magic:   Source   Edit @@ -2826,7 +2826,7 @@

Types

  Source   Edit @@ -2857,7 +2857,7 @@

Types

  Source   Edit @@ -2869,7 +2869,7 @@

Types

  Source   Edit @@ -3057,7 +3057,7 @@

Types

order is important, because ranges are used to check whether a node belongs to a certain class   Source   Edit @@ -3069,7 +3069,7 @@

Types

  Source   Edit @@ -3085,7 +3085,7 @@

Types

  Source   Edit @@ -3097,7 +3097,7 @@

Types

  Source   Edit @@ -3109,7 +3109,7 @@

Types

  Source   Edit @@ -3124,7 +3124,7 @@

Types

  Source   Edit @@ -3136,7 +3136,7 @@

Types

  Source   Edit @@ -3151,7 +3151,7 @@

Types

  Source   Edit @@ -3165,7 +3165,7 @@

Types

  Source   Edit @@ -3177,7 +3177,7 @@

Types

  Source   Edit @@ -3194,7 +3194,7 @@

Types

  Source   Edit @@ -3209,7 +3209,7 @@

Types

a table[PIdent] of PSym   Source   Edit @@ -3284,7 +3284,7 @@

Types

proc and type instantiations are cached in the generic symbol   Source   Edit @@ -3358,7 +3358,7 @@

Types

  Source   Edit @@ -3370,7 +3370,7 @@

Types

  Source   Edit @@ -3413,7 +3413,7 @@

Types

the different symbols (start with the prefix sk); order is important for the documentation generator!   Source   Edit @@ -3425,7 +3425,7 @@

Types

  Source   Edit @@ -3464,7 +3464,7 @@

Types

types are identical only if they have the same id; there may be multiple copies of a type in memory! Keep in sync with PackedType   Source   Edit @@ -3478,7 +3478,7 @@

Types

  Source   Edit @@ -3490,7 +3490,7 @@

Types

  Source   Edit @@ -3504,7 +3504,7 @@

Types

as usual, order is important here   Source   Edit @@ -3572,7 +3572,7 @@

Types

keep below 32 for efficiency reasons (now: 43)   Source   Edit @@ -3584,7 +3584,7 @@

Types

  Source   Edit @@ -3639,7 +3639,7 @@

Types

  Source   Edit @@ -3651,7 +3651,7 @@

Types

  Source   Edit @@ -3674,7 +3674,7 @@

Types

order is important!   Source   Edit @@ -3686,7 +3686,7 @@

Types

  Source   Edit @@ -3704,7 +3704,7 @@

Consts

  Source   Edit @@ -3717,7 +3717,7 @@

Consts

  Source   Edit @@ -3730,7 +3730,7 @@

Consts

  Source   Edit @@ -3743,7 +3743,7 @@

Consts

  Source   Edit @@ -3756,7 +3756,7 @@

Consts

  Source   Edit @@ -3783,7 +3783,7 @@

Consts

  Source   Edit @@ -3809,7 +3809,7 @@

Consts

  Source   Edit @@ -3821,7 +3821,7 @@

Consts

list of effects list   Source   Edit @@ -3833,7 +3833,7 @@

Consts

type flags that are essential for type equality.   Source   Edit @@ -3845,7 +3845,7 @@

Consts

exceptions at position 0   Source   Edit @@ -3857,7 +3857,7 @@

Consts

  Source   Edit @@ -3869,7 +3869,7 @@

Consts

  Source   Edit @@ -3881,7 +3881,7 @@

Consts

  Source   Edit @@ -3893,7 +3893,7 @@

Consts

maximum number of nested generic instantiations or macro pragma expansions   Source   Edit @@ -3905,7 +3905,7 @@

Consts

  Source   Edit @@ -3917,7 +3917,7 @@

Consts

these must be last statements in a block   Source   Edit @@ -3929,7 +3929,7 @@

Consts

  Source   Edit @@ -3941,7 +3941,7 @@

Consts

  Source   Edit @@ -3953,7 +3953,7 @@

Consts

  Source   Edit @@ -3965,7 +3965,7 @@

Consts

  Source   Edit @@ -3977,7 +3977,7 @@

Consts

  Source   Edit @@ -4020,7 +4020,7 @@

Consts

  Source   Edit @@ -4032,7 +4032,7 @@

Consts

not an effect, but a slot for pragmas in proc type   Source   Edit @@ -4045,7 +4045,7 @@

Consts

  Source   Edit @@ -4058,7 +4058,7 @@

Consts

macro or template is immediately expanded in a generic context   Source   Edit @@ -4070,7 +4070,7 @@

Consts

symbol name that was generated by the compiler the compiler will avoid printing such names in user messages.   Source   Edit @@ -4082,7 +4082,7 @@

Consts

  Source   Edit @@ -4094,7 +4094,7 @@

Consts

symbol is custom pragma template   Source   Edit @@ -4106,7 +4106,7 @@

Consts

template is not hygienic (old styled template) module, compiled from a dirty-buffer   Source   Edit @@ -4118,7 +4118,7 @@

Consts

param escapes   Source   Edit @@ -4130,7 +4130,7 @@

Consts

module uses the .experimental switch   Source   Edit @@ -4142,7 +4142,7 @@

Consts

var is used for 'goto' code generation   Source   Edit @@ -4154,7 +4154,7 @@

Consts

forward declarations are not required (per module)   Source   Edit @@ -4166,7 +4166,7 @@

Consts

don't generate code to init the variable   Source   Edit @@ -4178,7 +4178,7 @@

Consts

param is assigned to   Source   Edit @@ -4190,7 +4190,7 @@

Consts

  Source   Edit @@ -4203,7 +4203,7 @@

Consts

the types to skip in order to reach the type that instantiated type-bound operations are attached to. User type-classes are also unconditionally included in this set   Source   Edit @@ -4216,7 +4216,7 @@

Consts

  Source   Edit @@ -4228,7 +4228,7 @@

Consts

user defined tag ('gc', 'time' etc.)   Source   Edit @@ -4240,7 +4240,7 @@

Consts

  Source   Edit @@ -4252,7 +4252,7 @@

Consts

  Source   Edit @@ -4264,7 +4264,7 @@

Consts

  Source   Edit @@ -4276,7 +4276,7 @@

Consts

  Source   Edit @@ -4288,7 +4288,7 @@

Consts

as an errornous node should match everything   Source   Edit @@ -4301,7 +4301,7 @@

Consts

  Source   Edit @@ -4314,7 +4314,7 @@

Consts

  Source   Edit @@ -4327,7 +4327,7 @@

Consts

  Source   Edit @@ -4339,7 +4339,7 @@

Consts

  Source   Edit @@ -4352,7 +4352,7 @@

Consts

  Source   Edit @@ -4364,7 +4364,7 @@

Consts

  Source   Edit @@ -4376,7 +4376,7 @@

Consts

  Source   Edit @@ -4388,7 +4388,7 @@

Consts

  Source   Edit @@ -4405,7 +4405,7 @@

Procs

  Source   Edit @@ -4417,7 +4417,7 @@

Procs

  Source   Edit @@ -4429,7 +4429,7 @@

Procs

  Source   Edit @@ -4441,7 +4441,7 @@

Procs

  Source   Edit @@ -4453,7 +4453,7 @@

Procs

  Source   Edit @@ -4465,7 +4465,7 @@

Procs

  Source   Edit @@ -4477,7 +4477,7 @@

Procs

  Source   Edit @@ -4489,7 +4489,7 @@

Procs

  Source   Edit @@ -4501,7 +4501,7 @@

Procs

  Source   Edit @@ -4513,7 +4513,7 @@

Procs

  Source   Edit @@ -4530,7 +4530,7 @@

Templates

  Source   Edit @@ -4542,7 +4542,7 @@

Templates

  Source   Edit @@ -4554,7 +4554,7 @@

Templates

  Source   Edit @@ -4566,7 +4566,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/astalgo.html b/compiler/ast/astalgo.html index e0fa8281dca..cebd838af39 100644 --- a/compiler/ast/astalgo.html +++ b/compiler/ast/astalgo.html @@ -359,7 +359,7 @@

compiler/ast/astalgo

  Source   Edit @@ -384,7 +384,7 @@

Types

  Source   Edit @@ -398,7 +398,7 @@

Types

  Source   Edit @@ -410,7 +410,7 @@

Types

  Source   Edit @@ -425,7 +425,7 @@

Types

  Source   Edit @@ -439,7 +439,7 @@

Types

  Source   Edit @@ -456,7 +456,7 @@

Consts

  Source   Edit @@ -474,7 +474,7 @@

Procs

  Source   Edit @@ -486,7 +486,7 @@

Procs

  Source   Edit @@ -498,7 +498,7 @@

Procs

if it's a module returns itself, otherwise looks through s' owners, may return nil if none are found.   Source   Edit @@ -512,7 +512,7 @@

Procs

Named parameters are special because a named parameter can be gensym'ed and then they have '`<number>' suffix that we need to ignore, see compiler / evaltempl.nim, snippet:
result.add newIdentNode(getIdent(c.ic, x.name.s & "\`gensym" & $x.id),
          if c.instLines: actual.info else: templ.info)
  Source   Edit @@ -525,7 +525,7 @@

Procs

  Source   Edit @@ -537,7 +537,7 @@

Procs

  Source   Edit @@ -549,7 +549,7 @@

Procs

  Source   Edit @@ -562,7 +562,7 @@

Procs

  Source   Edit @@ -574,7 +574,7 @@

Procs

  Source   Edit @@ -586,7 +586,7 @@

Procs

  Source   Edit @@ -599,7 +599,7 @@

Procs

  Source   Edit @@ -612,7 +612,7 @@

Procs

  Source   Edit @@ -624,7 +624,7 @@

Procs

  Source   Edit @@ -636,7 +636,7 @@

Procs

  Source   Edit @@ -649,7 +649,7 @@

Procs

  Source   Edit @@ -661,7 +661,7 @@

Procs

  Source   Edit @@ -673,7 +673,7 @@

Procs

  Source   Edit @@ -685,7 +685,7 @@

Procs

  Source   Edit @@ -697,7 +697,7 @@

Procs

  Source   Edit @@ -709,7 +709,7 @@

Procs

  Source   Edit @@ -721,7 +721,7 @@

Procs

  Source   Edit @@ -733,7 +733,7 @@

Procs

  Source   Edit @@ -745,7 +745,7 @@

Procs

  Source   Edit @@ -758,7 +758,7 @@

Procs

  Source   Edit @@ -771,7 +771,7 @@

Procs

  Source   Edit @@ -783,7 +783,7 @@

Procs

  Source   Edit @@ -795,7 +795,7 @@

Procs

  Source   Edit @@ -807,7 +807,7 @@

Procs

  Source   Edit @@ -820,7 +820,7 @@

Procs

  Source   Edit @@ -832,7 +832,7 @@

Procs

  Source   Edit @@ -844,7 +844,7 @@

Procs

  Source   Edit @@ -856,7 +856,7 @@

Procs

  Source   Edit @@ -868,7 +868,7 @@

Procs

  Source   Edit @@ -880,7 +880,7 @@

Procs

  Source   Edit @@ -892,7 +892,7 @@

Procs

  Source   Edit @@ -905,7 +905,7 @@

Procs

  Source   Edit @@ -919,7 +919,7 @@

Procs

  Source   Edit @@ -932,7 +932,7 @@

Procs

  Source   Edit @@ -945,7 +945,7 @@

Procs

  Source   Edit @@ -963,7 +963,7 @@

Iterators

  Source   Edit @@ -975,7 +975,7 @@

Iterators

  Source   Edit @@ -988,7 +988,7 @@

Iterators

  Source   Edit @@ -1001,7 +1001,7 @@

Iterators

  Source   Edit diff --git a/compiler/ast/astmsgs.html b/compiler/ast/astmsgs.html index 6de31144872..25668d26909 100644 --- a/compiler/ast/astmsgs.html +++ b/compiler/ast/astmsgs.html @@ -147,7 +147,7 @@

compiler/ast/astmsgs

  Source   Edit @@ -170,7 +170,7 @@

Procs

  Source   Edit @@ -183,7 +183,7 @@

Procs

  Source   Edit @@ -196,7 +196,7 @@

Procs

  Source   Edit @@ -209,7 +209,7 @@

Procs

  Source   Edit @@ -222,7 +222,7 @@

Procs

  Source   Edit @@ -234,7 +234,7 @@

Procs

  Source   Edit @@ -251,7 +251,7 @@

Templates

can be used for quoting expressions in error msgs.   Source   Edit diff --git a/compiler/ast/checked_ast.html b/compiler/ast/checked_ast.html index 9641d2cf6bd..2e5e466011d 100644 --- a/compiler/ast/checked_ast.html +++ b/compiler/ast/checked_ast.html @@ -222,7 +222,7 @@

compiler/ast/checked_ast

  Source   Edit @@ -252,7 +252,7 @@

Types

Represents either in-progress or fully semanticized AST. It is meant as a wrapper for semantically checked AST, hence the name.   Source   Edit @@ -274,7 +274,7 @@

Types

Note: the name is not final and going to change. Represents an in-progress or finished production of either an AST of the same kind and number of children as the source, or an error.   Source   Edit @@ -291,7 +291,7 @@

Procs

  Source   Edit @@ -303,7 +303,7 @@

Procs

  Source   Edit @@ -315,7 +315,7 @@

Procs

Sets the child node at i   Source   Edit @@ -328,7 +328,7 @@

Procs

Sets the child node at i   Source   Edit @@ -340,7 +340,7 @@

Procs

  Source   Edit @@ -352,7 +352,7 @@

Procs

  Source   Edit @@ -364,7 +364,7 @@

Procs

  Source   Edit @@ -378,7 +378,7 @@

Procs

This procedure is only meant to be used at the edge to CheckedAst- unaware code.

  Source   Edit @@ -390,7 +390,7 @@

Procs

Finishes the production and returns the result as a PNode.   Source   Edit @@ -402,7 +402,7 @@

Procs

Replace n with its first child node, but only if n has a single child node and is of kind kind.   Source   Edit @@ -414,7 +414,7 @@

Procs

  Source   Edit @@ -427,7 +427,7 @@

Procs

Initialize x as a node of kind n.kind. Space for all children of n is allocated, but the child nodes are not copied. For the flags, only the persistent ones are copied.   Source   Edit @@ -439,7 +439,7 @@

Procs

Initializes x, using n as the tree. This is only meant to be used with the direct result of a newNodeX or newTreeX call.   Source   Edit @@ -451,7 +451,7 @@

Procs

Setup the production of a new AST of the kind and with the number of children that n has.   Source   Edit @@ -463,7 +463,7 @@

Procs

  Source   Edit @@ -475,7 +475,7 @@

Procs

  Source   Edit @@ -487,7 +487,7 @@

Procs

  Source   Edit @@ -499,7 +499,7 @@

Procs

  Source   Edit @@ -516,7 +516,7 @@

Templates

  Source   Edit @@ -528,7 +528,7 @@

Templates

Direct access to the internal node. Should only be used by code meant for debugging.   Source   Edit diff --git a/compiler/ast/enumtostr.html b/compiler/ast/enumtostr.html index 649bed1b230..1b81846f849 100644 --- a/compiler/ast/enumtostr.html +++ b/compiler/ast/enumtostr.html @@ -124,7 +124,7 @@

compiler/ast/enumtostr

  Source   Edit @@ -149,7 +149,7 @@

Procs

  Source   Edit @@ -164,7 +164,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/errorhandling.html b/compiler/ast/errorhandling.html index e0b2882a593..c8c2646ddcd 100644 --- a/compiler/ast/errorhandling.html +++ b/compiler/ast/errorhandling.html @@ -179,7 +179,7 @@

compiler/ast/errorhandling

  Source   Edit @@ -216,7 +216,7 @@

Procs

return where the error was instantiated in the compiler   Source   Edit @@ -228,7 +228,7 @@

Procs

property to retrieve the error kind   Source   Edit @@ -240,7 +240,7 @@

Procs

find the first error node, or nil, under n using a depth first traversal   Source   Edit @@ -254,7 +254,7 @@

Procs

Create nkError node with given diag, and sets the wrongNode on diag   Source   Edit @@ -271,7 +271,7 @@

Procs

wrongNodeContainer doesn't directly have an error but one may exist further down the tree. If an error does exist it will wrap wrongNodeContainer in an nkError node but no message will be reported for this wrapping. If there is no error, the wrongNodeContainer will be returned as is.   Source   Edit @@ -292,7 +292,7 @@

Iterators

for debugging, walk n yielding any errors found   Source   Edit @@ -305,7 +305,7 @@

Iterators

traverse the ast like walkErrors, but will only do so if n is not nil or an error -- useful when guarding isn't beneficial.   Source   Edit @@ -317,7 +317,7 @@

Iterators

traverses the ast and yields errors from innermost to outermost. this is a linear traversal and two, or more, sibling errors will result in only the first error (per PNode.kids) being yielded.   Source   Edit @@ -335,7 +335,7 @@

Templates

  Source   Edit @@ -347,7 +347,7 @@

Templates

wrongNodeContainer doesn't directly have an error but one exists further down the tree, this is used to wrap the wrongNodeContainer in an nkError node but no message will be reported for it.   Source   Edit diff --git a/compiler/ast/errorreporting.html b/compiler/ast/errorreporting.html index 66f97f8cbb3..d5a9cefdffc 100644 --- a/compiler/ast/errorreporting.html +++ b/compiler/ast/errorreporting.html @@ -134,7 +134,7 @@

compiler/ast/errorreporting

  Source   Edit @@ -160,7 +160,7 @@

Procs

which error handling strategy should be used given the error, use with msg.liMessage when reporting errors.   Source   Edit @@ -177,7 +177,7 @@

Templates

Write out existing sem report that is stored in the nkError node   Source   Edit diff --git a/compiler/ast/filter_tmpl.html b/compiler/ast/filter_tmpl.html index 3cdd03db739..e610b78f63a 100644 --- a/compiler/ast/filter_tmpl.html +++ b/compiler/ast/filter_tmpl.html @@ -119,7 +119,7 @@

compiler/ast/filter_tmpl

  Source   Edit @@ -144,7 +144,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/filters.html b/compiler/ast/filters.html index 8c59b23f047..80ba09dbe5c 100644 --- a/compiler/ast/filters.html +++ b/compiler/ast/filters.html @@ -141,7 +141,7 @@

compiler/ast/filters

  Source   Edit @@ -164,7 +164,7 @@

Procs

  Source   Edit @@ -177,7 +177,7 @@

Procs

  Source   Edit @@ -192,7 +192,7 @@

Procs

  Source   Edit @@ -207,7 +207,7 @@

Procs

  Source   Edit @@ -220,7 +220,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/idents.html b/compiler/ast/idents.html index f2547795d51..de09e0cadc1 100644 --- a/compiler/ast/idents.html +++ b/compiler/ast/idents.html @@ -180,7 +180,7 @@

compiler/ast/idents

  Source   Edit @@ -208,7 +208,7 @@

Types

  Source   Edit @@ -220,7 +220,7 @@

Types

  Source   Edit @@ -237,7 +237,7 @@

Types

  Source   Edit @@ -254,7 +254,7 @@

Procs

identity based (PIdent.id) based equality, unless either are nil, then resort to reference based equality   Source   Edit @@ -266,7 +266,7 @@

Procs

  Source   Edit @@ -279,7 +279,7 @@

Procs

  Source   Edit @@ -291,7 +291,7 @@

Procs

  Source   Edit @@ -304,7 +304,7 @@

Procs

  Source   Edit @@ -316,7 +316,7 @@

Procs

returns the identifier associated with an error, this will create the identifier if it does not already exist in the cache.   Source   Edit @@ -328,7 +328,7 @@

Procs

don't actually compute, we just access it   Source   Edit @@ -340,7 +340,7 @@

Procs

optimization: check against the cached/canonical not found ident entry   Source   Edit @@ -352,7 +352,7 @@

Procs

  Source   Edit @@ -364,7 +364,7 @@

Procs

  Source   Edit @@ -376,7 +376,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/lexer.html b/compiler/ast/lexer.html index c87df8fe318..81673c609ca 100644 --- a/compiler/ast/lexer.html +++ b/compiler/ast/lexer.html @@ -343,7 +343,7 @@

compiler/ast/lexer

  Source   Edit @@ -378,7 +378,7 @@

Types

  Source   Edit @@ -401,7 +401,7 @@

Types

Diagnostic data from the Lexer, mostly errors   Source   Edit @@ -426,7 +426,7 @@

Types

  Source   Edit @@ -453,7 +453,7 @@

Types

a Nim token   Source   Edit @@ -501,7 +501,7 @@

Types

  Source   Edit @@ -513,7 +513,7 @@

Types

  Source   Edit @@ -530,7 +530,7 @@

Consts

  Source   Edit @@ -542,7 +542,7 @@

Consts

  Source   Edit @@ -554,7 +554,7 @@

Consts

  Source   Edit @@ -566,7 +566,7 @@

Consts

  Source   Edit @@ -578,7 +578,7 @@

Consts

  Source   Edit @@ -591,7 +591,7 @@

Consts

  Source   Edit @@ -603,7 +603,7 @@

Consts

  Source   Edit @@ -615,7 +615,7 @@

Consts

  Source   Edit @@ -627,7 +627,7 @@

Consts

  Source   Edit @@ -639,7 +639,7 @@

Consts

  Source   Edit @@ -651,7 +651,7 @@

Consts

  Source   Edit @@ -668,7 +668,7 @@

Procs

  Source   Edit @@ -680,7 +680,7 @@

Procs

  Source   Edit @@ -692,7 +692,7 @@

Procs

return value represents a point in time where all existing diagnostics are considered in the past, used in conjunction with errorsHintsAndWarnings   Source   Edit @@ -704,7 +704,7 @@

Procs

creates a human readable string message for a diagnostic, does not include any extra information such as line info, severity, and so on.   Source   Edit @@ -718,7 +718,7 @@

Procs

  Source   Edit @@ -730,7 +730,7 @@

Procs

  Source   Edit @@ -742,7 +742,7 @@

Procs

  Source   Edit @@ -754,7 +754,7 @@

Procs

assumes ident is binary operator already   Source   Edit @@ -766,7 +766,7 @@

Procs

Calculates the precedence of the given token.   Source   Edit @@ -778,7 +778,7 @@

Procs

  Source   Edit @@ -790,7 +790,7 @@

Procs

is this the identifier a keyword?   Source   Edit @@ -802,7 +802,7 @@

Procs

  Source   Edit @@ -814,7 +814,7 @@

Procs

  Source   Edit @@ -826,7 +826,7 @@

Procs

  Source   Edit @@ -840,7 +840,7 @@

Procs

  Source   Edit @@ -855,7 +855,7 @@

Procs

  Source   Edit @@ -867,7 +867,7 @@

Procs

  Source   Edit @@ -880,7 +880,7 @@

Procs

  Source   Edit @@ -893,7 +893,7 @@

Procs

  Source   Edit @@ -911,7 +911,7 @@

Iterators

iterate over all diagnostics from the beginning, or from the point in time specificed via diagOffset   Source   Edit diff --git a/compiler/ast/lineinfos.html b/compiler/ast/lineinfos.html index 3215fd3a85f..3cf067cc838 100644 --- a/compiler/ast/lineinfos.html +++ b/compiler/ast/lineinfos.html @@ -224,7 +224,7 @@

compiler/ast/lineinfos

  Source   Edit @@ -248,7 +248,7 @@

Types

verbosity of the compiler, number is used as an array index and the string matches what's passed on the CLI.   Source   Edit @@ -260,7 +260,7 @@

Types

  Source   Edit @@ -272,7 +272,7 @@

Types

  Source   Edit @@ -284,7 +284,7 @@

Types

  Source   Edit @@ -296,7 +296,7 @@

Types

  Source   Edit @@ -308,7 +308,7 @@

Types

  Source   Edit @@ -321,7 +321,7 @@

Types

VS Code only supports these three   Source   Edit @@ -334,7 +334,7 @@

Types

  Source   Edit @@ -346,7 +346,7 @@

Types

  Source   Edit @@ -374,7 +374,7 @@

Types

  Source   Edit @@ -390,7 +390,7 @@

Types

This is designed to be as small as possible, because it is used in syntax nodes. We save space here by using two int16 and an int32. On 64 bit and on 32 bit systems this is only 8 bytes.   Source   Edit @@ -407,7 +407,7 @@

Consts

  Source   Edit @@ -419,7 +419,7 @@

Consts

  Source   Edit @@ -431,7 +431,7 @@

Consts

  Source   Edit @@ -443,7 +443,7 @@

Consts

special marker so that no suggestions are produced within comments and string literals   Source   Edit @@ -455,7 +455,7 @@

Consts

  Source   Edit @@ -472,7 +472,7 @@

Procs

  Source   Edit @@ -484,7 +484,7 @@

Procs

  Source   Edit @@ -496,7 +496,7 @@

Procs

  Source   Edit @@ -508,7 +508,7 @@

Procs

  Source   Edit @@ -520,7 +520,7 @@

Procs

Check if info represents valid source file location   Source   Edit @@ -533,7 +533,7 @@

Procs

  Source   Edit @@ -546,7 +546,7 @@

Procs

  Source   Edit @@ -565,7 +565,7 @@

Templates

whether to use full paths depends on --excessiveStackTrace compiler option.

  Source   Edit diff --git a/compiler/ast/linter.html b/compiler/ast/linter.html index bf81c762cdd..9334cf8d324 100644 --- a/compiler/ast/linter.html +++ b/compiler/ast/linter.html @@ -153,7 +153,7 @@

compiler/ast/linter

  Source   Edit @@ -186,7 +186,7 @@

Consts

  Source   Edit @@ -205,7 +205,7 @@

Procs

  Source   Edit @@ -217,7 +217,7 @@

Procs

  Source   Edit @@ -230,7 +230,7 @@

Procs

  Source   Edit @@ -247,7 +247,7 @@

Templates

  Source   Edit @@ -259,7 +259,7 @@

Templates

  Source   Edit @@ -271,7 +271,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/llstream.html b/compiler/ast/llstream.html index b80206e6f10..a15945cba63 100644 --- a/compiler/ast/llstream.html +++ b/compiler/ast/llstream.html @@ -196,7 +196,7 @@

compiler/ast/llstream

  Source   Edit @@ -218,7 +218,7 @@

Types

  Source   Edit @@ -230,7 +230,7 @@

Types

  Source   Edit @@ -242,7 +242,7 @@

Types

  Source   Edit @@ -262,7 +262,7 @@

Types

  Source   Edit @@ -275,7 +275,7 @@

Types

  Source   Edit @@ -292,7 +292,7 @@

Procs

  Source   Edit @@ -304,7 +304,7 @@

Procs

  Source   Edit @@ -316,7 +316,7 @@

Procs

  Source   Edit @@ -328,7 +328,7 @@

Procs

  Source   Edit @@ -340,7 +340,7 @@

Procs

  Source   Edit @@ -352,7 +352,7 @@

Procs

  Source   Edit @@ -365,7 +365,7 @@

Procs

  Source   Edit @@ -378,7 +378,7 @@

Procs

  Source   Edit @@ -391,7 +391,7 @@

Procs

  Source   Edit @@ -404,7 +404,7 @@

Procs

  Source   Edit @@ -417,7 +417,7 @@

Procs

  Source   Edit @@ -430,7 +430,7 @@

Procs

  Source   Edit @@ -443,7 +443,7 @@

Procs

  Source   Edit @@ -456,7 +456,7 @@

Procs

  Source   Edit @@ -469,7 +469,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/ndi.html b/compiler/ast/ndi.html index fcd839776b8..1fc22088cc3 100644 --- a/compiler/ast/ndi.html +++ b/compiler/ast/ndi.html @@ -146,7 +146,7 @@

compiler/ast/ndi

  Source   Edit @@ -174,7 +174,7 @@

Types

  Source   Edit @@ -192,7 +192,7 @@

Procs

  Source   Edit @@ -205,7 +205,7 @@

Procs

  Source   Edit @@ -222,7 +222,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/nimlexbase.html b/compiler/ast/nimlexbase.html index fc9e1ca5f03..e4f4310e58e 100644 --- a/compiler/ast/nimlexbase.html +++ b/compiler/ast/nimlexbase.html @@ -189,7 +189,7 @@

compiler/ast/nimlexbase

  Source   Edit @@ -223,7 +223,7 @@

Types

  Source   Edit @@ -240,7 +240,7 @@

Consts

  Source   Edit @@ -252,7 +252,7 @@

Consts

  Source   Edit @@ -264,7 +264,7 @@

Consts

  Source   Edit @@ -276,7 +276,7 @@

Consts

  Source   Edit @@ -288,7 +288,7 @@

Consts

end of file marker   Source   Edit @@ -300,7 +300,7 @@

Consts

  Source   Edit @@ -312,7 +312,7 @@

Consts

  Source   Edit @@ -324,7 +324,7 @@

Consts

  Source   Edit @@ -336,7 +336,7 @@

Consts

  Source   Edit @@ -348,7 +348,7 @@

Consts

  Source   Edit @@ -360,7 +360,7 @@

Consts

  Source   Edit @@ -372,7 +372,7 @@

Consts

  Source   Edit @@ -389,7 +389,7 @@

Procs

  Source   Edit @@ -401,7 +401,7 @@

Procs

  Source   Edit @@ -414,7 +414,7 @@

Procs

  Source   Edit @@ -427,7 +427,7 @@

Procs

Call this if you scanned over CR in the buffer; it returns the position to continue the scanning from. pos must be the position of the CR.   Source   Edit @@ -440,7 +440,7 @@

Procs

Call this if you scanned over LF in the buffer; it returns the position to continue the scanning from. pos must be the position of the LF.   Source   Edit @@ -453,7 +453,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/nimsets.html b/compiler/ast/nimsets.html index beba047555d..6d4c8ed4867 100644 --- a/compiler/ast/nimsets.html +++ b/compiler/ast/nimsets.html @@ -197,7 +197,7 @@

compiler/ast/nimsets

  Source   Edit @@ -220,7 +220,7 @@

Procs

  Source   Edit @@ -233,7 +233,7 @@

Procs

  Source   Edit @@ -246,7 +246,7 @@

Procs

  Source   Edit @@ -259,7 +259,7 @@

Procs

  Source   Edit @@ -272,7 +272,7 @@

Procs

  Source   Edit @@ -284,7 +284,7 @@

Procs

  Source   Edit @@ -297,7 +297,7 @@

Procs

  Source   Edit @@ -310,7 +310,7 @@

Procs

Includes all elements from tree-set s into result   Source   Edit @@ -322,7 +322,7 @@

Procs

  Source   Edit @@ -335,7 +335,7 @@

Procs

  Source   Edit @@ -347,7 +347,7 @@

Procs

  Source   Edit @@ -359,7 +359,7 @@

Procs

  Source   Edit @@ -372,7 +372,7 @@

Procs

  Source   Edit @@ -385,7 +385,7 @@

Procs

  Source   Edit @@ -398,7 +398,7 @@

Procs

Creates a bit set from tree-set s   Source   Edit @@ -411,7 +411,7 @@

Procs

  Source   Edit @@ -424,7 +424,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/numericbase.html b/compiler/ast/numericbase.html index 2edb2b39d3a..bcec6a3a4e9 100644 --- a/compiler/ast/numericbase.html +++ b/compiler/ast/numericbase.html @@ -111,7 +111,7 @@

compiler/ast/numericbase

  Source   Edit @@ -131,7 +131,7 @@

Types

  Source   Edit diff --git a/compiler/ast/parser.html b/compiler/ast/parser.html index 6bd571ded8a..f9fe24ddf5f 100644 --- a/compiler/ast/parser.html +++ b/compiler/ast/parser.html @@ -168,7 +168,7 @@

compiler/ast/parser

  Source   Edit @@ -203,7 +203,7 @@

Types

A Parser object represents a file that is being parsed   Source   Edit @@ -217,7 +217,7 @@

Types

  Source   Edit @@ -234,7 +234,7 @@

Procs

Close a parser, freeing up its resources.   Source   Edit @@ -249,7 +249,7 @@

Procs

Open a parser, using the given arguments to set up its internal state.   Source   Edit @@ -264,7 +264,7 @@

Procs

  Source   Edit @@ -278,7 +278,7 @@

Procs

Parses the rest of the input stream held by the parser into a ParsedNode.   Source   Edit @@ -293,7 +293,7 @@

Procs

Parses a string into an AST, returning the top node. filename and line, although optional, provide info so that the compiler can generate correct error messages referring to the original source.   Source   Edit @@ -307,7 +307,7 @@

Procs

Implements an iterator which, when called repeatedly, returns the next top-level statement or emptyNode if end of stream.   Source   Edit diff --git a/compiler/ast/renderer.html b/compiler/ast/renderer.html index e2fc4e7d8e7..d567ac886cc 100644 --- a/compiler/ast/renderer.html +++ b/compiler/ast/renderer.html @@ -193,7 +193,7 @@

compiler/ast/renderer

  Source   Edit @@ -218,7 +218,7 @@

Types

  Source   Edit @@ -230,7 +230,7 @@

Types

  Source   Edit @@ -246,7 +246,7 @@

Types

  Source   Edit @@ -258,7 +258,7 @@

Types

  Source   Edit @@ -288,7 +288,7 @@

Types

  Source   Edit @@ -305,7 +305,7 @@

Procs

  Source   Edit @@ -317,7 +317,7 @@

Procs

  Source   Edit @@ -330,7 +330,7 @@

Procs

  Source   Edit @@ -342,7 +342,7 @@

Procs

  Source   Edit @@ -355,7 +355,7 @@

Procs

  Source   Edit @@ -370,7 +370,7 @@

Procs

If noQuotes is false the symbol may be returned in backticks. This will happen if the name happens to be a keyword or the first character is not part of the SymStartChars set.

  Source   Edit @@ -385,7 +385,7 @@

Procs

  Source   Edit @@ -398,7 +398,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/renderverbatim.html b/compiler/ast/renderverbatim.html index 65439fae349..3071c64541e 100644 --- a/compiler/ast/renderverbatim.html +++ b/compiler/ast/renderverbatim.html @@ -117,7 +117,7 @@

compiler/ast/renderverbatim

  Source   Edit @@ -140,7 +140,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/report_enums.html b/compiler/ast/report_enums.html index ad6aa3fffcd..8a3f6350834 100644 --- a/compiler/ast/report_enums.html +++ b/compiler/ast/report_enums.html @@ -636,7 +636,7 @@

compiler/ast/report_enums

  Source   Edit @@ -653,7 +653,7 @@

Types

  Source   Edit @@ -665,7 +665,7 @@

Types

  Source   Edit @@ -677,7 +677,7 @@

Types

  Source   Edit @@ -689,7 +689,7 @@

Types

  Source   Edit @@ -701,7 +701,7 @@

Types

  Source   Edit @@ -713,7 +713,7 @@

Types

  Source   Edit @@ -726,7 +726,7 @@

Types

  Source   Edit @@ -738,7 +738,7 @@

Types

  Source   Edit @@ -767,7 +767,7 @@

Types

Kinds of the toplevel reports. Only dispatches on report topics, such as sem, parse, macro (for echo in compile-time code) and so on. Subdivision is based on different phases of the compiler operation, and not on report's state itself, as those are completely orthogonal to each other (lexer might provide errors and hints, parser can provide errors, hints and warnings)   Source   Edit @@ -1100,7 +1100,7 @@

Types

Different naming scheme is used for a reports with different categories - this enum exists only to make it easier to work with different report kinds, without having to manage seven different enum types.

  Source   Edit @@ -1112,7 +1112,7 @@

Types

  Source   Edit @@ -1130,7 +1130,7 @@

Types

  Source   Edit @@ -1142,7 +1142,7 @@

Types

  Source   Edit @@ -1154,7 +1154,7 @@

Types

  Source   Edit @@ -1166,7 +1166,7 @@

Types

  Source   Edit @@ -1178,7 +1178,7 @@

Types

  Source   Edit @@ -1195,7 +1195,7 @@

Consts

  Source   Edit @@ -1207,7 +1207,7 @@

Consts

  Source   Edit @@ -1219,7 +1219,7 @@

Consts

  Source   Edit @@ -1231,7 +1231,7 @@

Consts

  Source   Edit @@ -1243,7 +1243,7 @@

Consts

  Source   Edit @@ -1255,7 +1255,7 @@

Consts

  Source   Edit @@ -1267,7 +1267,7 @@

Consts

  Source   Edit @@ -1279,7 +1279,7 @@

Consts

  Source   Edit @@ -1291,7 +1291,7 @@

Consts

  Source   Edit @@ -1303,7 +1303,7 @@

Consts

  Source   Edit @@ -1315,7 +1315,7 @@

Consts

  Source   Edit @@ -1327,7 +1327,7 @@

Consts

  Source   Edit @@ -1343,7 +1343,7 @@

Consts

  Source   Edit @@ -1355,7 +1355,7 @@

Consts

  Source   Edit @@ -1367,7 +1367,7 @@

Consts

  Source   Edit @@ -1386,7 +1386,7 @@

Consts

  Source   Edit @@ -1402,7 +1402,7 @@

Consts

  Source   Edit @@ -1414,7 +1414,7 @@

Consts

  Source   Edit @@ -1426,7 +1426,7 @@

Consts

  Source   Edit @@ -1438,7 +1438,7 @@

Consts

  Source   Edit @@ -1450,7 +1450,7 @@

Consts

  Source   Edit @@ -1462,7 +1462,7 @@

Consts

  Source   Edit @@ -1474,7 +1474,7 @@

Consts

  Source   Edit @@ -1486,7 +1486,7 @@

Consts

  Source   Edit @@ -1498,7 +1498,7 @@

Consts

  Source   Edit @@ -1510,7 +1510,7 @@

Consts

  Source   Edit @@ -1523,7 +1523,7 @@

Consts

  Source   Edit @@ -1535,7 +1535,7 @@

Consts

  Source   Edit @@ -1552,7 +1552,7 @@

Consts

  Source   Edit @@ -1567,7 +1567,7 @@

Consts

  Source   Edit @@ -1579,7 +1579,7 @@

Consts

  Source   Edit @@ -1591,7 +1591,7 @@

Consts

  Source   Edit @@ -1603,7 +1603,7 @@

Consts

  Source   Edit @@ -1615,7 +1615,7 @@

Consts

  Source   Edit @@ -1627,7 +1627,7 @@

Consts

Fatal internal compilation reports   Source   Edit @@ -1639,7 +1639,7 @@

Consts

  Source   Edit @@ -1651,7 +1651,7 @@

Consts

  Source   Edit @@ -1663,7 +1663,7 @@

Consts

  Source   Edit @@ -1675,7 +1675,7 @@

Consts

  Source   Edit @@ -1687,7 +1687,7 @@

Consts

  Source   Edit @@ -1699,7 +1699,7 @@

Consts

  Source   Edit @@ -1711,7 +1711,7 @@

Consts

  Source   Edit @@ -1723,7 +1723,7 @@

Consts

  Source   Edit @@ -1735,7 +1735,7 @@

Consts

  Source   Edit @@ -1747,7 +1747,7 @@

Consts

  Source   Edit @@ -1760,7 +1760,7 @@

Consts

  Source   Edit @@ -1778,7 +1778,7 @@

Consts

  Source   Edit @@ -1792,7 +1792,7 @@

Consts

  Source   Edit @@ -1805,7 +1805,7 @@

Consts

  Source   Edit @@ -1820,7 +1820,7 @@

Consts

  Source   Edit @@ -1832,7 +1832,7 @@

Consts

  Source   Edit @@ -1844,7 +1844,7 @@

Consts

  Source   Edit @@ -1856,7 +1856,7 @@

Consts

  Source   Edit @@ -1868,7 +1868,7 @@

Consts

  Source   Edit @@ -1880,7 +1880,7 @@

Consts

  Source   Edit @@ -1892,7 +1892,7 @@

Consts

  Source   Edit diff --git a/compiler/ast/reports.html b/compiler/ast/reports.html index eb519311631..ca5ce6ebdf9 100644 --- a/compiler/ast/reports.html +++ b/compiler/ast/reports.html @@ -315,7 +315,7 @@

compiler/ast/reports

  Source   Edit @@ -376,7 +376,7 @@

Types

Toplevel wrapper type for the compiler report   Source   Edit @@ -393,7 +393,7 @@

Types

  Source   Edit @@ -411,7 +411,7 @@

Lets

  Source   Edit @@ -428,7 +428,7 @@

Procs

  Source   Edit @@ -440,7 +440,7 @@

Procs

  Source   Edit @@ -452,7 +452,7 @@

Procs

  Source   Edit @@ -464,7 +464,7 @@

Procs

  Source   Edit @@ -477,7 +477,7 @@

Procs

  Source   Edit @@ -489,7 +489,7 @@

Procs

  Source   Edit @@ -501,7 +501,7 @@

Procs

  Source   Edit @@ -513,7 +513,7 @@

Procs

  Source   Edit @@ -525,7 +525,7 @@

Procs

  Source   Edit @@ -537,7 +537,7 @@

Procs

  Source   Edit @@ -549,7 +549,7 @@

Procs

  Source   Edit @@ -561,7 +561,7 @@

Procs

  Source   Edit @@ -573,7 +573,7 @@

Procs

  Source   Edit @@ -587,7 +587,7 @@

Procs

Return report severity accounting for 'asError' and 'asWarning' mapping sets.   Source   Edit @@ -600,7 +600,7 @@

Procs

  Source   Edit @@ -612,7 +612,7 @@

Procs

  Source   Edit @@ -625,7 +625,7 @@

Procs

  Source   Edit @@ -637,7 +637,7 @@

Procs

  Source   Edit @@ -649,7 +649,7 @@

Procs

  Source   Edit @@ -661,7 +661,7 @@

Procs

  Source   Edit @@ -673,7 +673,7 @@

Procs

  Source   Edit @@ -685,7 +685,7 @@

Procs

  Source   Edit @@ -697,7 +697,7 @@

Procs

  Source   Edit @@ -709,7 +709,7 @@

Procs

  Source   Edit @@ -721,7 +721,7 @@

Procs

  Source   Edit @@ -733,7 +733,7 @@

Procs

  Source   Edit @@ -745,7 +745,7 @@

Procs

  Source   Edit @@ -757,7 +757,7 @@

Procs

  Source   Edit @@ -769,7 +769,7 @@

Procs

  Source   Edit @@ -782,7 +782,7 @@

Procs

  Source   Edit @@ -794,7 +794,7 @@

Procs

  Source   Edit @@ -811,7 +811,7 @@

Templates

  Source   Edit @@ -823,7 +823,7 @@

Templates

  Source   Edit @@ -835,7 +835,7 @@

Templates

  Source   Edit @@ -847,7 +847,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/reports_backend.html b/compiler/ast/reports_backend.html index 6da4cacc892..5d20d391f4e 100644 --- a/compiler/ast/reports_backend.html +++ b/compiler/ast/reports_backend.html @@ -144,7 +144,7 @@

compiler/ast/reports_backend

  Source   Edit @@ -190,7 +190,7 @@

Types

  Source   Edit @@ -207,7 +207,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_base.html b/compiler/ast/reports_base.html index 0ef8fe2cbad..e0141e21bb4 100644 --- a/compiler/ast/reports_base.html +++ b/compiler/ast/reports_base.html @@ -134,7 +134,7 @@

compiler/ast/reports_base

  Source   Edit @@ -157,7 +157,7 @@

Types

Inherit various debugging related reports from this object   Source   Edit @@ -183,7 +183,7 @@

Types

  Source   Edit @@ -199,7 +199,7 @@

Types

Location expressed in terms of a single point in the file   Source   Edit diff --git a/compiler/ast/reports_base_sem.html b/compiler/ast/reports_base_sem.html index ab40eaef976..45708e2bc6c 100644 --- a/compiler/ast/reports_base_sem.html +++ b/compiler/ast/reports_base_sem.html @@ -127,7 +127,7 @@

compiler/ast/reports_base_sem

  Source   Edit @@ -158,7 +158,7 @@

Types

  Source   Edit @@ -171,7 +171,7 @@

Types

  Source   Edit @@ -187,7 +187,7 @@

Types

For refactor info: https://github.com/nim-works/nimskull/issues/443

  Source   Edit diff --git a/compiler/ast/reports_cmd.html b/compiler/ast/reports_cmd.html index 8cdc156a939..6da50abcbd9 100644 --- a/compiler/ast/reports_cmd.html +++ b/compiler/ast/reports_cmd.html @@ -134,7 +134,7 @@

compiler/ast/reports_cmd

  Source   Edit @@ -170,7 +170,7 @@

Types

  Source   Edit @@ -187,7 +187,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_debug.html b/compiler/ast/reports_debug.html index 6ca3cf7d2b8..696979bbb97 100644 --- a/compiler/ast/reports_debug.html +++ b/compiler/ast/reports_debug.html @@ -160,7 +160,7 @@

compiler/ast/reports_debug

  Source   Edit @@ -203,7 +203,7 @@

Types

  Source   Edit @@ -233,7 +233,7 @@

Types

  Source   Edit @@ -250,7 +250,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_external.html b/compiler/ast/reports_external.html index bd44d440471..413a51e6795 100644 --- a/compiler/ast/reports_external.html +++ b/compiler/ast/reports_external.html @@ -127,7 +127,7 @@

compiler/ast/reports_external

  Source   Edit @@ -155,7 +155,7 @@

Types

Report about external environment reads, passed configuration options etc.   Source   Edit @@ -172,7 +172,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_internal.html b/compiler/ast/reports_internal.html index 7dbc134acc6..88e2e22d16e 100644 --- a/compiler/ast/reports_internal.html +++ b/compiler/ast/reports_internal.html @@ -162,7 +162,7 @@

compiler/ast/reports_internal

  Source   Edit @@ -215,7 +215,7 @@

Types

Report generated for the internal compiler workings   Source   Edit @@ -245,7 +245,7 @@

Types

  Source   Edit @@ -262,7 +262,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_lexer.html b/compiler/ast/reports_lexer.html index d041449d709..d8eb175a038 100644 --- a/compiler/ast/reports_lexer.html +++ b/compiler/ast/reports_lexer.html @@ -127,7 +127,7 @@

compiler/ast/reports_lexer

  Source   Edit @@ -152,7 +152,7 @@

Types

  Source   Edit @@ -169,7 +169,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_parser.html b/compiler/ast/reports_parser.html index c2061384a62..21517c79d57 100644 --- a/compiler/ast/reports_parser.html +++ b/compiler/ast/reports_parser.html @@ -145,7 +145,7 @@

compiler/ast/reports_parser

  Source   Edit @@ -189,7 +189,7 @@

Types

  Source   Edit @@ -206,7 +206,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_sem.html b/compiler/ast/reports_sem.html index e73af17b776..779fe712c20 100644 --- a/compiler/ast/reports_sem.html +++ b/compiler/ast/reports_sem.html @@ -373,7 +373,7 @@

compiler/ast/reports_sem

  Source   Edit @@ -402,7 +402,7 @@

Types

stripped down version of sigmatch.TCandidate   Source   Edit @@ -441,7 +441,7 @@

Types

  Source   Edit @@ -454,7 +454,7 @@

Types

  Source   Edit @@ -469,7 +469,7 @@

Types

  Source   Edit @@ -483,7 +483,7 @@

Types

  Source   Edit @@ -500,7 +500,7 @@

Types

keep history for each transition   Source   Edit @@ -652,7 +652,7 @@

Types

  Source   Edit @@ -666,7 +666,7 @@

Types

  Source   Edit @@ -689,7 +689,7 @@

Types

  Source   Edit @@ -707,7 +707,7 @@

Procs

  Source   Edit @@ -719,7 +719,7 @@

Procs

  Source   Edit @@ -733,7 +733,7 @@

Procs

  Source   Edit @@ -746,7 +746,7 @@

Procs

  Source   Edit @@ -759,7 +759,7 @@

Procs

  Source   Edit @@ -772,7 +772,7 @@

Procs

  Source   Edit @@ -784,7 +784,7 @@

Procs

  Source   Edit @@ -797,7 +797,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/reports_vm.html b/compiler/ast/reports_vm.html index 14c842262fd..425f25bdeb9 100644 --- a/compiler/ast/reports_vm.html +++ b/compiler/ast/reports_vm.html @@ -148,7 +148,7 @@

compiler/ast/reports_vm

  Source   Edit @@ -195,7 +195,7 @@

Types

  Source   Edit @@ -212,7 +212,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/syntaxes.html b/compiler/ast/syntaxes.html index b9418435c25..e61cd5a5f79 100644 --- a/compiler/ast/syntaxes.html +++ b/compiler/ast/syntaxes.html @@ -137,7 +137,7 @@

compiler/ast/syntaxes

  Source   Edit @@ -162,7 +162,7 @@

Procs

  Source   Edit @@ -176,7 +176,7 @@

Procs

  Source   Edit @@ -191,7 +191,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/trees.html b/compiler/ast/trees.html index fe099b74ca1..3b52915a554 100644 --- a/compiler/ast/trees.html +++ b/compiler/ast/trees.html @@ -207,7 +207,7 @@

compiler/ast/trees

  Source   Edit @@ -229,7 +229,7 @@

Procs

  Source   Edit @@ -241,7 +241,7 @@

Procs

  Source   Edit @@ -254,7 +254,7 @@

Procs

  Source   Edit @@ -267,7 +267,7 @@

Procs

  Source   Edit @@ -280,7 +280,7 @@

Procs

  Source   Edit @@ -292,7 +292,7 @@

Procs

  Source   Edit @@ -311,7 +311,7 @@

Procs

The result of #2 is passed back to step #1 and the process is repeated until none of the two transformations apply anymore. Together, these transformations make processing easier for the following analysis steps, and the generated AST a bit less nested.

  Source   Edit @@ -323,7 +323,7 @@

Procs

  Source   Edit @@ -335,7 +335,7 @@

Procs

  Source   Edit @@ -347,7 +347,7 @@

Procs

getRoot takes a path n. A path is an lvalue expression like obj.x[i].y. The root of a path is the symbol that can be determined as the owner; obj in the example.   Source   Edit @@ -359,7 +359,7 @@

Procs

  Source   Edit @@ -371,7 +371,7 @@

Procs

  Source   Edit @@ -384,7 +384,7 @@

Procs

  Source   Edit @@ -396,7 +396,7 @@

Procs

  Source   Edit @@ -408,7 +408,7 @@

Procs

  Source   Edit @@ -420,7 +420,7 @@

Procs

  Source   Edit @@ -432,7 +432,7 @@

Procs

  Source   Edit @@ -444,7 +444,7 @@

Procs

  Source   Edit @@ -456,7 +456,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/treetab.html b/compiler/ast/treetab.html index 733fef8309b..ce1d110608f 100644 --- a/compiler/ast/treetab.html +++ b/compiler/ast/treetab.html @@ -132,7 +132,7 @@

compiler/ast/treetab

  Source   Edit @@ -154,7 +154,7 @@

Procs

  Source   Edit @@ -167,7 +167,7 @@

Procs

  Source   Edit @@ -180,7 +180,7 @@

Procs

  Source   Edit @@ -193,7 +193,7 @@

Procs

  Source   Edit diff --git a/compiler/ast/types.html b/compiler/ast/types.html index 5924f2e2df6..fda88b893bb 100644 --- a/compiler/ast/types.html +++ b/compiler/ast/types.html @@ -601,7 +601,7 @@

compiler/ast/types

  Source   Edit @@ -626,7 +626,7 @@

Types

  Source   Edit @@ -639,7 +639,7 @@

Types

  Source   Edit @@ -655,7 +655,7 @@

Types

how distinct types are to be compared   Source   Edit @@ -668,7 +668,7 @@

Types

  Source   Edit @@ -682,7 +682,7 @@

Types

  Source   Edit @@ -697,7 +697,7 @@

Types

  Source   Edit @@ -709,7 +709,7 @@

Types

  Source   Edit @@ -722,7 +722,7 @@

Types

  Source   Edit @@ -734,7 +734,7 @@

Types

  Source   Edit @@ -746,7 +746,7 @@

Types

  Source   Edit @@ -758,7 +758,7 @@

Types

  Source   Edit @@ -775,7 +775,7 @@

Consts

  Source   Edit @@ -787,7 +787,7 @@

Consts

  Source   Edit @@ -799,7 +799,7 @@

Consts

  Source   Edit @@ -811,7 +811,7 @@

Consts

  Source   Edit @@ -829,7 +829,7 @@

Procs

  Source   Edit @@ -841,7 +841,7 @@

Procs

  Source   Edit @@ -854,7 +854,7 @@

Procs

  Source   Edit @@ -866,7 +866,7 @@

Procs

  Source   Edit @@ -878,7 +878,7 @@

Procs

for convenient type checking:   Source   Edit @@ -890,7 +890,7 @@

Procs

For the resolved type t, computes and returns what kind of view the type represents. This is meant to be used during the backend phase.   Source   Edit @@ -903,7 +903,7 @@

Procs

  Source   Edit @@ -917,7 +917,7 @@

Procs

compares two type for equality (modulo type distinction)   Source   Edit @@ -930,7 +930,7 @@

Procs

  Source   Edit @@ -943,7 +943,7 @@

Procs

  Source   Edit @@ -955,7 +955,7 @@

Procs

  Source   Edit @@ -968,7 +968,7 @@

Procs

  Source   Edit @@ -981,7 +981,7 @@

Procs

  Source   Edit @@ -994,7 +994,7 @@

Procs

  Source   Edit @@ -1007,7 +1007,7 @@

Procs

  Source   Edit @@ -1019,7 +1019,7 @@

Procs

  Source   Edit @@ -1031,7 +1031,7 @@

Procs

  Source   Edit @@ -1043,7 +1043,7 @@

Procs

  Source   Edit @@ -1055,7 +1055,7 @@

Procs

  Source   Edit @@ -1068,7 +1068,7 @@

Procs

  Source   Edit @@ -1081,7 +1081,7 @@

Procs

  Source   Edit @@ -1096,7 +1096,7 @@

Procs

  Source   Edit @@ -1109,7 +1109,7 @@

Procs

  Source   Edit @@ -1122,7 +1122,7 @@

Procs

  Source   Edit @@ -1134,7 +1134,7 @@

Procs

  Source   Edit @@ -1147,7 +1147,7 @@

Procs

  Source   Edit @@ -1160,7 +1160,7 @@

Procs

Returns a set of the reason of mismatch, and the relation for conversion.   Source   Edit @@ -1172,7 +1172,7 @@

Procs

  Source   Edit @@ -1185,7 +1185,7 @@

Procs

  Source   Edit @@ -1197,7 +1197,7 @@

Procs

  Source   Edit @@ -1209,7 +1209,7 @@

Procs

  Source   Edit @@ -1222,7 +1222,7 @@

Procs

  Source   Edit @@ -1234,7 +1234,7 @@

Procs

  Source   Edit @@ -1250,7 +1250,7 @@

Procs

The analysis is conservative: if a location of typ can have shared ownership (ref or closure) of a heap location with a dynamic type that might not match the static one (i.e. a polymorphic ref or closure, the latter uses type erasure), typ is treated as possibly cyclic.

  Source   Edit @@ -1262,7 +1262,7 @@

Procs

  Source   Edit @@ -1274,7 +1274,7 @@

Procs

true if the type is considered a container and is empty, otherwise false. container types are untyped, nil, array/seq/set/etc[T] with an emtpy type for T.   Source   Edit @@ -1286,7 +1286,7 @@

Procs

  Source   Edit @@ -1298,7 +1298,7 @@

Procs

  Source   Edit @@ -1310,7 +1310,7 @@

Procs

  Source   Edit @@ -1322,7 +1322,7 @@

Procs

  Source   Edit @@ -1334,7 +1334,7 @@

Procs

true of the Exception described by type t was imported   Source   Edit @@ -1346,7 +1346,7 @@

Procs

  Source   Edit @@ -1358,7 +1358,7 @@

Procs

Tests if typ has no type field (header). The only types that store a type header are non-final object types where the inheritance root is not marked as .pure (the sfPure flags is not present on it)   Source   Edit @@ -1371,7 +1371,7 @@

Procs

  Source   Edit @@ -1383,7 +1383,7 @@

Procs

  Source   Edit @@ -1395,7 +1395,7 @@

Procs

Returns whether t is considered to be a sink-like type when used in a parameter context.   Source   Edit @@ -1407,7 +1407,7 @@

Procs

  Source   Edit @@ -1419,7 +1419,7 @@

Procs

  Source   Edit @@ -1432,7 +1432,7 @@

Procs

  Source   Edit @@ -1444,7 +1444,7 @@

Procs

Tests if typ has a type field itself . Doesn't consider base types   Source   Edit @@ -1457,7 +1457,7 @@

Procs

  Source   Edit @@ -1472,7 +1472,7 @@

Procs

  Source   Edit @@ -1484,7 +1484,7 @@

Procs

Computes the length, or rather cardinality, of concrete ordinal type (including distincts with ordinal type bases). The cardinality of a type is the total number of possible values that may represent by it.   Source   Edit @@ -1496,7 +1496,7 @@

Procs

  Source   Edit @@ -1509,7 +1509,7 @@

Procs

  Source   Edit @@ -1521,7 +1521,7 @@

Procs

  Source   Edit @@ -1534,7 +1534,7 @@

Procs

  Source   Edit @@ -1547,7 +1547,7 @@

Procs

  Source   Edit @@ -1559,7 +1559,7 @@

Procs

same as 'skipTypes' but with a simple cycle detector.   Source   Edit @@ -1572,7 +1572,7 @@

Procs

  Source   Edit @@ -1585,7 +1585,7 @@

Procs

  Source   Edit @@ -1597,7 +1597,7 @@

Procs

  Source   Edit @@ -1609,7 +1609,7 @@

Procs

  Source   Edit @@ -1622,7 +1622,7 @@

Procs

Tests and returns whether x and y are the same when used as the type for locations   Source   Edit @@ -1635,7 +1635,7 @@

Procs

  Source   Edit @@ -1648,7 +1648,7 @@

Procs

  Source   Edit @@ -1661,7 +1661,7 @@

Procs

  Source   Edit @@ -1674,7 +1674,7 @@

Procs

  Source   Edit @@ -1687,7 +1687,7 @@

Procs

  Source   Edit @@ -1700,7 +1700,7 @@

Procs

  Source   Edit @@ -1712,7 +1712,7 @@

Procs

  Source   Edit @@ -1724,7 +1724,7 @@

Procs

  Source   Edit @@ -1736,7 +1736,7 @@

Procs

  Source   Edit @@ -1748,7 +1748,7 @@

Procs

  Source   Edit @@ -1761,7 +1761,7 @@

Procs

  Source   Edit @@ -1774,7 +1774,7 @@

Procs

  Source   Edit @@ -1787,7 +1787,7 @@

Procs

If formal and actual types are not tyError, create a new wrapper nkError node and construct type mismatch report for it.   Source   Edit @@ -1799,7 +1799,7 @@

Procs

  Source   Edit @@ -1812,7 +1812,7 @@

Procs

  Source   Edit @@ -1829,7 +1829,7 @@

Templates

  Source   Edit @@ -1841,7 +1841,7 @@

Templates

  Source   Edit @@ -1853,7 +1853,7 @@

Templates

Returns an int literal node of the given offsetof expression in n. Falls back to fallback, if the offsetof expression can't be processed.   Source   Edit @@ -1865,7 +1865,7 @@

Templates

  Source   Edit @@ -1877,7 +1877,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/typesrenderer.html b/compiler/ast/typesrenderer.html index b48f1c0afe1..a368a19fd2c 100644 --- a/compiler/ast/typesrenderer.html +++ b/compiler/ast/typesrenderer.html @@ -174,7 +174,7 @@

compiler/ast/typesrenderer

  Source   Edit @@ -196,7 +196,7 @@

Consts

  Source   Edit @@ -227,7 +227,7 @@

Consts

  Source   Edit @@ -247,7 +247,7 @@

Procs

Calls typeToString on given typ. If getDeclarationPath is true, it will add the declared location.   Source   Edit @@ -262,7 +262,7 @@

Procs

This proc expects to be passed as n the parameters of any callable. The string output is meant for the HTML renderer. If there are no parameters, the empty string is returned. The parameters will be joined by sep but other characters may appear too, like [] or |.

  Source   Edit @@ -276,7 +276,7 @@

Procs

Use this on documentation name nodes to extract the raw symbol name, without decorations, parameters, or anything. That can be used as the base for the HTML hyperlinks.

  Source   Edit @@ -289,7 +289,7 @@

Procs

Formats types to strings   Source   Edit @@ -306,7 +306,7 @@

Templates

  Source   Edit diff --git a/compiler/ast/wordrecg.html b/compiler/ast/wordrecg.html index 1a692c1521f..d5c0c646d2f 100644 --- a/compiler/ast/wordrecg.html +++ b/compiler/ast/wordrecg.html @@ -233,7 +233,7 @@

compiler/ast/wordrecg

  Source   Edit @@ -337,7 +337,7 @@

Types

  Source   Edit @@ -349,7 +349,7 @@

Types

  Source   Edit @@ -366,7 +366,7 @@

Consts

  Source   Edit @@ -378,7 +378,7 @@

Consts

  Source   Edit @@ -390,7 +390,7 @@

Consts

  Source   Edit @@ -402,7 +402,7 @@

Consts

  Source   Edit @@ -414,7 +414,7 @@

Consts

  Source   Edit @@ -426,7 +426,7 @@

Consts

  Source   Edit @@ -443,7 +443,7 @@

Procs

  Source   Edit @@ -455,7 +455,7 @@

Procs

  Source   Edit @@ -467,7 +467,7 @@

Procs

  Source   Edit diff --git a/compiler/backend/backends.html b/compiler/backend/backends.html index cdf3a59769b..f94638e2793 100644 --- a/compiler/backend/backends.html +++ b/compiler/backend/backends.html @@ -286,7 +286,7 @@

compiler/backend/backends

  Source   Edit @@ -313,7 +313,7 @@

Types

Configuration state altering the operation of the process iterator.   Source   Edit @@ -337,7 +337,7 @@

Types

Progress event returned by the process iterator.   Source   Edit @@ -355,7 +355,7 @@

Types

  Source   Edit @@ -374,7 +374,7 @@

Types

Bundles all data needed during the disovery of alive, backend-relevant entities.   Source   Edit @@ -389,7 +389,7 @@

Types

  Source   Edit @@ -413,7 +413,7 @@

Types

  Source   Edit @@ -429,7 +429,7 @@

Types

Combines a sequence of items with a "read" cursor.   Source   Edit @@ -446,7 +446,7 @@

Procs

Appends the code from src to dest. No check whether the resulting code is semantically valid is performed   Source   Edit @@ -458,7 +458,7 @@

Procs

Updates data with all not-yet-seen entities from the declarative statement list decl.   Source   Edit @@ -471,7 +471,7 @@

Procs

Updates data with all not-yet-seen entities (except for globals) that body references.   Source   Edit @@ -486,7 +486,7 @@

Procs

Translates the MIR code provided by code into PNode AST and, if enabled, echoes the result.   Source   Edit @@ -499,7 +499,7 @@

Procs

Generates the program initialization code and emits it to result. The initialization logic is the code that invokes each module's init procedures.   Source   Edit @@ -513,7 +513,7 @@

Procs

Generates the procedure for initializing, running, and de-initializing the full program (modules). The procedure returns the value of the internal programResult global.   Source   Edit @@ -526,7 +526,7 @@

Procs

Generates the code for de-initializing the program, and emits it to result.   Source   Edit @@ -538,7 +538,7 @@

Procs

  Source   Edit @@ -550,7 +550,7 @@

Procs

Returns whether tree contains either no nodes or only nodes that have no meaning by themselves.   Source   Edit @@ -562,7 +562,7 @@

Procs

  Source   Edit @@ -574,7 +574,7 @@

Procs

  Source   Edit @@ -586,7 +586,7 @@

Procs

Returns the ID of the module o is attached to. Do note that in the case of generic instantiations, this is not the necessarily the same module as the one indicated via the owner.   Source   Edit @@ -601,7 +601,7 @@

Procs

Transforms the body of the given procedure and translates it to MIR code. No MIR passes are applied yet   Source   Edit @@ -615,7 +615,7 @@

Procs

Applies all applicable MIR passes to the procedure prc.   Source   Edit @@ -627,7 +627,7 @@

Procs

If not already know to data, adds the procedure prc to the list of known procedures.   Source   Edit @@ -640,7 +640,7 @@

Procs

Registers a late late-dependency with data. These are dependencies that were raised while processing some code fragment, but that are not directly related to said fragment. They should be kept to a minimum, and register should be preferred whenever possible.   Source   Edit @@ -657,7 +657,7 @@

Iterators

Returns all items (regardless of whether their read or unread) from q together with their index.   Source   Edit @@ -670,7 +670,7 @@

Iterators

Returns all external entities (procedures, globals, etc.) that tree references directly, in an unspecified order.   Source   Edit @@ -682,7 +682,7 @@

Iterators

Returns all unread items from q together with their index, but doesn't mark them as read.   Source   Edit @@ -702,7 +702,7 @@

Iterators

When control is passed to the caller, the discovery.procedures and discovery.constants queues contain all new procedures and constants that were discovered directly or indirectly for the entity that the returned event is about. The globals and threadvars queues, while possibly filled with new content, are not "drained" yet, and have the same "read" position that the caller left them with.

  Source   Edit @@ -714,7 +714,7 @@

Iterators

Returns all unread items from q together with their index, and marks them the items as read (or processed).   Source   Edit diff --git a/compiler/backend/cbackend.html b/compiler/backend/cbackend.html index 03fae4bd411..122d2f7d269 100644 --- a/compiler/backend/cbackend.html +++ b/compiler/backend/cbackend.html @@ -120,7 +120,7 @@

compiler/backend/cbackend

  Source   Edit @@ -151,7 +151,7 @@

Procs

Implements the main part of the C code-generation orchestrator. Expects an already populated BModuleList.   Source   Edit @@ -165,7 +165,7 @@

Procs

Entry point for C code generation. Only the C code is generated -- nothing is written to disk yet.   Source   Edit diff --git a/compiler/backend/ccgutils.html b/compiler/backend/ccgutils.html index 9ebfb7e7d43..eb73cb80531 100644 --- a/compiler/backend/ccgutils.html +++ b/compiler/backend/ccgutils.html @@ -153,7 +153,7 @@

compiler/backend/ccgutils

  Source   Edit @@ -176,7 +176,7 @@

Procs

  Source   Edit @@ -188,7 +188,7 @@

Procs

  Source   Edit @@ -200,7 +200,7 @@

Procs

  Source   Edit @@ -212,7 +212,7 @@

Procs

  Source   Edit @@ -224,7 +224,7 @@

Procs

  Source   Edit @@ -236,7 +236,7 @@

Procs

  Source   Edit @@ -253,7 +253,7 @@

Templates

  Source   Edit diff --git a/compiler/backend/cgen.html b/compiler/backend/cgen.html index f5b4ce991d5..e26b67d4739 100644 --- a/compiler/backend/cgen.html +++ b/compiler/backend/cgen.html @@ -249,7 +249,7 @@

compiler/backend/cgen

  Source   Edit @@ -273,7 +273,7 @@

Consts

magics that are treated like normal procedures by the code generator. This set only applies when using the new runtime.   Source   Edit @@ -285,7 +285,7 @@

Consts

the procedure contains top-level code, which currently affects how emit, asm, and error handling works   Source   Edit @@ -305,7 +305,7 @@

Procs

  Source   Edit @@ -319,7 +319,7 @@

Procs

  Source   Edit @@ -333,7 +333,7 @@

Procs

  Source   Edit @@ -345,7 +345,7 @@

Procs

  Source   Edit @@ -358,7 +358,7 @@

Procs

Two different object types can produce the same signature hash in certain cases (the hidden parameter type of a generic's inner procedure, for example), in which case getTypeDescAux never calls genRecordDesc. This procedures makes sure that the field has a valid loc.   Source   Edit @@ -370,7 +370,7 @@

Procs

  Source   Edit @@ -382,7 +382,7 @@

Procs

  Source   Edit @@ -394,7 +394,7 @@

Procs

  Source   Edit @@ -407,7 +407,7 @@

Procs

  Source   Edit @@ -421,7 +421,7 @@

Procs

  Source   Edit @@ -435,7 +435,7 @@

Procs

  Source   Edit @@ -448,7 +448,7 @@

Procs

this function is called after all modules are closed, it means raising dependency on the symbols is too late as it will not propagate into other modules, only simple rope manipulations are allowed   Source   Edit @@ -460,7 +460,7 @@

Procs

this function is called in cgenWriteModules after all modules are closed, it means raising dependency on the symbols is too late as it will not propagate into other modules, only simple rope manipulations are allowed   Source   Edit @@ -474,7 +474,7 @@

Procs

Generates the code for the procedure prc, where procBody is the code of the body with all applicable lowerings and transformation applied.   Source   Edit @@ -488,7 +488,7 @@

Procs

  Source   Edit @@ -501,7 +501,7 @@

Procs

  Source   Edit @@ -515,7 +515,7 @@

Procs

  Source   Edit @@ -529,7 +529,7 @@

Procs

  Source   Edit @@ -541,7 +541,7 @@

Procs

  Source   Edit @@ -553,7 +553,7 @@

Procs

  Source   Edit @@ -567,7 +567,7 @@

Procs

  Source   Edit @@ -581,7 +581,7 @@

Procs

  Source   Edit @@ -595,7 +595,7 @@

Procs

  Source   Edit @@ -609,7 +609,7 @@

Procs

  Source   Edit @@ -622,7 +622,7 @@

Procs

  Source   Edit diff --git a/compiler/backend/cgendata.html b/compiler/backend/cgendata.html index fc9434d1227..56d8dadd66c 100644 --- a/compiler/backend/cgendata.html +++ b/compiler/backend/cgendata.html @@ -380,7 +380,7 @@

compiler/backend/cgendata

  Source   Edit @@ -402,7 +402,7 @@

Types

  Source   Edit @@ -444,7 +444,7 @@

Types

  Source   Edit @@ -456,7 +456,7 @@

Types

  Source   Edit @@ -474,7 +474,7 @@

Types

  Source   Edit @@ -493,7 +493,7 @@

Types

  Source   Edit @@ -513,7 +513,7 @@

Types

  Source   Edit @@ -529,7 +529,7 @@

Types

Mapping from a symbol to the associated data currently happens via TSym.locId.

  Source   Edit @@ -550,7 +550,7 @@

Types

  Source   Edit @@ -585,7 +585,7 @@

Types

the sections a generated C file consists of   Source   Edit @@ -597,7 +597,7 @@

Types

represents a generated C file   Source   Edit @@ -611,7 +611,7 @@

Types

  Source   Edit @@ -626,7 +626,7 @@

Types

the sections a generated C proc consists of   Source   Edit @@ -638,7 +638,7 @@

Types

  Source   Edit @@ -654,7 +654,7 @@

Types

describes the type kind of a C type   Source   Edit @@ -666,7 +666,7 @@

Types

for the C generator a label is just a rope   Source   Edit @@ -684,7 +684,7 @@

Types

  Source   Edit @@ -705,7 +705,7 @@

Types

  Source   Edit @@ -722,7 +722,7 @@

Types

  Source   Edit @@ -734,7 +734,7 @@

Types

  Source   Edit @@ -746,7 +746,7 @@

Types

  Source   Edit @@ -758,7 +758,7 @@

Types

  Source   Edit @@ -775,7 +775,7 @@

Procs

  Source   Edit @@ -787,7 +787,7 @@

Procs

  Source   Edit @@ -799,7 +799,7 @@

Procs

Sets the value of the item in m with which sym is associated. This is only meant as a workaround.   Source   Edit @@ -811,7 +811,7 @@

Procs

  Source   Edit @@ -823,7 +823,7 @@

Procs

Adds it to m and register a mapping between the item and sym, overwriting any existing mappings of sym.   Source   Edit @@ -835,7 +835,7 @@

Procs

  Source   Edit @@ -847,7 +847,7 @@

Procs

  Source   Edit @@ -859,7 +859,7 @@

Procs

  Source   Edit @@ -872,7 +872,7 @@

Procs

  Source   Edit @@ -884,7 +884,7 @@

Procs

Adds it to m and registers a mapping between the item and sym. sym must have no mapping registered yet.   Source   Edit @@ -896,7 +896,7 @@

Procs

  Source   Edit @@ -913,7 +913,7 @@

Iterators

  Source   Edit @@ -925,7 +925,7 @@

Iterators

  Source   Edit @@ -942,7 +942,7 @@

Templates

  Source   Edit @@ -954,7 +954,7 @@

Templates

  Source   Edit @@ -966,7 +966,7 @@

Templates

  Source   Edit @@ -978,7 +978,7 @@

Templates

Returns the C name for the given field.   Source   Edit @@ -990,7 +990,7 @@

Templates

  Source   Edit @@ -1002,7 +1002,7 @@

Templates

  Source   Edit @@ -1014,7 +1014,7 @@

Templates

Returns the mutable list with the locs of p's parameters.   Source   Edit @@ -1026,7 +1026,7 @@

Templates

  Source   Edit diff --git a/compiler/backend/cgmeth.html b/compiler/backend/cgmeth.html index 91e51af25f1..4febfd3dd03 100644 --- a/compiler/backend/cgmeth.html +++ b/compiler/backend/cgmeth.html @@ -143,7 +143,7 @@

compiler/backend/cgmeth

  Source   Edit @@ -167,7 +167,7 @@

Procs

For each method dispatcher, generates the body and updates the definition. This procedure must only be called once, and only after all methods were registered.   Source   Edit @@ -179,7 +179,7 @@

Procs

can return nil if is has no dispatcher.   Source   Edit @@ -192,7 +192,7 @@

Procs

  Source   Edit @@ -206,7 +206,7 @@

Procs

  Source   Edit @@ -223,7 +223,7 @@

Iterators

  Source   Edit diff --git a/compiler/backend/extccomp.html b/compiler/backend/extccomp.html index d5ea6303bd0..3c80211d03f 100644 --- a/compiler/backend/extccomp.html +++ b/compiler/backend/extccomp.html @@ -386,7 +386,7 @@

compiler/backend/extccomp

  Source   Edit @@ -430,7 +430,7 @@

Types

  Source   Edit @@ -449,7 +449,7 @@

Types

properties of the C compiler:   Source   Edit @@ -461,7 +461,7 @@

Types

  Source   Edit @@ -576,7 +576,7 @@

Consts

  Source   Edit @@ -588,7 +588,7 @@

Consts

  Source   Edit @@ -605,7 +605,7 @@

Procs

  Source   Edit @@ -617,7 +617,7 @@

Procs

  Source   Edit @@ -632,7 +632,7 @@

Procs

  Source   Edit @@ -647,7 +647,7 @@

Procs

  Source   Edit @@ -660,7 +660,7 @@

Procs

Add new file to be linked with every compiled target.   Source   Edit @@ -672,7 +672,7 @@

Procs

  Source   Edit @@ -684,7 +684,7 @@

Procs

  Source   Edit @@ -696,7 +696,7 @@

Procs

  Source   Edit @@ -711,7 +711,7 @@

Procs

  Source   Edit @@ -726,7 +726,7 @@

Procs

  Source   Edit @@ -739,7 +739,7 @@

Procs

  Source   Edit @@ -753,7 +753,7 @@

Procs

  Source   Edit @@ -768,7 +768,7 @@

Procs

  Source   Edit @@ -783,7 +783,7 @@

Procs

  Source   Edit @@ -795,7 +795,7 @@

Procs

  Source   Edit @@ -807,7 +807,7 @@

Procs

  Source   Edit @@ -820,7 +820,7 @@

Procs

  Source   Edit @@ -832,7 +832,7 @@

Procs

  Source   Edit @@ -844,7 +844,7 @@

Procs

Returns the kind of compiler referred to by name, or ccNone if the name doesn't refer to any known compiler.   Source   Edit @@ -856,7 +856,7 @@

Procs

  Source   Edit @@ -871,7 +871,7 @@

Procs

  Source   Edit @@ -883,7 +883,7 @@

Procs

returns the compiler that was set, or ccNone in case there was an error   Source   Edit @@ -896,7 +896,7 @@

Procs

  Source   Edit @@ -911,7 +911,7 @@

Procs

  Source   Edit @@ -925,7 +925,7 @@

Procs

  Source   Edit diff --git a/compiler/backend/jsbackend.html b/compiler/backend/jsbackend.html index bbdf2f3b06f..a4d99ee481f 100644 --- a/compiler/backend/jsbackend.html +++ b/compiler/backend/jsbackend.html @@ -117,7 +117,7 @@

compiler/backend/jsbackend

  Source   Edit @@ -142,7 +142,7 @@

Procs

Entry point into the JS backend. Generates the code for all modules and writes it to the output file.   Source   Edit diff --git a/compiler/backend/jsgen.html b/compiler/backend/jsgen.html index 968378e4bce..8f1f35874b7 100644 --- a/compiler/backend/jsgen.html +++ b/compiler/backend/jsgen.html @@ -223,7 +223,7 @@

compiler/backend/jsgen

  Source   Edit @@ -245,7 +245,7 @@

Types

  Source   Edit @@ -263,7 +263,7 @@

Types

  Source   Edit @@ -275,7 +275,7 @@

Types

  Source   Edit @@ -299,7 +299,7 @@

Types

  Source   Edit @@ -316,7 +316,7 @@

Consts

magics that are treated like normal procedures by the code generator   Source   Edit @@ -328,7 +328,7 @@

Consts

the procedure is the 'init' procedure of a module   Source   Edit @@ -347,7 +347,7 @@

Procs

Emits the definition for the single global v into the top-level section, with m being the module the global belongs to. Also sets up the symbol's JavaScript name.   Source   Edit @@ -361,7 +361,7 @@

Procs

Emits definitions for the items in vars into the top-level section, with m being the module the globals belong to. Also sets up the JavaScript name for the globals.   Source   Edit @@ -374,7 +374,7 @@

Procs

  Source   Edit @@ -388,7 +388,7 @@

Procs

  Source   Edit @@ -400,7 +400,7 @@

Procs

  Source   Edit @@ -414,7 +414,7 @@

Procs

  Source   Edit @@ -426,7 +426,7 @@

Procs

  Source   Edit @@ -439,7 +439,7 @@

Procs

  Source   Edit @@ -451,7 +451,7 @@

Procs

  Source   Edit @@ -463,7 +463,7 @@

Procs

  Source   Edit @@ -476,7 +476,7 @@

Procs

  Source   Edit @@ -488,7 +488,7 @@

Procs

  Source   Edit @@ -505,7 +505,7 @@

Templates

  Source   Edit diff --git a/compiler/dochack.js b/compiler/dochack.js index 6df81e63c55..b0cb9405cd2 100644 --- a/compiler/dochack.js +++ b/compiler/dochack.js @@ -1,4 +1,4 @@ -/* Generated by the Nim Compiler v0.1.0-dev.20886 */ +/* Generated by the Nim Compiler v0.1.0-dev.20887 */ var framePtr = null; var excHandler = 0; var lastJSError = null; diff --git a/compiler/front/cli_reporter.html b/compiler/front/cli_reporter.html index 0ce64f2ccc3..afe25a690b5 100644 --- a/compiler/front/cli_reporter.html +++ b/compiler/front/cli_reporter.html @@ -239,7 +239,7 @@

compiler/front/cli_reporter

  Source   Edit @@ -267,7 +267,7 @@

Consts

  Source   Edit @@ -286,7 +286,7 @@

Procs

Add pragma and calling convention mismatch for the formal (aka expected) and actual (aka provided) types.   Source   Edit @@ -299,7 +299,7 @@

Procs

Format stack trace entries for reporting   Source   Edit @@ -312,7 +312,7 @@

Procs

  Source   Edit @@ -325,7 +325,7 @@

Procs

Converts AST Diagnostics to legacy reports; meant to be assigned to a ConfigRef as a procedural value and act as a callback.   Source   Edit @@ -339,7 +339,7 @@

Procs

Format potential spelling candidates   Source   Edit @@ -352,7 +352,7 @@

Procs

Render integer values as type. For integer no representation conversion is done, for char convert to characters, for enums use enum symbols.   Source   Edit @@ -365,7 +365,7 @@

Procs

  Source   Edit @@ -378,7 +378,7 @@

Procs

  Source   Edit @@ -392,7 +392,7 @@

Procs

  Source   Edit @@ -405,7 +405,7 @@

Procs

  Source   Edit @@ -418,7 +418,7 @@

Procs

  Source   Edit @@ -430,7 +430,7 @@

Procs

  Source   Edit @@ -443,7 +443,7 @@

Procs

  Source   Edit @@ -457,7 +457,7 @@

Procs

Generate main body of the report. Dispatches into implementations for specific report categories.   Source   Edit @@ -471,7 +471,7 @@

Procs

  Source   Edit @@ -484,7 +484,7 @@

Procs

  Source   Edit @@ -497,7 +497,7 @@

Procs

  Source   Edit @@ -510,7 +510,7 @@

Procs

  Source   Edit @@ -523,7 +523,7 @@

Procs

  Source   Edit @@ -537,7 +537,7 @@

Procs

  Source   Edit @@ -550,7 +550,7 @@

Procs

  Source   Edit @@ -563,7 +563,7 @@

Procs

  Source   Edit @@ -576,7 +576,7 @@

Procs

  Source   Edit @@ -589,7 +589,7 @@

Procs

  Source   Edit @@ -603,7 +603,7 @@

Procs

Generate full version of the report (location, severity, body, optional suffix)   Source   Edit @@ -617,7 +617,7 @@

Procs

  Source   Edit @@ -630,7 +630,7 @@

Procs

  Source   Edit @@ -643,7 +643,7 @@

Procs

  Source   Edit @@ -657,7 +657,7 @@

Procs

Default implementation of the report hook. Dispatches into reportBody for report, which then calls respective (for each report category) reportBody overloads defined above   Source   Edit @@ -670,7 +670,7 @@

Procs

  Source   Edit @@ -683,7 +683,7 @@

Procs

  Source   Edit @@ -697,7 +697,7 @@

Procs

  Source   Edit @@ -710,7 +710,7 @@

Procs

  Source   Edit @@ -723,7 +723,7 @@

Procs

  Source   Edit @@ -735,7 +735,7 @@

Procs

  Source   Edit @@ -748,7 +748,7 @@

Procs

  Source   Edit @@ -762,7 +762,7 @@

Procs

Generate short report version of the report   Source   Edit @@ -776,7 +776,7 @@

Procs

  Source   Edit @@ -789,7 +789,7 @@

Procs

  Source   Edit @@ -802,7 +802,7 @@

Procs

  Source   Edit @@ -815,7 +815,7 @@

Procs

Optionally wrap text in ansi color formatting, if conf has coloring enabled   Source   Edit diff --git a/compiler/front/cmdlinehelper.html b/compiler/front/cmdlinehelper.html index 73f9b24e002..c8372e1d5eb 100644 --- a/compiler/front/cmdlinehelper.html +++ b/compiler/front/cmdlinehelper.html @@ -162,7 +162,7 @@

compiler/front/cmdlinehelper

  Source   Edit @@ -189,7 +189,7 @@

Types

  Source   Edit @@ -207,7 +207,7 @@

Procs

  Source   Edit @@ -224,7 +224,7 @@

Procs

wrapper around nimconf.loadConfigs to connect to legacy reporting   Source   Edit @@ -242,7 +242,7 @@

Procs

Load all the necessary configuration files and command-line options. Main entry point for configuration processing.   Source   Edit @@ -260,7 +260,7 @@

Procs

Alias for loadConfigsAndProcessCmdLine, here for backwards compatibility   Source   Edit @@ -272,7 +272,7 @@

Procs

  Source   Edit @@ -287,7 +287,7 @@

Procs

  Source   Edit diff --git a/compiler/front/commands.html b/compiler/front/commands.html index 38a8f96e467..b88bddd9200 100644 --- a/compiler/front/commands.html +++ b/compiler/front/commands.html @@ -261,7 +261,7 @@

compiler/front/commands

  Source   Edit @@ -312,7 +312,7 @@

Types

  Source   Edit @@ -330,7 +330,7 @@

Types

  Source   Edit @@ -344,7 +344,7 @@

Types

list of cli only flags   Source   Edit @@ -360,7 +360,7 @@

Types

  Source   Edit @@ -378,7 +378,7 @@

Procs

a basic event logger that will write to standard err/out as appropriate and follow conf settings.   Source   Edit @@ -391,7 +391,7 @@

Procs

  Source   Edit @@ -404,7 +404,7 @@

Procs

  Source   Edit @@ -417,7 +417,7 @@

Procs

  Source   Edit @@ -430,7 +430,7 @@

Procs

  Source   Edit @@ -443,7 +443,7 @@

Procs

  Source   Edit @@ -456,7 +456,7 @@

Procs

logs and error message, typically this means writing to console, and bumps the error counter in ConfigRef to ensure a non-zero exit code.   Source   Edit @@ -469,7 +469,7 @@

Procs

use when a command invocation begins a shell exec as part of its operations; not currently meant for shell execs initiated by input source code or scripts.   Source   Edit @@ -482,7 +482,7 @@

Procs

log a 'debug' level message with the GC stats   Source   Edit @@ -495,7 +495,7 @@

Procs

  Source   Edit @@ -511,7 +511,7 @@

Procs

Process input command-line parameters into config settings. Input is a joined list of command-line arguments with multiple options and/or configurations.   Source   Edit @@ -526,7 +526,7 @@

Procs

For command output, eg: dump's conditionals and search paths use a different routine (not implemented at time or writing).

  Source   Edit @@ -539,7 +539,7 @@

Procs

  Source   Edit @@ -552,7 +552,7 @@

Procs

  Source   Edit @@ -564,7 +564,7 @@

Procs

  Source   Edit @@ -576,7 +576,7 @@

Procs

  Source   Edit @@ -588,7 +588,7 @@

Procs

  Source   Edit @@ -608,7 +608,7 @@

Iterators

  Source   Edit diff --git a/compiler/front/condsyms.html b/compiler/front/condsyms.html index e2e5f2f1d18..15ad13a2a45 100644 --- a/compiler/front/condsyms.html +++ b/compiler/front/condsyms.html @@ -117,7 +117,7 @@

compiler/front/condsyms

  Source   Edit @@ -139,7 +139,7 @@

Procs

  Source   Edit diff --git a/compiler/front/depfiles.html b/compiler/front/depfiles.html index 54ddf7afbec..e0cd5a05b1d 100644 --- a/compiler/front/depfiles.html +++ b/compiler/front/depfiles.html @@ -122,7 +122,7 @@

compiler/front/depfiles

  Source   Edit @@ -145,7 +145,7 @@

Procs

  Source   Edit @@ -158,7 +158,7 @@

Procs

Outputs one make rule containing target's file name, a colon, and the names of all specified paths. Spaces and hashes are escaped.   Source   Edit diff --git a/compiler/front/in_options.html b/compiler/front/in_options.html index 6f3bf66aa1a..0b478e5daeb 100644 --- a/compiler/front/in_options.html +++ b/compiler/front/in_options.html @@ -339,7 +339,7 @@

compiler/front/in_options

  Source   Edit @@ -378,7 +378,7 @@

Types

Compiler execution command   Source   Edit @@ -395,7 +395,7 @@

Types

  Source   Edit @@ -469,7 +469,7 @@

Types

Active, 'input' compiler configuration that controls behavior of the system.   Source   Edit @@ -484,7 +484,7 @@

Types

  Source   Edit @@ -499,7 +499,7 @@

Types

experimental features; DO NOT RENAME THESE!   Source   Edit @@ -517,7 +517,7 @@

Types

Filename formatting option   Source   Edit @@ -531,7 +531,7 @@

Types

  Source   Edit @@ -548,7 +548,7 @@

Types

  Source   Edit @@ -561,7 +561,7 @@

Types

Target compilation backend   Source   Edit @@ -575,7 +575,7 @@

Types

  Source   Edit @@ -630,7 +630,7 @@

Types

  Source   Edit @@ -642,7 +642,7 @@

Types

  Source   Edit @@ -678,7 +678,7 @@

Types

  Source   Edit @@ -690,7 +690,7 @@

Types

  Source   Edit @@ -704,7 +704,7 @@

Types

  Source   Edit @@ -716,7 +716,7 @@

Types

  Source   Edit @@ -733,7 +733,7 @@

Consts

  Source   Edit @@ -745,7 +745,7 @@

Consts

  Source   Edit @@ -762,7 +762,7 @@

Procs

  Source   Edit diff --git a/compiler/front/main.html b/compiler/front/main.html index 936c7050063..01617e292f2 100644 --- a/compiler/front/main.html +++ b/compiler/front/main.html @@ -157,7 +157,7 @@

compiler/front/main

  Source   Edit @@ -198,7 +198,7 @@

Types

  Source   Edit @@ -218,7 +218,7 @@

Procs

Sets backend specific options. This must be called by all commands. backend is the backend to choose when no backend has been selected so far.   Source   Edit @@ -231,7 +231,7 @@

Procs

  Source   Edit @@ -244,7 +244,7 @@

Procs

doesn't have to be complete; worst case is a cache hit and recompilation.   Source   Edit @@ -260,7 +260,7 @@

Procs

Execute main compiler command   Source   Edit diff --git a/compiler/front/msgs.html b/compiler/front/msgs.html index 0f520eec2a7..78ed55de5ae 100644 --- a/compiler/front/msgs.html +++ b/compiler/front/msgs.html @@ -493,7 +493,7 @@

compiler/front/msgs

  Source   Edit @@ -515,7 +515,7 @@

Consts

  Source   Edit @@ -527,7 +527,7 @@

Consts

  Source   Edit @@ -545,7 +545,7 @@

Procs

  Source   Edit @@ -557,7 +557,7 @@

Procs

  Source   Edit @@ -569,7 +569,7 @@

Procs

  Source   Edit @@ -583,7 +583,7 @@

Procs

with the introduction of adSemDefNameSym style diagnostics, this function is no longer all that sensible. AstDiagKind will move towards very broad categories and they'll no longer map to "reports".   Source   Edit @@ -596,7 +596,7 @@

Procs

  Source   Edit @@ -609,7 +609,7 @@

Procs

  Source   Edit @@ -622,7 +622,7 @@

Procs

  Source   Edit @@ -636,7 +636,7 @@

Procs

this proc firewalls other code from legacy reports, used in conjunction with the internalAssert templates   Source   Edit @@ -650,7 +650,7 @@

Procs

this proc firewalls other code from legacy reports, used in conjunction with the internalError templates   Source   Edit @@ -662,7 +662,7 @@

Procs

  Source   Edit @@ -674,7 +674,7 @@

Procs

safe to call multiple times   Source   Edit @@ -687,7 +687,7 @@

Procs

Format absolute file path for error message reporting. If path is not registered in the filenameToIndexTbl and is not a path to the compiler source, return it unchanged. If configuration is nil also return path unchanged.   Source   Edit @@ -700,7 +700,7 @@

Procs

Get list of context context entries from the current message context information. Context messages can later be used in the SemReport.context field   Source   Edit @@ -712,7 +712,7 @@

Procs

  Source   Edit @@ -725,7 +725,7 @@

Procs

  Source   Edit @@ -737,7 +737,7 @@

Procs

  Source   Edit @@ -750,7 +750,7 @@

Procs

  Source   Edit @@ -765,7 +765,7 @@

Procs

  Source   Edit @@ -780,7 +780,7 @@

Procs

  Source   Edit @@ -794,7 +794,7 @@

Procs

  Source   Edit @@ -808,7 +808,7 @@

Procs

  Source   Edit @@ -820,7 +820,7 @@

Procs

  Source   Edit @@ -833,7 +833,7 @@

Procs

  Source   Edit @@ -846,7 +846,7 @@

Procs

  Source   Edit @@ -859,7 +859,7 @@

Procs

  Source   Edit @@ -872,7 +872,7 @@

Procs

  Source   Edit @@ -885,7 +885,7 @@

Procs

  Source   Edit @@ -897,7 +897,7 @@

Procs

  Source   Edit @@ -909,7 +909,7 @@

Procs

  Source   Edit @@ -925,7 +925,7 @@

Procs

This procedure is used as a default implementation of the ConfigRef.writeHook.

  Source   Edit @@ -938,7 +938,7 @@

Procs

xxx there's an off by 1 error that should be fixed; if a file ends with "foo" or "foon" it will return same number of lines (ie, a trailing empty line is discounted)   Source   Edit @@ -950,7 +950,7 @@

Procs

Remove one entry from the message context information stack   Source   Edit @@ -963,7 +963,7 @@

Procs

Add entry to the message context information stack.   Source   Edit @@ -975,7 +975,7 @@

Procs

  Source   Edit @@ -988,7 +988,7 @@

Procs

Write out report from the nkError node   Source   Edit @@ -1002,7 +1002,7 @@

Procs

  Source   Edit @@ -1015,7 +1015,7 @@

Procs

  Source   Edit @@ -1028,7 +1028,7 @@

Procs

  Source   Edit @@ -1040,7 +1040,7 @@

Procs

  Source   Edit @@ -1053,7 +1053,7 @@

Procs

1-based index (matches editor line numbers); 1st line is for i.line = 1 last valid line is numLines inclusive   Source   Edit @@ -1065,7 +1065,7 @@

Procs

  Source   Edit @@ -1078,7 +1078,7 @@

Procs

  Source   Edit @@ -1091,7 +1091,7 @@

Procs

  Source   Edit @@ -1103,7 +1103,7 @@

Procs

  Source   Edit @@ -1116,7 +1116,7 @@

Procs

Construct file(line, col) string from report location information   Source   Edit @@ -1129,7 +1129,7 @@

Procs

  Source   Edit @@ -1142,7 +1142,7 @@

Procs

  Source   Edit @@ -1155,7 +1155,7 @@

Procs

  Source   Edit @@ -1168,7 +1168,7 @@

Procs

  Source   Edit @@ -1180,7 +1180,7 @@

Procs

  Source   Edit @@ -1193,7 +1193,7 @@

Procs

  Source   Edit @@ -1206,7 +1206,7 @@

Procs

  Source   Edit @@ -1219,7 +1219,7 @@

Procs

  Source   Edit @@ -1232,7 +1232,7 @@

Procs

Construct report location instance based on the information from info   Source   Edit @@ -1245,7 +1245,7 @@

Procs

The unique module name is guaranteed to only contain {'A'..'Z', 'a'..'z', '0'..'9', '_'} so that it is useful as a C identifier snippet.   Source   Edit @@ -1262,7 +1262,7 @@

Templates

  Source   Edit @@ -1274,7 +1274,7 @@

Templates

  Source   Edit @@ -1287,7 +1287,7 @@

Templates

avoids boilerplate   Source   Edit @@ -1299,7 +1299,7 @@

Templates

local means compilation keeps going until errorMax is reached (via doNothing), global means it stops.   Source   Edit @@ -1311,7 +1311,7 @@

Templates

  Source   Edit @@ -1323,7 +1323,7 @@

Templates

Causes an internal error if the provided condition evaluates to false; but does not necessarily raise/end the currently executing routine.   Source   Edit @@ -1336,7 +1336,7 @@

Templates

Causes an internal error if the provided condition evaluates to false; but does not necessarily raise/end the currently executing routine.   Source   Edit @@ -1348,7 +1348,7 @@

Templates

Causes an internal error; but does not necessarily raise/end the currently executing routine.   Source   Edit @@ -1360,7 +1360,7 @@

Templates

Causes an internal error; but does not necessarily raise/end the currently executing routine.   Source   Edit @@ -1373,7 +1373,7 @@

Templates

Causes an internal error; but does not necessarily raise/end the currently executing routine.   Source   Edit @@ -1386,7 +1386,7 @@

Templates

Causes an internal error; but does not necessarily raise/end the currently executing routine.   Source   Edit @@ -1398,7 +1398,7 @@

Templates

  Source   Edit @@ -1410,7 +1410,7 @@

Templates

  Source   Edit @@ -1422,7 +1422,7 @@

Templates

  Source   Edit @@ -1434,7 +1434,7 @@

Templates

  Source   Edit @@ -1446,7 +1446,7 @@

Templates

  Source   Edit @@ -1459,7 +1459,7 @@

Templates

  Source   Edit @@ -1471,7 +1471,7 @@

Templates

  Source   Edit @@ -1483,7 +1483,7 @@

Templates

  Source   Edit @@ -1495,7 +1495,7 @@

Templates

  Source   Edit @@ -1507,7 +1507,7 @@

Templates

  Source   Edit @@ -1519,7 +1519,7 @@

Templates

  Source   Edit diff --git a/compiler/front/nimconf.html b/compiler/front/nimconf.html index b9f18f2f960..7f844e94815 100644 --- a/compiler/front/nimconf.html +++ b/compiler/front/nimconf.html @@ -167,7 +167,7 @@

compiler/front/nimconf

  Source   Edit @@ -210,7 +210,7 @@

Types

  Source   Edit @@ -230,7 +230,7 @@

Types

events/errors arising from parsing and processing a compiler config file   Source   Edit @@ -243,7 +243,7 @@

Types

  Source   Edit @@ -261,7 +261,7 @@

Procs

  Source   Edit @@ -274,7 +274,7 @@

Procs

  Source   Edit @@ -291,7 +291,7 @@

Procs

  Source   Edit diff --git a/compiler/front/options.html b/compiler/front/options.html index cf1d328e252..d23a42c6f6d 100644 --- a/compiler/front/options.html +++ b/compiler/front/options.html @@ -1565,7 +1565,7 @@

compiler/front/options

  Source   Edit @@ -1593,7 +1593,7 @@

Types

  Source   Edit @@ -1607,7 +1607,7 @@

Types

  Source   Edit @@ -1619,7 +1619,7 @@

Types

  Source   Edit @@ -1711,7 +1711,7 @@

Types

every global configuration fields marked with '*' are subject to the incremental compilation mechanisms (+) means "part of the dependency"   Source   Edit @@ -1734,7 +1734,7 @@

Types

additional configuration switches to control the behavior of the debug printer. Most of them are for compiler debugging, and for now they can't be set up from the cli/defines - in the future this will be changed. For now you can just edit defaultHackController value in this module as you see fit.   Source   Edit @@ -1748,7 +1748,7 @@

Types

  Source   Edit @@ -1785,7 +1785,7 @@

Types

does not need to be stored in the incremental cache   Source   Edit @@ -1799,7 +1799,7 @@

Types

flags altering msgWriteln behavior   Source   Edit @@ -1811,7 +1811,7 @@

Types

  Source   Edit @@ -1823,7 +1823,7 @@

Types

  Source   Edit @@ -1848,7 +1848,7 @@

Types

describes the package, and optional sub-package, used in conjunction with a module to determine its relationship to a package.   Source   Edit @@ -1862,7 +1862,7 @@

Types

  Source   Edit @@ -1877,7 +1877,7 @@

Types

  Source   Edit @@ -1893,7 +1893,7 @@

Types

  Source   Edit @@ -1905,7 +1905,7 @@

Types

  Source   Edit @@ -1919,7 +1919,7 @@

Types

  Source   Edit @@ -1932,7 +1932,7 @@

Types

  Source   Edit @@ -1945,7 +1945,7 @@

Types

  Source   Edit @@ -1976,7 +1976,7 @@

Types

  Source   Edit @@ -1988,7 +1988,7 @@

Types

  Source   Edit @@ -2001,7 +2001,7 @@

Types

  Source   Edit @@ -2019,7 +2019,7 @@

Types

  Source   Edit @@ -2031,7 +2031,7 @@

Types

  Source   Edit @@ -2050,7 +2050,7 @@

Consts

  Source   Edit @@ -2062,7 +2062,7 @@

Consts

  Source   Edit @@ -2074,7 +2074,7 @@

Consts

  Source   Edit @@ -2086,7 +2086,7 @@

Consts

  Source   Edit @@ -2098,7 +2098,7 @@

Consts

  Source   Edit @@ -2110,7 +2110,7 @@

Consts

  Source   Edit @@ -2122,7 +2122,7 @@

Consts

  Source   Edit @@ -2134,7 +2134,7 @@

Consts

  Source   Edit @@ -2149,7 +2149,7 @@

Consts

  Source   Edit @@ -2161,7 +2161,7 @@

Consts

  Source   Edit @@ -2173,7 +2173,7 @@

Consts

  Source   Edit @@ -2185,7 +2185,7 @@

Consts

  Source   Edit @@ -2197,7 +2197,7 @@

Consts

  Source   Edit @@ -2210,7 +2210,7 @@

Consts

  Source   Edit @@ -2222,7 +2222,7 @@

Consts

  Source   Edit @@ -2234,7 +2234,7 @@

Consts

  Source   Edit @@ -2246,7 +2246,7 @@

Consts

  Source   Edit @@ -2258,7 +2258,7 @@

Consts

  Source   Edit @@ -2270,7 +2270,7 @@

Consts

  Source   Edit @@ -2282,7 +2282,7 @@

Consts

  Source   Edit @@ -2294,7 +2294,7 @@

Consts

  Source   Edit @@ -2367,7 +2367,7 @@

Consts

  Source   Edit @@ -2379,7 +2379,7 @@

Consts

  Source   Edit @@ -2391,7 +2391,7 @@

Consts

  Source   Edit @@ -2403,7 +2403,7 @@

Consts

  Source   Edit @@ -2415,7 +2415,7 @@

Consts

  Source   Edit @@ -2427,7 +2427,7 @@

Consts

  Source   Edit @@ -2439,7 +2439,7 @@

Consts

  Source   Edit @@ -2451,7 +2451,7 @@

Consts

  Source   Edit @@ -2468,7 +2468,7 @@

Procs

  Source   Edit @@ -2481,7 +2481,7 @@

Procs

  Source   Edit @@ -2494,7 +2494,7 @@

Procs

  Source   Edit @@ -2507,7 +2507,7 @@

Procs

  Source   Edit @@ -2520,7 +2520,7 @@

Procs

  Source   Edit @@ -2533,7 +2533,7 @@

Procs

  Source   Edit @@ -2546,7 +2546,7 @@

Procs

  Source   Edit @@ -2559,7 +2559,7 @@

Procs

Assign to specified note set   Source   Edit @@ -2571,7 +2571,7 @@

Procs

Assign between two specified note sets   Source   Edit @@ -2583,7 +2583,7 @@

Procs

if result was already assigned to a value (that wasn't def), this is a noop.   Source   Edit @@ -2595,7 +2595,7 @@

Procs

  Source   Edit @@ -2608,7 +2608,7 @@

Procs

  Source   Edit @@ -2620,7 +2620,7 @@

Procs

Get 'canonical' dynamic library name - without optional lib prefix on linux and optional version pattern or extension. libgit2.so -> git2   Source   Edit @@ -2639,7 +2639,7 @@

Procs

  Source   Edit @@ -2652,7 +2652,7 @@

Procs

canonical module import filename, e.g.: system.nim, std/tables.nim, system/assertions.nim, etc. Canonical module import filenames follow the same rules as canonical imports (see canonicalImport), except the module name is followed by a .nim file extension, and the directory separators are OS specific.   Source   Edit @@ -2665,7 +2665,7 @@

Procs

  Source   Edit @@ -2677,7 +2677,7 @@

Procs

Check whether report with given ID can actually be written out, or it has already been seen. This check is used to prevent multiple reports from the nkError node.   Source   Edit @@ -2689,7 +2689,7 @@

Procs

Check whether nkError node can be reported   Source   Edit @@ -2701,7 +2701,7 @@

Procs

  Source   Edit @@ -2714,7 +2714,7 @@

Procs

  Source   Edit @@ -2727,7 +2727,7 @@

Procs

  Source   Edit @@ -2740,7 +2740,7 @@

Procs

  Source   Edit @@ -2753,7 +2753,7 @@

Procs

  Source   Edit @@ -2765,7 +2765,7 @@

Procs

  Source   Edit @@ -2777,7 +2777,7 @@

Procs

  Source   Edit @@ -2790,7 +2790,7 @@

Procs

  Source   Edit @@ -2803,7 +2803,7 @@

Procs

  Source   Edit @@ -2815,7 +2815,7 @@

Procs

  Source   Edit @@ -2828,7 +2828,7 @@

Procs

  Source   Edit @@ -2841,7 +2841,7 @@

Procs

  Source   Edit @@ -2853,7 +2853,7 @@

Procs

  Source   Edit @@ -2866,7 +2866,7 @@

Procs

  Source   Edit @@ -2878,7 +2878,7 @@

Procs

Get list of report filters modified from the command line   Source   Edit @@ -2890,7 +2890,7 @@

Procs

Set list of notes modified from the CLI   Source   Edit @@ -2903,7 +2903,7 @@

Procs

  Source   Edit @@ -2916,7 +2916,7 @@

Procs

  Source   Edit @@ -2929,7 +2929,7 @@

Procs

  Source   Edit @@ -2944,7 +2944,7 @@

Procs

  Source   Edit @@ -2956,7 +2956,7 @@

Procs

  Source   Edit @@ -2969,7 +2969,7 @@

Procs

  Source   Edit @@ -2982,7 +2982,7 @@

Procs

  Source   Edit @@ -2995,7 +2995,7 @@

Procs

  Source   Edit @@ -3008,7 +3008,7 @@

Procs

  Source   Edit @@ -3020,7 +3020,7 @@

Procs

  Source   Edit @@ -3032,7 +3032,7 @@

Procs

  Source   Edit @@ -3044,7 +3044,7 @@

Procs

  Source   Edit @@ -3057,7 +3057,7 @@

Procs

  Source   Edit @@ -3070,7 +3070,7 @@

Procs

  Source   Edit @@ -3083,7 +3083,7 @@

Procs

  Source   Edit @@ -3095,7 +3095,7 @@

Procs

  Source   Edit @@ -3107,7 +3107,7 @@

Procs

  Source   Edit @@ -3120,7 +3120,7 @@

Procs

  Source   Edit @@ -3132,7 +3132,7 @@

Procs

  Source   Edit @@ -3145,7 +3145,7 @@

Procs

  Source   Edit @@ -3158,7 +3158,7 @@

Procs

  Source   Edit @@ -3171,7 +3171,7 @@

Procs

  Source   Edit @@ -3184,7 +3184,7 @@

Procs

  Source   Edit @@ -3197,7 +3197,7 @@

Procs

  Source   Edit @@ -3209,7 +3209,7 @@

Procs

  Source   Edit @@ -3222,7 +3222,7 @@

Procs

  Source   Edit @@ -3235,7 +3235,7 @@

Procs

Exclude report kind from the specified note set   Source   Edit @@ -3247,7 +3247,7 @@

Procs

  Source   Edit @@ -3260,7 +3260,7 @@

Procs

  Source   Edit @@ -3272,7 +3272,7 @@

Procs

  Source   Edit @@ -3284,7 +3284,7 @@

Procs

  Source   Edit @@ -3296,7 +3296,7 @@

Procs

  Source   Edit @@ -3309,7 +3309,7 @@

Procs

  Source   Edit @@ -3322,7 +3322,7 @@

Procs

  Source   Edit @@ -3335,7 +3335,7 @@

Procs

  Source   Edit @@ -3348,7 +3348,7 @@

Procs

  Source   Edit @@ -3361,7 +3361,7 @@

Procs

  Source   Edit @@ -3374,7 +3374,7 @@

Procs

  Source   Edit @@ -3387,7 +3387,7 @@

Procs

Find module file using search paths or lazy search paths (in that order). If suppress stdlib is used - do not try to return files that start with current conf.libpath prefix. First explicit search paths are queried, and then lazy load paths (generated from directories) are used.   Source   Edit @@ -3408,7 +3408,7 @@

Procs

If the module is found and exists module override, apply it last.

  Source   Edit @@ -3421,7 +3421,7 @@

Procs

Find configuration file for a current project   Source   Edit @@ -3434,7 +3434,7 @@

Procs

Include or exlude node from the specified note set based on the state   Source   Edit @@ -3446,7 +3446,7 @@

Procs

Returns either 4 or 8 depending on reasons.   Source   Edit @@ -3458,7 +3458,7 @@

Procs

Get list of reports for foreign packages   Source   Edit @@ -3471,7 +3471,7 @@

Procs

Set list of notes for foreign packages   Source   Edit @@ -3483,7 +3483,7 @@

Procs

  Source   Edit @@ -3496,7 +3496,7 @@

Procs

  Source   Edit @@ -3508,7 +3508,7 @@

Procs

  Source   Edit @@ -3521,7 +3521,7 @@

Procs

  Source   Edit @@ -3534,7 +3534,7 @@

Procs

  Source   Edit @@ -3547,7 +3547,7 @@

Procs

  Source   Edit @@ -3560,7 +3560,7 @@

Procs

  Source   Edit @@ -3573,7 +3573,7 @@

Procs

get a description of a package for a given module path   Source   Edit @@ -3588,7 +3588,7 @@

Procs

This is overridden by some tools (namely nimsuggest) via the conf.prefixDir field. This should resolve to root of nim sources, whether running nim from a local clone or using installed nim, so that these exist: result/doc/advopt.txt and result/lib/system.nim

  Source   Edit @@ -3602,7 +3602,7 @@

Procs

  Source   Edit @@ -3614,7 +3614,7 @@

Procs

Get active report hook   Source   Edit @@ -3626,7 +3626,7 @@

Procs

  Source   Edit @@ -3639,7 +3639,7 @@

Procs

  Source   Edit @@ -3652,7 +3652,7 @@

Procs

  Source   Edit @@ -3664,7 +3664,7 @@

Procs

  Source   Edit @@ -3677,7 +3677,7 @@

Procs

Check if warnings are enabled and specific report kind is contained in the notes   Source   Edit @@ -3689,7 +3689,7 @@

Procs

Get list of hint notes that are treated like errors   Source   Edit @@ -3701,7 +3701,7 @@

Procs

Set list of hint notes that are treated like erorrs   Source   Edit @@ -3714,7 +3714,7 @@

Procs

  Source   Edit @@ -3727,7 +3727,7 @@

Procs

  Source   Edit @@ -3740,7 +3740,7 @@

Procs

  Source   Edit @@ -3753,7 +3753,7 @@

Procs

  Source   Edit @@ -3766,7 +3766,7 @@

Procs

  Source   Edit @@ -3779,7 +3779,7 @@

Procs

  Source   Edit @@ -3791,7 +3791,7 @@

Procs

  Source   Edit @@ -3804,7 +3804,7 @@

Procs

Include report kind in specified note set   Source   Edit @@ -3816,7 +3816,7 @@

Procs

  Source   Edit @@ -3829,7 +3829,7 @@

Procs

  Source   Edit @@ -3841,7 +3841,7 @@

Procs

  Source   Edit @@ -3853,7 +3853,7 @@

Procs

  Source   Edit @@ -3865,7 +3865,7 @@

Procs

  Source   Edit @@ -3881,7 +3881,7 @@

Procs

Check whether 'nim compiler debug' is defined right now.   Source   Edit @@ -3899,7 +3899,7 @@

Procs

true if info has filename and is within the specified line range (lrange), else false. Meant for debugging -- it's slow.   Source   Edit @@ -3911,7 +3911,7 @@

Procs

  Source   Edit @@ -3923,7 +3923,7 @@

Procs

Check if report stores a regular code error, or warning/hint that has been configured to be treated as error under "warningAsError"   Source   Edit @@ -3936,7 +3936,7 @@

Procs

Check if report stores fatal compilation error   Source   Edit @@ -3948,7 +3948,7 @@

Procs

  Source   Edit @@ -3960,7 +3960,7 @@

Procs

  Source   Edit @@ -3972,7 +3972,7 @@

Procs

  Source   Edit @@ -3984,7 +3984,7 @@

Procs

Macro expansion configuration is done via --expandMacro=name configuration, and requires full report information to check.   Source   Edit @@ -3996,7 +3996,7 @@

Procs

Check whether report kind is allowed to be generated by the compiler. Uses options.hasHint, options.hasWarn to check whether particular report is enabled, otherwise use query global/local options.   Source   Edit @@ -4009,7 +4009,7 @@

Procs

  Source   Edit @@ -4022,7 +4022,7 @@

Procs

  Source   Edit @@ -4035,7 +4035,7 @@

Procs

  Source   Edit @@ -4047,7 +4047,7 @@

Procs

  Source   Edit @@ -4060,7 +4060,7 @@

Procs

  Source   Edit @@ -4073,7 +4073,7 @@

Procs

  Source   Edit @@ -4086,7 +4086,7 @@

Procs

  Source   Edit @@ -4099,7 +4099,7 @@

Procs

  Source   Edit @@ -4111,7 +4111,7 @@

Procs

  Source   Edit @@ -4124,7 +4124,7 @@

Procs

  Source   Edit @@ -4137,7 +4137,7 @@

Procs

  Source   Edit @@ -4150,7 +4150,7 @@

Procs

  Source   Edit @@ -4163,7 +4163,7 @@

Procs

  Source   Edit @@ -4176,7 +4176,7 @@

Procs

  Source   Edit @@ -4189,7 +4189,7 @@

Procs

  Source   Edit @@ -4201,7 +4201,7 @@

Procs

This is intended for commands like check or parse which will work on the main project file unless explicitly given a specific file argument   Source   Edit @@ -4213,7 +4213,7 @@

Procs

Get list of notes for main package   Source   Edit @@ -4226,7 +4226,7 @@

Procs

Set list of notes for main package   Source   Edit @@ -4238,7 +4238,7 @@

Procs

  Source   Edit @@ -4250,7 +4250,7 @@

Procs

Get list of reports modified from the command line or config   Source   Edit @@ -4262,7 +4262,7 @@

Procs

Set list of notes modified from the cli/config   Source   Edit @@ -4274,7 +4274,7 @@

Procs

  Source   Edit @@ -4287,7 +4287,7 @@

Procs

  Source   Edit @@ -4299,7 +4299,7 @@

Procs

create a new ConfigRef that is only good enough for error reporting.   Source   Edit @@ -4312,7 +4312,7 @@

Procs

  Source   Edit @@ -4325,7 +4325,7 @@

Procs

  Source   Edit @@ -4338,7 +4338,7 @@

Procs

  Source   Edit @@ -4350,7 +4350,7 @@

Procs

  Source   Edit @@ -4363,7 +4363,7 @@

Procs

  Source   Edit @@ -4375,7 +4375,7 @@

Procs

Get list of active notes   Source   Edit @@ -4387,7 +4387,7 @@

Procs

Set list of active notes   Source   Edit @@ -4399,7 +4399,7 @@

Procs

  Source   Edit @@ -4412,7 +4412,7 @@

Procs

  Source   Edit @@ -4424,7 +4424,7 @@

Procs

Get list of active local options   Source   Edit @@ -4436,7 +4436,7 @@

Procs

Assign to list of active local options   Source   Edit @@ -4448,7 +4448,7 @@

Procs

  Source   Edit @@ -4461,7 +4461,7 @@

Procs

  Source   Edit @@ -4473,7 +4473,7 @@

Procs

  Source   Edit @@ -4486,7 +4486,7 @@

Procs

  Source   Edit @@ -4498,7 +4498,7 @@

Procs

  Source   Edit @@ -4510,7 +4510,7 @@

Procs

  Source   Edit @@ -4523,7 +4523,7 @@

Procs

Substitute text p with configuration paths, such as project name, nim cache directory, project directory etc. config is an argument of the configuration file path in case $config template is used.   Source   Edit @@ -4535,7 +4535,7 @@

Procs

  Source   Edit @@ -4548,7 +4548,7 @@

Procs

  Source   Edit @@ -4561,7 +4561,7 @@

Procs

Create the output directory and returns a full path to the output file   Source   Edit @@ -4573,7 +4573,7 @@

Procs

  Source   Edit @@ -4586,7 +4586,7 @@

Procs

  Source   Edit @@ -4598,7 +4598,7 @@

Procs

  Source   Edit @@ -4611,7 +4611,7 @@

Procs

  Source   Edit @@ -4623,7 +4623,7 @@

Procs

  Source   Edit @@ -4636,7 +4636,7 @@

Procs

  Source   Edit @@ -4648,7 +4648,7 @@

Procs

  Source   Edit @@ -4661,7 +4661,7 @@

Procs

Write inReport   Source   Edit @@ -4674,7 +4674,7 @@

Procs

  Source   Edit @@ -4687,7 +4687,7 @@

Procs

  Source   Edit @@ -4700,7 +4700,7 @@

Procs

  Source   Edit @@ -4712,7 +4712,7 @@

Procs

  Source   Edit @@ -4725,7 +4725,7 @@

Procs

  Source   Edit @@ -4737,7 +4737,7 @@

Procs

  Source   Edit @@ -4750,7 +4750,7 @@

Procs

set default value (can be overwritten):   Source   Edit @@ -4763,7 +4763,7 @@

Procs

  Source   Edit @@ -4776,7 +4776,7 @@

Procs

see also prepareConfigNotes which sets notes   Source   Edit @@ -4789,7 +4789,7 @@

Procs

  Source   Edit @@ -4801,7 +4801,7 @@

Procs

Set active report hook. Must not be nil   Source   Edit @@ -4813,7 +4813,7 @@

Procs

  Source   Edit @@ -4826,7 +4826,7 @@

Procs

  Source   Edit @@ -4839,7 +4839,7 @@

Procs

  Source   Edit @@ -4851,7 +4851,7 @@

Procs

  Source   Edit @@ -4864,7 +4864,7 @@

Procs

  Source   Edit @@ -4877,7 +4877,7 @@

Procs

  Source   Edit @@ -4890,7 +4890,7 @@

Procs

  Source   Edit @@ -4903,7 +4903,7 @@

Procs

  Source   Edit @@ -4915,7 +4915,7 @@

Procs

  Source   Edit @@ -4928,7 +4928,7 @@

Procs

  Source   Edit @@ -4940,7 +4940,7 @@

Procs

  Source   Edit @@ -4953,7 +4953,7 @@

Procs

converts "/home/a/mymodule.nim", "rod" to "/home/a/nimskullcache/mymodule.rod"   Source   Edit @@ -4967,7 +4967,7 @@

Procs

  Source   Edit @@ -4979,7 +4979,7 @@

Procs

  Source   Edit @@ -4991,7 +4991,7 @@

Procs

  Source   Edit @@ -5003,7 +5003,7 @@

Procs

Get list of warning notes that are treated like errors   Source   Edit @@ -5015,7 +5015,7 @@

Procs

Set list of warning notes to be treated as errors   Source   Edit @@ -5028,7 +5028,7 @@

Procs

  Source   Edit @@ -5041,7 +5041,7 @@

Procs

  Source   Edit @@ -5054,7 +5054,7 @@

Procs

write hook overload for varargs   Source   Edit @@ -5067,7 +5067,7 @@

Procs

Write string using write hook   Source   Edit @@ -5080,7 +5080,7 @@

Procs

writeln hook overload for varargs   Source   Edit @@ -5093,7 +5093,7 @@

Procs

Write string using writeln hook   Source   Edit @@ -5110,7 +5110,7 @@

Iterators

  Source   Edit @@ -5123,7 +5123,7 @@

Iterators

Iterate over possible interpolations of the path string p and known package directories.   Source   Edit @@ -5140,7 +5140,7 @@

Templates

  Source   Edit @@ -5152,7 +5152,7 @@

Templates

  Source   Edit @@ -5164,7 +5164,7 @@

Templates

  Source   Edit @@ -5176,7 +5176,7 @@

Templates

  Source   Edit @@ -5188,7 +5188,7 @@

Templates

  Source   Edit @@ -5200,7 +5200,7 @@

Templates

Pass structured report object into conf.structuredReportHook, converting to Report variant and updaing instantiation info.   Source   Edit @@ -5212,7 +5212,7 @@

Templates

Write out new report, updating it's location info using tinfo and it's instantiation info with instantiationInfo() of the template.   Source   Edit @@ -5224,7 +5224,7 @@

Templates

do not stop after first error (but honor --errorMax if provided)   Source   Edit @@ -5236,7 +5236,7 @@

Templates

  Source   Edit @@ -5248,7 +5248,7 @@

Templates

  Source   Edit diff --git a/compiler/front/optionsprocessor.html b/compiler/front/optionsprocessor.html index 95fea5120cd..fa4c16db6a2 100644 --- a/compiler/front/optionsprocessor.html +++ b/compiler/front/optionsprocessor.html @@ -389,7 +389,7 @@

compiler/front/optionsprocessor

  Source   Edit @@ -446,7 +446,7 @@

Types

  Source   Edit @@ -540,7 +540,7 @@

Types

  Source   Edit @@ -556,7 +556,7 @@

Types

  Source   Edit @@ -570,7 +570,7 @@

Types

  Source   Edit @@ -594,7 +594,7 @@

Types

  Source   Edit @@ -608,7 +608,7 @@

Types

  Source   Edit @@ -629,7 +629,7 @@

Types

  Source   Edit @@ -673,7 +673,7 @@

Types

  Source   Edit @@ -686,7 +686,7 @@

Types

  Source   Edit @@ -709,7 +709,7 @@

Types

  Source   Edit @@ -726,7 +726,7 @@

Consts

  Source   Edit @@ -744,7 +744,7 @@

Procs

  Source   Edit @@ -757,7 +757,7 @@

Procs

  Source   Edit @@ -770,7 +770,7 @@

Procs

  Source   Edit @@ -783,7 +783,7 @@

Procs

  Source   Edit @@ -797,7 +797,7 @@

Procs

  Source   Edit @@ -812,7 +812,7 @@

Procs

  Source   Edit @@ -829,7 +829,7 @@

Procs

  Source   Edit @@ -842,7 +842,7 @@

Procs

creates a human readable string message for a switch result, does not include any extra information such as line info, severity, and so on.   Source   Edit @@ -854,7 +854,7 @@

Procs

sets cmd, backend so subsequent flags can query it (e.g. so --gc:arc can be ignored for backendJs)   Source   Edit @@ -866,7 +866,7 @@

Procs

  Source   Edit @@ -879,7 +879,7 @@

Procs

  Source   Edit @@ -892,7 +892,7 @@

Procs

  Source   Edit diff --git a/compiler/front/scripting.html b/compiler/front/scripting.html index 366f4589a82..50f5dfb8ef2 100644 --- a/compiler/front/scripting.html +++ b/compiler/front/scripting.html @@ -126,7 +126,7 @@

compiler/front/scripting

  Source   Edit @@ -152,7 +152,7 @@

Procs

  Source   Edit @@ -166,7 +166,7 @@

Procs

  Source   Edit diff --git a/compiler/front/sexp_reporter.html b/compiler/front/sexp_reporter.html index 9847d3446e1..35d848adfaa 100644 --- a/compiler/front/sexp_reporter.html +++ b/compiler/front/sexp_reporter.html @@ -164,7 +164,7 @@

compiler/front/sexp_reporter

  Source   Edit @@ -186,7 +186,7 @@

Procs

  Source   Edit @@ -199,7 +199,7 @@

Procs

  Source   Edit @@ -212,7 +212,7 @@

Procs

  Source   Edit @@ -225,7 +225,7 @@

Procs

  Source   Edit @@ -238,7 +238,7 @@

Procs

  Source   Edit @@ -251,7 +251,7 @@

Procs

  Source   Edit @@ -263,7 +263,7 @@

Procs

  Source   Edit @@ -275,7 +275,7 @@

Procs

  Source   Edit @@ -287,7 +287,7 @@

Procs

  Source   Edit @@ -300,7 +300,7 @@

Procs

  Source   Edit @@ -312,7 +312,7 @@

Procs

  Source   Edit @@ -324,7 +324,7 @@

Procs

  Source   Edit @@ -336,7 +336,7 @@

Procs

  Source   Edit @@ -348,7 +348,7 @@

Procs

  Source   Edit @@ -360,7 +360,7 @@

Procs

  Source   Edit @@ -372,7 +372,7 @@

Procs

  Source   Edit @@ -384,7 +384,7 @@

Procs

  Source   Edit @@ -396,7 +396,7 @@

Procs

  Source   Edit @@ -408,7 +408,7 @@

Procs

  Source   Edit @@ -420,7 +420,7 @@

Procs

  Source   Edit diff --git a/compiler/ic/bitabs.html b/compiler/ic/bitabs.html index 46d8a647b34..81083036ac5 100644 --- a/compiler/ic/bitabs.html +++ b/compiler/ic/bitabs.html @@ -188,7 +188,7 @@

compiler/ic/bitabs

  Source   Edit @@ -213,7 +213,7 @@

Types

  Source   Edit @@ -225,7 +225,7 @@

Types

  Source   Edit @@ -242,7 +242,7 @@

Procs

  Source   Edit @@ -254,7 +254,7 @@

Procs

  Source   Edit @@ -266,7 +266,7 @@

Procs

  Source   Edit @@ -278,7 +278,7 @@

Procs

  Source   Edit @@ -290,7 +290,7 @@

Procs

  Source   Edit @@ -302,7 +302,7 @@

Procs

  Source   Edit @@ -314,7 +314,7 @@

Procs

  Source   Edit @@ -326,7 +326,7 @@

Procs

  Source   Edit @@ -338,7 +338,7 @@

Procs

  Source   Edit @@ -350,7 +350,7 @@

Procs

as the keys are hashes of the values, we simply use them instead   Source   Edit @@ -362,7 +362,7 @@

Procs

  Source   Edit @@ -374,7 +374,7 @@

Procs

  Source   Edit @@ -386,7 +386,7 @@

Procs

  Source   Edit @@ -398,7 +398,7 @@

Procs

  Source   Edit diff --git a/compiler/ic/cbackend.html b/compiler/ic/cbackend.html index 6f01cada173..d4f48995758 100644 --- a/compiler/ic/cbackend.html +++ b/compiler/ic/cbackend.html @@ -117,7 +117,7 @@

compiler/ic/cbackend

  Source   Edit @@ -141,7 +141,7 @@

Procs

The single entry point, generate C(++) code for the entire Nim program aka ModuleGraph.   Source   Edit diff --git a/compiler/ic/dce.html b/compiler/ic/dce.html index 5b2cefc29bf..158fb6fab90 100644 --- a/compiler/ic/dce.html +++ b/compiler/ic/dce.html @@ -139,7 +139,7 @@

compiler/ic/dce

  Source   Edit @@ -172,7 +172,7 @@

Types

Purpose is to fill the 'alive' field.   Source   Edit @@ -184,7 +184,7 @@

Types

  Source   Edit @@ -202,7 +202,7 @@

Procs

Entry point for our DCE algorithm.   Source   Edit @@ -215,7 +215,7 @@

Procs

Backends use this to query if a symbol is alive which means we need to produce (C/JS/etc) code for it.   Source   Edit diff --git a/compiler/ic/ic.html b/compiler/ic/ic.html index bf41a696db0..74125870ec5 100644 --- a/compiler/ic/ic.html +++ b/compiler/ic/ic.html @@ -479,7 +479,7 @@

compiler/ic/ic

  Source   Edit @@ -509,7 +509,7 @@

Types

  Source   Edit @@ -522,7 +522,7 @@

Types

  Source   Edit @@ -535,7 +535,7 @@

Types

  Source   Edit @@ -553,7 +553,7 @@

Types

  Source   Edit @@ -571,7 +571,7 @@

Types

  Source   Edit @@ -593,7 +593,7 @@

Types

  Source   Edit @@ -632,7 +632,7 @@

Types

the parts of a PackedEncoder that are part of the .rod file   Source   Edit @@ -644,7 +644,7 @@

Types

  Source   Edit @@ -660,7 +660,7 @@

Types

  Source   Edit @@ -678,7 +678,7 @@

Procs

  Source   Edit @@ -691,7 +691,7 @@

Procs

  Source   Edit @@ -704,7 +704,7 @@

Procs

  Source   Edit @@ -717,7 +717,7 @@

Procs

  Source   Edit @@ -730,7 +730,7 @@

Procs

  Source   Edit @@ -743,7 +743,7 @@

Procs

  Source   Edit @@ -756,7 +756,7 @@

Procs

  Source   Edit @@ -769,7 +769,7 @@

Procs

  Source   Edit @@ -782,7 +782,7 @@

Procs

  Source   Edit @@ -795,7 +795,7 @@

Procs

  Source   Edit @@ -808,7 +808,7 @@

Procs

  Source   Edit @@ -824,7 +824,7 @@

Procs

  Source   Edit @@ -837,7 +837,7 @@

Procs

  Source   Edit @@ -849,7 +849,7 @@

Procs

  Source   Edit @@ -863,7 +863,7 @@

Procs

setup a context for serializing to packed ast   Source   Edit @@ -876,7 +876,7 @@

Procs

  Source   Edit @@ -891,7 +891,7 @@

Procs

  Source   Edit @@ -906,7 +906,7 @@

Procs

  Source   Edit @@ -921,7 +921,7 @@

Procs

  Source   Edit @@ -933,7 +933,7 @@

Procs

  Source   Edit @@ -947,7 +947,7 @@

Procs

  Source   Edit @@ -961,7 +961,7 @@

Procs

  Source   Edit @@ -976,7 +976,7 @@

Procs

  Source   Edit @@ -990,7 +990,7 @@

Procs

Loads the symbol with id from the context of the module module. The resulting symbol is cached if it wasn't already.   Source   Edit @@ -1004,7 +1004,7 @@

Procs

  Source   Edit @@ -1020,7 +1020,7 @@

Procs

Returns 'nil' if the module needs to be recompiled.   Source   Edit @@ -1034,7 +1034,7 @@

Procs

  Source   Edit @@ -1047,7 +1047,7 @@

Procs

  Source   Edit @@ -1060,7 +1060,7 @@

Procs

  Source   Edit @@ -1074,7 +1074,7 @@

Procs

  Source   Edit @@ -1088,7 +1088,7 @@

Procs

  Source   Edit @@ -1101,7 +1101,7 @@

Procs

  Source   Edit @@ -1115,7 +1115,7 @@

Procs

  Source   Edit @@ -1129,7 +1129,7 @@

Procs

Records a type-bound operator attachment action to module m.   Source   Edit @@ -1142,7 +1142,7 @@

Procs

  Source   Edit @@ -1155,7 +1155,7 @@

Procs

  Source   Edit @@ -1168,7 +1168,7 @@

Procs

serialize a psym   Source   Edit @@ -1181,7 +1181,7 @@

Procs

  Source   Edit @@ -1194,7 +1194,7 @@

Procs

  Source   Edit @@ -1208,7 +1208,7 @@

Procs

  Source   Edit @@ -1221,7 +1221,7 @@

Procs

Generic procs and generated =hook's need explicit top-level entries so that the code generator can work without having to special case these. These entries will also be useful for other tools and are the cleanest design I can come up with.   Source   Edit @@ -1234,7 +1234,7 @@

Procs

serialize a node into the tree   Source   Edit @@ -1248,7 +1248,7 @@

Procs

  Source   Edit @@ -1261,7 +1261,7 @@

Procs

  Source   Edit @@ -1274,7 +1274,7 @@

Procs

  Source   Edit @@ -1288,7 +1288,7 @@

Procs

  Source   Edit @@ -1308,7 +1308,7 @@

Iterators

  Source   Edit diff --git a/compiler/ic/integrity.html b/compiler/ic/integrity.html index dda04889171..d9098e2da31 100644 --- a/compiler/ic/integrity.html +++ b/compiler/ic/integrity.html @@ -117,7 +117,7 @@

compiler/ic/integrity

  Source   Edit @@ -140,7 +140,7 @@

Procs

  Source   Edit diff --git a/compiler/ic/packed_ast.html b/compiler/ic/packed_ast.html index 7b579efd2f2..416b1b37a8c 100644 --- a/compiler/ic/packed_ast.html +++ b/compiler/ic/packed_ast.html @@ -443,7 +443,7 @@

compiler/ic/packed_ast

  Source   Edit @@ -465,7 +465,7 @@

Types

  Source   Edit @@ -477,7 +477,7 @@

Types

  Source   Edit @@ -492,7 +492,7 @@

Types

  Source   Edit @@ -507,7 +507,7 @@

Types

  Source   Edit @@ -525,7 +525,7 @@

Types

  Source   Edit @@ -541,7 +541,7 @@

Types

  Source   Edit @@ -559,7 +559,7 @@

Types

  Source   Edit @@ -590,7 +590,7 @@

Types

  Source   Edit @@ -604,7 +604,7 @@

Types

usually represents a full Nim module   Source   Edit @@ -630,7 +630,7 @@

Types

  Source   Edit @@ -642,7 +642,7 @@

Types

  Source   Edit @@ -659,7 +659,7 @@

Consts

  Source   Edit @@ -671,7 +671,7 @@

Consts

  Source   Edit @@ -684,7 +684,7 @@

Consts

  Source   Edit @@ -696,7 +696,7 @@

Consts

  Source   Edit @@ -708,7 +708,7 @@

Consts

  Source   Edit @@ -720,7 +720,7 @@

Consts

  Source   Edit @@ -737,7 +737,7 @@

Procs

  Source   Edit @@ -749,7 +749,7 @@

Procs

  Source   Edit @@ -762,7 +762,7 @@

Procs

  Source   Edit @@ -775,7 +775,7 @@

Procs

  Source   Edit @@ -788,7 +788,7 @@

Procs

  Source   Edit @@ -801,7 +801,7 @@

Procs

  Source   Edit @@ -814,7 +814,7 @@

Procs

  Source   Edit @@ -827,7 +827,7 @@

Procs

  Source   Edit @@ -839,7 +839,7 @@

Procs

  Source   Edit @@ -852,7 +852,7 @@

Procs

  Source   Edit @@ -864,7 +864,7 @@

Procs

  Source   Edit @@ -877,7 +877,7 @@

Procs

  Source   Edit @@ -889,7 +889,7 @@

Procs

  Source   Edit @@ -901,7 +901,7 @@

Procs

  Source   Edit @@ -914,7 +914,7 @@

Procs

  Source   Edit @@ -926,7 +926,7 @@

Procs

  Source   Edit @@ -939,7 +939,7 @@

Procs

  Source   Edit @@ -952,7 +952,7 @@

Procs

  Source   Edit @@ -964,7 +964,7 @@

Procs

  Source   Edit @@ -976,7 +976,7 @@

Procs

  Source   Edit @@ -988,7 +988,7 @@

Procs

  Source   Edit @@ -1000,7 +1000,7 @@

Procs

  Source   Edit @@ -1012,7 +1012,7 @@

Procs

  Source   Edit @@ -1025,7 +1025,7 @@

Procs

  Source   Edit @@ -1039,7 +1039,7 @@

Procs

  Source   Edit @@ -1052,7 +1052,7 @@

Procs

  Source   Edit @@ -1065,7 +1065,7 @@

Procs

  Source   Edit @@ -1077,7 +1077,7 @@

Procs

  Source   Edit @@ -1089,7 +1089,7 @@

Procs

  Source   Edit @@ -1101,7 +1101,7 @@

Procs

  Source   Edit @@ -1118,7 +1118,7 @@

Iterators

  Source   Edit @@ -1131,7 +1131,7 @@

Iterators

  Source   Edit @@ -1144,7 +1144,7 @@

Iterators

  Source   Edit @@ -1156,7 +1156,7 @@

Iterators

  Source   Edit @@ -1169,7 +1169,7 @@

Iterators

  Source   Edit @@ -1182,7 +1182,7 @@

Iterators

  Source   Edit @@ -1199,7 +1199,7 @@

Templates

  Source   Edit @@ -1211,7 +1211,7 @@

Templates

  Source   Edit @@ -1223,7 +1223,7 @@

Templates

  Source   Edit @@ -1235,7 +1235,7 @@

Templates

  Source   Edit @@ -1247,7 +1247,7 @@

Templates

  Source   Edit @@ -1259,7 +1259,7 @@

Templates

  Source   Edit @@ -1271,7 +1271,7 @@

Templates

  Source   Edit @@ -1283,7 +1283,7 @@

Templates

  Source   Edit @@ -1295,7 +1295,7 @@

Templates

  Source   Edit @@ -1307,7 +1307,7 @@

Templates

  Source   Edit diff --git a/compiler/ic/replayer.html b/compiler/ic/replayer.html index b38e373f5b3..edc63f08e05 100644 --- a/compiler/ic/replayer.html +++ b/compiler/ic/replayer.html @@ -127,7 +127,7 @@

compiler/ic/replayer

  Source   Edit @@ -150,7 +150,7 @@

Procs

Applies changes to whole-program (ModuleGraph) state the module module has. Only changes relevant to the backend part of the compiler are included here.   Source   Edit @@ -164,7 +164,7 @@

Procs

We remember the generic instantiations a module performed in order to to avoid the code bloat that generic code tends to imply. This is cheaper than deduplication of identical generic instantiations. However, deduplication is more powerful and general and I hope to implement it soon too (famous last words).   Source   Edit @@ -179,7 +179,7 @@

Procs

  Source   Edit diff --git a/compiler/ic/rodfiles.html b/compiler/ic/rodfiles.html index 4385cbc257d..ff09317feb6 100644 --- a/compiler/ic/rodfiles.html +++ b/compiler/ic/rodfiles.html @@ -197,7 +197,7 @@

compiler/ic/rodfiles

  Source   Edit @@ -245,7 +245,7 @@

Types

  Source   Edit @@ -259,7 +259,7 @@

Types

  Source   Edit @@ -279,7 +279,7 @@

Types

  Source   Edit @@ -296,7 +296,7 @@

Procs

  Source   Edit @@ -308,7 +308,7 @@

Procs

create the file and open it for writing   Source   Edit @@ -320,7 +320,7 @@

Procs

Loads the header which is described by cookie.   Source   Edit @@ -333,7 +333,7 @@

Procs

Read a string, the length was stored as a prefix   Source   Edit @@ -345,7 +345,7 @@

Procs

Load a non-sequence/string T.   Source   Edit @@ -358,7 +358,7 @@

Procs

read the bytes value of s, sets and error if the section is incorrect.   Source   Edit @@ -370,7 +370,7 @@

Procs

T must be compatible with copyMem, see loadPrim   Source   Edit @@ -382,7 +382,7 @@

Procs

open the file for reading   Source   Edit @@ -394,7 +394,7 @@

Procs

stores the header which is described by cookie.   Source   Edit @@ -407,7 +407,7 @@

Procs

Stores a string. The len is prefixed to allow for later retreival.   Source   Edit @@ -419,7 +419,7 @@

Procs

Stores a non-sequence/string T. If T doesn't support copyMem and is an object or tuple then the fields are written -- the user from context will need to know which T to load.   Source   Edit @@ -432,7 +432,7 @@

Procs

update currentSection and writes the bytes value of s.   Source   Edit @@ -444,7 +444,7 @@

Procs

Stores a sequence of Ts, with the len as a prefix for later retrieval.   Source   Edit diff --git a/compiler/index.html b/compiler/index.html index bf221ad5801..043f0b93254 100644 --- a/compiler/index.html +++ b/compiler/index.html @@ -107,7 +107,7 @@

compiler/index

  Source   Edit diff --git a/compiler/mir/analysis.html b/compiler/mir/analysis.html index 20693b233c6..c0fc7ac14a1 100644 --- a/compiler/mir/analysis.html +++ b/compiler/mir/analysis.html @@ -222,7 +222,7 @@

compiler/mir/analysis

  Source   Edit @@ -258,7 +258,7 @@

Types

  Source   Edit @@ -273,7 +273,7 @@

Types

Stores information about the produced values plus the lvalue effects of operations   Source   Edit @@ -290,7 +290,7 @@

Consts

if an lvalue is used as an operand to these operators, the value stored in the named location is considered to be consumed (ownership over it transfered to the operation)   Source   Edit @@ -303,7 +303,7 @@

Consts

using an lvalue as the operand to one of these operators means that the content of the location is observed (when control-flow reaches the operator). In other words, applying the operator result in a read   Source   Edit @@ -322,7 +322,7 @@

Procs

Computes whether the location is alive when span is exited via either structured or unstructured control-flow. A location is considered alive if it contains a value   Source   Edit @@ -335,7 +335,7 @@

Procs

Computes the state of loc at the end of the given operation. The operands are expected to not alias with each other. The analysis result will be wrong if they do   Source   Edit @@ -347,7 +347,7 @@

Procs

Creates a Values dictionary with all operation effects collected and (static) value roots computed. Value ownership is already computed where it is possible to do so by just taking the static operation sequences into account (i.e. no control- or data-flow analysis is performed)   Source   Edit @@ -371,7 +371,7 @@

Procs

p()   Source   Edit @@ -385,7 +385,7 @@

Procs

Computes if the location named by loc does contain a value at pos (i.e. is alive). The performed data-flow analysis only considers code inside span   Source   Edit @@ -397,7 +397,7 @@

Procs

Computes if val is definitely consumed. This is the case if it's directly used in a consume context, ignoring lvalue conversions   Source   Edit @@ -411,7 +411,7 @@

Procs

Performs data-flow analysis to compute whether the value that loc evaluates to at pos is not observed by operations that have a control-flow dependency on the operation/statement at pos and are located inside span. It's important to note that this analysis does not test whether the underlying location is accessed, but rather the value it stores. If a new value is assigned to the underlying location which is then accessed after, it won't cause the analysis to return false   Source   Edit @@ -427,7 +427,7 @@

Procs

In addition, whether the pos is connected to a structured or unstructured exit of span is also returned

  Source   Edit @@ -440,7 +440,7 @@

Procs

  Source   Edit @@ -453,7 +453,7 @@

Procs

  Source   Edit @@ -470,7 +470,7 @@

Templates

  Source   Edit @@ -482,7 +482,7 @@

Templates

  Source   Edit diff --git a/compiler/mir/astgen.html b/compiler/mir/astgen.html index 84af5a789b8..55003f4b9bf 100644 --- a/compiler/mir/astgen.html +++ b/compiler/mir/astgen.html @@ -119,7 +119,7 @@

compiler/mir/astgen

  Source   Edit @@ -147,7 +147,7 @@

Procs

Generates a PNode AST that is semantically equivalent to tree, using the idgen to provide new IDs when creating symbols. sourceMap must be the SourceMap corresponding to tree and is used as the provider for source position information   Source   Edit diff --git a/compiler/mir/mirbridge.html b/compiler/mir/mirbridge.html index fb9f2d66a98..fa91d4e9883 100644 --- a/compiler/mir/mirbridge.html +++ b/compiler/mir/mirbridge.html @@ -152,7 +152,7 @@

compiler/mir/mirbridge

  Source   Edit @@ -177,9 +177,9 @@

Procs

Legacy routine. Translates the body body of the procedure owner to MIR code, and the MIR code back to PNode AST.   Source -  Edit +  Edit @@ -192,9 +192,9 @@

Procs

Similar to canonicalize, but accepts a freestanding expression or statement. The owner is used as the owner when generating the necessary new symbols or types   Source -  Edit +  Edit @@ -205,7 +205,7 @@

Procs

If requested via the define, renders the input AST body and writes the result out through config.writeLine.   Source   Edit @@ -218,7 +218,7 @@

Procs

If requested via the define, renders the tree and writes the result out through config.writeln.   Source   Edit @@ -231,7 +231,7 @@

Procs

If requested via the define, renders the output AST body and writes the result out through config.writeLine.   Source   Edit @@ -246,7 +246,7 @@

Procs

If outermost is true, only definitions in the outermost scope will be removed. This is a hack, but it's currently required for turning module-level AST into a procedure in a mostly transparent way.

  Source   Edit diff --git a/compiler/mir/mirchangesets.html b/compiler/mir/mirchangesets.html index 82cf9a50a4a..03e24b63ad3 100644 --- a/compiler/mir/mirchangesets.html +++ b/compiler/mir/mirchangesets.html @@ -205,7 +205,7 @@

compiler/mir/mirchangesets

  Source   Edit @@ -241,7 +241,7 @@

Types

  Source   Edit @@ -259,7 +259,7 @@

Types

  Source   Edit @@ -276,7 +276,7 @@

Procs

Applies the changeset c to the tree, modifying the tree in-place. The tree's underlying sequence is resized 0 to 2 times.   Source   Edit @@ -288,7 +288,7 @@

Procs

Allocates a slot for new temporary and returns its ID   Source   Edit @@ -300,7 +300,7 @@

Procs

Initializes a new Changeset instance. Until the resulting Changeset is applied, the associated tree must not be modified   Source   Edit @@ -313,7 +313,7 @@

Procs

Inserts n at the current cursor position, using source as the inserted node's origin   Source   Edit @@ -326,7 +326,7 @@

Procs

Prepares c for being applied   Source   Edit @@ -338,7 +338,7 @@

Procs

Records the removal of the currently pointed to sub-tree   Source   Edit @@ -350,7 +350,7 @@

Procs

Records a change that replaces the node at the current cursor position with n, inheriting it origin information. If the cursor points to a sub-tree, the whole sub-tree is replaced   Source   Edit @@ -362,7 +362,7 @@

Procs

Moves the internal cursor position to dest   Source   Edit @@ -374,7 +374,7 @@

Procs

  Source   Edit @@ -387,7 +387,7 @@

Procs

Updates the source mappings stored by m according to the changes recorded in c   Source   Edit @@ -405,7 +405,7 @@

Templates

Records an insertion at the current cursor position, providing direct access to the internal node buffer inside body via an injected variable of the name name. source is the node to inherit the source/origin information from   Source   Edit @@ -417,7 +417,7 @@

Templates

The current position of the cursor   Source   Edit @@ -429,7 +429,7 @@

Templates

Records a repacement of the node or sub-tree at the current cursor position, providing direct access to the internal node buffer inside body via an injected variable of the name name   Source   Edit diff --git a/compiler/mir/mirconstr.html b/compiler/mir/mirconstr.html index 0827dc8bbb6..6a4e00eb1d4 100644 --- a/compiler/mir/mirconstr.html +++ b/compiler/mir/mirconstr.html @@ -95,6 +95,7 @@

compiler/mir/mirconstr

  Source   Edit @@ -402,7 +402,7 @@

Procs

incl(c, "key2") doAssert c.commonPrefixLen == 3   Source   Edit @@ -418,7 +418,7 @@

Procs

incl(c, "key") doAssert c.contains("key")   Source   Edit @@ -447,7 +447,7 @@

Procs

incl(c, "key") doAssert c.containsOrIncl("key")   Source   Edit @@ -476,7 +476,7 @@

Procs

doAssert c.containsOrIncl("key", 42) doAssert c["key"] == 21   Source   Edit @@ -498,7 +498,7 @@

Procs

excl(c, "key") doAssert not c.contains("key")   Source   Edit @@ -510,7 +510,7 @@

Procs

Alias for contains.   Source   Edit @@ -528,7 +528,7 @@

Procs

inc(c, "key") doAssert c["key"] == 2   Source   Edit @@ -549,7 +549,7 @@

Procs

incl(c, "key") doAssert c.hasKey("key")   Source   Edit @@ -570,7 +570,7 @@

Procs

incl(c, "key", 42) doAssert c["key"] == 42   Source   Edit @@ -585,7 +585,7 @@

Procs

let c = ["key1", "key2"].toCritBitTree
 doAssert c.len == 2
  Source   Edit @@ -612,7 +612,7 @@

Procs

doAssert not c.missingOrExcl("key") doAssert not c.contains("key")   Source   Edit @@ -627,7 +627,7 @@

Procs

Example:

doAssert ["a", "b", "c"].toCritBitTree is CritBitTree[void]
  Source   Edit @@ -642,7 +642,7 @@

Procs

doAssert {"a": "0", "b": "1", "c": "2"}.toCritBitTree is CritBitTree[string]
 doAssert {"a": 0, "b": 1, "c": 2}.toCritBitTree is CritBitTree[int]
  Source   Edit @@ -659,7 +659,7 @@

Iterators

Alias for keys.   Source   Edit @@ -671,7 +671,7 @@

Iterators

Alias for keysWithPrefix.   Source   Edit @@ -688,7 +688,7 @@

Iterators

let c = {"key1": 1, "key2": 2}.toCritBitTree doAssert toSeq(c.keys) == @["key1", "key2"]   Source   Edit @@ -705,7 +705,7 @@

Iterators

let c = {"key1": 42, "key2": 43}.toCritBitTree doAssert toSeq(c.keysWithPrefix("key")) == @["key1", "key2"]   Source   Edit @@ -721,7 +721,7 @@

Iterators

  Source   Edit @@ -738,7 +738,7 @@

Iterators

  Source   Edit @@ -754,7 +754,7 @@

Iterators

  Source   Edit @@ -770,7 +770,7 @@

Iterators

  Source   Edit @@ -791,7 +791,7 @@

Iterators

let c = {"key1": 1, "key2": 2}.toCritBitTree doAssert toSeq(c.pairs) == @[(key: "key1", val: 1), (key: "key2", val: 2)]   Source   Edit @@ -813,7 +813,7 @@

Iterators

let c = {"key1": 42, "key2": 43}.toCritBitTree doAssert toSeq(c.pairsWithPrefix("key")) == @[(key: "key1", val: 42), (key: "key2", val: 43)]   Source   Edit @@ -834,7 +834,7 @@

Iterators

let c = {"key1": 1, "key2": 2}.toCritBitTree doAssert toSeq(c.values) == @[1, 2]   Source   Edit @@ -855,7 +855,7 @@

Iterators

let c = {"key1": 42, "key2": 43}.toCritBitTree doAssert toSeq(c.valuesWithPrefix("key")) == @[42, 43]   Source   Edit diff --git a/cstrutils.html b/cstrutils.html index 675e364ef9e..8ede3565882 100644 --- a/cstrutils.html +++ b/cstrutils.html @@ -133,7 +133,7 @@

pure/cstrutils

  Source   Edit @@ -167,7 +167,7 @@

Procs

assert cmpIgnoreCase(cstring"echo", cstring"hello") < 0 assert cmpIgnoreCase(cstring"yellow", cstring"hello") > 0   Source   Edit @@ -186,7 +186,7 @@

Procs

Example:

assert cmpIgnoreStyle(cstring"hello", cstring"H_e_L_Lo") == 0
  Source   Edit @@ -205,7 +205,7 @@

Procs

assert not endsWith(cstring"Hello, Nimion", cstring"Hello") assert endsWith(cstring"Hello", cstring"")   Source   Edit @@ -224,7 +224,7 @@

Procs

assert not startsWith(cstring"Hello, Nimion", cstring"Nimion") assert startsWith(cstring"Hello", cstring"")   Source   Edit diff --git a/db_common.html b/db_common.html index 2f2c52e916e..1f5a018a9cb 100644 --- a/db_common.html +++ b/db_common.html @@ -201,7 +201,7 @@

pure/db_common

  Source   Edit @@ -224,7 +224,7 @@

Types

information about a database column   Source   Edit @@ -236,7 +236,7 @@

Types

  Source   Edit @@ -248,7 +248,7 @@

Types

effect that denotes a database operation   Source   Edit @@ -260,7 +260,7 @@

Types

exception that is raised if a database error occurs   Source   Edit @@ -281,7 +281,7 @@

Types

describes a database type   Source   Edit @@ -335,7 +335,7 @@

Types

a superset of datatypes that might be supported.   Source   Edit @@ -347,7 +347,7 @@

Types

effect that denotes a read operation   Source   Edit @@ -359,7 +359,7 @@

Types

an SQL query string   Source   Edit @@ -371,7 +371,7 @@

Types

effect that denotes a write operation   Source   Edit @@ -388,7 +388,7 @@

Procs

raises an DbError exception with message msg.   Source   Edit @@ -407,7 +407,7 @@

Templates

If assertions are turned off, it does nothing. If assertions are turned on, later versions will check the string for valid syntax.

  Source   Edit diff --git a/db_mysql.html b/db_mysql.html index c59cac75838..d672aa2dd01 100644 --- a/db_mysql.html +++ b/db_mysql.html @@ -255,7 +255,7 @@

impure/db_mysql

  Source   Edit @@ -316,7 +316,7 @@

Types

encapsulates a database connection   Source   Edit @@ -331,7 +331,7 @@

Types

a handle that can be used to get a row's column text on demand   Source   Edit @@ -343,7 +343,7 @@

Types

a row of a dataset. NULL database values will be converted to nil.   Source   Edit @@ -360,7 +360,7 @@

Procs

Returns text for given column of the row.   Source   Edit @@ -372,7 +372,7 @@

Procs

closes the database connection.   Source   Edit @@ -384,7 +384,7 @@

Procs

raises a DbError exception.   Source   Edit @@ -396,7 +396,7 @@

Procs

DB quotes the string.   Source   Edit @@ -409,7 +409,7 @@

Procs

executes the query and raises EDB if not successful.   Source   Edit @@ -422,7 +422,7 @@

Procs

runs the query (typically "UPDATE") and returns the number of affected rows   Source   Edit @@ -435,7 +435,7 @@

Procs

executes the query and returns the whole result dataset.   Source   Edit @@ -448,7 +448,7 @@

Procs

Retrieves a single row. If the query doesn't return any rows, this proc will return a Row with empty strings for each column.   Source   Edit @@ -461,7 +461,7 @@

Procs

executes the query and returns the first column of the first row of the result dataset. Returns "" if the dataset contains no rows or the database value is NULL.   Source   Edit @@ -475,7 +475,7 @@

Procs

same as insertId   Source   Edit @@ -488,7 +488,7 @@

Procs

executes the query (typically "INSERT") and returns the generated ID for the row.   Source   Edit @@ -500,7 +500,7 @@

Procs

Returns number of columns in the row.   Source   Edit @@ -513,7 +513,7 @@

Procs

opens a database connection. Raises EDb if the connection could not be established.   Source   Edit @@ -526,7 +526,7 @@

Procs

sets the encoding of a database connection, returns true for success, false for failure.   Source   Edit @@ -539,7 +539,7 @@

Procs

tries to execute the query and returns true if successful, false otherwise.   Source   Edit @@ -553,7 +553,7 @@

Procs

same as tryInsertID   Source   Edit @@ -566,7 +566,7 @@

Procs

executes the query (typically "INSERT") and returns the generated ID for the row or -1 in case of an error.   Source   Edit @@ -579,7 +579,7 @@

Procs

Return cstring of given column of the row   Source   Edit @@ -600,7 +600,7 @@

Iterators

Breaking the fastRows() iterator during a loop will cause the next database query to raise an [EDb] exception Commands out of sync.

  Source   Edit @@ -614,7 +614,7 @@

Iterators

Same as fastRows but returns a handle that can be used to get column text on demand using []. Returned handle is valid only within the iterator body.   Source   Edit @@ -627,7 +627,7 @@

Iterators

Same as fastRows but returns a handle that can be used to get column text on demand using []. Returned handle is valid only within the iterator body.   Source   Edit @@ -640,7 +640,7 @@

Iterators

same as fastRows, but slower and safe.   Source   Edit diff --git a/db_odbc.html b/db_odbc.html index 50b067ddf8f..20618199e92 100644 --- a/db_odbc.html +++ b/db_odbc.html @@ -251,7 +251,7 @@

impure/db_odbc

  Source   Edit @@ -315,7 +315,7 @@

Types

encapsulates a database connection   Source   Edit @@ -327,7 +327,7 @@

Types

a handle that can be used to get a row's column text on demand   Source   Edit @@ -339,7 +339,7 @@

Types

a row of a dataset. NULL database values will be converted to nil.   Source   Edit @@ -356,7 +356,7 @@

Procs

Returns text for given column of the row   Source   Edit @@ -368,7 +368,7 @@

Procs

Closes the database connection.   Source   Edit @@ -381,7 +381,7 @@

Procs

Raises an [DbError] exception with ODBC error information   Source   Edit @@ -393,7 +393,7 @@

Procs

DB quotes the string.   Source   Edit @@ -406,7 +406,7 @@

Procs

Executes the query and raises EDB if not successful.   Source   Edit @@ -420,7 +420,7 @@

Procs

Runs the query (typically "UPDATE") and returns the number of affected rows   Source   Edit @@ -433,7 +433,7 @@

Procs

Executes the query and returns the whole result dataset.   Source   Edit @@ -446,7 +446,7 @@

Procs

Retrieves a single row. If the query doesn't return any rows, this proc will return a Row with empty strings for each column.   Source   Edit @@ -459,7 +459,7 @@

Procs

Executes the query and returns the first column of the first row of the result dataset. Returns "" if the dataset contains no rows or the database value is NULL.   Source   Edit @@ -473,7 +473,7 @@

Procs

same as insertId   Source   Edit @@ -486,7 +486,7 @@

Procs

Executes the query (typically "INSERT") and returns the generated ID for the row.   Source   Edit @@ -498,7 +498,7 @@

Procs

Returns number of columns in the row   Source   Edit @@ -514,7 +514,7 @@

Procs

Currently the database parameter is ignored, but included to match open() in the other db_xxxxx library modules.

  Source   Edit @@ -529,7 +529,7 @@

Procs

Sets the encoding of a database connection, returns true for success, false for failure. result = set_character_set(connection, encoding) == 0

  Source   Edit @@ -542,7 +542,7 @@

Procs

Tries to execute the query and returns true if successful, false otherwise.   Source   Edit @@ -556,7 +556,7 @@

Procs

same as tryInsertID   Source   Edit @@ -569,7 +569,7 @@

Procs

Executes the query (typically "INSERT") and returns the generated ID for the row or -1 in case of an error.   Source   Edit @@ -582,7 +582,7 @@

Procs

  Source   Edit @@ -604,7 +604,7 @@

Iterators

Rows are retrieved from the server at each iteration.

  Source   Edit @@ -617,7 +617,7 @@

Iterators

Same as fastRows but returns a handle that can be used to get column text on demand using []. Returned handle is valid only within the iterator body.   Source   Edit @@ -632,7 +632,7 @@

Iterators

This retrieves ALL rows into memory before iterating through the rows. Large dataset queries will impact on memory usage.

  Source   Edit diff --git a/db_postgres.html b/db_postgres.html index 34d3e0c0022..d1e31da34b2 100644 --- a/db_postgres.html +++ b/db_postgres.html @@ -281,7 +281,7 @@

impure/db_postgres

  Source   Edit @@ -332,7 +332,7 @@

Types

encapsulates a database connection   Source   Edit @@ -346,7 +346,7 @@

Types

a handle that can be   Source   Edit @@ -358,7 +358,7 @@

Types

a row of a dataset. NULL database values will be converted to nil.   Source   Edit @@ -370,7 +370,7 @@

Types

a identifier for the prepared queries   Source   Edit @@ -387,7 +387,7 @@

Procs

returns text for given column of the row   Source   Edit @@ -399,7 +399,7 @@

Procs

closes the database connection.   Source   Edit @@ -411,7 +411,7 @@

Procs

raises a DbError exception.   Source   Edit @@ -423,7 +423,7 @@

Procs

DB quotes the string.   Source   Edit @@ -436,7 +436,7 @@

Procs

executes the query and raises EDB if not successful.   Source   Edit @@ -449,7 +449,7 @@

Procs

  Source   Edit @@ -462,7 +462,7 @@

Procs

executes the query (typically "UPDATE") and returns the number of affected rows.   Source   Edit @@ -476,7 +476,7 @@

Procs

executes the query (typically "UPDATE") and returns the number of affected rows.   Source   Edit @@ -489,7 +489,7 @@

Procs

executes the query and returns the whole result dataset.   Source   Edit @@ -502,7 +502,7 @@

Procs

executes the prepared query and returns the whole result dataset.   Source   Edit @@ -515,7 +515,7 @@

Procs

retrieves a single row. If the query doesn't return any rows, this proc will return a Row with empty strings for each column.   Source   Edit @@ -528,7 +528,7 @@

Procs

  Source   Edit @@ -541,7 +541,7 @@

Procs

executes the query and returns the first column of the first row of the result dataset. Returns "" if the dataset contains no rows or the database value is NULL.   Source   Edit @@ -554,7 +554,7 @@

Procs

executes the query and returns the first column of the first row of the result dataset. Returns "" if the dataset contains no rows or the database value is NULL.   Source   Edit @@ -568,7 +568,7 @@

Procs

executes the query (typically "INSERT") and returns the generated ID   Source   Edit @@ -581,7 +581,7 @@

Procs

executes the query (typically "INSERT") and returns the generated ID for the row. For Postgre this adds RETURNING id to the query, so it only works if your primary key is named id.   Source   Edit @@ -593,7 +593,7 @@

Procs

returns number of columns in the row   Source   Edit @@ -610,7 +610,7 @@

Procs

con = open("", "", "", "host=localhost port=5432 dbname=mydb")

See http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING for more information.

  Source   Edit @@ -623,7 +623,7 @@

Procs

Creates a new SqlPrepared statement. Parameter substitution is done via $1, $2, $3, etc.   Source   Edit @@ -636,7 +636,7 @@

Procs

sets the encoding of a database connection, returns true for success, false for failure.   Source   Edit @@ -649,7 +649,7 @@

Procs

tries to execute the query and returns true if successful, false otherwise.   Source   Edit @@ -662,7 +662,7 @@

Procs

tries to execute the query and returns true if successful, false otherwise.   Source   Edit @@ -676,7 +676,7 @@

Procs

executes the query (typically "INSERT") and returns the generated ID for the row or -1 in case of an error.   Source   Edit @@ -689,7 +689,7 @@

Procs

executes the query (typically "INSERT") and returns the generated ID for the row or -1 in case of an error. For Postgre this adds RETURNING id to the query, so it only works if your primary key is named id.   Source   Edit @@ -702,7 +702,7 @@

Procs

Return cstring of given column of the row   Source   Edit @@ -720,7 +720,7 @@

Iterators

executes the query and iterates over the result dataset. This is very fast, but potentially dangerous: If the for-loop-body executes another query, the results can be undefined. For Postgres it is safe though.   Source   Edit @@ -733,7 +733,7 @@

Iterators

executes the query and iterates over the result dataset. This is very fast, but potentially dangerous: If the for-loop-body executes another query, the results can be undefined. For Postgres it is safe though.   Source   Edit @@ -747,7 +747,7 @@

Iterators

  Source   Edit @@ -760,7 +760,7 @@

Iterators

same as fastRows but returns a handle that can be used to get column text on demand using []. Returned handle is valid only within iterator body.   Source   Edit @@ -774,7 +774,7 @@

Iterators

same as fastRows but returns a handle that can be used to get column text on demand using []. Returned handle is valid only within iterator body.   Source   Edit @@ -787,7 +787,7 @@

Iterators

same as fastRows, but slower and safe.   Source   Edit @@ -800,7 +800,7 @@

Iterators

same as fastRows, but slower and safe.   Source   Edit diff --git a/db_sqlite.html b/db_sqlite.html index 5535a053a59..a1ef3931cd0 100644 --- a/db_sqlite.html +++ b/db_sqlite.html @@ -329,7 +329,7 @@

impure/db_sqlite

  Source   Edit @@ -456,7 +456,7 @@

Types

Encapsulates a database connection.   Source   Edit @@ -468,7 +468,7 @@

Types

A handle that can be used to get a row's column text on demand.   Source   Edit @@ -480,7 +480,7 @@

Types

A row of a dataset. NULL database values will be converted to an empty string.   Source   Edit @@ -492,7 +492,7 @@

Types

a identifier for the prepared queries   Source   Edit @@ -513,7 +513,7 @@

Procs

  Source   Edit @@ -525,7 +525,7 @@

Procs

Sets the bindparam at the specified paramIndex to null (default behaviour by sqlite).   Source   Edit @@ -538,7 +538,7 @@

Procs

Binds a 64bit float to the specified paramIndex.   Source   Edit @@ -551,7 +551,7 @@

Procs

Binds a int to the specified paramIndex.   Source   Edit @@ -564,7 +564,7 @@

Procs

Binds a int32 to the specified paramIndex.   Source   Edit @@ -577,7 +577,7 @@

Procs

Binds a int64 to the specified paramIndex.   Source   Edit @@ -590,7 +590,7 @@

Procs

binds a blob to the specified paramIndex. if copy is true then SQLite makes its own private copy of the data immediately   Source   Edit @@ -603,7 +603,7 @@

Procs

Binds a string to the specified paramIndex. if copy is true then SQLite makes its own private copy of the data immediately   Source   Edit @@ -618,7 +618,7 @@

Procs

let db = open("mytest.db", "", "", "")
 db.close()
  Source   Edit @@ -635,7 +635,7 @@

Procs

dbError(db) db.close()   Source   Edit @@ -650,7 +650,7 @@

Procs

doAssert dbQuote("'") == "''''"
 doAssert dbQuote("A Foobar's pen.") == "'A Foobar''s pen.'"
  Source   Edit @@ -672,7 +672,7 @@

Procs

finally: db.close()   Source   Edit @@ -697,7 +697,7 @@

Procs

db.close()   Source   Edit @@ -710,7 +710,7 @@

Procs

  Source   Edit @@ -722,7 +722,7 @@

Procs

  Source   Edit @@ -746,7 +746,7 @@

Procs

doAssert db.getAllRows(sql"SELECT id, name FROM my_table") == @[Row(@["1", "item#1"]), Row(@["2", "item#2"])] db.close()   Source   Edit @@ -759,7 +759,7 @@

Procs

  Source   Edit @@ -793,7 +793,7 @@

Procs

1) == @[] db.close()   Source   Edit @@ -821,7 +821,7 @@

Procs

db.close()   Source   Edit @@ -834,7 +834,7 @@

Procs

  Source   Edit @@ -848,7 +848,7 @@

Procs

same as insertId   Source   Edit @@ -876,7 +876,7 @@

Procs

db.close()   Source   Edit @@ -892,7 +892,7 @@

Procs

  Source   Edit @@ -914,7 +914,7 @@

Procs

except: stderr.writeLine(getCurrentExceptionMsg())   Source   Edit @@ -926,7 +926,7 @@

Procs

Creates a new SqlPrepared statement.   Source   Edit @@ -941,7 +941,7 @@

Procs

Note: The encoding cannot be changed once it's been set. According to SQLite3 documentation, any attempt to change the encoding after the database is created will be silently ignored.

  Source   Edit @@ -959,7 +959,7 @@

Procs

dbError(db) db.close()   Source   Edit @@ -972,7 +972,7 @@

Procs

  Source   Edit @@ -986,7 +986,7 @@

Procs

same as tryInsertID   Source   Edit @@ -1006,7 +1006,7 @@

Procs

1, "item#1") == -1 db.close()   Source   Edit @@ -1023,7 +1023,7 @@

Procs

  Source   Edit @@ -1060,7 +1060,7 @@

Iterators

db.close()   Source   Edit @@ -1073,7 +1073,7 @@

Iterators

  Source   Edit @@ -1108,7 +1108,7 @@

Iterators

db.close()   Source   Edit @@ -1144,7 +1144,7 @@

Iterators

db.close()   Source   Edit @@ -1157,7 +1157,7 @@

Iterators

  Source   Edit @@ -1187,7 +1187,7 @@

Iterators

db.close()   Source   Edit @@ -1200,7 +1200,7 @@

Iterators

  Source   Edit @@ -1217,7 +1217,7 @@

Macros

  Source   Edit @@ -1234,7 +1234,7 @@

Templates

Raises a DbError exception.   Source   Edit @@ -1246,7 +1246,7 @@

Templates

  Source   Edit diff --git a/dbutils.html b/dbutils.html index 7755c5b031d..d2b3963fd34 100644 --- a/dbutils.html +++ b/dbutils.html @@ -119,7 +119,7 @@

std/private/dbutils

  Source   Edit @@ -142,7 +142,7 @@

Templates

  Source   Edit diff --git a/decode_helpers.html b/decode_helpers.html index 13342408630..a2b9cd122a3 100644 --- a/decode_helpers.html +++ b/decode_helpers.html @@ -118,7 +118,7 @@

std/private/decode_helpers

  Source   Edit @@ -137,7 +137,7 @@

Procs

If xx is not a valid hexadecimal value, it is left intact: only the leading % is returned as-is, and xx characters will be processed in the next step (e.g. in uri.decodeUrl) as regular characters.

  Source   Edit @@ -149,7 +149,7 @@

Procs

  Source   Edit @@ -173,7 +173,7 @@

Procs

assert not handleHexChar('?', x) assert x == 171 # unchanged   Source   Edit diff --git a/deques.html b/deques.html index e6f2474672b..0881d681aab 100644 --- a/deques.html +++ b/deques.html @@ -239,7 +239,7 @@

pure/collections/deques

  Source   Edit @@ -298,7 +298,7 @@

Types

To initialize an empty deque, use the initDeque proc.

  Source   Edit @@ -315,7 +315,7 @@

Consts

  Source   Edit @@ -335,7 +335,7 @@

Procs

let a = [10, 20, 30].toDeque
 assert $a == "[10, 20, 30]"
  Source   Edit @@ -354,7 +354,7 @@

Procs

a[^3] = 77 assert $a == "[10, 20, 77, 40, 99]"   Source   Edit @@ -371,7 +371,7 @@

Procs

a[3] = 66 assert $a == "[99, 20, 30, 66, 50]"   Source   Edit @@ -390,7 +390,7 @@

Procs

assert a[^4] == 20 doAssertRaises(IndexDefect, echo a[^9])   Source   Edit @@ -407,7 +407,7 @@

Procs

assert a[3] == 40 doAssertRaises(IndexDefect, echo a[8])   Source   Edit @@ -425,7 +425,7 @@

Procs

inc(a[^1]) assert a[^1] == 51   Source   Edit @@ -441,7 +441,7 @@

Procs

inc(a[0]) assert a[0] == 11   Source   Edit @@ -462,7 +462,7 @@

Procs

a.addFirst(10 * i) assert $a == "[50, 40, 30, 20, 10]"   Source   Edit @@ -483,7 +483,7 @@

Procs

a.addLast(10 * i) assert $a == "[10, 20, 30, 40, 50]"   Source   Edit @@ -504,7 +504,7 @@

Procs

clear(a) assert len(a) == 0   Source   Edit @@ -523,7 +523,7 @@

Procs

assert q.contains(7) assert 8 notin q   Source   Edit @@ -540,7 +540,7 @@

Procs

  Source   Edit @@ -552,7 +552,7 @@

Procs

Returns the number of elements of deq.   Source   Edit @@ -574,7 +574,7 @@

Procs

assert a.peekFirst == 10 assert len(a) == 5   Source   Edit @@ -595,7 +595,7 @@

Procs

a.peekFirst() = 99 assert $a == "[99, 20, 30, 40, 50]"   Source   Edit @@ -617,7 +617,7 @@

Procs

assert a.peekLast == 50 assert len(a) == 5   Source   Edit @@ -638,7 +638,7 @@

Procs

a.peekLast() = 99 assert $a == "[10, 20, 30, 40, 99]"   Source   Edit @@ -660,7 +660,7 @@

Procs

assert a.popFirst == 10 assert $a == "[20, 30, 40, 50]"   Source   Edit @@ -682,7 +682,7 @@

Procs

assert a.popLast == 50 assert $a == "[10, 20, 30, 40]"   Source   Edit @@ -706,7 +706,7 @@

Procs

a.shrink(fromFirst = 2, fromLast = 1) assert $a == "[30, 40]"   Source   Edit @@ -726,7 +726,7 @@

Procs

assert len(a) == 3 assert $a == "[7, 8, 9]"   Source   Edit @@ -752,7 +752,7 @@

Iterators

let a = [10, 20, 30, 40, 50].toDeque assert toSeq(a.items) == @[10, 20, 30, 40, 50]   Source   Edit @@ -774,7 +774,7 @@

Iterators

x = 5 * x - 1 assert $a == "[49, 99, 149, 199, 249]"   Source   Edit @@ -791,7 +791,7 @@

Iterators

let a = [10, 20, 30].toDeque assert toSeq(a.pairs) == @[(0, 10), (1, 20), (2, 30)]   Source   Edit diff --git a/destructors.html b/destructors.html index f3768180164..b5beafbd7b7 100644 --- a/destructors.html +++ b/destructors.html @@ -129,7 +129,7 @@

Nim Destructors and Move Semantics

  Source   Edit @@ -137,7 +137,7 @@

Nim Destructors and Move Semantics

- +
Authors:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

About this document

This document describes the upcoming Nim runtime which does not use classical GC algorithms anymore but is based on destructors and move semantics. The new runtime's advantages are that Nim programs become oblivious to the involved heap sizes and programs are easier to write to make effective use of multi-core machines. As a nice bonus, files and sockets and the like will not require manual close calls anymore.

This document aims to be a precise specification about how move semantics and destructors work in Nim.

diff --git a/diff.html b/diff.html index 89014afedac..8867e5b0433 100644 --- a/diff.html +++ b/diff.html @@ -194,7 +194,7 @@

experimental/diff

  Source   Edit @@ -246,7 +246,7 @@

Types

An Item in the list of differences.   Source   Edit @@ -262,7 +262,7 @@

Types

Sequence edit operation.   Source   Edit @@ -280,7 +280,7 @@

Types

Kind of the sequence edit operation   Source   Edit @@ -295,7 +295,7 @@

Types

Intermediate version of the diffed sequence   Source   Edit @@ -316,7 +316,7 @@

Procs

Returns a sequence of Items that describe the differences.

  Source   Edit @@ -330,7 +330,7 @@

Procs

Format diff of two text blocks via newline split and default formatDiffed implementation   Source   Edit @@ -347,7 +347,7 @@

Procs

Returns a seq of Items that describe the differences.

  Source   Edit @@ -367,7 +367,7 @@

Procs

  Source   Edit @@ -382,7 +382,7 @@

Procs

Adapted from https://phiresky.github.io/levenshtein-demo/

  Source   Edit @@ -394,7 +394,7 @@

Procs

Diff overload without explicit comparator proc - use default == for two items.   Source   Edit @@ -409,7 +409,7 @@

Procs

https://gist.github.com/adamnew123456/37923cf53f51d6b9af32a539cdfa7cc4

  Source   Edit @@ -421,7 +421,7 @@

Procs

Align diff operations against each other, for further formatting.   Source   Edit @@ -439,7 +439,7 @@

Iterators

Iterate each argument to the end, filling in missing values with fill argument. This is an opposite of the std built-in zip which iterates up until min(lhs.len, rhs.len).   Source   Edit diff --git a/digitsutils.html b/digitsutils.html index 7f4bb82478d..b44d107e425 100644 --- a/digitsutils.html +++ b/digitsutils.html @@ -125,7 +125,7 @@

std/private/digitsutils

  Source   Edit @@ -142,7 +142,7 @@

Procs

  Source   Edit @@ -158,7 +158,7 @@

Procs

s.addInt(45) assert s == "foo45"   Source   Edit @@ -170,7 +170,7 @@

Procs

  Source   Edit @@ -182,7 +182,7 @@

Procs

  Source   Edit @@ -195,7 +195,7 @@

Procs

  Source   Edit diff --git a/distros.html b/distros.html index 15f901db71f..074bc0c83c1 100644 --- a/distros.html +++ b/distros.html @@ -186,7 +186,7 @@

pure/distros

  Source   Edit @@ -233,7 +233,7 @@

Types

the list of known distributions   Source   Edit @@ -250,7 +250,7 @@

Vars

Registered foreign deps.   Source   Edit @@ -270,7 +270,7 @@

Consts

  Source   Edit @@ -287,7 +287,7 @@

Procs

Writes the list of registered foreign deps to stdout.   Source   Edit @@ -299,7 +299,7 @@

Procs

Registers a foreign command to the internal list of commands that can be queried later.   Source   Edit @@ -313,7 +313,7 @@

Procs

Registers foreignPackageName to the internal list of foreign deps. It is your job to ensure that the package name is correct.   Source   Edit @@ -327,7 +327,7 @@

Procs

Returns the distro's native command to install foreignPackageName and whether it requires root/admin rights.   Source   Edit @@ -344,7 +344,7 @@

Templates

Distro/OS detection. For convenience, the required Distribution. qualifier is added to the enum value.   Source   Edit diff --git a/docgen.html b/docgen.html index 2c56666cee2..920694ff11a 100644 --- a/docgen.html +++ b/docgen.html @@ -123,7 +123,7 @@

Nim DocGen Tools Guide

  Source   Edit @@ -131,7 +131,7 @@

Nim DocGen Tools Guide

- +
Author:Erik O'Leary
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Introduction

This document describes the documentation generation tools built into the Nim compiler, which can generate HTML, Latex and JSON output from input .nim files and projects, as well as HTML and LaTeX from input RST (reStructuredText) files. The output documentation will include the module dependencies (import), any top-level documentation comments (##), and exported symbols (*), including procedures, types, and variables.

diff --git a/docgen_sample.html b/docgen_sample.html index ced57ffeb81..8adc9c73f67 100644 --- a/docgen_sample.html +++ b/docgen_sample.html @@ -111,7 +111,7 @@

doc/docgen_sample

  Source   Edit @@ -128,7 +128,7 @@

Procs

Takes an integer and outputs as many indented "hello world!"s   Source   Edit diff --git a/dochack.js b/dochack.js index 6df81e63c55..b0cb9405cd2 100644 --- a/dochack.js +++ b/dochack.js @@ -1,4 +1,4 @@ -/* Generated by the Nim Compiler v0.1.0-dev.20886 */ +/* Generated by the Nim Compiler v0.1.0-dev.20887 */ var framePtr = null; var excHandler = 0; var lastJSError = null; diff --git a/dod_helpers.html b/dod_helpers.html index f2520b19f43..3a18e91b812 100644 --- a/dod_helpers.html +++ b/dod_helpers.html @@ -297,7 +297,7 @@

experimental/dod_helpers

  Source   Edit @@ -319,7 +319,7 @@

Types

  Source   Edit @@ -331,7 +331,7 @@

Types

  Source   Edit @@ -345,7 +345,7 @@

Types

  Source   Edit @@ -362,7 +362,7 @@

Consts

  Source   Edit @@ -379,7 +379,7 @@

Procs

  Source   Edit @@ -391,7 +391,7 @@

Procs

  Source   Edit @@ -404,7 +404,7 @@

Procs

  Source   Edit @@ -416,7 +416,7 @@

Procs

Returns the underlying index value. i is required to store a valid value   Source   Edit @@ -428,7 +428,7 @@

Procs

  Source   Edit @@ -440,7 +440,7 @@

Procs

  Source   Edit @@ -452,7 +452,7 @@

Procs

  Source   Edit @@ -464,7 +464,7 @@

Procs

Tests if i is empty, i.e. doesn't store a valid index-like   Source   Edit @@ -476,7 +476,7 @@

Procs

Tests if i stores a valid index-like value   Source   Edit @@ -488,7 +488,7 @@

Procs

  Source   Edit @@ -500,7 +500,7 @@

Procs

  Source   Edit @@ -513,7 +513,7 @@

Procs

  Source   Edit @@ -525,7 +525,7 @@

Procs

Returns the index-like value i as the corresponding nilable type   Source   Edit @@ -537,7 +537,7 @@

Procs

  Source   Edit @@ -549,7 +549,7 @@

Procs

  Source   Edit @@ -566,7 +566,7 @@

Iterators

  Source   Edit @@ -578,7 +578,7 @@

Iterators

  Source   Edit @@ -591,7 +591,7 @@

Iterators

  Source   Edit @@ -603,7 +603,7 @@

Iterators

  Source   Edit @@ -620,7 +620,7 @@

Macros

  Source   Edit @@ -632,7 +632,7 @@

Macros

  Source   Edit @@ -649,7 +649,7 @@

Templates

Compares a and b for equality. If both are 'nil', they're are also treated as equal   Source   Edit @@ -661,7 +661,7 @@

Templates

  Source   Edit @@ -675,7 +675,7 @@

Templates

  Source   Edit @@ -688,7 +688,7 @@

Templates

  Source   Edit @@ -700,7 +700,7 @@

Templates

  Source   Edit @@ -712,7 +712,7 @@

Templates

  Source   Edit @@ -724,7 +724,7 @@

Templates

Returns the value representing 'none' (or 'nil') for the index-like T   Source   Edit @@ -736,7 +736,7 @@

Templates

A type operator that returns the nilable version of the index-like type T. To indicate that T represents an index-like, a tag routine of the form indexLike(typedesc[T]): void has to be visible   Source   Edit diff --git a/dollars.html b/dollars.html index a08431bd9fb..e1f7011b97b 100644 --- a/dollars.html +++ b/dollars.html @@ -159,7 +159,7 @@

system/dollars

  Source   Edit @@ -189,7 +189,7 @@

Procs

doAssert$(typeof("Foo"))=="string"static:doAssert$(typeof(@['A','B']))=="seq[char]"   Source   Edit @@ -202,7 +202,7 @@

Procs

The stringify operator for a boolean argument. Returns x converted to the string "false" or "true".   Source   Edit @@ -215,7 +215,7 @@

Procs

The stringify operator for a character argument. Returns x converted to a string.
assert $'c' == "c"
  Source   Edit @@ -228,7 +228,7 @@

Procs

The stringify operator for a CString argument. Returns x converted to a string.   Source   Edit @@ -240,7 +240,7 @@

Procs

Outplace version of addFloat.   Source   Edit @@ -252,7 +252,7 @@

Procs

Outplace version of addInt.   Source   Edit @@ -264,7 +264,7 @@

Procs

Outplace version of addInt.   Source   Edit @@ -277,7 +277,7 @@

Procs

The stringify operator for a string argument. Returns x as it is. This operator is useful for generic code, so that $expr also works if expr is already a string.   Source   Edit @@ -289,7 +289,7 @@

Procs

Outplace version of addInt.   Source   Edit @@ -301,7 +301,7 @@

Procs

  Source   Edit @@ -314,7 +314,7 @@

Procs

  Source   Edit @@ -327,7 +327,7 @@

Procs

  Source   Edit @@ -342,7 +342,7 @@

Procs

If a $ operator for a concrete enumeration is provided, this is used instead. (In other words: Overwriting is possible.)

  Source   Edit @@ -354,7 +354,7 @@

Procs

Generic $ operator for arrays that is lifted from the components.   Source   Edit @@ -366,7 +366,7 @@

Procs

Generic $ operator for slices that is lifted from the components of x. Example:
$(1 .. 5) == "1 .. 5"
  Source   Edit @@ -380,7 +380,7 @@

Procs

$(a:23,b:45)=="(a: 23, b: 45)"$()=="()"   Source   Edit @@ -392,7 +392,7 @@

Procs

Generic $ operator for openarrays that is lifted from the components of x. Example:
$(@[23, 45].toOpenArray(0, 1)) == "[23, 45]"
  Source   Edit @@ -404,7 +404,7 @@

Procs

Generic $ operator for seqs that is lifted from the components of x. Example:
$(@[23, 45]) == "@[23, 45]"
  Source   Edit @@ -416,7 +416,7 @@

Procs

Generic $ operator for sets that is lifted from the components of x. Example:
${23, 45} == "{23, 45}"
  Source   Edit diff --git a/dom.html b/dom.html index a829de53787..0b5d29c3a1f 100644 --- a/dom.html +++ b/dom.html @@ -1395,7 +1395,7 @@

js/dom

  Source   Edit @@ -1421,7 +1421,7 @@

Types

  Source   Edit @@ -1433,7 +1433,7 @@

Types

  Source   Edit @@ -1445,7 +1445,7 @@

Types

see docs   Source   Edit @@ -1459,7 +1459,7 @@

Types

  Source   Edit @@ -1471,7 +1471,7 @@

Types

  Source   Edit @@ -1485,7 +1485,7 @@

Types

see docs   Source   Edit @@ -1497,7 +1497,7 @@

Types

see docs   Source   Edit @@ -1510,7 +1510,7 @@

Types

  Source   Edit @@ -1525,7 +1525,7 @@

Types

  Source   Edit @@ -1537,7 +1537,7 @@

Types

see docs   Source   Edit @@ -1550,7 +1550,7 @@

Types

  Source   Edit @@ -1562,7 +1562,7 @@

Types

  Source   Edit @@ -1576,7 +1576,7 @@

Types

  Source   Edit @@ -1598,7 +1598,7 @@

Types

see docs   Source   Edit @@ -1610,7 +1610,7 @@

Types

The DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. Each exception has a name, which is a short "CamelCase" style string identifying the error or abnormal condition. https://developer.mozilla.org/en-US/docs/Web/API/DOMException   Source   Edit @@ -1626,7 +1626,7 @@

Types

let prsr = newDomParser()
 discard prsr.parseFromString("<html><marquee>Hello World</marquee></html>".cstring, "text/html".cstring)
  Source   Edit @@ -1640,7 +1640,7 @@

Types

see docs   Source   Edit @@ -1655,7 +1655,7 @@

Types

  Source   Edit @@ -1667,7 +1667,7 @@

Types

  Source   Edit @@ -1679,7 +1679,7 @@

Types

  Source   Edit @@ -1691,7 +1691,7 @@

Types

see docs   Source   Edit @@ -1704,7 +1704,7 @@

Types

  Source   Edit @@ -1716,7 +1716,7 @@

Types

  Source   Edit @@ -1728,7 +1728,7 @@

Types

see docs   Source   Edit @@ -1740,7 +1740,7 @@

Types

The FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. https://developer.mozilla.org/en-US/docs/Web/API/FileReader   Source   Edit @@ -1752,7 +1752,7 @@

Types

  Source   Edit @@ -1767,7 +1767,7 @@

Types

see: docs   Source   Edit @@ -1781,7 +1781,7 @@

Types

see: docs   Source   Edit @@ -1793,7 +1793,7 @@

Types

see docs   Source   Edit @@ -1805,7 +1805,7 @@

Types

  Source   Edit @@ -1817,7 +1817,7 @@

Types

  Source   Edit @@ -1829,7 +1829,7 @@

Types

  Source   Edit @@ -1841,7 +1841,7 @@

Types

  Source   Edit @@ -1853,7 +1853,7 @@

Types

see docs   Source   Edit @@ -1865,7 +1865,7 @@

Types

  Source   Edit @@ -1877,7 +1877,7 @@

Types

see docs   Source   Edit @@ -1943,7 +1943,7 @@

Types

see docs   Source   Edit @@ -1955,7 +1955,7 @@

Types

  Source   Edit @@ -1967,7 +1967,7 @@

Types

  Source   Edit @@ -1981,7 +1981,7 @@

Types

  Source   Edit @@ -1993,7 +1993,7 @@

Types

  Source   Edit @@ -2010,7 +2010,7 @@

Types

  Source   Edit @@ -2024,7 +2024,7 @@

Types

  Source   Edit @@ -2036,7 +2036,7 @@

Types

see docs   Source   Edit @@ -2048,7 +2048,7 @@

Types

  Source   Edit @@ -2060,7 +2060,7 @@

Types

  Source   Edit @@ -2075,7 +2075,7 @@

Types

  Source   Edit @@ -2087,7 +2087,7 @@

Types

  Source   Edit @@ -2102,7 +2102,7 @@

Types

  Source   Edit @@ -2118,7 +2118,7 @@

Types

  Source   Edit @@ -2151,7 +2151,7 @@

Types

  Source   Edit @@ -2163,7 +2163,7 @@

Types

  Source   Edit @@ -2179,7 +2179,7 @@

Types

  Source   Edit @@ -2198,7 +2198,7 @@

Types

see docs   Source   Edit @@ -2212,7 +2212,7 @@

Types

  Source   Edit @@ -2224,7 +2224,7 @@

Types

  Source   Edit @@ -2240,7 +2240,7 @@

Types

  Source   Edit @@ -2260,7 +2260,7 @@

Types

see docs   Source   Edit @@ -2272,7 +2272,7 @@

Types

  Source   Edit @@ -2287,7 +2287,7 @@

Types

  Source   Edit @@ -2301,7 +2301,7 @@

Types

  Source   Edit @@ -2313,7 +2313,7 @@

Types

  Source   Edit @@ -2325,7 +2325,7 @@

Types

  Source   Edit @@ -2337,7 +2337,7 @@

Types

see docs   Source   Edit @@ -2349,7 +2349,7 @@

Types

  Source   Edit @@ -2361,7 +2361,7 @@

Types

see docs   Source   Edit @@ -2373,7 +2373,7 @@

Types

  Source   Edit @@ -2385,7 +2385,7 @@

Types

  Source   Edit @@ -2397,7 +2397,7 @@

Types

  Source   Edit @@ -2409,7 +2409,7 @@

Types

  Source   Edit @@ -2423,7 +2423,7 @@

Types

  Source   Edit @@ -2435,7 +2435,7 @@

Types

see docs   Source   Edit @@ -2447,7 +2447,7 @@

Types

see docs   Source   Edit @@ -2459,7 +2459,7 @@

Types

  Source   Edit @@ -2476,7 +2476,7 @@

Vars

  Source   Edit @@ -2488,7 +2488,7 @@

Vars

  Source   Edit @@ -2500,7 +2500,7 @@

Vars

  Source   Edit @@ -2512,7 +2512,7 @@

Vars

  Source   Edit @@ -2529,7 +2529,7 @@

Consts

the version of DOM API we try to follow. No guarantees though.   Source   Edit @@ -2541,7 +2541,7 @@

Consts

  Source   Edit @@ -2553,7 +2553,7 @@

Consts

  Source   Edit @@ -2565,7 +2565,7 @@

Consts

  Source   Edit @@ -2582,7 +2582,7 @@

Procs

  Source   Edit @@ -2595,7 +2595,7 @@

Procs

  Source   Edit @@ -2607,7 +2607,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/abort   Source   Edit @@ -2619,7 +2619,7 @@

Procs

  Source   Edit @@ -2633,7 +2633,7 @@

Procs

  Source   Edit @@ -2646,7 +2646,7 @@

Procs

  Source   Edit @@ -2658,7 +2658,7 @@

Procs

  Source   Edit @@ -2670,7 +2670,7 @@

Procs

  Source   Edit @@ -2682,7 +2682,7 @@

Procs

  Source   Edit @@ -2695,7 +2695,7 @@

Procs

  Source   Edit @@ -2708,7 +2708,7 @@

Procs

  Source   Edit @@ -2720,7 +2720,7 @@

Procs

  Source   Edit @@ -2732,7 +2732,7 @@

Procs

  Source   Edit @@ -2744,7 +2744,7 @@

Procs

  Source   Edit @@ -2756,7 +2756,7 @@

Procs

  Source   Edit @@ -2768,7 +2768,7 @@

Procs

  Source   Edit @@ -2780,7 +2780,7 @@

Procs

  Source   Edit @@ -2793,7 +2793,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare   Source   Edit @@ -2806,7 +2806,7 @@

Procs

  Source   Edit @@ -2819,7 +2819,7 @@

Procs

  Source   Edit @@ -2831,7 +2831,7 @@

Procs

  Source   Edit @@ -2843,7 +2843,7 @@

Procs

  Source   Edit @@ -2856,7 +2856,7 @@

Procs

  Source   Edit @@ -2869,7 +2869,7 @@

Procs

  Source   Edit @@ -2881,7 +2881,7 @@

Procs

  Source   Edit @@ -2894,7 +2894,7 @@

Procs

  Source   Edit @@ -2906,7 +2906,7 @@

Procs

  Source   Edit @@ -2919,7 +2919,7 @@

Procs

  Source   Edit @@ -2931,7 +2931,7 @@

Procs

  Source   Edit @@ -2943,7 +2943,7 @@

Procs

  Source   Edit @@ -2955,7 +2955,7 @@

Procs

  Source   Edit @@ -2968,7 +2968,7 @@

Procs

  Source   Edit @@ -2981,7 +2981,7 @@

Procs

  Source   Edit @@ -2994,7 +2994,7 @@

Procs

  Source   Edit @@ -3006,7 +3006,7 @@

Procs

  Source   Edit @@ -3019,7 +3019,7 @@

Procs

  Source   Edit @@ -3031,7 +3031,7 @@

Procs

  Source   Edit @@ -3044,7 +3044,7 @@

Procs

  Source   Edit @@ -3056,7 +3056,7 @@

Procs

  Source   Edit @@ -3069,7 +3069,7 @@

Procs

  Source   Edit @@ -3082,7 +3082,7 @@

Procs

  Source   Edit @@ -3095,7 +3095,7 @@

Procs

  Source   Edit @@ -3108,7 +3108,7 @@

Procs

  Source   Edit @@ -3121,7 +3121,7 @@

Procs

  Source   Edit @@ -3133,7 +3133,7 @@

Procs

  Source   Edit @@ -3146,7 +3146,7 @@

Procs

  Source   Edit @@ -3158,7 +3158,7 @@

Procs

  Source   Edit @@ -3170,7 +3170,7 @@

Procs

  Source   Edit @@ -3183,7 +3183,7 @@

Procs

  Source   Edit @@ -3195,7 +3195,7 @@

Procs

  Source   Edit @@ -3207,7 +3207,7 @@

Procs

  Source   Edit @@ -3220,7 +3220,7 @@

Procs

  Source   Edit @@ -3233,7 +3233,7 @@

Procs

  Source   Edit @@ -3245,7 +3245,7 @@

Procs

  Source   Edit @@ -3257,7 +3257,7 @@

Procs

  Source   Edit @@ -3270,7 +3270,7 @@

Procs

  Source   Edit @@ -3283,7 +3283,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/error   Source   Edit @@ -3295,7 +3295,7 @@

Procs

  Source   Edit @@ -3308,7 +3308,7 @@

Procs

  Source   Edit @@ -3320,7 +3320,7 @@

Procs

  Source   Edit @@ -3332,7 +3332,7 @@

Procs

  Source   Edit @@ -3344,7 +3344,7 @@

Procs

  Source   Edit @@ -3356,7 +3356,7 @@

Procs

  Source   Edit @@ -3368,7 +3368,7 @@

Procs

  Source   Edit @@ -3380,7 +3380,7 @@

Procs

  Source   Edit @@ -3393,7 +3393,7 @@

Procs

  Source   Edit @@ -3406,7 +3406,7 @@

Procs

  Source   Edit @@ -3419,7 +3419,7 @@

Procs

  Source   Edit @@ -3434,7 +3434,7 @@

Procs

The returned Style may or may not be read-only at run-time in the browser. getComputedStyle is performance costly.   Source   Edit @@ -3447,7 +3447,7 @@

Procs

  Source   Edit @@ -3460,7 +3460,7 @@

Procs

  Source   Edit @@ -3473,7 +3473,7 @@

Procs

  Source   Edit @@ -3486,7 +3486,7 @@

Procs

  Source   Edit @@ -3499,7 +3499,7 @@

Procs

  Source   Edit @@ -3512,7 +3512,7 @@

Procs

  Source   Edit @@ -3525,7 +3525,7 @@

Procs

  Source   Edit @@ -3538,7 +3538,7 @@

Procs

  Source   Edit @@ -3551,7 +3551,7 @@

Procs

  Source   Edit @@ -3563,7 +3563,7 @@

Procs

  Source   Edit @@ -3576,7 +3576,7 @@

Procs

  Source   Edit @@ -3589,7 +3589,7 @@

Procs

  Source   Edit @@ -3602,7 +3602,7 @@

Procs

  Source   Edit @@ -3615,7 +3615,7 @@

Procs

  Source   Edit @@ -3628,7 +3628,7 @@

Procs

  Source   Edit @@ -3641,7 +3641,7 @@

Procs

  Source   Edit @@ -3653,7 +3653,7 @@

Procs

  Source   Edit @@ -3666,7 +3666,7 @@

Procs

  Source   Edit @@ -3678,7 +3678,7 @@

Procs

  Source   Edit @@ -3690,7 +3690,7 @@

Procs

  Source   Edit @@ -3702,7 +3702,7 @@

Procs

  Source   Edit @@ -3714,7 +3714,7 @@

Procs

  Source   Edit @@ -3726,7 +3726,7 @@

Procs

  Source   Edit @@ -3738,7 +3738,7 @@

Procs

  Source   Edit @@ -3750,7 +3750,7 @@

Procs

  Source   Edit @@ -3762,7 +3762,7 @@

Procs

  Source   Edit @@ -3774,7 +3774,7 @@

Procs

  Source   Edit @@ -3787,7 +3787,7 @@

Procs

  Source   Edit @@ -3799,7 +3799,7 @@

Procs

  Source   Edit @@ -3811,7 +3811,7 @@

Procs

  Source   Edit @@ -3824,7 +3824,7 @@

Procs

  Source   Edit @@ -3836,7 +3836,7 @@

Procs

  Source   Edit @@ -3848,7 +3848,7 @@

Procs

  Source   Edit @@ -3860,7 +3860,7 @@

Procs

  Source   Edit @@ -3872,7 +3872,7 @@

Procs

  Source   Edit @@ -3884,7 +3884,7 @@

Procs

  Source   Edit @@ -3896,7 +3896,7 @@

Procs

see also math.isNaN.   Source   Edit @@ -3908,7 +3908,7 @@

Procs

  Source   Edit @@ -3920,7 +3920,7 @@

Procs

  Source   Edit @@ -3932,7 +3932,7 @@

Procs

  Source   Edit @@ -3944,7 +3944,7 @@

Procs

  Source   Edit @@ -3956,7 +3956,7 @@

Procs

  Source   Edit @@ -3968,7 +3968,7 @@

Procs

  Source   Edit @@ -3981,7 +3981,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/DOMException/message   Source   Edit @@ -3993,7 +3993,7 @@

Procs

  Source   Edit @@ -4005,7 +4005,7 @@

Procs

  Source   Edit @@ -4018,7 +4018,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/DOMException/name   Source   Edit @@ -4031,7 +4031,7 @@

Procs

DOM Exception constructor   Source   Edit @@ -4044,7 +4044,7 @@

Procs

DOM Parser constructor.   Source   Edit @@ -4057,7 +4057,7 @@

Procs

  Source   Edit @@ -4070,7 +4070,7 @@

Procs

File Reader constructor   Source   Edit @@ -4082,7 +4082,7 @@

Procs

  Source   Edit @@ -4094,7 +4094,7 @@

Procs

  Source   Edit @@ -4107,7 +4107,7 @@

Procs

  Source   Edit @@ -4120,7 +4120,7 @@

Procs

  Source   Edit @@ -4133,7 +4133,7 @@

Procs

  Source   Edit @@ -4146,7 +4146,7 @@

Procs

  Source   Edit @@ -4158,7 +4158,7 @@

Procs

  Source   Edit @@ -4171,7 +4171,7 @@

Procs

  Source   Edit @@ -4184,7 +4184,7 @@

Procs

Parse from string to Document.   Source   Edit @@ -4196,7 +4196,7 @@

Procs

  Source   Edit @@ -4208,7 +4208,7 @@

Procs

  Source   Edit @@ -4220,7 +4220,7 @@

Procs

  Source   Edit @@ -4233,7 +4233,7 @@

Procs

  Source   Edit @@ -4246,7 +4246,7 @@

Procs

  Source   Edit @@ -4259,7 +4259,7 @@

Procs

  Source   Edit @@ -4272,7 +4272,7 @@

Procs

  Source   Edit @@ -4285,7 +4285,7 @@

Procs

  Source   Edit @@ -4298,7 +4298,7 @@

Procs

  Source   Edit @@ -4311,7 +4311,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsBinaryString   Source   Edit @@ -4324,7 +4324,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL   Source   Edit @@ -4337,7 +4337,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText   Source   Edit @@ -4350,7 +4350,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readyState   Source   Edit @@ -4363,7 +4363,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler   Source   Edit @@ -4375,7 +4375,7 @@

Procs

  Source   Edit @@ -4387,7 +4387,7 @@

Procs

  Source   Edit @@ -4399,7 +4399,7 @@

Procs

  Source   Edit @@ -4411,7 +4411,7 @@

Procs

  Source   Edit @@ -4423,7 +4423,7 @@

Procs

  Source   Edit @@ -4435,7 +4435,7 @@

Procs

  Source   Edit @@ -4447,7 +4447,7 @@

Procs

  Source   Edit @@ -4460,7 +4460,7 @@

Procs

  Source   Edit @@ -4472,7 +4472,7 @@

Procs

  Source   Edit @@ -4485,7 +4485,7 @@

Procs

  Source   Edit @@ -4497,7 +4497,7 @@

Procs

  Source   Edit @@ -4509,7 +4509,7 @@

Procs

  Source   Edit @@ -4522,7 +4522,7 @@

Procs

  Source   Edit @@ -4534,7 +4534,7 @@

Procs

  Source   Edit @@ -4547,7 +4547,7 @@

Procs

  Source   Edit @@ -4559,7 +4559,7 @@

Procs

  Source   Edit @@ -4571,7 +4571,7 @@

Procs

  Source   Edit @@ -4583,7 +4583,7 @@

Procs

  Source   Edit @@ -4596,7 +4596,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FileReader/result   Source   Edit @@ -4608,7 +4608,7 @@

Procs

  Source   Edit @@ -4620,7 +4620,7 @@

Procs

  Source   Edit @@ -4632,7 +4632,7 @@

Procs

  Source   Edit @@ -4645,7 +4645,7 @@

Procs

  Source   Edit @@ -4657,7 +4657,7 @@

Procs

  Source   Edit @@ -4670,7 +4670,7 @@

Procs

  Source   Edit @@ -4683,7 +4683,7 @@

Procs

  Source   Edit @@ -4695,7 +4695,7 @@

Procs

  Source   Edit @@ -4708,7 +4708,7 @@

Procs

  Source   Edit @@ -4721,7 +4721,7 @@

Procs

  Source   Edit @@ -4734,7 +4734,7 @@

Procs

  Source   Edit @@ -4746,7 +4746,7 @@

Procs

  Source   Edit @@ -4759,7 +4759,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon   Source   Edit @@ -4772,7 +4772,7 @@

Procs

  Source   Edit @@ -4785,7 +4785,7 @@

Procs

  Source   Edit @@ -4797,7 +4797,7 @@

Procs

  Source   Edit @@ -4810,7 +4810,7 @@

Procs

  Source   Edit @@ -4823,7 +4823,7 @@

Procs

  Source   Edit @@ -4836,7 +4836,7 @@

Procs

  Source   Edit @@ -4849,7 +4849,7 @@

Procs

  Source   Edit @@ -4862,7 +4862,7 @@

Procs

  Source   Edit @@ -4875,7 +4875,7 @@

Procs

  Source   Edit @@ -4887,7 +4887,7 @@

Procs

  Source   Edit @@ -4900,7 +4900,7 @@

Procs

  Source   Edit @@ -4914,7 +4914,7 @@

Procs

  Source   Edit @@ -4928,7 +4928,7 @@

Procs

  Source   Edit @@ -4941,7 +4941,7 @@

Procs

  Source   Edit @@ -4954,7 +4954,7 @@

Procs

  Source   Edit @@ -4967,7 +4967,7 @@

Procs

  Source   Edit @@ -4980,7 +4980,7 @@

Procs

  Source   Edit @@ -4992,7 +4992,7 @@

Procs

  Source   Edit @@ -5004,7 +5004,7 @@

Procs

  Source   Edit @@ -5016,7 +5016,7 @@

Procs

  Source   Edit @@ -5028,7 +5028,7 @@

Procs

  Source   Edit @@ -5040,7 +5040,7 @@

Procs

  Source   Edit @@ -5052,7 +5052,7 @@

Procs

  Source   Edit @@ -5064,7 +5064,7 @@

Procs

  Source   Edit @@ -5076,7 +5076,7 @@

Procs

  Source   Edit @@ -5089,7 +5089,7 @@

Procs

  Source   Edit @@ -5102,7 +5102,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate   Source   Edit @@ -5115,7 +5115,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate   Source   Edit @@ -5127,7 +5127,7 @@

Procs

  Source   Edit @@ -5139,7 +5139,7 @@

Procs

  Source   Edit @@ -5156,7 +5156,7 @@

Converters

  Source   Edit diff --git a/dom_extensions.html b/dom_extensions.html index 02656c878a0..c33a4d7776f 100644 --- a/dom_extensions.html +++ b/dom_extensions.html @@ -112,7 +112,7 @@

js/dom_extensions

  Source   Edit diff --git a/dynlib.html b/dynlib.html index f592f9a36db..d79e8f3fb36 100644 --- a/dynlib.html +++ b/dynlib.html @@ -159,7 +159,7 @@

pure/dynlib

  Source   Edit @@ -204,7 +204,7 @@

Types

A handle to a dynamically loaded library.   Source   Edit @@ -222,7 +222,7 @@

Procs

Retrieves the address of a procedure/variable from lib. Raises LibraryError if the symbol could not be found.   Source   Edit @@ -234,7 +234,7 @@

Procs

Given a library name pattern s, write possible library names to dest.   Source   Edit @@ -246,7 +246,7 @@

Procs

Gets the handle from the current executable. Returns nil if the library could not be loaded.   Source   Edit @@ -259,7 +259,7 @@

Procs

Loads a library from path. Returns nil if the library could not be loaded.   Source   Edit @@ -274,7 +274,7 @@

Procs

this proc uses the GC and so cannot be used to load the GC.   Source   Edit @@ -287,7 +287,7 @@

Procs

Raises a LibraryError exception.   Source   Edit @@ -300,7 +300,7 @@

Procs

Retrieves the address of a procedure/variable from lib. Returns nil if the symbol could not be found.   Source   Edit @@ -312,7 +312,7 @@

Procs

Unloads the library lib.   Source   Edit diff --git a/editdistance.html b/editdistance.html index 9061e729cbe..fe3e6d4d710 100644 --- a/editdistance.html +++ b/editdistance.html @@ -122,7 +122,7 @@

std/editdistance

  Source   Edit @@ -148,7 +148,7 @@

Procs

Example:

static: doAssert editdistance("Kitten", "Bitten") == 1
  Source   Edit @@ -164,7 +164,7 @@

Procs

Example:

static: doAssert editDistanceAscii("Kitten", "Bitten") == 1
  Source   Edit diff --git a/effecttraits.html b/effecttraits.html index a484e5b9324..5cf72de04df 100644 --- a/effecttraits.html +++ b/effecttraits.html @@ -132,7 +132,7 @@

std/effecttraits

  Source   Edit @@ -156,7 +156,7 @@

Procs

Extracts the .raises list of the func/proc/etc fn. fn has to be a resolved symbol of kind nnkSym. This implies that the macro that calls this proc should accept typed arguments and not untyped arguments.   Source   Edit @@ -168,7 +168,7 @@

Procs

Extracts the .tags list of the func/proc/etc fn. fn has to be a resolved symbol of kind nnkSym. This implies that the macro that calls this proc should accept typed arguments and not untyped arguments.   Source   Edit @@ -180,7 +180,7 @@

Procs

Return true if the func/proc/etc fn has noSideEffect. fn has to be a resolved symbol of kind nnkSym. This implies that the macro that calls this proc should accept typed arguments and not untyped arguments.   Source   Edit @@ -192,7 +192,7 @@

Procs

Return true if the func/proc/etc fn is gcsafe. fn has to be a resolved symbol of kind nnkSym. This implies that the macro that calls this proc should accept typed arguments and not untyped arguments.   Source   Edit diff --git a/encodings.html b/encodings.html index eee5f199ece..9c39112c2f2 100644 --- a/encodings.html +++ b/encodings.html @@ -144,7 +144,7 @@

pure/encodings

  Source   Edit @@ -192,7 +192,7 @@

Types

Can convert between two character sets.   Source   Edit @@ -204,7 +204,7 @@

Types

Exception that is raised for encoding errors.   Source   Edit @@ -221,7 +221,7 @@

Procs

Frees the resources the converter c holds.   Source   Edit @@ -236,7 +236,7 @@

Procs

UTF-16BE and UTF-32 conversions are not supported on Windows.   Source   Edit @@ -251,7 +251,7 @@

Procs

UTF-16BE and UTF-32 conversions are not supported on Windows.   Source   Edit @@ -263,7 +263,7 @@

Procs

Retrieves the current encoding. On Unix, "UTF-8" is always returned. The uiApp parameter is Windows specific. If true, the UI's code-page is returned, if false, the Console's code-page is returned.   Source   Edit @@ -276,7 +276,7 @@

Procs

Opens a converter that can convert from srcEncoding to destEncoding. Raises IOError if it cannot fulfill the request.   Source   Edit diff --git a/endians.html b/endians.html index 7825ea59f22..2e3003fa24e 100644 --- a/endians.html +++ b/endians.html @@ -151,7 +151,7 @@

pure/endians

  Source   Edit @@ -171,7 +171,7 @@

Procs

Copies inp to outp, storing it in 16-bit big-endian order. Both buffers are supposed to contain at least 2 bytes.   Source   Edit @@ -183,7 +183,7 @@

Procs

Copies inp to outp, storing it in 32-bit big-endian order. Both buffers are supposed to contain at least 4 bytes.   Source   Edit @@ -195,7 +195,7 @@

Procs

Copies inp to outp, storing it in 64-bit big-endian order. Both buffers are supposed to contain at least 8 bytes.   Source   Edit @@ -207,7 +207,7 @@

Procs

Copies inp to outp, storing it in 16-bit little-endian order. Both buffers are supposed to contain at least 2 bytes.   Source   Edit @@ -219,7 +219,7 @@

Procs

Copies inp to outp, storing it in 32-bit little-endian order. Both buffers are supposed to contain at least 4 bytes.   Source   Edit @@ -231,7 +231,7 @@

Procs

Copies inp to outp, storing it in 64-bit little-endian order. Both buffers are supposed to contain at least 8 bytes.   Source   Edit @@ -249,7 +249,7 @@

Procs

swapEndian16(addrb,addra)assertb==[2'u8,1]   Source   Edit @@ -267,7 +267,7 @@

Procs

swapEndian32(addrb,addra)assertb==[4'u8,3,2,1]   Source   Edit @@ -285,7 +285,7 @@

Procs

swapEndian64(addrb,addra)assertb==[8'u8,7,6,5,4,3,2,1]   Source   Edit diff --git a/enumutils.html b/enumutils.html index 835f221c23f..d2d82e1d1df 100644 --- a/enumutils.html +++ b/enumutils.html @@ -154,7 +154,7 @@

std/enumutils

  Source   Edit @@ -192,7 +192,7 @@

Procs

c2=20assertc1.symbolName=="c1"   Source   Edit @@ -221,7 +221,7 @@

Iterators

assertA.toSeq==[a0,a1,a2]assertB[float].toSeq==[B[float].b0,B[float].b1]   Source   Edit @@ -240,7 +240,7 @@

Macros

  Source   Edit @@ -279,7 +279,7 @@

Templates

assertc2.ord==12asserta2.ord==11   Source   Edit diff --git a/epoll.html b/epoll.html index 5688fb88b96..7cf6724c434 100644 --- a/epoll.html +++ b/epoll.html @@ -187,7 +187,7 @@

posix/epoll

  Source   Edit @@ -211,7 +211,7 @@

Types

  Source   Edit @@ -226,7 +226,7 @@

Types

  Source   Edit @@ -243,7 +243,7 @@

Consts

  Source   Edit @@ -255,7 +255,7 @@

Consts

  Source   Edit @@ -267,7 +267,7 @@

Consts

  Source   Edit @@ -279,7 +279,7 @@

Consts

  Source   Edit @@ -291,7 +291,7 @@

Consts

  Source   Edit @@ -303,7 +303,7 @@

Consts

  Source   Edit @@ -315,7 +315,7 @@

Consts

  Source   Edit @@ -327,7 +327,7 @@

Consts

  Source   Edit @@ -339,7 +339,7 @@

Consts

  Source   Edit @@ -351,7 +351,7 @@

Consts

  Source   Edit @@ -363,7 +363,7 @@

Consts

  Source   Edit @@ -375,7 +375,7 @@

Consts

  Source   Edit @@ -387,7 +387,7 @@

Consts

  Source   Edit @@ -399,7 +399,7 @@

Consts

  Source   Edit @@ -411,7 +411,7 @@

Consts

  Source   Edit @@ -423,7 +423,7 @@

Consts

  Source   Edit @@ -435,7 +435,7 @@

Consts

  Source   Edit @@ -447,7 +447,7 @@

Consts

  Source   Edit @@ -468,7 +468,7 @@

Procs

The "size" parameter is a hint specifying the number of file descriptors to be associated with the new instance. The fd returned by epoll_create() should be closed with close().

  Source   Edit @@ -482,7 +482,7 @@

Procs

Same as epoll_create but with an FLAGS parameter. The unused SIZE parameter has been dropped.   Source   Edit @@ -498,7 +498,7 @@

Procs

The "op" parameter is one of the EPOLL_CTL_* constants defined above. The "fd" parameter is the target of the operation. The "event" parameter describes which events the caller is interested in and any associated user data.

  Source   Edit @@ -515,7 +515,7 @@

Procs

This function is a cancellation point and therefore not marked with __THROW.

  Source   Edit diff --git a/estp.html b/estp.html index 6aed86e5ca3..54a869c6d96 100644 --- a/estp.html +++ b/estp.html @@ -71,7 +71,7 @@

Embedded Stack Trace Profiler (ESTP) User Guide

commandruns on...input formatoutput format
- +
Author:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Nim comes with a platform independent profiler - the Embedded Stack Trace Profiler (ESTP). The profiler is embedded into your executable. To activate the profiler you need to do:

  Source   Edit @@ -346,7 +346,7 @@

Procs

let heap = [9, 5, 8].toHeapQueue
 assert heap.len == 3
  Source   Edit @@ -361,7 +361,7 @@

Procs

var heap = [9, 5, 8].toHeapQueue
 assert heap.pop() == 5
  Source   Edit @@ -373,7 +373,7 @@

Procs

Pushes item onto heap, maintaining the heap invariant.   Source   Edit @@ -395,7 +395,7 @@

Procs

assert heap[0] == 6 assert heap.pushpop(4) == 4   Source   Edit @@ -417,7 +417,7 @@

Procs

assert heap[0] == 6 assert heap.replace(4) == 6   Source   Edit @@ -437,7 +437,7 @@

Procs

assert heap.pop() == 5 assert heap[0] == 8   Source   Edit diff --git a/highlite.html b/highlite.html index 66b33fe7f20..9d3c56287d6 100644 --- a/highlite.html +++ b/highlite.html @@ -192,7 +192,7 @@

packages/docutils/highlite

  Source   Edit @@ -243,7 +243,7 @@

Types

  Source   Edit @@ -257,7 +257,7 @@

Types

  Source   Edit @@ -276,7 +276,7 @@

Types

  Source   Edit @@ -294,7 +294,7 @@

Consts

list of languages spelled with alpabetic characters   Source   Edit @@ -307,7 +307,7 @@

Consts

  Source   Edit @@ -326,7 +326,7 @@

Consts

  Source   Edit @@ -343,7 +343,7 @@

Procs

  Source   Edit @@ -356,7 +356,7 @@

Procs

  Source   Edit @@ -368,7 +368,7 @@

Procs

  Source   Edit @@ -381,7 +381,7 @@

Procs

  Source   Edit @@ -394,7 +394,7 @@

Procs

  Source   Edit @@ -409,7 +409,7 @@

Procs

at time of writing this was docs/keywords.txt

  Source   Edit @@ -422,7 +422,7 @@

Procs

  Source   Edit diff --git a/htmlgen.html b/htmlgen.html index 637016deb5f..79c3a851396 100644 --- a/htmlgen.html +++ b/htmlgen.html @@ -891,7 +891,7 @@

pure/htmlgen

  Source   Edit @@ -947,7 +947,7 @@

Consts

HTML DOM Aria Attributes   Source   Edit @@ -959,7 +959,7 @@

Consts

HTML DOM Common Attributes   Source   Edit @@ -971,7 +971,7 @@

Consts

HTML DOM Core Attributes   Source   Edit @@ -983,7 +983,7 @@

Consts

HTML DOM Event Attributes   Source   Edit @@ -1001,7 +1001,7 @@

Procs

use this procedure to define a new XML tag   Source   Edit @@ -1018,7 +1018,7 @@

Macros

Generates the HTML div element.   Source   Edit @@ -1030,7 +1030,7 @@

Macros

Generates the HTML object element.   Source   Edit @@ -1042,7 +1042,7 @@

Macros

Generates the HTML template element.   Source   Edit @@ -1054,7 +1054,7 @@

Macros

Generates the HTML var element.   Source   Edit @@ -1066,7 +1066,7 @@

Macros

Generates the HTML a element.   Source   Edit @@ -1078,7 +1078,7 @@

Macros

Generates the HTML abbr element.   Source   Edit @@ -1090,7 +1090,7 @@

Macros

Generates the HTML address element.   Source   Edit @@ -1102,7 +1102,7 @@

Macros

Generates the HTML annotation element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics   Source   Edit @@ -1114,7 +1114,7 @@

Macros

Generates the HTML annotation-xml element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics   Source   Edit @@ -1126,7 +1126,7 @@

Macros

Generates the HTML area element.   Source   Edit @@ -1138,7 +1138,7 @@

Macros

Generates the HTML article element.   Source   Edit @@ -1150,7 +1150,7 @@

Macros

Generates the HTML aside element.   Source   Edit @@ -1162,7 +1162,7 @@

Macros

Generates the HTML audio element.   Source   Edit @@ -1174,7 +1174,7 @@

Macros

Generates the HTML b element.   Source   Edit @@ -1186,7 +1186,7 @@

Macros

Generates the HTML base element.   Source   Edit @@ -1198,7 +1198,7 @@

Macros

Generates the HTML bdi element.   Source   Edit @@ -1210,7 +1210,7 @@

Macros

Generates the HTML bdo element.   Source   Edit @@ -1222,7 +1222,7 @@

Macros

Generates the HTML big element.   Source   Edit @@ -1234,7 +1234,7 @@

Macros

Generates the HTML blockquote element.   Source   Edit @@ -1246,7 +1246,7 @@

Macros

Generates the HTML body element.   Source   Edit @@ -1258,7 +1258,7 @@

Macros

Generates the HTML br element.   Source   Edit @@ -1270,7 +1270,7 @@

Macros

Generates the HTML button element.   Source   Edit @@ -1282,7 +1282,7 @@

Macros

Generates the HTML canvas element.   Source   Edit @@ -1294,7 +1294,7 @@

Macros

Generates the HTML caption element.   Source   Edit @@ -1306,7 +1306,7 @@

Macros

Generates the HTML center element.   Source   Edit @@ -1318,7 +1318,7 @@

Macros

Generates the HTML cite element.   Source   Edit @@ -1330,7 +1330,7 @@

Macros

Generates the HTML code element.   Source   Edit @@ -1342,7 +1342,7 @@

Macros

Generates the HTML col element.   Source   Edit @@ -1354,7 +1354,7 @@

Macros

Generates the HTML colgroup element.   Source   Edit @@ -1366,7 +1366,7 @@

Macros

Generates the HTML data element.   Source   Edit @@ -1378,7 +1378,7 @@

Macros

Generates the HTML datalist element.   Source   Edit @@ -1390,7 +1390,7 @@

Macros

Generates the HTML dd element.   Source   Edit @@ -1402,7 +1402,7 @@

Macros

Generates the HTML del element.   Source   Edit @@ -1414,7 +1414,7 @@

Macros

Generates the HTML details element.   Source   Edit @@ -1426,7 +1426,7 @@

Macros

Generates the HTML dfn element.   Source   Edit @@ -1438,7 +1438,7 @@

Macros

Generates the HTML dialog element.   Source   Edit @@ -1450,7 +1450,7 @@

Macros

Generates the HTML dl element.   Source   Edit @@ -1462,7 +1462,7 @@

Macros

Generates the HTML dt element.   Source   Edit @@ -1474,7 +1474,7 @@

Macros

Generates the HTML em element.   Source   Edit @@ -1486,7 +1486,7 @@

Macros

Generates the HTML embed element.   Source   Edit @@ -1498,7 +1498,7 @@

Macros

Generates the HTML fieldset element.   Source   Edit @@ -1510,7 +1510,7 @@

Macros

Generates the HTML figcaption element.   Source   Edit @@ -1522,7 +1522,7 @@

Macros

Generates the HTML figure element.   Source   Edit @@ -1534,7 +1534,7 @@

Macros

Generates the HTML footer element.   Source   Edit @@ -1546,7 +1546,7 @@

Macros

Generates the HTML form element.   Source   Edit @@ -1558,7 +1558,7 @@

Macros

Generates the HTML h1 element.   Source   Edit @@ -1570,7 +1570,7 @@

Macros

Generates the HTML h2 element.   Source   Edit @@ -1582,7 +1582,7 @@

Macros

Generates the HTML h3 element.   Source   Edit @@ -1594,7 +1594,7 @@

Macros

Generates the HTML h4 element.   Source   Edit @@ -1606,7 +1606,7 @@

Macros

Generates the HTML h5 element.   Source   Edit @@ -1618,7 +1618,7 @@

Macros

Generates the HTML h6 element.   Source   Edit @@ -1630,7 +1630,7 @@

Macros

Generates the HTML head element.   Source   Edit @@ -1642,7 +1642,7 @@

Macros

Generates the HTML header element.   Source   Edit @@ -1654,7 +1654,7 @@

Macros

Generates the HTML hr element.   Source   Edit @@ -1666,7 +1666,7 @@

Macros

Generates the HTML html element.   Source   Edit @@ -1678,7 +1678,7 @@

Macros

Generates the HTML i element.   Source   Edit @@ -1690,7 +1690,7 @@

Macros

Generates the HTML iframe element.   Source   Edit @@ -1702,7 +1702,7 @@

Macros

Generates the HTML img element.   Source   Edit @@ -1714,7 +1714,7 @@

Macros

Generates the HTML input element.   Source   Edit @@ -1726,7 +1726,7 @@

Macros

Generates the HTML ins element.   Source   Edit @@ -1738,7 +1738,7 @@

Macros

Generates the HTML kbd element.   Source   Edit @@ -1750,7 +1750,7 @@

Macros

Generates the HTML keygen element.   Source   Edit @@ -1762,7 +1762,7 @@

Macros

Generates the HTML label element.   Source   Edit @@ -1774,7 +1774,7 @@

Macros

Generates the HTML legend element.   Source   Edit @@ -1786,7 +1786,7 @@

Macros

Generates the HTML li element.   Source   Edit @@ -1798,7 +1798,7 @@

Macros

Generates the HTML link element.   Source   Edit @@ -1810,7 +1810,7 @@

Macros

Generates the HTML maction element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction   Source   Edit @@ -1822,7 +1822,7 @@

Macros

Generates the HTML main element.   Source   Edit @@ -1834,7 +1834,7 @@

Macros

Generates the HTML map element.   Source   Edit @@ -1846,7 +1846,7 @@

Macros

Generates the HTML mark element.   Source   Edit @@ -1858,7 +1858,7 @@

Macros

Generates the HTML marquee element.   Source   Edit @@ -1870,7 +1870,7 @@

Macros

Generates the HTML math element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math#Examples   Source   Edit @@ -1882,7 +1882,7 @@

Macros

Generates the HTML menclose element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose   Source   Edit @@ -1894,7 +1894,7 @@

Macros

Generates the HTML merror element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror   Source   Edit @@ -1906,7 +1906,7 @@

Macros

Generates the HTML meta element.   Source   Edit @@ -1918,7 +1918,7 @@

Macros

Generates the HTML meter element.   Source   Edit @@ -1930,7 +1930,7 @@

Macros

Generates the HTML mfenced element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced   Source   Edit @@ -1942,7 +1942,7 @@

Macros

Generates the HTML mfrac element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac   Source   Edit @@ -1954,7 +1954,7 @@

Macros

Generates the HTML mglyph element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mglyph   Source   Edit @@ -1966,7 +1966,7 @@

Macros

Generates the HTML mi element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi   Source   Edit @@ -1978,7 +1978,7 @@

Macros

Generates the HTML mlabeledtr element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mlabeledtr   Source   Edit @@ -1990,7 +1990,7 @@

Macros

Generates the HTML mmultiscripts element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts   Source   Edit @@ -2002,7 +2002,7 @@

Macros

Generates the HTML mn element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mn   Source   Edit @@ -2014,7 +2014,7 @@

Macros

Generates the HTML mo element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo   Source   Edit @@ -2026,7 +2026,7 @@

Macros

Generates the HTML mover element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mover   Source   Edit @@ -2038,7 +2038,7 @@

Macros

Generates the HTML mpadded element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mpadded   Source   Edit @@ -2050,7 +2050,7 @@

Macros

Generates the HTML mphantom element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mphantom   Source   Edit @@ -2062,7 +2062,7 @@

Macros

Generates the HTML mroot element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mroot   Source   Edit @@ -2074,7 +2074,7 @@

Macros

Generates the HTML mrow element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mrow   Source   Edit @@ -2086,7 +2086,7 @@

Macros

Generates the HTML ms element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms   Source   Edit @@ -2098,7 +2098,7 @@

Macros

Generates the HTML mspace element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mspace   Source   Edit @@ -2110,7 +2110,7 @@

Macros

Generates the HTML msqrt element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msqrt   Source   Edit @@ -2122,7 +2122,7 @@

Macros

Generates the HTML mstyle element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle   Source   Edit @@ -2134,7 +2134,7 @@

Macros

Generates the HTML msub element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub   Source   Edit @@ -2146,7 +2146,7 @@

Macros

Generates the HTML msubsup element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup   Source   Edit @@ -2158,7 +2158,7 @@

Macros

Generates the HTML msup element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup   Source   Edit @@ -2170,7 +2170,7 @@

Macros

Generates the HTML mtable element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable   Source   Edit @@ -2182,7 +2182,7 @@

Macros

Generates the HTML mtd element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd   Source   Edit @@ -2194,7 +2194,7 @@

Macros

Generates the HTML mtext element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtext   Source   Edit @@ -2206,7 +2206,7 @@

Macros

Generates the HTML munder element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munder   Source   Edit @@ -2218,7 +2218,7 @@

Macros

Generates the HTML munderover element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munderover   Source   Edit @@ -2230,7 +2230,7 @@

Macros

Generates the HTML nav element.   Source   Edit @@ -2242,7 +2242,7 @@

Macros

Generates the HTML noscript element.   Source   Edit @@ -2254,7 +2254,7 @@

Macros

Generates the HTML ol element.   Source   Edit @@ -2266,7 +2266,7 @@

Macros

Generates the HTML optgroup element.   Source   Edit @@ -2278,7 +2278,7 @@

Macros

Generates the HTML option element.   Source   Edit @@ -2290,7 +2290,7 @@

Macros

Generates the HTML output element.   Source   Edit @@ -2302,7 +2302,7 @@

Macros

Generates the HTML p element.   Source   Edit @@ -2314,7 +2314,7 @@

Macros

Generates the HTML param element.   Source   Edit @@ -2326,7 +2326,7 @@

Macros

Generates the HTML picture element.   Source   Edit @@ -2338,7 +2338,7 @@

Macros

Generates the HTML portal element.   Source   Edit @@ -2350,7 +2350,7 @@

Macros

Generates the HTML pre element.   Source   Edit @@ -2362,7 +2362,7 @@

Macros

Generates the HTML progress element.   Source   Edit @@ -2374,7 +2374,7 @@

Macros

Generates the HTML q element.   Source   Edit @@ -2386,7 +2386,7 @@

Macros

Generates the HTML rb element.   Source   Edit @@ -2398,7 +2398,7 @@

Macros

Generates the HTML rp element.   Source   Edit @@ -2410,7 +2410,7 @@

Macros

Generates the HTML rt element.   Source   Edit @@ -2422,7 +2422,7 @@

Macros

Generates the HTML rtc element.   Source   Edit @@ -2434,7 +2434,7 @@

Macros

Generates the HTML ruby element.   Source   Edit @@ -2446,7 +2446,7 @@

Macros

Generates the HTML s element.   Source   Edit @@ -2458,7 +2458,7 @@

Macros

Generates the HTML samp element.   Source   Edit @@ -2470,7 +2470,7 @@

Macros

Generates the HTML script element.   Source   Edit @@ -2482,7 +2482,7 @@

Macros

Generates the HTML section element.   Source   Edit @@ -2494,7 +2494,7 @@

Macros

Generates the HTML select element.   Source   Edit @@ -2506,7 +2506,7 @@

Macros

Generates the HTML semantics element. MathML https://wikipedia.org/wiki/MathML https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics   Source   Edit @@ -2518,7 +2518,7 @@

Macros

Generates the HTML slot element.   Source   Edit @@ -2530,7 +2530,7 @@

Macros

Generates the HTML small element.   Source   Edit @@ -2542,7 +2542,7 @@

Macros

Generates the HTML source element.   Source   Edit @@ -2554,7 +2554,7 @@

Macros

Generates the HTML span element.   Source   Edit @@ -2566,7 +2566,7 @@

Macros

Generates the HTML strong element.   Source   Edit @@ -2578,7 +2578,7 @@

Macros

Generates the HTML style element.   Source   Edit @@ -2590,7 +2590,7 @@

Macros

Generates the HTML sub element.   Source   Edit @@ -2602,7 +2602,7 @@

Macros

Generates the HTML summary element.   Source   Edit @@ -2614,7 +2614,7 @@

Macros

Generates the HTML sup element.   Source   Edit @@ -2626,7 +2626,7 @@

Macros

Generates the HTML table element.   Source   Edit @@ -2638,7 +2638,7 @@

Macros

Generates the HTML tbody element.   Source   Edit @@ -2650,7 +2650,7 @@

Macros

Generates the HTML td element.   Source   Edit @@ -2662,7 +2662,7 @@

Macros

Generates the HTML textarea element.   Source   Edit @@ -2674,7 +2674,7 @@

Macros

Generates the HTML tfoot element.   Source   Edit @@ -2686,7 +2686,7 @@

Macros

Generates the HTML th element.   Source   Edit @@ -2698,7 +2698,7 @@

Macros

Generates the HTML thead element.   Source   Edit @@ -2710,7 +2710,7 @@

Macros

Generates the HTML time element.   Source   Edit @@ -2722,7 +2722,7 @@

Macros

Generates the HTML title element.   Source   Edit @@ -2734,7 +2734,7 @@

Macros

Generates the HTML tr element.   Source   Edit @@ -2746,7 +2746,7 @@

Macros

Generates the HTML track element.   Source   Edit @@ -2758,7 +2758,7 @@

Macros

Generates the HTML tt element.   Source   Edit @@ -2770,7 +2770,7 @@

Macros

Generates the HTML u element.   Source   Edit @@ -2782,7 +2782,7 @@

Macros

Generates the HTML ul element.   Source   Edit @@ -2794,7 +2794,7 @@

Macros

Generates the HTML video element.   Source   Edit @@ -2806,7 +2806,7 @@

Macros

Generates the HTML wbr element.   Source   Edit diff --git a/htmlparser.html b/htmlparser.html index ae53634bedd..bd1f96a15cc 100644 --- a/htmlparser.html +++ b/htmlparser.html @@ -323,7 +323,7 @@

pure/htmlparser

  Source   Edit @@ -490,7 +490,7 @@

Types

list of all supported HTML tags; order will always be alphabetically   Source   Edit @@ -511,7 +511,7 @@

Consts

  Source   Edit @@ -529,7 +529,7 @@

Consts

  Source   Edit @@ -542,7 +542,7 @@

Consts

  Source   Edit @@ -569,7 +569,7 @@

Consts

  Source   Edit @@ -594,7 +594,7 @@

Procs

doAssert entityToRune("quest") == "?".runeAt(0) doAssert entityToRune("#x0003F") == "?".runeAt(0)   Source   Edit @@ -621,7 +621,7 @@

Procs

doAssert entityToUtf8("#x3a3") == sigma doAssert entityToUtf8("#X3a3") == sigma   Source   Edit @@ -633,7 +633,7 @@

Procs

Gets n's tag as a HtmlTag.   Source   Edit @@ -645,7 +645,7 @@

Procs

Converts s to a HtmlTag. If s is no HTML tag, tagUnknown is returned.   Source   Edit @@ -658,7 +658,7 @@

Procs

Loads and parses HTML from file specified by path, and returns a XmlNode. All parsing errors are ignored.   Source   Edit @@ -672,7 +672,7 @@

Procs

Loads and parses HTML from file specified by path, and returns a XmlNode. Every occurred parsing error is added to the errors sequence.   Source   Edit @@ -685,7 +685,7 @@

Procs

Parses the HTML from string html and returns a XmlNode. All parsing errors are ignored.   Source   Edit @@ -698,7 +698,7 @@

Procs

Parses the HTML from stream s and returns a XmlNode. All parsing errors are ignored.   Source   Edit @@ -712,7 +712,7 @@

Procs

Parses the XML from stream s and returns a XmlNode. Every occurred parsing error is added to the errors sequence.   Source   Edit @@ -730,7 +730,7 @@

Procs

doAssert runeToEntity("Ü".runeAt(0)) == "#220" doAssert runeToEntity("∈".runeAt(0)) == "#8712"   Source   Edit diff --git a/httpclient.html b/httpclient.html index 1127084f286..8876a50ea1b 100644 --- a/httpclient.html +++ b/httpclient.html @@ -349,7 +349,7 @@

pure/httpclient

  Source   Edit @@ -442,7 +442,7 @@

Types

  Source   Edit @@ -472,7 +472,7 @@

Types

  Source   Edit @@ -484,7 +484,7 @@

Types

Thrown in the getContent proc and postContent proc, when the server returns an error   Source   Edit @@ -498,7 +498,7 @@

Types

  Source   Edit @@ -510,7 +510,7 @@

Types

  Source   Edit @@ -523,7 +523,7 @@

Types

  Source   Edit @@ -535,7 +535,7 @@

Types

exception that is raised when server does not conform to the implemented protocol   Source   Edit @@ -550,7 +550,7 @@

Types

  Source   Edit @@ -568,7 +568,7 @@

Types

  Source   Edit @@ -585,7 +585,7 @@

Consts

  Source   Edit @@ -602,7 +602,7 @@

Procs

convert MultipartData to string so it's human readable when echo see https://github.com/nim-lang/Nim/issues/11863   Source   Edit @@ -615,7 +615,7 @@

Procs

Add a multipart entry to the multipart data p. The value is added without a filename and without a content type.
data["username"] = "NimUser"
  Source   Edit @@ -630,7 +630,7 @@

Procs

Add a file to the multipart data p, specifying filename, contentType and content manually.
data["uploaded_file"] = ("test.html", "text/html",
   "<html><head></head><body><p>test</p></body></html>")
  Source   Edit @@ -647,7 +647,7 @@

Procs

Raises a ValueError exception if name, filename or contentType contain newline characters.

  Source   Edit @@ -660,7 +660,7 @@

Procs

Add a list of multipart entries to the multipart data p. All values are added without a filename and without a content type.
data.add({"action": "login", "format": "json"})
  Source   Edit @@ -674,7 +674,7 @@

Procs

Add files to a multipart data object. The files will be streamed from disk when the request is being made. When stream is false, the files are instead read into memory, but beware this is very memory ineffecient even for small files. The MIME types will automatically be determined. Raises an IOError if the file cannot be opened or reading fails. To manually specify file content, filename and MIME type, use []= instead.
data.addFiles({"uploaded_file": "public/test.html"})
  Source   Edit @@ -689,7 +689,7 @@

Procs

The response's body stream is read synchronously.

  Source   Edit @@ -702,7 +702,7 @@

Procs

Closes any connections held by the HTTP client.   Source   Edit @@ -717,7 +717,7 @@

Procs

Raises a ValueError if the response's status does not have a corresponding HttpCode.

  Source   Edit @@ -733,7 +733,7 @@

Procs

A ValueError exception will be raised if the value is not an integer.

  Source   Edit @@ -746,7 +746,7 @@

Procs

  Source   Edit @@ -758,7 +758,7 @@

Procs

Connects to the hostname specified by the URL and performs a DELETE request. This procedure uses httpClient values such as client.maxRedirects.   Source   Edit @@ -770,7 +770,7 @@

Procs

Connects to the hostname specified by the URL and returns the content of a DELETE request.   Source   Edit @@ -782,7 +782,7 @@

Procs

Downloads url and saves it to filename.   Source   Edit @@ -796,7 +796,7 @@

Procs

This procedure uses httpClient values such as client.maxRedirects.

  Source   Edit @@ -808,7 +808,7 @@

Procs

Connects to the hostname specified by the URL and returns the content of a GET request.   Source   Edit @@ -824,7 +824,7 @@

Procs

echo client.getSocket.getLocalAddr echo client.getSocket.getPeerAddr   Source   Edit @@ -838,7 +838,7 @@

Procs

This procedure uses httpClient values such as client.maxRedirects.

  Source   Edit @@ -854,7 +854,7 @@

Procs

Raises a ValueError if the parsing fails or the value is not a correctly formatted time.

  Source   Edit @@ -882,7 +882,7 @@

Procs

assert "Example Domain" in exampleHtml assert "Pizza" notin exampleHtml   Source   Edit @@ -894,7 +894,7 @@

Procs

Constructs a new MultipartData object.   Source   Edit @@ -907,7 +907,7 @@

Procs

Create a new multipart data object and fill it with the entries xs directly.
var data = newMultipartData({"action": "login", "format": "json"})
  Source   Edit @@ -919,7 +919,7 @@

Procs

Constructs a new TProxy object.   Source   Edit @@ -931,7 +931,7 @@

Procs

Constructs a new TProxy object.   Source   Edit @@ -944,7 +944,7 @@

Procs

Connects to the hostname specified by the URL and performs a PATCH request. This procedure uses httpClient values such as client.maxRedirects.   Source   Edit @@ -957,7 +957,7 @@

Procs

Connects to the hostname specified by the URL and returns the content of a PATCH request.   Source   Edit @@ -970,7 +970,7 @@

Procs

Connects to the hostname specified by the URL and performs a POST request. This procedure uses httpClient values such as client.maxRedirects.   Source   Edit @@ -983,7 +983,7 @@

Procs

Connects to the hostname specified by the URL and returns the content of a POST request.   Source   Edit @@ -996,7 +996,7 @@

Procs

Connects to the hostname specified by the URL and performs a PUT request. This procedure uses httpClient values such as client.maxRedirects.   Source   Edit @@ -1009,7 +1009,7 @@

Procs

Connects to the hostname specified by the URL andreturns the content of a PUT request.   Source   Edit @@ -1028,7 +1028,7 @@

Procs

headers are HTTP headers that override the client.headers for this specific request only and will not be persisted.

  Source   Edit diff --git a/httpcore.html b/httpcore.html index a27929d2275..64742662786 100644 --- a/httpcore.html +++ b/httpcore.html @@ -412,7 +412,7 @@

pure/httpcore

  Source   Edit @@ -436,7 +436,7 @@

Types

  Source   Edit @@ -451,7 +451,7 @@

Types

  Source   Edit @@ -463,7 +463,7 @@

Types

  Source   Edit @@ -494,7 +494,7 @@

Types

the requested HttpMethod   Source   Edit @@ -507,7 +507,7 @@

Types

  Source   Edit @@ -524,7 +524,7 @@

Consts

  Source   Edit @@ -536,7 +536,7 @@

Consts

  Source   Edit @@ -548,7 +548,7 @@

Consts

  Source   Edit @@ -560,7 +560,7 @@

Consts

https://tools.ietf.org/html/rfc2518.html WebDAV   Source   Edit @@ -572,7 +572,7 @@

Consts

https://tools.ietf.org/html/rfc8297.html Early hints   Source   Edit @@ -584,7 +584,7 @@

Consts

  Source   Edit @@ -596,7 +596,7 @@

Consts

  Source   Edit @@ -608,7 +608,7 @@

Consts

  Source   Edit @@ -620,7 +620,7 @@

Consts

  Source   Edit @@ -632,7 +632,7 @@

Consts

  Source   Edit @@ -644,7 +644,7 @@

Consts

  Source   Edit @@ -656,7 +656,7 @@

Consts

  Source   Edit @@ -668,7 +668,7 @@

Consts

https://tools.ietf.org/html/rfc4918.html WebDAV   Source   Edit @@ -680,7 +680,7 @@

Consts

https://tools.ietf.org/html/rfc5842.html WebDAV, Section 7.1   Source   Edit @@ -692,7 +692,7 @@

Consts

https://tools.ietf.org/html/rfc3229.html Delta encoding, Section 10.4.1   Source   Edit @@ -704,7 +704,7 @@

Consts

  Source   Edit @@ -716,7 +716,7 @@

Consts

  Source   Edit @@ -728,7 +728,7 @@

Consts

  Source   Edit @@ -740,7 +740,7 @@

Consts

  Source   Edit @@ -752,7 +752,7 @@

Consts

  Source   Edit @@ -764,7 +764,7 @@

Consts

  Source   Edit @@ -776,7 +776,7 @@

Consts

  Source   Edit @@ -788,7 +788,7 @@

Consts

  Source   Edit @@ -800,7 +800,7 @@

Consts

  Source   Edit @@ -812,7 +812,7 @@

Consts

  Source   Edit @@ -824,7 +824,7 @@

Consts

https://tools.ietf.org/html/rfc7231.html Payment required, Section 6.5.2   Source   Edit @@ -836,7 +836,7 @@

Consts

  Source   Edit @@ -848,7 +848,7 @@

Consts

  Source   Edit @@ -860,7 +860,7 @@

Consts

  Source   Edit @@ -872,7 +872,7 @@

Consts

  Source   Edit @@ -884,7 +884,7 @@

Consts

  Source   Edit @@ -896,7 +896,7 @@

Consts

  Source   Edit @@ -908,7 +908,7 @@

Consts

  Source   Edit @@ -920,7 +920,7 @@

Consts

  Source   Edit @@ -932,7 +932,7 @@

Consts

  Source   Edit @@ -944,7 +944,7 @@

Consts

  Source   Edit @@ -956,7 +956,7 @@

Consts

  Source   Edit @@ -968,7 +968,7 @@

Consts

  Source   Edit @@ -980,7 +980,7 @@

Consts

  Source   Edit @@ -992,7 +992,7 @@

Consts

  Source   Edit @@ -1004,7 +1004,7 @@

Consts

  Source   Edit @@ -1016,7 +1016,7 @@

Consts

  Source   Edit @@ -1028,7 +1028,7 @@

Consts

  Source   Edit @@ -1040,7 +1040,7 @@

Consts

  Source   Edit @@ -1052,7 +1052,7 @@

Consts

https://tools.ietf.org/html/rfc4918.html WebDAV, Section 11.3   Source   Edit @@ -1064,7 +1064,7 @@

Consts

https://tools.ietf.org/html/rfc4918.html WebDAV, Section 11.3   Source   Edit @@ -1076,7 +1076,7 @@

Consts

https://tools.ietf.org/html/rfc8470.html Early data   Source   Edit @@ -1088,7 +1088,7 @@

Consts

  Source   Edit @@ -1100,7 +1100,7 @@

Consts

  Source   Edit @@ -1112,7 +1112,7 @@

Consts

  Source   Edit @@ -1124,7 +1124,7 @@

Consts

  Source   Edit @@ -1136,7 +1136,7 @@

Consts

  Source   Edit @@ -1148,7 +1148,7 @@

Consts

  Source   Edit @@ -1160,7 +1160,7 @@

Consts

  Source   Edit @@ -1172,7 +1172,7 @@

Consts

  Source   Edit @@ -1184,7 +1184,7 @@

Consts

  Source   Edit @@ -1196,7 +1196,7 @@

Consts

  Source   Edit @@ -1208,7 +1208,7 @@

Consts

  Source   Edit @@ -1220,7 +1220,7 @@

Consts

https://tools.ietf.org/html/rfc2295.html Content negotiation, Section 8.1   Source   Edit @@ -1232,7 +1232,7 @@

Consts

https://tools.ietf.org/html/rfc4918.html WebDAV, Section 11.5   Source   Edit @@ -1244,7 +1244,7 @@

Consts

https://tools.ietf.org/html/rfc5842.html WebDAV, Section 7.2   Source   Edit @@ -1256,7 +1256,7 @@

Consts

https://tools.ietf.org/html/rfc2774.html Extension framework, Section 7   Source   Edit @@ -1268,7 +1268,7 @@

Consts

https://tools.ietf.org/html/rfc6585.html Additional status code, Section 6   Source   Edit @@ -1280,7 +1280,7 @@

Consts

  Source   Edit @@ -1299,7 +1299,7 @@

Procs

Example:

doAssert($Http404 == "404 Not Found")
  Source   Edit @@ -1311,7 +1311,7 @@

Procs

  Source   Edit @@ -1323,7 +1323,7 @@

Procs

  Source   Edit @@ -1336,7 +1336,7 @@

Procs

  Source   Edit @@ -1348,7 +1348,7 @@

Procs

Sets the header entries associated with key to the specified value. Replaces any existing values.   Source   Edit @@ -1361,7 +1361,7 @@

Procs

Sets the header entries associated with key to the specified list of values. Replaces any existing values. If value is empty, deletes the header entries associated with key.   Source   Edit @@ -1376,7 +1376,7 @@

Procs

To access multiple values of a key, use the overloaded [] below or to get all of them access the table field directly.

  Source   Edit @@ -1389,7 +1389,7 @@

Procs

Returns the i'th value associated with the given key. If there are no values associated with the key or the i'th value doesn't exist, an exception is raised.   Source   Edit @@ -1402,7 +1402,7 @@

Procs

Adds the specified value to the specified key. Appends to any existing values associated with the key.   Source   Edit @@ -1414,7 +1414,7 @@

Procs

  Source   Edit @@ -1427,7 +1427,7 @@

Procs

  Source   Edit @@ -1440,7 +1440,7 @@

Procs

Determines if value is one of the values inside values. Comparison is performed without case sensitivity.   Source   Edit @@ -1452,7 +1452,7 @@

Procs

Deletes the header entries associated with key   Source   Edit @@ -1466,7 +1466,7 @@

Procs

Returns the values associated with the given key. If there are no values associated with the key, then default is returned.   Source   Edit @@ -1478,7 +1478,7 @@

Procs

  Source   Edit @@ -1492,7 +1492,7 @@

Procs

Example:

doAssert is1xx(HttpCode(103))
  Source   Edit @@ -1504,7 +1504,7 @@

Procs

Determines whether code is a 2xx HTTP status code.   Source   Edit @@ -1516,7 +1516,7 @@

Procs

Determines whether code is a 3xx HTTP status code.   Source   Edit @@ -1528,7 +1528,7 @@

Procs

Determines whether code is a 4xx HTTP status code.   Source   Edit @@ -1540,7 +1540,7 @@

Procs

Determines whether code is a 5xx HTTP status code.   Source   Edit @@ -1552,7 +1552,7 @@

Procs

  Source   Edit @@ -1566,7 +1566,7 @@

Procs

Returns a new HttpHeaders object from an array. if titleCase is set to true, headers are passed to the server in title case (e.g. "Content-Length")   Source   Edit @@ -1578,7 +1578,7 @@

Procs

Returns a new HttpHeaders object. if titleCase is set to true, headers are passed to the server in title case (e.g. "Content-Length")   Source   Edit @@ -1593,7 +1593,7 @@

Procs

Used by asynchttpserver and httpclient internally and should not be used by you.

  Source   Edit @@ -1611,7 +1611,7 @@

Iterators

Yields each key, value pair.   Source   Edit @@ -1628,7 +1628,7 @@

Converters

  Source   Edit diff --git a/idetools.html b/idetools.html index dc3d95d0aeb..e817768be46 100644 --- a/idetools.html +++ b/idetools.html @@ -133,7 +133,7 @@

Nim IDE Integration Guide

  Source   Edit @@ -141,7 +141,7 @@

Nim IDE Integration Guide

- +
Author:Britney Spears
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

"yes, I'm the creator" -- Araq, 2013-07-26 19:28:32.

Note: this is mostly outdated, see instead nimsuggest

diff --git a/importutils.html b/importutils.html index 45a73930c9c..c72509dd9a1 100644 --- a/importutils.html +++ b/importutils.html @@ -111,7 +111,7 @@

std/importutils

  Source   Edit @@ -150,7 +150,7 @@

Procs

privateAccess(Goo) assert Goo[float](g0: 1).g0 == 1   Source   Edit diff --git a/inotify.html b/inotify.html index 9e72c095a00..a639082f08b 100644 --- a/inotify.html +++ b/inotify.html @@ -205,7 +205,7 @@

posix/inotify

  Source   Edit @@ -237,7 +237,7 @@

Types

An Inotify event.   Source   Edit @@ -254,7 +254,7 @@

Consts

File was accessed.   Source   Edit @@ -266,7 +266,7 @@

Consts

  Source   Edit @@ -278,7 +278,7 @@

Consts

Metadata changed.   Source   Edit @@ -290,7 +290,7 @@

Consts

Close.   Source   Edit @@ -302,7 +302,7 @@

Consts

Unwrittable file closed.   Source   Edit @@ -314,7 +314,7 @@

Consts

Writtable file was closed.   Source   Edit @@ -326,7 +326,7 @@

Consts

Subfile was created.   Source   Edit @@ -338,7 +338,7 @@

Consts

Subfile was deleted.   Source   Edit @@ -350,7 +350,7 @@

Consts

Self was deleted.   Source   Edit @@ -362,7 +362,7 @@

Consts

Do not follow a sym link.   Source   Edit @@ -374,7 +374,7 @@

Consts

Exclude events on unlinked objects.   Source   Edit @@ -386,7 +386,7 @@

Consts

File was ignored.   Source   Edit @@ -398,7 +398,7 @@

Consts

Event occurred against dir.   Source   Edit @@ -410,7 +410,7 @@

Consts

Add to the mask of an already existing watch.   Source   Edit @@ -422,7 +422,7 @@

Consts

File was modified.   Source   Edit @@ -434,7 +434,7 @@

Consts

Moves.   Source   Edit @@ -446,7 +446,7 @@

Consts

Self was moved.   Source   Edit @@ -458,7 +458,7 @@

Consts

File was moved from X.   Source   Edit @@ -470,7 +470,7 @@

Consts

File was moved to Y.   Source   Edit @@ -482,7 +482,7 @@

Consts

Only send event once.   Source   Edit @@ -494,7 +494,7 @@

Consts

Only watch the path if it is a directory.   Source   Edit @@ -506,7 +506,7 @@

Consts

File was opened.   Source   Edit @@ -518,7 +518,7 @@

Consts

Event queued overflowed.   Source   Edit @@ -530,7 +530,7 @@

Consts

Backing fs was unmounted.   Source   Edit @@ -549,7 +549,7 @@

Procs

Add watch of object NAME to inotify instance FD. Notify about events specified by MASK.   Source   Edit @@ -563,7 +563,7 @@

Procs

Create and initialize inotify instance.   Source   Edit @@ -576,7 +576,7 @@

Procs

Create and initialize inotify instance.   Source   Edit @@ -589,7 +589,7 @@

Procs

Remove the watch specified by WD from the inotify instance FD.   Source   Edit @@ -609,7 +609,7 @@

Iterators

while (let n = read(fd, evs[0].addr, 8192); n) > 0: # read forever for e in inotify_events(evs[0].addr, n): echo e[].len # echo name lens   Source   Edit diff --git a/intern.html b/intern.html index 6431c351aef..2bb65e33e9e 100644 --- a/intern.html +++ b/intern.html @@ -131,7 +131,7 @@

doc/intern

  Source   Edit diff --git a/intsets.html b/intsets.html index 99922a4e535..2edf00c17fa 100644 --- a/intsets.html +++ b/intsets.html @@ -136,7 +136,7 @@

pure/collections/intsets

  Source   Edit @@ -158,7 +158,7 @@

Types

  Source   Edit @@ -175,7 +175,7 @@

Procs

  Source   Edit @@ -187,7 +187,7 @@

Procs

  Source   Edit diff --git a/io.html b/io.html index e2792bddc6b..4f7886e3061 100644 --- a/io.html +++ b/io.html @@ -336,7 +336,7 @@

system/io

  Source   Edit @@ -358,7 +358,7 @@

Types

The type representing a file handle.   Source   Edit @@ -370,7 +370,7 @@

Types

type that represents an OS file handle; this is useful for low-level file access   Source   Edit @@ -397,7 +397,7 @@

Types

The file mode when opening a file.   Source   Edit @@ -414,7 +414,7 @@

Vars

The standard error stream.   Source   Edit @@ -426,7 +426,7 @@

Vars

The standard input stream.   Source   Edit @@ -438,7 +438,7 @@

Vars

The standard output stream.   Source   Edit @@ -455,7 +455,7 @@

Procs

Closes the file.   Source   Edit @@ -467,7 +467,7 @@

Procs

Returns true if f is at the end.   Source   Edit @@ -479,7 +479,7 @@

Procs

Flushes f's buffer.   Source   Edit @@ -491,7 +491,7 @@

Procs

returns the file handle of the file f. This is only useful for platform specific programming. Note that on Windows this doesn't return the Windows-specific handle, but the C library's notion of a handle, whatever that means. Use getOsFileHandle instead.   Source   Edit @@ -503,7 +503,7 @@

Procs

retrieves the current position of the file pointer that is used to read from the file f. The file's first byte has the index zero.   Source   Edit @@ -516,7 +516,7 @@

Procs

retrieves the file size (in bytes) of f.   Source   Edit @@ -528,7 +528,7 @@

Procs

returns the OS file handle of the file f. This is only useful for platform specific programming.   Source   Edit @@ -544,7 +544,7 @@

Procs

The passed file handle will no longer be inheritable.

  Source   Edit @@ -560,7 +560,7 @@

Procs

The file handle associated with the resulting File is not inheritable.

  Source   Edit @@ -576,7 +576,7 @@

Procs

The file handle associated with the resulting File is not inheritable.

  Source   Edit @@ -591,7 +591,7 @@

Procs

Raises an IO exception in case of an error. It is an error if the current file position is not at the beginning of the file.

  Source   Edit @@ -604,7 +604,7 @@

Procs

reads len bytes into the buffer pointed to by buffer. Returns the actual number of bytes that have been read which may be less than len (if not as many bytes are remaining), but not greater.   Source   Edit @@ -617,7 +617,7 @@

Procs

reads len bytes into the buffer a starting at a[start]. Returns the actual number of bytes that have been read which may be less than len (if not as many bytes are remaining), but not greater.   Source   Edit @@ -629,7 +629,7 @@

Procs

Reads a single character from the stream f. Should not be used in performance sensitive code.   Source   Edit @@ -642,7 +642,7 @@

Procs

reads up to a.len bytes into the buffer a. Returns the actual number of bytes that have been read which may be less than a.len (if not as many bytes are remaining), but not greater.   Source   Edit @@ -659,7 +659,7 @@

Procs

reads len bytes into the buffer a starting at a[start]. Returns the actual number of bytes that have been read which may be less than len (if not as many bytes are remaining), but not greater.   Source   Edit @@ -672,7 +672,7 @@

Procs

Opens a file named filename for reading, calls readAll and closes the file afterwards. Returns the string. Raises an IO exception in case of an error. If you need to call this inside a compile time macro you can use staticRead.   Source   Edit @@ -685,7 +685,7 @@

Procs

reads a line of text from the file f. May throw an IO exception. A line of text may be delimited by LF or CRLF. The newline character(s) are not part of the returned string.   Source   Edit @@ -698,7 +698,7 @@

Procs

reads a line of text from the file f into line. May throw an IO exception. A line of text may be delimited by LF or CRLF. The newline character(s) are not part of the returned string. Returns false if the end of the file has been reached, true otherwise. If false is returned line contains no new data.   Source   Edit @@ -711,7 +711,7 @@

Procs

read n lines from the file named filename. Raises an IO exception in case of an error. Raises EOF if file does not contain at least n lines. Available at compile time. A line of text may be delimited by LF or CRLF. The newline character(s) are not part of the returned strings.   Source   Edit @@ -727,7 +727,7 @@

Procs

The file handle associated with f won't be inheritable.

  Source   Edit @@ -740,7 +740,7 @@

Procs

sets the position of the file pointer that is used for read/write operations. The file's first byte has the index zero.   Source   Edit @@ -755,7 +755,7 @@

Procs

This procedure is not guaranteed to be available for all platforms. Test for availability with declared() <system.html#declared,untyped>.

  Source   Edit @@ -767,7 +767,7 @@

Procs

Configures stdin, stdout and stderr to be unbuffered.   Source   Edit @@ -780,7 +780,7 @@

Procs

  Source   Edit @@ -793,7 +793,7 @@

Procs

  Source   Edit @@ -806,7 +806,7 @@

Procs

  Source   Edit @@ -819,7 +819,7 @@

Procs

Writes a value to the file f. May throw an IO exception.   Source   Edit @@ -832,7 +832,7 @@

Procs

  Source   Edit @@ -845,7 +845,7 @@

Procs

  Source   Edit @@ -858,7 +858,7 @@

Procs

  Source   Edit @@ -871,7 +871,7 @@

Procs

  Source   Edit @@ -884,7 +884,7 @@

Procs

  Source   Edit @@ -897,7 +897,7 @@

Procs

writes the bytes of buffer pointed to by the parameter buffer to the file f. Returns the number of actual written bytes, which may be less than len in case of an error.   Source   Edit @@ -910,7 +910,7 @@

Procs

writes the bytes of a[start..start+len-1] to the file f. Returns the number of actual written bytes, which may be less than len in case of an error.   Source   Edit @@ -923,7 +923,7 @@

Procs

writes the bytes of a[start..start+len-1] to the file f. Returns the number of actual written bytes, which may be less than len in case of an error.   Source   Edit @@ -936,7 +936,7 @@

Procs

Opens a file named filename for writing. Then writes the content completely to the file and closes the file afterwards. Raises an IO exception in case of an error.   Source   Edit @@ -949,7 +949,7 @@

Procs

  Source   Edit @@ -962,7 +962,7 @@

Procs

writes the values x to f and then writes "\n". May throw an IO exception.   Source   Edit @@ -988,7 +988,7 @@

Iterators

result.zeros += 1 result.lines += 1   Source   Edit @@ -1011,7 +1011,7 @@

Iterators

buffer.add(line.replace("a", "0") & '\n') writeFile(filename, buffer)   Source   Edit @@ -1032,7 +1032,7 @@

Templates

  Source   Edit @@ -1044,7 +1044,7 @@

Templates

Template which expands to either stdout or stderr depending on useStdoutAsStdmsg compile-time switch.   Source   Edit diff --git a/isolation.html b/isolation.html index 0bfb98cf785..7863ef9c6fe 100644 --- a/isolation.html +++ b/isolation.html @@ -145,7 +145,7 @@

std/isolation

  Source   Edit @@ -166,7 +166,7 @@

Types

Isolated data can only be moved, not copied.   Source   Edit @@ -183,7 +183,7 @@

Procs

  Source   Edit @@ -195,7 +195,7 @@

Procs

  Source   Edit @@ -207,7 +207,7 @@

Procs

  Source   Edit @@ -219,7 +219,7 @@

Procs

Returns the internal value of src. The value is moved from src.   Source   Edit @@ -234,7 +234,7 @@

Procs

Please read https://github.com/nim-lang/RFCs/issues/244 for more details.

  Source   Edit @@ -248,7 +248,7 @@

Procs

The proc doesn't check whether value is isolated.   Source   Edit diff --git a/iterators.html b/iterators.html index 7dfceeff34d..5585696acb6 100644 --- a/iterators.html +++ b/iterators.html @@ -184,7 +184,7 @@

system/iterators

  Source   Edit @@ -214,7 +214,7 @@

Iterators

when name == "x2": v2 = v1 doAssert a2 == Foo(x1: 0, x2: "abc")   Source   Edit @@ -243,7 +243,7 @@

Iterators

else: result.add("\n\t" & name & " '" & value & "'")   Source   Edit @@ -264,7 +264,7 @@

Iterators

for v1, v2 in fields(t1, t2): v2 = v1 doAssert t1 == t2   Source   Edit @@ -283,7 +283,7 @@

Iterators

for v in fields(t): v = default(typeof(v)) doAssert t == (0, "")   Source   Edit @@ -299,7 +299,7 @@

Iterators

assert toSeq("abc\0def".cstring) == @['a', 'b', 'c'] assert toSeq("abc".cstring) == @['a', 'b', 'c']   Source   Edit @@ -311,7 +311,7 @@

Iterators

Iterates over each item of a.   Source   Edit @@ -323,7 +323,7 @@

Iterators

Iterates over each item of a.   Source   Edit @@ -335,7 +335,7 @@

Iterators

Iterates over each item of a.   Source   Edit @@ -351,7 +351,7 @@

Iterators

from std/sequtils import toSeq assert Goo.toSeq == [g0, g1, g2]   Source   Edit @@ -363,7 +363,7 @@

Iterators

Iterates over each item of a.   Source   Edit @@ -375,7 +375,7 @@

Iterators

Iterates over the slice s, yielding each value between s.a and s.b (inclusively).   Source   Edit @@ -387,7 +387,7 @@

Iterators

Iterates over each item of a.   Source   Edit @@ -399,7 +399,7 @@

Iterators

Iterates over each element of a. items iterates only over the elements that are really in the set (and not over the ones the set is able to hold).   Source   Edit @@ -423,7 +423,7 @@

Iterators

assert b == "aBc" assert a == "aBc\0def"   Source   Edit @@ -435,7 +435,7 @@

Iterators

Iterates over each item of a so that you can modify the yielded value.   Source   Edit @@ -447,7 +447,7 @@

Iterators

Iterates over each item of a so that you can modify the yielded value.   Source   Edit @@ -459,7 +459,7 @@

Iterators

Iterates over each item of a so that you can modify the yielded value.   Source   Edit @@ -471,7 +471,7 @@

Iterators

Iterates over each item of a so that you can modify the yielded value.   Source   Edit @@ -484,7 +484,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs. a[index] can be modified.   Source   Edit @@ -497,7 +497,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs. a[index] can be modified.   Source   Edit @@ -509,7 +509,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs. a[index] can be modified.   Source   Edit @@ -521,7 +521,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs. a[index] can be modified.   Source   Edit @@ -533,7 +533,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs. a[index] can be modified.   Source   Edit @@ -546,7 +546,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs.   Source   Edit @@ -559,7 +559,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs.   Source   Edit @@ -571,7 +571,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs.   Source   Edit @@ -583,7 +583,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs.   Source   Edit @@ -595,7 +595,7 @@

Iterators

Iterates over each item of a. Yields (index, a[index]) pairs.   Source   Edit diff --git a/jsbigints.html b/jsbigints.html index 71919829648..9ef57e7898b 100644 --- a/jsbigints.html +++ b/jsbigints.html @@ -271,7 +271,7 @@

std/jsbigints

  Source   Edit @@ -312,7 +312,7 @@

Types

Arbitrary precision integer for JavaScript target.   Source   Edit @@ -331,7 +331,7 @@

Procs

Example:

doAssert $big"1024" == "1024n"
  Source   Edit @@ -354,7 +354,7 @@

Procs

doAssert 0xffffffffffffffff'big == (1'big shl 64'big) - 1'big doAssert not compiles(static(12'big))   Source   Edit @@ -376,7 +376,7 @@

Procs

except: ok = true doAssert ok   Source   Edit @@ -393,7 +393,7 @@

Procs

big1 *= big"4" doAssert big1 == big"8"   Source   Edit @@ -407,7 +407,7 @@

Procs

Example:

doAssert (big"42" * big"9") == big"378"
  Source   Edit @@ -424,7 +424,7 @@

Procs

big1 += big"2" doAssert big1 == big"3"   Source   Edit @@ -436,7 +436,7 @@

Procs

Do NOT use. https://github.com/tc39/proposal-bigint/blob/master/ADVANCED.md#dont-break-asmjs   Source   Edit @@ -450,7 +450,7 @@

Procs

Example:

doAssert (big"9" + big"1") == big"10"
  Source   Edit @@ -467,7 +467,7 @@

Procs

big1 -= big"2" doAssert big1 == big"-1"   Source   Edit @@ -481,7 +481,7 @@

Procs

Example:

doAssert -(big"10101010101") == big"-10101010101"
  Source   Edit @@ -495,7 +495,7 @@

Procs

Example:

doAssert (big"9" - big"1") == big"8"
  Source   Edit @@ -512,7 +512,7 @@

Procs

big1 /= big"2" doAssert big1 == big"5"   Source   Edit @@ -526,7 +526,7 @@

Procs

Example:

doAssert big"1" <= big"5"
  Source   Edit @@ -540,7 +540,7 @@

Procs

Example:

doAssert big"2" < big"9"
  Source   Edit @@ -554,7 +554,7 @@

Procs

Example:

doAssert big"42" == big"42"
  Source   Edit @@ -568,7 +568,7 @@

Procs

Example:

doAssert (big"555" and big"2") == big"2"
  Source   Edit @@ -585,7 +585,7 @@

Procs

doAssert big"13" div big"-3" == big"-4" doAssert big"-13" div big"-3" == big"4"   Source   Edit @@ -602,7 +602,7 @@

Procs

doAssert big"13" mod big"-3" == big"1" doAssert big"-13" mod big"-3" == big"-1"   Source   Edit @@ -616,7 +616,7 @@

Procs

Example:

doAssert (big"555" or big"2") == big"555"
  Source   Edit @@ -631,7 +631,7 @@

Procs

Example:

doAssert (big"999" shl big"2") == big"3996"
  Source   Edit @@ -646,7 +646,7 @@

Procs

Example:

doAssert (big"999" shr big"2") == big"249"
  Source   Edit @@ -660,7 +660,7 @@

Procs

Example:

doAssert (big"555" xor big"2") == big"553"
  Source   Edit @@ -673,7 +673,7 @@

Procs

Alias for 'big   Source   Edit @@ -689,7 +689,7 @@

Procs

doAssert big(1234567890) == big"1234567890"
 doAssert 0b1111100111.big == 0o1747.big and 0o1747.big == 999.big
  Source   Edit @@ -705,7 +705,7 @@

Procs

dec big1 doAssert big1 == big"1"   Source   Edit @@ -722,7 +722,7 @@

Procs

dec big1, big"2" doAssert big1 == big"-1"   Source   Edit @@ -735,7 +735,7 @@

Procs

Do NOT use.   Source   Edit @@ -751,7 +751,7 @@

Procs

inc big1 doAssert big1 == big"2"   Source   Edit @@ -768,7 +768,7 @@

Procs

inc big1, big"2" doAssert big1 == big"3"   Source   Edit @@ -781,7 +781,7 @@

Procs

Do NOT use.   Source   Edit @@ -794,7 +794,7 @@

Procs

Converts from JsBigInt to cstring representation. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toString   Source   Edit @@ -812,7 +812,7 @@

Procs

Example:

doAssert big"2147483647".toCstring(2) == "1111111111111111111111111111111".cstring
  Source   Edit @@ -827,7 +827,7 @@

Procs

Example:

doAssert toNumber(big"2147483647") == 2147483647.BiggestInt
  Source   Edit @@ -843,7 +843,7 @@

Procs

Example:

doAssert (big("3") + big("2") ** big("66")).wrapToInt(13) == big("3")
  Source   Edit @@ -859,7 +859,7 @@

Procs

Example:

doAssert (big("3") + big("2") ** big("66")).wrapToUint(66) == big("3")
  Source   Edit diff --git a/jsconsole.html b/jsconsole.html index fc362a782ed..f0256de652f 100644 --- a/jsconsole.html +++ b/jsconsole.html @@ -240,7 +240,7 @@

js/jsconsole

  Source   Edit @@ -268,7 +268,7 @@

Types

  Source   Edit @@ -285,7 +285,7 @@

Vars

  Source   Edit @@ -302,7 +302,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/clear   Source   Edit @@ -315,7 +315,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/count   Source   Edit @@ -328,7 +328,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/countReset   Source   Edit @@ -340,7 +340,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/debug   Source   Edit @@ -352,7 +352,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Console/dir   Source   Edit @@ -364,7 +364,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Console/dirxml   Source   Edit @@ -376,7 +376,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/error   Source   Edit @@ -389,7 +389,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/group   Source   Edit @@ -402,7 +402,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Console/groupCollapsed   Source   Edit @@ -414,7 +414,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/groupEnd   Source   Edit @@ -426,7 +426,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/info   Source   Edit @@ -438,7 +438,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/log   Source   Edit @@ -450,7 +450,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/table   Source   Edit @@ -462,7 +462,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/time   Source   Edit @@ -475,7 +475,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/timeEnd   Source   Edit @@ -488,7 +488,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/timeLog   Source   Edit @@ -503,7 +503,7 @@

Procs

..warning:: non-standard

  Source   Edit @@ -515,7 +515,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/trace   Source   Edit @@ -527,7 +527,7 @@

Procs

https://developer.mozilla.org/docs/Web/API/Console/warn   Source   Edit @@ -544,7 +544,7 @@

Templates

Alias for console.error().   Source   Edit @@ -561,7 +561,7 @@

Templates

console.jsAssert('`' == '\n' and '\t' == '\0') # Message correctly formatted assert 42 == 42 # Normal assertions keep working   Source   Edit diff --git a/jscore.html b/jscore.html index 99e6f50e957..a1a36c937c3 100644 --- a/jscore.html +++ b/jscore.html @@ -458,7 +458,7 @@

js/jscore

  Source   Edit @@ -482,7 +482,7 @@

Types

  Source   Edit @@ -494,7 +494,7 @@

Types

  Source   Edit @@ -506,7 +506,7 @@

Types

  Source   Edit @@ -518,7 +518,7 @@

Types

  Source   Edit @@ -535,7 +535,7 @@

Vars

  Source   Edit @@ -547,7 +547,7 @@

Vars

  Source   Edit @@ -559,7 +559,7 @@

Vars

  Source   Edit @@ -576,7 +576,7 @@

Procs

  Source   Edit @@ -588,7 +588,7 @@

Procs

  Source   Edit @@ -600,7 +600,7 @@

Procs

  Source   Edit @@ -612,7 +612,7 @@

Procs

  Source   Edit @@ -624,7 +624,7 @@

Procs

  Source   Edit @@ -636,7 +636,7 @@

Procs

  Source   Edit @@ -648,7 +648,7 @@

Procs

  Source   Edit @@ -660,7 +660,7 @@

Procs

  Source   Edit @@ -672,7 +672,7 @@

Procs

  Source   Edit @@ -684,7 +684,7 @@

Procs

  Source   Edit @@ -696,7 +696,7 @@

Procs

  Source   Edit @@ -716,7 +716,7 @@

Procs

assert [1, 2, 3, 4, 5].copyWithin(0, 3, 4) == @[4, 2, 3, 4, 5] assert [1, 2, 3, 4, 5].copyWithin(-2, -3, -1) == @[1, 2, 3, 3, 4]   Source   Edit @@ -729,7 +729,7 @@

Procs

  Source   Edit @@ -742,7 +742,7 @@

Procs

  Source   Edit @@ -754,7 +754,7 @@

Procs

  Source   Edit @@ -766,7 +766,7 @@

Procs

  Source   Edit @@ -778,7 +778,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger   Source   Edit @@ -790,7 +790,7 @@

Procs

  Source   Edit @@ -802,7 +802,7 @@

Procs

  Source   Edit @@ -814,7 +814,7 @@

Procs

  Source   Edit @@ -826,7 +826,7 @@

Procs

  Source   Edit @@ -838,7 +838,7 @@

Procs

  Source   Edit @@ -850,7 +850,7 @@

Procs

  Source   Edit @@ -862,7 +862,7 @@

Procs

  Source   Edit @@ -874,7 +874,7 @@

Procs

  Source   Edit @@ -886,7 +886,7 @@

Procs

  Source   Edit @@ -898,7 +898,7 @@

Procs

  Source   Edit @@ -910,7 +910,7 @@

Procs

  Source   Edit @@ -922,7 +922,7 @@

Procs

  Source   Edit @@ -934,7 +934,7 @@

Procs

  Source   Edit @@ -946,7 +946,7 @@

Procs

  Source   Edit @@ -958,7 +958,7 @@

Procs

  Source   Edit @@ -970,7 +970,7 @@

Procs

  Source   Edit @@ -982,7 +982,7 @@

Procs

  Source   Edit @@ -994,7 +994,7 @@

Procs

  Source   Edit @@ -1006,7 +1006,7 @@

Procs

  Source   Edit @@ -1018,7 +1018,7 @@

Procs

  Source   Edit @@ -1030,7 +1030,7 @@

Procs

  Source   Edit @@ -1042,7 +1042,7 @@

Procs

  Source   Edit @@ -1055,7 +1055,7 @@

Procs

  Source   Edit @@ -1067,7 +1067,7 @@

Procs

  Source   Edit @@ -1079,7 +1079,7 @@

Procs

  Source   Edit @@ -1091,7 +1091,7 @@

Procs

  Source   Edit @@ -1103,7 +1103,7 @@

Procs

  Source   Edit @@ -1115,7 +1115,7 @@

Procs

  Source   Edit @@ -1128,7 +1128,7 @@

Procs

  Source   Edit @@ -1141,7 +1141,7 @@

Procs

  Source   Edit @@ -1153,7 +1153,7 @@

Procs

  Source   Edit @@ -1166,7 +1166,7 @@

Procs

  Source   Edit @@ -1179,7 +1179,7 @@

Procs

  Source   Edit @@ -1191,7 +1191,7 @@

Procs

  Source   Edit @@ -1203,7 +1203,7 @@

Procs

  Source   Edit @@ -1215,7 +1215,7 @@

Procs

  Source   Edit @@ -1228,7 +1228,7 @@

Procs

  Source   Edit @@ -1240,7 +1240,7 @@

Procs

  Source   Edit @@ -1252,7 +1252,7 @@

Procs

  Source   Edit @@ -1264,7 +1264,7 @@

Procs

  Source   Edit @@ -1276,7 +1276,7 @@

Procs

  Source   Edit @@ -1288,7 +1288,7 @@

Procs

  Source   Edit @@ -1300,7 +1300,7 @@

Procs

  Source   Edit @@ -1312,7 +1312,7 @@

Procs

  Source   Edit @@ -1324,7 +1324,7 @@

Procs

  Source   Edit @@ -1336,7 +1336,7 @@

Procs

  Source   Edit @@ -1348,7 +1348,7 @@

Procs

  Source   Edit @@ -1360,7 +1360,7 @@

Procs

  Source   Edit @@ -1372,7 +1372,7 @@

Procs

  Source   Edit @@ -1384,7 +1384,7 @@

Procs

  Source   Edit diff --git a/jsfetch.html b/jsfetch.html index aa472be0fa8..53f7c0795e9 100644 --- a/jsfetch.html +++ b/jsfetch.html @@ -233,7 +233,7 @@

std/jsfetch

  Source   Edit @@ -345,7 +345,7 @@

Types

https://developer.mozilla.org/docs/Web/API/Request/cache   Source   Edit @@ -358,7 +358,7 @@

Types

Credential options. See https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials   Source   Edit @@ -371,7 +371,7 @@

Types

Mode options.   Source   Edit @@ -389,7 +389,7 @@

Types

Options for Fetch API.   Source   Edit @@ -402,7 +402,7 @@

Types

Redirects options.   Source   Edit @@ -418,7 +418,7 @@

Types

Referrer Policy options.   Source   Edit @@ -437,7 +437,7 @@

Types

https://developer.mozilla.org/en-US/docs/Web/API/Request   Source   Edit @@ -456,7 +456,7 @@

Types

https://developer.mozilla.org/en-US/docs/Web/API/Response   Source   Edit @@ -473,7 +473,7 @@

Procs

  Source   Edit @@ -486,7 +486,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Response/clone   Source   Edit @@ -499,7 +499,7 @@

Procs

fetch() API, simple GET only, returns a Future[Response].   Source   Edit @@ -512,7 +512,7 @@

Procs

fetch() API that takes a FetchOptions, returns a Future[Response].   Source   Edit @@ -525,7 +525,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Response/formData   Source   Edit @@ -538,7 +538,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Response/json   Source   Edit @@ -555,7 +555,7 @@

Procs

Constructor for FetchOptions.   Source   Edit @@ -568,7 +568,7 @@

Procs

Constructor for Request. This does not call fetch(). Same as new Request().   Source   Edit @@ -581,7 +581,7 @@

Procs

Constructor for Request with fetchOptions. Same as fetch(url, fetchOptions).   Source   Edit @@ -594,7 +594,7 @@

Procs

Constructor for Response. This does not call fetch(). Same as new Response().   Source   Edit @@ -607,7 +607,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Response/text   Source   Edit @@ -620,7 +620,7 @@

Procs

  Source   Edit @@ -638,7 +638,7 @@

Procs

Unsafe newfetchOptions.   Source   Edit diff --git a/jsffi.html b/jsffi.html index 2609419d96f..8763d8a27b0 100644 --- a/jsffi.html +++ b/jsffi.html @@ -438,7 +438,7 @@

js/jsffi

  Source   Edit @@ -478,7 +478,7 @@

Types

  Source   Edit @@ -491,7 +491,7 @@

Types

Statically typed wrapper around a JavaScript object.   Source   Edit @@ -505,7 +505,7 @@

Types

  Source   Edit @@ -517,7 +517,7 @@

Types

  Source   Edit @@ -530,7 +530,7 @@

Types

  Source   Edit @@ -543,7 +543,7 @@

Types

Dynamically typed wrapper around a JavaScript object.   Source   Edit @@ -555,7 +555,7 @@

Types

  Source   Edit @@ -567,7 +567,7 @@

Types

  Source   Edit @@ -579,7 +579,7 @@

Types

  Source   Edit @@ -591,7 +591,7 @@

Types

  Source   Edit @@ -603,7 +603,7 @@

Types

  Source   Edit @@ -620,7 +620,7 @@

Vars

JavaScript's arguments pseudo-variable.   Source   Edit @@ -632,7 +632,7 @@

Vars

JavaScript's __dirname pseudo-variable.   Source   Edit @@ -644,7 +644,7 @@

Vars

JavaScript's __filename pseudo-variable.   Source   Edit @@ -656,7 +656,7 @@

Vars

JavaScript's null literal.   Source   Edit @@ -668,7 +668,7 @@

Vars

JavaScript's undefined literal.   Source   Edit @@ -686,7 +686,7 @@

Procs

  Source   Edit @@ -698,7 +698,7 @@

Procs

  Source   Edit @@ -710,7 +710,7 @@

Procs

Concatenation operator for JavaScript strings.   Source   Edit @@ -723,7 +723,7 @@

Procs

  Source   Edit @@ -736,7 +736,7 @@

Procs

  Source   Edit @@ -748,7 +748,7 @@

Procs

  Source   Edit @@ -760,7 +760,7 @@

Procs

  Source   Edit @@ -773,7 +773,7 @@

Procs

  Source   Edit @@ -785,7 +785,7 @@

Procs

  Source   Edit @@ -797,7 +797,7 @@

Procs

  Source   Edit @@ -810,7 +810,7 @@

Procs

  Source   Edit @@ -822,7 +822,7 @@

Procs

  Source   Edit @@ -835,7 +835,7 @@

Procs

  Source   Edit @@ -847,7 +847,7 @@

Procs

  Source   Edit @@ -859,7 +859,7 @@

Procs

  Source   Edit @@ -871,7 +871,7 @@

Procs

  Source   Edit @@ -883,7 +883,7 @@

Procs

Compares two JsObjects or JsAssocs. Be careful though, as this is comparison like in JavaScript, so if your JsObjects are in fact JavaScript Objects, and not strings or numbers, this is a comparison of references.   Source   Edit @@ -895,7 +895,7 @@

Procs

  Source   Edit @@ -907,7 +907,7 @@

Procs

  Source   Edit @@ -920,7 +920,7 @@

Procs

Sets the value of a property of name field in a JsAssoc obj to v.   Source   Edit @@ -933,7 +933,7 @@

Procs

Sets the value of a property of name field in a JsObject obj to v.   Source   Edit @@ -946,7 +946,7 @@

Procs

Sets the value of a property of name field in a JsObject obj to v.   Source   Edit @@ -958,7 +958,7 @@

Procs

  Source   Edit @@ -971,7 +971,7 @@

Procs

Returns the value of a property of name field from a JsObject obj.   Source   Edit @@ -984,7 +984,7 @@

Procs

Returns the value of a property of name field from a JsObject obj.   Source   Edit @@ -997,7 +997,7 @@

Procs

Returns the value of a property of name field from a JsAssoc obj.   Source   Edit @@ -1009,7 +1009,7 @@

Procs

  Source   Edit @@ -1022,7 +1022,7 @@

Procs

  Source   Edit @@ -1034,7 +1034,7 @@

Procs

  Source   Edit @@ -1046,7 +1046,7 @@

Procs

  Source   Edit @@ -1058,7 +1058,7 @@

Procs

  Source   Edit @@ -1071,7 +1071,7 @@

Procs

Checks, whether x has a property of name prop.   Source   Edit @@ -1084,7 +1084,7 @@

Procs

Checks if a value is exactly null.   Source   Edit @@ -1097,7 +1097,7 @@

Procs

Checks if a value is exactly undefined.   Source   Edit @@ -1109,7 +1109,7 @@

Procs

JavaScript's delete operator.   Source   Edit @@ -1121,7 +1121,7 @@

Procs

Turns a regular function call into an invocation of the JavaScript's new operator.   Source   Edit @@ -1134,7 +1134,7 @@

Procs

Returns the name of the JsObject's JavaScript type as a cstring.   Source   Edit @@ -1147,7 +1147,7 @@

Procs

Creates a new empty JsAssoc with key type K and value type V.   Source   Edit @@ -1159,7 +1159,7 @@

Procs

Creates a new empty JsObject.   Source   Edit @@ -1171,7 +1171,7 @@

Procs

JavaScript's require function.   Source   Edit @@ -1184,7 +1184,7 @@

Procs

Converts a JsObject x to type T.   Source   Edit @@ -1196,7 +1196,7 @@

Procs

Converts a value of any type to type JsObject.   Source   Edit @@ -1208,7 +1208,7 @@

Procs

  Source   Edit @@ -1220,7 +1220,7 @@

Procs

  Source   Edit @@ -1233,7 +1233,7 @@

Procs

  Source   Edit @@ -1246,7 +1246,7 @@

Procs

  Source   Edit @@ -1263,7 +1263,7 @@

Iterators

Yields the values of each field in a JsObject, wrapped into a JsObject.   Source   Edit @@ -1275,7 +1275,7 @@

Iterators

Yields the values in a JsAssoc.   Source   Edit @@ -1287,7 +1287,7 @@

Iterators

Yields the names of each field in a JsObject.   Source   Edit @@ -1299,7 +1299,7 @@

Iterators

Yields the keys in a JsAssoc.   Source   Edit @@ -1311,7 +1311,7 @@

Iterators

Yields tuples of type (cstring, JsObject), with the first entry being the name of a fields in the JsObject and the second being its value wrapped into a JsObject.   Source   Edit @@ -1323,7 +1323,7 @@

Iterators

Yields tuples of type (K, V), with the first entry being a key in the JsAssoc and the second being its corresponding value.   Source   Edit @@ -1347,7 +1347,7 @@

Macros

# undefined. Thus one has to be careful, when using # JsObject calls.   Source   Edit @@ -1360,7 +1360,7 @@

Macros

Experimental "method call" operator for type JsAssoc. Takes the name of a method of the JavaScript object (field) and calls it with args as arguments. Here, everything is typechecked, so you do not have to worry about undefined return values.   Source   Edit @@ -1372,7 +1372,7 @@

Macros

Experimental dot accessor (set) for type JsObject. Sets the value of a property of name field in a JsObject x to value.   Source   Edit @@ -1384,7 +1384,7 @@

Macros

Experimental dot accessor (set) for type JsAssoc. Sets the value of a property of name field in a JsObject x to value.   Source   Edit @@ -1400,7 +1400,7 @@

Macros

obj.a = 20 assert obj.a.to(int) == 20   Source   Edit @@ -1412,7 +1412,7 @@

Macros

Experimental dot accessor (get) for type JsAssoc. Returns the value of a property of name field from a JsObject x.   Source   Edit @@ -1437,7 +1437,7 @@

Macros

# This generates roughly the same JavaScript as: {.emit: "var obj = {a: 1, k: "foo", d: 42};".}   Source   Edit @@ -1449,7 +1449,7 @@

Macros

  Source   Edit @@ -1466,7 +1466,7 @@

Templates

  Source   Edit diff --git a/jsformdata.html b/jsformdata.html index 3c911a28a0f..4007c60e91d 100644 --- a/jsformdata.html +++ b/jsformdata.html @@ -193,7 +193,7 @@

std/jsformdata

  Source   Edit @@ -222,7 +222,7 @@

Types

FormData API.   Source   Edit @@ -239,7 +239,7 @@

Procs

  Source   Edit @@ -252,7 +252,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/set   Source   Edit @@ -265,7 +265,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/get   Source   Edit @@ -278,7 +278,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/append Duplicate keys are allowed and order is preserved.   Source   Edit @@ -292,7 +292,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/append Duplicate keys are allowed and order is preserved.   Source   Edit @@ -305,7 +305,7 @@

Procs

Convenience func to delete all items from FormData.   Source   Edit @@ -320,7 +320,7 @@

Procs

Deletes all items with the same key name.   Source   Edit @@ -333,7 +333,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/getAll   Source   Edit @@ -346,7 +346,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/has   Source   Edit @@ -359,7 +359,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/keys   Source   Edit @@ -372,7 +372,7 @@

Procs

  Source   Edit @@ -384,7 +384,7 @@

Procs

  Source   Edit @@ -397,7 +397,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/entries   Source   Edit @@ -410,7 +410,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/set   Source   Edit @@ -423,7 +423,7 @@

Procs

  Source   Edit @@ -436,7 +436,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/FormData/values   Source   Edit diff --git a/jsheaders.html b/jsheaders.html index 14e76e8f0bf..c34b580ab82 100644 --- a/jsheaders.html +++ b/jsheaders.html @@ -179,7 +179,7 @@

std/jsheaders

  Source   Edit @@ -232,7 +232,7 @@

Types

HTTP Headers API.   Source   Edit @@ -249,7 +249,7 @@

Procs

  Source   Edit @@ -262,7 +262,7 @@

Procs

Do not allow duplicated keys, overwrites duplicated keys. https://developer.mozilla.org/en-US/docs/Web/API/Headers/set   Source   Edit @@ -275,7 +275,7 @@

Procs

Get all items with key from the headers, including duplicated values. https://developer.mozilla.org/en-US/docs/Web/API/Headers/get   Source   Edit @@ -288,7 +288,7 @@

Procs

Allows duplicated keys. https://developer.mozilla.org/en-US/docs/Web/API/Headers/append   Source   Edit @@ -301,7 +301,7 @@

Procs

Convenience func to delete all items from Headers.   Source   Edit @@ -316,7 +316,7 @@

Procs

Delete all items with key from the headers, including duplicated keys.   Source   Edit @@ -329,7 +329,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Headers/entries   Source   Edit @@ -342,7 +342,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Headers/has   Source   Edit @@ -355,7 +355,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Headers/keys   Source   Edit @@ -368,7 +368,7 @@

Procs

  Source   Edit @@ -380,7 +380,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Headers   Source   Edit @@ -393,7 +393,7 @@

Procs

Returns a cstring representation of Headers.   Source   Edit @@ -406,7 +406,7 @@

Procs

https://developer.mozilla.org/en-US/docs/Web/API/Headers/values   Source   Edit diff --git a/json.html b/json.html index 8ecda7717e0..42f92064456 100644 --- a/json.html +++ b/json.html @@ -458,7 +458,7 @@

pure/json

  Source   Edit @@ -563,7 +563,7 @@

Types

JSON node   Source   Edit @@ -576,7 +576,7 @@

Types

possible JSON node types   Source   Edit @@ -612,7 +612,7 @@

Types

  Source   Edit @@ -629,7 +629,7 @@

Procs

Converts node to its JSON Representation on one line.   Source   Edit @@ -641,7 +641,7 @@

Procs

Generic constructor for JSON data. Creates a new JBool JsonNode.   Source   Edit @@ -654,7 +654,7 @@

Procs

Generic constructor for JSON data. Creates a new JObject JsonNode   Source   Edit @@ -666,7 +666,7 @@

Procs

Generic constructor for JSON data. Creates a new JInt JsonNode.   Source   Edit @@ -678,7 +678,7 @@

Procs

Generic constructor for JSON data. Creates a new JInt JsonNode.   Source   Edit @@ -694,7 +694,7 @@

Procs

assert (%NaN).kind == JString assert (%0.0).kind == JFloat   Source   Edit @@ -706,7 +706,7 @@

Procs

Generic constructor for JSON data. Creates a new JInt JsonNode.   Source   Edit @@ -718,7 +718,7 @@

Procs

Generic constructor for JSON data. Creates a new JInt JsonNode.   Source   Edit @@ -730,7 +730,7 @@

Procs

Construct a JsonNode that represents the specified enum value as a string. Creates a new JString JsonNode.   Source   Edit @@ -742,7 +742,7 @@

Procs

Generic constructor for JSON data. Creates a new JObject JsonNode   Source   Edit @@ -754,7 +754,7 @@

Procs

Generic constructor for JSON data. Creates a new JString JsonNode.   Source   Edit @@ -766,7 +766,7 @@

Procs

Construct JsonNode from tuples and objects.   Source   Edit @@ -778,7 +778,7 @@

Procs

Generic constructor for JSON data. Creates a new JArray JsonNode   Source   Edit @@ -790,7 +790,7 @@

Procs

Generic constructor for JSON data. Creates a new JNull JsonNode if opt is empty, otherwise it delegates to the underlying value.   Source   Edit @@ -802,7 +802,7 @@

Procs

Generic constructor for JSON data. Creates a new JObject JsonNode.   Source   Edit @@ -814,7 +814,7 @@

Procs

Check two nodes for equality   Source   Edit @@ -827,7 +827,7 @@

Procs

Sets a field from a JObject.   Source   Edit @@ -848,7 +848,7 @@

Procs

doAssert j[^1].getInt == 5 doAssert j[^2].getInt == 4   Source   Edit @@ -860,7 +860,7 @@

Procs

Gets the node at index in an Array. Result is undefined if index is out of bounds, but as long as array bound checks are enabled it will result in an exception.   Source   Edit @@ -873,7 +873,7 @@

Procs

Gets a field from a JObject, which must not be nil. If the value at name does not exist, raises KeyError.   Source   Edit @@ -893,7 +893,7 @@

Procs

doAssert arr[2..^2] == %[2,3,4] doAssert arr[^4..^2] == %[2,3,4]   Source   Edit @@ -906,7 +906,7 @@

Procs

Traverses the node and tries to set the value at the given location to value. If any of the keys are missing, they are added.   Source   Edit @@ -918,7 +918,7 @@

Procs

Traverses the node and gets the given value. If any of the indexes do not exist, returns nil. Also returns nil if one of the intermediate data structures is not an array.   Source   Edit @@ -930,7 +930,7 @@

Procs

Gets a field from a node. If node is nil or not an object or value at key does not exist, returns nil   Source   Edit @@ -948,7 +948,7 @@

Procs

var myjson = %* {"parent": {"child": {"grandchild": 1}}}
 doAssert myjson{"parent", "child", "grandchild"} == newJInt(1)
  Source   Edit @@ -960,7 +960,7 @@

Procs

Adds child to a JArray node father.   Source   Edit @@ -972,7 +972,7 @@

Procs

Sets a field from a JObject.   Source   Edit @@ -984,7 +984,7 @@

Procs

Checks if key exists in node.   Source   Edit @@ -997,7 +997,7 @@

Procs

Checks if val exists in array node.   Source   Edit @@ -1009,7 +1009,7 @@

Procs

Performs a deep copy of a.   Source   Edit @@ -1021,7 +1021,7 @@

Procs

Deletes obj[key].   Source   Edit @@ -1033,7 +1033,7 @@

Procs

Converts a string s to its JSON representation with quotes.   Source   Edit @@ -1045,7 +1045,7 @@

Procs

Converts a string s to its JSON representation with quotes. Appends to result.   Source   Edit @@ -1057,7 +1057,7 @@

Procs

Converts a string s to its JSON representation without quotes.   Source   Edit @@ -1069,7 +1069,7 @@

Procs

Converts a string s to its JSON representation without quotes. Appends to result.   Source   Edit @@ -1084,7 +1084,7 @@

Procs

Returns default if n is not a JInt, or if n is nil.

  Source   Edit @@ -1098,7 +1098,7 @@

Procs

Returns default if n is not a JBool, or if n is nil.

  Source   Edit @@ -1113,7 +1113,7 @@

Procs

Returns default if n is not a JArray, or if n is nil.

  Source   Edit @@ -1128,7 +1128,7 @@

Procs

Returns default if n is not a JObject, or if n is nil.

  Source   Edit @@ -1142,7 +1142,7 @@

Procs

Returns default if n is not a JFloat or JInt, or if n is nil.

  Source   Edit @@ -1156,7 +1156,7 @@

Procs

Returns default if n is not a JInt, or if n is nil.

  Source   Edit @@ -1168,7 +1168,7 @@

Procs

Gets a field from a node. If node is nil or not an object or value at key does not exist, returns nil   Source   Edit @@ -1182,7 +1182,7 @@

Procs

Returns default if n is not a JString, or if n is nil.

  Source   Edit @@ -1194,7 +1194,7 @@

Procs

Compute the hash for a JSON node   Source   Edit @@ -1207,7 +1207,7 @@

Procs

  Source   Edit @@ -1219,7 +1219,7 @@

Procs

Checks if key exists in node.   Source   Edit @@ -1231,7 +1231,7 @@

Procs

If n is a JArray, it returns the number of elements. If n is a JObject, it returns the number of pairs. Else it returns 0.   Source   Edit @@ -1243,7 +1243,7 @@

Procs

Creates a new JArray JsonNode   Source   Edit @@ -1255,7 +1255,7 @@

Procs

Creates a new JBool JsonNode.   Source   Edit @@ -1267,7 +1267,7 @@

Procs

Creates a new JFloat JsonNode.   Source   Edit @@ -1279,7 +1279,7 @@

Procs

Creates a new JInt JsonNode.   Source   Edit @@ -1291,7 +1291,7 @@

Procs

Creates a new JNull JsonNode.   Source   Edit @@ -1303,7 +1303,7 @@

Procs

Creates a new JObject JsonNode   Source   Edit @@ -1315,7 +1315,7 @@

Procs

Creates a new JString JsonNode.   Source   Edit @@ -1329,7 +1329,7 @@

Procs

Parses file into a JsonNode. If file contains extra data, it will raise JsonParsingError.   Source   Edit @@ -1343,7 +1343,7 @@

Procs

Parses JSON from buffer. If buffer contains extra data, it will raise JsonParsingError. If rawIntegers is true, integer literals will not be converted to a JInt field but kept as raw numbers via JString. If rawFloats is true, floating point literals will not be converted to a JFloat field but kept as raw numbers via JString.   Source   Edit @@ -1358,7 +1358,7 @@

Procs

Parses from a stream s into a JsonNode. filename is only needed for nice error messages. If s contains extra data, it will raise JsonParsingError. This closes the stream s after it's done. If rawIntegers is true, integer literals will not be converted to a JInt field but kept as raw numbers via JString. If rawFloats is true, floating point literals will not be converted to a JFloat field but kept as raw numbers via JString.   Source   Edit @@ -1386,7 +1386,7 @@

Procs

} }"""   Source   Edit @@ -1429,7 +1429,7 @@

Procs

doAssert data.person.age == 21 doAssert data.list == @[1, 2, 3, 4]   Source   Edit @@ -1444,7 +1444,7 @@

Procs

This provides higher efficiency than the pretty procedure as it does not attempt to format the resulting JSON to make it human readable.

  Source   Edit @@ -1461,7 +1461,7 @@

Iterators

Iterator for the items of node. node has to be a JArray.   Source   Edit @@ -1473,7 +1473,7 @@

Iterators

Iterator for the keys in node. node has to be a JObject.   Source   Edit @@ -1485,7 +1485,7 @@

Iterators

Iterator for the items of node. node has to be a JArray. Items can be modified.   Source   Edit @@ -1498,7 +1498,7 @@

Iterators

Iterator for the child elements of node. node has to be a JObject. Values can be modified   Source   Edit @@ -1511,7 +1511,7 @@

Iterators

Iterator for the child elements of node. node has to be a JObject.   Source   Edit @@ -1526,7 +1526,7 @@

Iterators

Parses from a stream s into JsonNodes. filename is only needed for nice error messages. The JSON fragments are separated by whitespace. This can be substantially faster than the comparable loop for x in splitWhitespace(s): yield parseJson(x). This closes the stream s after it's done. If rawIntegers is true, integer literals will not be converted to a JInt field but kept as raw numbers via JString. If rawFloats is true, floating point literals will not be converted to a JFloat field but kept as raw numbers via JString.   Source   Edit @@ -1543,7 +1543,7 @@

Macros

Convert an expression to a JsonNode directly, without having to specify % for every element.   Source   Edit @@ -1555,7 +1555,7 @@

Macros

internal only, do not use   Source   Edit @@ -1572,7 +1572,7 @@

Templates

  Source   Edit diff --git a/jsonutils.html b/jsonutils.html index 21341131ba5..3270ef605b4 100644 --- a/jsonutils.html +++ b/jsonutils.html @@ -180,7 +180,7 @@

std/jsonutils

  Source   Edit @@ -215,7 +215,7 @@

Types

  Source   Edit @@ -232,7 +232,7 @@

Types

Options controlling the behavior of fromJson.   Source   Edit @@ -247,7 +247,7 @@

Types

controls toJson for JsonNode types   Source   Edit @@ -262,7 +262,7 @@

Types

  Source   Edit @@ -279,7 +279,7 @@

Procs

inplace version of jsonTo   Source   Edit @@ -303,7 +303,7 @@

Procs

assert t[] == newStringTable("name", "John", "surname", "Doe", modeCaseSensitive)[]   Source   Edit @@ -326,7 +326,7 @@

Procs

assert foo.hs == ["hash", "set"].toHashSet assert foo.os == ["ordered", "set"].toOrderedSet   Source   Edit @@ -350,7 +350,7 @@

Procs

assert foo.t == [("one", 1), ("two", 2)].toTable assert foo.ot == [("one", 1), ("three", 3)].toOrderedTable   Source   Edit @@ -373,7 +373,7 @@

Procs

fromJson(opt, parseJson("null")) assert isNone(opt)   Source   Edit @@ -385,7 +385,7 @@

Procs

initializes ToJsonOptions with sane options.   Source   Edit @@ -397,7 +397,7 @@

Procs

reverse of toJson   Source   Edit @@ -411,7 +411,7 @@

Procs

With -d:nimPreviewJsonutilsHoleyEnum, toJson now can serialize/deserialize holey enums as regular enums (via ord) instead of as strings. It is expected that this behavior becomes the new default in upcoming versions.   Source   Edit @@ -433,7 +433,7 @@

Procs

"table": {"name": "John", "surname": "Doe"}}""" assert toJson(t) == parseJson(jsonStr)   Source   Edit @@ -453,7 +453,7 @@

Procs

let foo = (hs: ["hash"].toHashSet, os: ["ordered", "set"].toOrderedSet) assert $toJson(foo) == """{"hs":["hash"],"os":["ordered","set"]}"""   Source   Edit @@ -479,7 +479,7 @@

Procs

let a2 = collect: (for k,v in a: (k,v)) assert $toJson(a2) == """[[10,"foo"],[11,"bar"]]"""   Source   Edit @@ -501,7 +501,7 @@

Procs

let optNone = none[string]() assert $toJson(optNone) == "null"   Source   Edit diff --git a/jsre.html b/jsre.html index 7e04271693a..948d6cf2d34 100644 --- a/jsre.html +++ b/jsre.html @@ -195,7 +195,7 @@

js/jsre

  Source   Edit @@ -246,7 +246,7 @@

Types

Regular Expressions for JavaScript target. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp   Source   Edit @@ -263,7 +263,7 @@

Procs

  Source   Edit @@ -276,7 +276,7 @@

Procs

Recompiles a regular expression during execution of a script.   Source   Edit @@ -293,7 +293,7 @@

Procs

assert jsregex notin r"abcd" assert "xabc".contains jsregex   Source   Edit @@ -308,7 +308,7 @@

Procs

let jsregex: RegExp = newRegExp(r"bcd", r"i")
 assert "abcd".endsWith jsregex
  Source   Edit @@ -321,7 +321,7 @@

Procs

Executes a search for a match in its string parameter.   Source   Edit @@ -334,7 +334,7 @@

Procs

Returns an array of matches of a RegExp against given string   Source   Edit @@ -347,7 +347,7 @@

Procs

  Source   Edit @@ -360,7 +360,7 @@

Procs

Creates a new RegExp object.   Source   Edit @@ -373,7 +373,7 @@

Procs

Returns a new string with some or all matches of a pattern replaced by given replacement   Source   Edit @@ -386,7 +386,7 @@

Procs

Divides a string into an ordered list of substrings and returns the array   Source   Edit @@ -401,7 +401,7 @@

Procs

let jsregex: RegExp = newRegExp(r"abc", r"i")
 assert "abcd".startsWith jsregex
  Source   Edit @@ -417,7 +417,7 @@

Procs

  Source   Edit @@ -430,7 +430,7 @@

Procs

Returns a string representing the RegExp object.   Source   Edit @@ -447,7 +447,7 @@

Procs

  Source   Edit diff --git a/jsutils.html b/jsutils.html index 231deb41b5b..ee74ce84e75 100644 --- a/jsutils.html +++ b/jsutils.html @@ -210,7 +210,7 @@

std/private/jsutils

  Source   Edit @@ -236,7 +236,7 @@

Types

  Source   Edit @@ -248,7 +248,7 @@

Types

  Source   Edit @@ -260,7 +260,7 @@

Types

  Source   Edit @@ -272,7 +272,7 @@

Types

  Source   Edit @@ -284,7 +284,7 @@

Types

  Source   Edit @@ -301,7 +301,7 @@

Consts

The same as Number.MAX_SAFE_INTEGER or 2^53 - 1. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER   Source   Edit @@ -319,7 +319,7 @@

Procs

  Source   Edit @@ -332,7 +332,7 @@

Procs

  Source   Edit @@ -345,7 +345,7 @@

Procs

  Source   Edit @@ -358,7 +358,7 @@

Procs

  Source   Edit @@ -382,7 +382,7 @@

Procs

assert [1].toJs.getProtoName == "[object Int32Array]" # implementation defined assert @[1].toJs.getProtoName == "[object Array]" # implementation defined   Source   Edit @@ -394,7 +394,7 @@

Procs

  Source   Edit @@ -406,7 +406,7 @@

Procs

  Source   Edit @@ -425,7 +425,7 @@

Procs

assert 1.toJs.isInteger assert not 1.5.toJs.isInteger   Source   Edit @@ -445,7 +445,7 @@

Procs

assert 9007199254740991.toJs.isSafeInteger assert not 9007199254740992.toJs.isSafeInteger   Source   Edit @@ -462,7 +462,7 @@

Procs

assert jsConstructorName(a) == "Float64Array" assert jsConstructorName(a.toJs) == "Float64Array"   Source   Edit @@ -480,7 +480,7 @@

Procs

assert [1].toJs.jsTypeOf == "object" # note the difference with `getProtoName` assert big"1".toJs.jsTypeOf == "bigint"   Source   Edit @@ -493,7 +493,7 @@

Procs

  Source   Edit @@ -506,7 +506,7 @@

Procs

  Source   Edit @@ -519,7 +519,7 @@

Procs

  Source   Edit @@ -532,7 +532,7 @@

Procs

  Source   Edit @@ -545,7 +545,7 @@

Procs

  Source   Edit diff --git a/koch.html b/koch.html index 242a2bf6a3c..63318b2ab0a 100644 --- a/koch.html +++ b/koch.html @@ -114,14 +114,14 @@

Nim maintenance script

  Source   Edit
-

+

Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

"A great chef is an artist that I truly respect" -- Robert Stack.

diff --git a/kqueue.html b/kqueue.html index 58ca4440f08..d1d54666aec 100644 --- a/kqueue.html +++ b/kqueue.html @@ -216,7 +216,7 @@

posix/kqueue

  Source   Edit @@ -248,7 +248,7 @@

Types

  Source   Edit @@ -265,7 +265,7 @@

Consts

Add event to queue (implies enable). Re-adding an existing element modifies it.   Source   Edit @@ -277,7 +277,7 @@

Consts

Clear event state after reporting.   Source   Edit @@ -289,7 +289,7 @@

Consts

Delete event from queue.   Source   Edit @@ -301,7 +301,7 @@

Consts

Disable event (not reported).   Source   Edit @@ -313,7 +313,7 @@

Consts

Disable event after reporting.   Source   Edit @@ -325,7 +325,7 @@

Consts

Not should be dropped   Source   Edit @@ -337,7 +337,7 @@

Consts

Enable event.   Source   Edit @@ -349,7 +349,7 @@

Consts

EOF detected   Source   Edit @@ -361,7 +361,7 @@

Consts

Error, data contains errno   Source   Edit @@ -373,7 +373,7 @@

Consts

Filter-specific flag   Source   Edit @@ -385,7 +385,7 @@

Consts

EOF and no more data   Source   Edit @@ -397,7 +397,7 @@

Consts

Only report one occurrence.   Source   Edit @@ -409,7 +409,7 @@

Consts

Force EV_ERROR on success, data == 0   Source   Edit @@ -421,7 +421,7 @@

Consts

Reserved by system   Source   Edit @@ -433,7 +433,7 @@

Consts

attributes changed   Source   Edit @@ -445,7 +445,7 @@

Consts

am a child process   Source   Edit @@ -457,7 +457,7 @@

Consts

vnode was removed   Source   Edit @@ -469,7 +469,7 @@

Consts

process exec'd   Source   Edit @@ -481,7 +481,7 @@

Consts

process exited   Source   Edit @@ -493,7 +493,7 @@

Consts

size increased   Source   Edit @@ -505,7 +505,7 @@

Consts

process forked   Source   Edit @@ -517,7 +517,7 @@

Consts

link count changed   Source   Edit @@ -529,7 +529,7 @@

Consts

low water mark   Source   Edit @@ -541,7 +541,7 @@

Consts

  Source   Edit @@ -553,7 +553,7 @@

Consts

mask for hint bits   Source   Edit @@ -565,7 +565,7 @@

Consts

mask for pid   Source   Edit @@ -577,7 +577,7 @@

Consts

vnode was renamed   Source   Edit @@ -589,7 +589,7 @@

Consts

vnode access was revoked   Source   Edit @@ -601,7 +601,7 @@

Consts

follow across forks   Source   Edit @@ -613,7 +613,7 @@

Consts

could not track child   Source   Edit @@ -625,7 +625,7 @@

Consts

data contents changed   Source   Edit @@ -644,7 +644,7 @@

Procs

Fills event with given data.   Source   Edit @@ -658,7 +658,7 @@

Procs

Manipulates queue for given kqFD descriptor.   Source   Edit @@ -671,7 +671,7 @@

Procs

Creates new queue and returns its descriptor.   Source   Edit diff --git a/lenientops.html b/lenientops.html index f3e0e891860..8b4df7558b1 100644 --- a/lenientops.html +++ b/lenientops.html @@ -148,7 +148,7 @@

pure/lenientops

  Source   Edit @@ -168,7 +168,7 @@

Procs

  Source   Edit @@ -180,7 +180,7 @@

Procs

  Source   Edit @@ -192,7 +192,7 @@

Procs

  Source   Edit @@ -204,7 +204,7 @@

Procs

  Source   Edit @@ -216,7 +216,7 @@

Procs

  Source   Edit @@ -228,7 +228,7 @@

Procs

  Source   Edit @@ -240,7 +240,7 @@

Procs

  Source   Edit @@ -252,7 +252,7 @@

Procs

  Source   Edit @@ -264,7 +264,7 @@

Procs

  Source   Edit @@ -276,7 +276,7 @@

Procs

  Source   Edit @@ -288,7 +288,7 @@

Procs

  Source   Edit @@ -300,7 +300,7 @@

Procs

  Source   Edit diff --git a/lexbase.html b/lexbase.html index 44adae9fba0..36da12d6e82 100644 --- a/lexbase.html +++ b/lexbase.html @@ -175,7 +175,7 @@

pure/lexbase

  Source   Edit @@ -206,7 +206,7 @@

Types

the base lexer. Inherit your lexer from this object.   Source   Edit @@ -223,7 +223,7 @@

Consts

end of file marker   Source   Edit @@ -235,7 +235,7 @@

Consts

  Source   Edit @@ -253,7 +253,7 @@

Procs

closes the base lexer. This closes L's associated stream too.   Source   Edit @@ -265,7 +265,7 @@

Procs

retrieves the current column.   Source   Edit @@ -278,7 +278,7 @@

Procs

retrieves the current line.   Source   Edit @@ -291,7 +291,7 @@

Procs

Call this if you scanned over 'c' in the buffer; it returns the position to continue the scanning from. pos must be the position of the 'c'.   Source   Edit @@ -304,7 +304,7 @@

Procs

Call this if you scanned over 'L' in the buffer; it returns the position to continue the scanning from. pos must be the position of the 'L'.   Source   Edit @@ -317,7 +317,7 @@

Procs

Call this if a terminator character other than a new line is scanned at pos; it returns the position to continue the scanning from.   Source   Edit @@ -331,7 +331,7 @@

Procs

inits the BaseLexer with a stream to read from.   Source   Edit diff --git a/lib.html b/lib.html index 7a425d70191..c0149aa977c 100644 --- a/lib.html +++ b/lib.html @@ -137,7 +137,7 @@

Nim Standard Library

  Source   Edit @@ -145,7 +145,7 @@

Nim Standard Library

- +
Author:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Nim's library is divided into pure libraries, impure libraries, and wrappers.

Pure libraries do not depend on any external *.dll or lib*.so binary while impure libraries do. A wrapper is an impure library that is a very low-level interface to a C library.

Read this document for a quick overview of the API design.

diff --git a/linenoise.html b/linenoise.html index fda236dc9b3..5037c9adb8a 100644 --- a/linenoise.html +++ b/linenoise.html @@ -188,7 +188,7 @@

wrappers/linenoise/linenoise

  Source   Edit @@ -205,7 +205,7 @@

Types

  Source   Edit @@ -220,7 +220,7 @@

Types

  Source   Edit @@ -234,7 +234,7 @@

Types

  Source   Edit @@ -249,7 +249,7 @@

Types

  Source   Edit @@ -262,7 +262,7 @@

Types

  Source   Edit @@ -280,7 +280,7 @@

Procs

  Source   Edit @@ -292,7 +292,7 @@

Procs

  Source   Edit @@ -305,7 +305,7 @@

Procs

  Source   Edit @@ -318,7 +318,7 @@

Procs

  Source   Edit @@ -331,7 +331,7 @@

Procs

  Source   Edit @@ -344,7 +344,7 @@

Procs

  Source   Edit @@ -357,7 +357,7 @@

Procs

  Source   Edit @@ -369,7 +369,7 @@

Procs

  Source   Edit @@ -382,7 +382,7 @@

Procs

  Source   Edit @@ -402,7 +402,7 @@

Procs

if ret.status == lnCtrlD: break echo "exiting"   Source   Edit @@ -415,7 +415,7 @@

Procs

  Source   Edit @@ -428,7 +428,7 @@

Procs

  Source   Edit diff --git a/linux.html b/linux.html index 9640ce358c9..905138b2b1d 100644 --- a/linux.html +++ b/linux.html @@ -182,7 +182,7 @@

posix/linux

  Source   Edit @@ -204,7 +204,7 @@

Consts

  Source   Edit @@ -216,7 +216,7 @@

Consts

  Source   Edit @@ -228,7 +228,7 @@

Consts

  Source   Edit @@ -240,7 +240,7 @@

Consts

  Source   Edit @@ -252,7 +252,7 @@

Consts

  Source   Edit @@ -264,7 +264,7 @@

Consts

  Source   Edit @@ -276,7 +276,7 @@

Consts

  Source   Edit @@ -288,7 +288,7 @@

Consts

  Source   Edit @@ -300,7 +300,7 @@

Consts

  Source   Edit @@ -312,7 +312,7 @@

Consts

  Source   Edit @@ -324,7 +324,7 @@

Consts

  Source   Edit @@ -336,7 +336,7 @@

Consts

  Source   Edit @@ -348,7 +348,7 @@

Consts

  Source   Edit @@ -360,7 +360,7 @@

Consts

  Source   Edit @@ -372,7 +372,7 @@

Consts

  Source   Edit @@ -384,7 +384,7 @@

Consts

  Source   Edit @@ -396,7 +396,7 @@

Consts

  Source   Edit @@ -408,7 +408,7 @@

Consts

  Source   Edit @@ -420,7 +420,7 @@

Consts

  Source   Edit @@ -432,7 +432,7 @@

Consts

  Source   Edit @@ -444,7 +444,7 @@

Consts

  Source   Edit @@ -456,7 +456,7 @@

Consts

  Source   Edit @@ -468,7 +468,7 @@

Consts

  Source   Edit @@ -480,7 +480,7 @@

Consts

  Source   Edit @@ -492,7 +492,7 @@

Consts

  Source   Edit @@ -504,7 +504,7 @@

Consts

  Source   Edit @@ -523,7 +523,7 @@

Procs

  Source   Edit @@ -536,7 +536,7 @@

Procs

  Source   Edit diff --git a/lists.html b/lists.html index 923bdba21bb..83dc240e664 100644 --- a/lists.html +++ b/lists.html @@ -333,7 +333,7 @@

pure/collections/lists

  Source   Edit @@ -405,7 +405,7 @@

Types

A doubly linked list.   Source   Edit @@ -417,7 +417,7 @@

Types

  Source   Edit @@ -435,7 +435,7 @@

Types

It consists of a value field, and pointers to next and prev.

  Source   Edit @@ -449,7 +449,7 @@

Types

A doubly linked ring.   Source   Edit @@ -464,7 +464,7 @@

Types

A singly linked list.   Source   Edit @@ -476,7 +476,7 @@

Types

  Source   Edit @@ -493,7 +493,7 @@

Types

It consists of a value field, and a pointer to next.

  Source   Edit @@ -508,7 +508,7 @@

Types

A singly linked ring.   Source   Edit @@ -520,7 +520,7 @@

Types

  Source   Edit @@ -532,7 +532,7 @@

Types

  Source   Edit @@ -544,7 +544,7 @@

Types

  Source   Edit @@ -556,7 +556,7 @@

Types

  Source   Edit @@ -576,7 +576,7 @@

Procs

let a = [1, 2, 3, 4].toSinglyLinkedList
 assert $a == "[1, 2, 3, 4]"
  Source   Edit @@ -602,7 +602,7 @@

Procs

a.add(a) assert a.toSeq == [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]   Source   Edit @@ -626,7 +626,7 @@

Procs

a.add(n) assert a.contains(9)   Source   Edit @@ -650,7 +650,7 @@

Procs

a.add(8) assert a.contains(9)   Source   Edit @@ -674,7 +674,7 @@

Procs

a.add(n) assert a.contains(9)   Source   Edit @@ -698,7 +698,7 @@

Procs

a.add(8) assert a.contains(9)   Source   Edit @@ -721,7 +721,7 @@

Procs

a.add(n) assert a.contains(9)   Source   Edit @@ -744,7 +744,7 @@

Procs

a.add(8) assert a.contains(9)   Source   Edit @@ -767,7 +767,7 @@

Procs

a.add(n) assert a.contains(9)   Source   Edit @@ -790,7 +790,7 @@

Procs

a.add(8) assert a.contains(9)   Source   Edit @@ -821,7 +821,7 @@

Procs

ci assert s == [0, 1, 0, 1, 0, 1]   Source   Edit @@ -852,7 +852,7 @@

Procs

ci assert s == [0, 1, 0, 1, 0, 1]   Source   Edit @@ -871,7 +871,7 @@

Procs

  Source   Edit @@ -890,7 +890,7 @@

Procs

  Source   Edit @@ -907,7 +907,7 @@

Procs

  Source   Edit @@ -929,7 +929,7 @@

Procs

assert(not a.contains(1)) assert 2 notin a   Source   Edit @@ -958,7 +958,7 @@

Procs

let c = [1, 2, 3].toDoublyLinkedList assert $c == $c.copy   Source   Edit @@ -987,7 +987,7 @@

Procs

let c = [1, 2, 3].toSinglyLinkedList assert $c == $c.copy   Source   Edit @@ -1007,7 +1007,7 @@

Procs

assert a.find(9).value == 9 assert a.find(1) == nil   Source   Edit @@ -1023,7 +1023,7 @@

Procs

Example:

let a = initDoublyLinkedList[int]()
  Source   Edit @@ -1039,7 +1039,7 @@

Procs

Example:

let a = initDoublyLinkedRing[int]()
  Source   Edit @@ -1055,7 +1055,7 @@

Procs

Example:

let a = initSinglyLinkedList[int]()
  Source   Edit @@ -1071,7 +1071,7 @@

Procs

Example:

let a = initSinglyLinkedRing[int]()
  Source   Edit @@ -1086,7 +1086,7 @@

Procs

let n = newDoublyLinkedNode[int](5)
 assert n.value == 5
  Source   Edit @@ -1101,7 +1101,7 @@

Procs

let n = newSinglyLinkedNode[int](5)
 assert n.value == 5
  Source   Edit @@ -1126,7 +1126,7 @@

Procs

a.prepend(a) assert a.toSeq == [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]   Source   Edit @@ -1150,7 +1150,7 @@

Procs

a.prepend(n) assert a.contains(9)   Source   Edit @@ -1174,7 +1174,7 @@

Procs

a.prepend(8) assert a.contains(9)   Source   Edit @@ -1198,7 +1198,7 @@

Procs

a.prepend(n) assert a.contains(9)   Source   Edit @@ -1222,7 +1222,7 @@

Procs

a.prepend(8) assert a.contains(9)   Source   Edit @@ -1245,7 +1245,7 @@

Procs

a.prepend(n) assert a.contains(9)   Source   Edit @@ -1268,7 +1268,7 @@

Procs

a.prepend(8) assert a.contains(9)   Source   Edit @@ -1291,7 +1291,7 @@

Procs

a.prepend(n) assert a.contains(9)   Source   Edit @@ -1314,7 +1314,7 @@

Procs

a.prepend(8) assert a.contains(9)   Source   Edit @@ -1345,7 +1345,7 @@

Procs

ci assert s == [0, 1, 0, 1, 0, 1]   Source   Edit @@ -1373,7 +1373,7 @@

Procs

ai assert s == [2, 2, 2, 2]   Source   Edit @@ -1392,7 +1392,7 @@

Procs

a.remove(n) assert 5 notin a   Source   Edit @@ -1421,7 +1421,7 @@

Procs

ai assert s == [2, 2, 2, 2]   Source   Edit @@ -1437,7 +1437,7 @@

Procs

let a = [1, 2, 3, 4, 5].toDoublyLinkedList assert a.toSeq == [1, 2, 3, 4, 5]   Source   Edit @@ -1453,7 +1453,7 @@

Procs

let a = [1, 2, 3, 4, 5].toSinglyLinkedList assert a.toSeq == [1, 2, 3, 4, 5]   Source   Edit @@ -1470,7 +1470,7 @@

Iterators

Iterates over every node of L, yielding (count, value) tuples with count starting at 0.   Source   Edit @@ -1482,7 +1482,7 @@

Iterators

Iterates over every node of L, yielding (count, value) tuples with count starting at 0.   Source   Edit @@ -1506,7 +1506,7 @@

Iterators

assert toSeq(items(a)) == toSeq(a) assert toSeq(a) == @[10, 20, 30]   Source   Edit @@ -1530,7 +1530,7 @@

Iterators

assert toSeq(items(a)) == toSeq(a) assert toSeq(a) == @[10, 20, 30]   Source   Edit @@ -1555,7 +1555,7 @@

Iterators

x = 5 * x - 1 assert $a == "[49, 99, 149, 199, 249]"   Source   Edit @@ -1580,7 +1580,7 @@

Iterators

x = 5 * x - 1 assert $a == "[49, 99, 149, 199, 249]"   Source   Edit @@ -1608,7 +1608,7 @@

Iterators

x.value = 5 * x.value - 1 assert $a == "[49, 99, 199, 249]"   Source   Edit @@ -1636,7 +1636,7 @@

Iterators

x.value = 5 * x.value - 1 assert $a == "[49, 99, 199, 249]"   Source   Edit diff --git a/locks.html b/locks.html index 36ef67b5ee1..40e3d414861 100644 --- a/locks.html +++ b/locks.html @@ -182,7 +182,7 @@

core/locks

  Source   Edit @@ -199,7 +199,7 @@

Types

Nim condition variable   Source   Edit @@ -211,7 +211,7 @@

Types

Nim lock; whether this is re-entrant or not is unspecified!   Source   Edit @@ -228,7 +228,7 @@

Procs

  Source   Edit @@ -240,7 +240,7 @@

Procs

Acquires the given lock.   Source   Edit @@ -252,7 +252,7 @@

Procs

Unblocks all threads currently blocked on the specified condition variable cond.   Source   Edit @@ -264,7 +264,7 @@

Procs

Frees the resources associated with the condition variable.   Source   Edit @@ -276,7 +276,7 @@

Procs

Frees the resources associated with the lock.   Source   Edit @@ -288,7 +288,7 @@

Procs

Initializes the given condition variable.   Source   Edit @@ -300,7 +300,7 @@

Procs

Initializes the given lock.   Source   Edit @@ -312,7 +312,7 @@

Procs

Releases the given lock.   Source   Edit @@ -324,7 +324,7 @@

Procs

Sends a signal to the condition variable cond.   Source   Edit @@ -336,7 +336,7 @@

Procs

Tries to acquire the given lock. Returns true on success.   Source   Edit @@ -348,7 +348,7 @@

Procs

Waits on the condition variable cond.   Source   Edit @@ -365,7 +365,7 @@

Templates

Acquires the given lock, executes the statements in body and releases the lock after the statements finish executing.   Source   Edit diff --git a/logging.html b/logging.html index 76812117093..c33d6447f3b 100644 --- a/logging.html +++ b/logging.html @@ -279,7 +279,7 @@

pure/logging

  Source   Edit @@ -366,7 +366,7 @@

Types

  Source   Edit @@ -387,7 +387,7 @@

Types

  Source   Edit @@ -420,7 +420,7 @@

Types

Individual loggers have a levelThreshold field that filters out any messages with a level lower than the threshold. There is also a global filter that applies to all log messages, and it can be changed using the setLogFilter proc.

  Source   Edit @@ -444,7 +444,7 @@

Types

  Source   Edit @@ -470,7 +470,7 @@

Types

  Source   Edit @@ -487,7 +487,7 @@

Consts

The default format string.   Source   Edit @@ -500,7 +500,7 @@

Consts

Array of strings representing each logging level.   Source   Edit @@ -516,7 +516,7 @@

Consts

If a different format string is preferred, refer to the documentation about format strings for more information, including a list of available variables.

  Source   Edit @@ -542,7 +542,7 @@

Procs

addHandler(logger) doAssert logger in getHandlers()   Source   Edit @@ -556,7 +556,7 @@

Procs

Note: This proc is not available for the JavaScript backend.

  Source   Edit @@ -572,7 +572,7 @@

Procs

  Source   Edit @@ -588,7 +588,7 @@

Procs

  Source   Edit @@ -612,7 +612,7 @@

Procs

var formatLog = newConsoleLogger(fmtStr=verboseFmtStr) var errorLog = newConsoleLogger(levelThreshold=lvlError, useStderr=true)   Source   Edit @@ -639,7 +639,7 @@

Procs

var formatLog = newFileLogger(formatted, fmtStr=verboseFmtStr) var errorLog = newFileLogger(errors, levelThreshold=lvlError)   Source   Edit @@ -668,7 +668,7 @@

Procs

var formatLog = newFileLogger("formatted.log", fmtStr=verboseFmtStr) var errorLog = newFileLogger("errors.log", levelThreshold=lvlError)   Source   Edit @@ -701,7 +701,7 @@

Procs

var shortLog = newRollingFileLogger("short.log", maxLines=200) var errorLog = newRollingFileLogger("errors.log", levelThreshold=lvlError)   Source   Edit @@ -723,7 +723,7 @@

Procs

setLogFilter(lvlError)
 doAssert getLogFilter() == lvlError
  Source   Edit @@ -749,7 +749,7 @@

Procs

doAssert substituteLog("$levelid - ", lvlError, "an error") == "E - an error" doAssert substituteLog("$levelid", lvlDebug, "error") == "Derror"   Source   Edit @@ -779,7 +779,7 @@

Methods

consoleLog.log(lvlInfo, "this is a message") consoleLog.log(lvlError, "error code is: ", 404)   Source   Edit @@ -807,7 +807,7 @@

Methods

fileLog.log(lvlInfo, "this is a message") fileLog.log(lvlError, "error code is: ", 404)   Source   Edit @@ -827,7 +827,7 @@

Methods

  Source   Edit @@ -856,7 +856,7 @@

Methods

rollingLog.log(lvlInfo, "this is a message") rollingLog.log(lvlError, "error code is: ", 404)   Source   Edit @@ -884,7 +884,7 @@

Templates

  Source   Edit @@ -907,7 +907,7 @@

Templates

  Source   Edit @@ -930,7 +930,7 @@

Templates

  Source   Edit @@ -953,7 +953,7 @@

Templates

  Source   Edit @@ -979,7 +979,7 @@

Templates

  Source   Edit @@ -1002,7 +1002,7 @@

Templates

  Source   Edit @@ -1025,7 +1025,7 @@

Templates

  Source   Edit diff --git a/macrocache.html b/macrocache.html index b7b35a6929c..e4998ecc39c 100644 --- a/macrocache.html +++ b/macrocache.html @@ -173,7 +173,7 @@

core/macrocache

  Source   Edit @@ -219,7 +219,7 @@

Types

Compile-time counter, uses int for storing the count.   Source   Edit @@ -231,7 +231,7 @@

Types

Compile-time sequence of NimNodes.   Source   Edit @@ -245,7 +245,7 @@

Types

Keys are strings and values are NimNodes.

  Source   Edit @@ -275,7 +275,7 @@

Procs

# check that we can get the value back assert mcTable["value"].kind == nnkIntLit   Source   Edit @@ -294,7 +294,7 @@

Procs

mySeq.add(newLit(42)) assert mySeq[0].intVal == 42   Source   Edit @@ -316,7 +316,7 @@

Procs

# get the NimNode back assert mcTable["toAdd"].kind == nnkStmtList   Source   Edit @@ -338,7 +338,7 @@

Procs

assert mySeq.len == 2 assert mySeq[1].strVal == "hello ic"   Source   Edit @@ -357,7 +357,7 @@

Procs

assert counter.value == 6   Source   Edit @@ -381,7 +381,7 @@

Procs

# still one element assert mySeq.len == 1   Source   Edit @@ -404,7 +404,7 @@

Procs

mySeq.add(val) assert mySeq.len == 2   Source   Edit @@ -423,7 +423,7 @@

Procs

dataTable["key"] = newLit(5) assert dataTable.len == 1   Source   Edit @@ -443,7 +443,7 @@

Procs

inc counter assert counter.value == 1   Source   Edit @@ -471,7 +471,7 @@

Iterators

# check that all values in `myseq` are int literals assert val.kind == nnkIntLit   Source   Edit @@ -496,7 +496,7 @@

Iterators

# all vals are int literals assert val.kind == nnkIntLit   Source   Edit diff --git a/macros.html b/macros.html index 6e749ba5c19..73666ebce50 100644 --- a/macros.html +++ b/macros.html @@ -957,7 +957,7 @@

core/macros

  Source   Edit @@ -1651,7 +1651,7 @@

Types

Specifies how bindSym behaves. The difference between open and closed symbols can be found in manual.html#symbol-lookup-in-generics-open-and-closed-symbols   Source   Edit @@ -1666,7 +1666,7 @@

Types

  Source   Edit @@ -1709,7 +1709,7 @@

Types

  Source   Edit @@ -1721,7 +1721,7 @@

Types

  Source   Edit @@ -1737,7 +1737,7 @@

Types

  Source   Edit @@ -1759,7 +1759,7 @@

Types

  Source   Edit @@ -1776,7 +1776,7 @@

Consts

  Source   Edit @@ -1789,7 +1789,7 @@

Consts

  Source   Edit @@ -1802,7 +1802,7 @@

Consts

  Source   Edit @@ -1814,7 +1814,7 @@

Consts

  Source   Edit @@ -1827,7 +1827,7 @@

Consts

  Source   Edit @@ -1844,7 +1844,7 @@

Procs

Return a string representation in the form filepath(line, column).   Source   Edit @@ -1856,7 +1856,7 @@

Procs

Get the string of an identifier node.   Source   Edit @@ -1869,7 +1869,7 @@

Procs

Compare two Nim nodes. Return true if nodes are structurally equivalent. This means two independently created nodes can be equal.   Source   Edit @@ -1881,7 +1881,7 @@

Procs

Set n's i'th child to child.   Source   Edit @@ -1894,7 +1894,7 @@

Procs

Set n's i'th child to child.   Source   Edit @@ -1906,7 +1906,7 @@

Procs

Get n's i'th child.   Source   Edit @@ -1919,7 +1919,7 @@

Procs

Get n's i'th child.   Source   Edit @@ -1931,7 +1931,7 @@

Procs

Slice operation for NimNode. Returns a seq of child of n who inclusive range [n[x.a], n[x.b]].   Source   Edit @@ -1944,7 +1944,7 @@

Procs

Adds the child to the father node. Returns the father node so that calls can be nested.   Source   Edit @@ -1958,7 +1958,7 @@

Procs

Adds each child of children to the father node. Returns the father node so that calls can be nested.   Source   Edit @@ -1970,7 +1970,7 @@

Procs

  Source   Edit @@ -1982,7 +1982,7 @@

Procs

  Source   Edit @@ -1996,7 +1996,7 @@

Procs

See also repr, treeRepr, and lispRepr.

  Source   Edit @@ -2008,7 +2008,7 @@

Procs

Pull an identifier from prefix/postfix expressions.   Source   Edit @@ -2020,7 +2020,7 @@

Procs

  Source   Edit @@ -2035,7 +2035,7 @@

Procs

See the manual for more details.

  Source   Edit @@ -2047,7 +2047,7 @@

Procs

  Source   Edit @@ -2059,7 +2059,7 @@

Procs

  Source   Edit @@ -2071,7 +2071,7 @@

Procs

  Source   Edit @@ -2087,7 +2087,7 @@

Procs

Returns the AST of the invocation expression that invoked this macro.   Source   Edit @@ -2099,7 +2099,7 @@

Procs

An alias for copyNimTree.   Source   Edit @@ -2111,7 +2111,7 @@

Procs

Copy all children from src to dest.   Source   Edit @@ -2124,7 +2124,7 @@

Procs

Copy lineinfo from info.   Source   Edit @@ -2137,7 +2137,7 @@

Procs

  Source   Edit @@ -2150,7 +2150,7 @@

Procs

  Source   Edit @@ -2163,7 +2163,7 @@

Procs

Deletes n children of father starting at index idx.   Source   Edit @@ -2176,7 +2176,7 @@

Procs

Style insensitive comparison. a and b can be an identifier or a symbol. Both may be wrapped in an export marker (nnkPostfix) or quoted with backticks (nnkAccQuoted), these nodes will be unwrapped.   Source   Edit @@ -2189,7 +2189,7 @@

Procs

Style insensitive comparison. a can be an identifier or a symbol. a may be wrapped in an export marker (nnkPostfix) or quoted with backticks (nnkAccQuoted), these nodes will be unwrapped.   Source   Edit @@ -2202,7 +2202,7 @@

Procs

Style insensitive comparison. b can be an identifier or a symbol. b may be wrapped in an export marker (nnkPostfix) or quoted with backticks (nnkAccQuoted), these nodes will be unwrapped.   Source   Edit @@ -2215,7 +2215,7 @@

Procs

Style insensitive comparison.   Source   Edit @@ -2228,7 +2228,7 @@

Procs

Writes an error message at compile time. The optional n: NimNode parameter is used as the source for file and line number information in the compilation error message.   Source   Edit @@ -2240,7 +2240,7 @@

Procs

Check that eqIdent(n,name) holds true. If this is not the case, compilation aborts with an error message. This is useful for writing macros that check the AST that is passed to them.   Source   Edit @@ -2252,7 +2252,7 @@

Procs

Checks that n is of kind k. If this is not the case, compilation aborts with an error message. This is useful for writing macros that check the AST that is passed to them.   Source   Edit @@ -2264,7 +2264,7 @@

Procs

Checks that n is of kind k. If this is not the case, compilation aborts with an error message. This is useful for writing macros that check the AST that is passed to them.   Source   Edit @@ -2276,7 +2276,7 @@

Procs

Checks that n has exactly len children. If this is not the case, compilation aborts with an error message. This is useful for writing macros that check its number of arguments.   Source   Edit @@ -2288,7 +2288,7 @@

Procs

Checks that n has a number of children in the range min..max. If this is not the case, compilation aborts with an error message. This is useful for writing macros that check its number of arguments.   Source   Edit @@ -2300,7 +2300,7 @@

Procs

Checks that n has at least min children. If this is not the case, compilation aborts with an error message. This is useful for writing macros that check its number of arguments.   Source   Edit @@ -2329,7 +2329,7 @@

Procs

discard # first statement after doc comments + runnableExamples ## not docgen'd   Source   Edit @@ -2342,7 +2342,7 @@

Procs

Returns a float from any floating point literal.   Source   Edit @@ -2355,7 +2355,7 @@

Procs

  Source   Edit @@ -2368,7 +2368,7 @@

Procs

Generates a fresh symbol that is guaranteed to be unique. The symbol needs to occur in a declaration context.   Source   Edit @@ -2381,7 +2381,7 @@

Procs

Returns the same result as system.alignof if the alignment is known by the Nim compiler. It works on NimNode for use in macro context. Returns a negative value if the Nim compiler does not know the alignment.   Source   Edit @@ -2395,7 +2395,7 @@

Procs

Obtains the AST nodes returned from a macro or template invocation. See also genasts.genAst. Example:
macro FooMacro() =
   var ast = getAst(BarTemplate())
  Source   Edit @@ -2408,7 +2408,7 @@

Procs

Returns a copy of the declaration of a symbol or nil.   Source   Edit @@ -2421,7 +2421,7 @@

Procs

For a typed proc returns the AST after transformation pass; this is useful for debugging how the compiler transforms code (e.g.: defer, for) but note that code transformations are implementation dependent and subject to change. See an example in tests/macros/tmacros_various.nim.   Source   Edit @@ -2434,7 +2434,7 @@

Procs

Returns the same result as system.offsetof if the offset is known by the Nim compiler. It expects a resolved symbol node from a field of a type. Therefore it only requires one argument instead of two. Returns a negative value if the Nim compiler does not know the offset.   Source   Edit @@ -2455,7 +2455,7 @@

Procs

  Source   Edit @@ -2468,7 +2468,7 @@

Procs

Returns the same result as system.sizeof if the size is known by the Nim compiler. Returns a negative value if the Nim compiler does not know the size.   Source   Edit @@ -2481,7 +2481,7 @@

Procs

With 'getType' you can access the node's type. A Nim type is mapped to a Nim AST too, so it's slightly confusing but it means the same API can be used to traverse types. Recursive types are flattened for you so there is no danger of infinite recursions during traversal. To resolve recursive types, you have to call 'getType' again. To see what kind of type it is, call typeKind on getType's result.   Source   Edit @@ -2494,7 +2494,7 @@

Procs

Version of getType which takes a typedesc.   Source   Edit @@ -2525,7 +2525,7 @@

Procs

doAssert(dumpTypeImpl(b) == t) doAssert(dumpTypeImpl(c) == t)   Source   Edit @@ -2538,7 +2538,7 @@

Procs

Version of getTypeImpl which takes a typedesc.   Source   Edit @@ -2565,7 +2565,7 @@

Procs

doAssert(dumpTypeInst(b) == "Vec4[float32]") doAssert(dumpTypeInst(c) == "Vec[4, float32]")   Source   Edit @@ -2578,7 +2578,7 @@

Procs

Version of getTypeInst which takes a typedesc.   Source   Edit @@ -2590,7 +2590,7 @@

Procs

Search nnkFormalParams for an argument.   Source   Edit @@ -2603,7 +2603,7 @@

Procs

Writes a hint message at compile time.   Source   Edit @@ -2616,7 +2616,7 @@

Procs

Create a new ident node from a string.   Source   Edit @@ -2628,7 +2628,7 @@

Procs

  Source   Edit @@ -2640,7 +2640,7 @@

Procs

Insert node b into node a at pos.   Source   Edit @@ -2653,7 +2653,7 @@

Procs

Returns an integer value from any integer literal or enum field symbol.   Source   Edit @@ -2666,7 +2666,7 @@

Procs

  Source   Edit @@ -2678,7 +2678,7 @@

Procs

Returns whether the symbol is exported or not.   Source   Edit @@ -2691,7 +2691,7 @@

Procs

Checks if a proc symbol is an instance of the generic proc symbol. Useful to check proc symbols against generic symbols returned by bindSym.   Source   Edit @@ -2704,7 +2704,7 @@

Procs

Returns the kind of the node n.   Source   Edit @@ -2716,7 +2716,7 @@

Procs

Return the last item in nodes children. Same as node[^1].   Source   Edit @@ -2728,7 +2728,7 @@

Procs

Returns the number of children of n.   Source   Edit @@ -2740,7 +2740,7 @@

Procs

Return line info in the form filepath(line, column).   Source   Edit @@ -2752,7 +2752,7 @@

Procs

Returns LineInfo of n, using absolute path for filename.   Source   Edit @@ -2767,7 +2767,7 @@

Procs

See also repr, treeRepr, and astGenRepr.

  Source   Edit @@ -2779,7 +2779,7 @@

Procs

  Source   Edit @@ -2791,7 +2791,7 @@

Procs

  Source   Edit @@ -2803,7 +2803,7 @@

Procs

Nests the list pack into a tree of call expressions: [a, b, c] is transformed into op(a, op(c, d)). This is also known as fold expression.   Source   Edit @@ -2816,7 +2816,7 @@

Procs

Nests the list pack into a tree of call expressions: [a, b, c] is transformed into op(a, op(c, d)). This is also known as fold expression.   Source   Edit @@ -2828,7 +2828,7 @@

Procs

  Source   Edit @@ -2840,7 +2840,7 @@

Procs

Create a new block: stmt.   Source   Edit @@ -2852,7 +2852,7 @@

Procs

Create a new block statement with label.   Source   Edit @@ -2865,7 +2865,7 @@

Procs

Produces a new call node. theProc is the proc that is called with the arguments args[0..].   Source   Edit @@ -2878,7 +2878,7 @@

Procs

Produces a new call node. theProc is the proc that is called with the arguments args[0..].   Source   Edit @@ -2890,7 +2890,7 @@

Procs

Create new colon expression. newColonExpr(a, b) -> a: b   Source   Edit @@ -2902,7 +2902,7 @@

Procs

Creates a comment statement node.   Source   Edit @@ -2914,7 +2914,7 @@

Procs

Create a new const stmt.   Source   Edit @@ -2926,7 +2926,7 @@

Procs

Create new dot expression. a.dot(b) -> a.b   Source   Edit @@ -2938,7 +2938,7 @@

Procs

Create a new empty node.   Source   Edit @@ -2956,7 +2956,7 @@

Procs

# type Colors* = Blue Red   Source   Edit @@ -2968,7 +2968,7 @@

Procs

Creates a float literal node from f.   Source   Edit @@ -2991,7 +2991,7 @@

Procs

ident("a"), ident("b"), ident("c"), ident("string"), newStrLitNode("Hello"))   Source   Edit @@ -3004,7 +3004,7 @@

Procs

Creates an identifier node from i. It is simply an alias for ident(string). Use that, it's shorter.   Source   Edit @@ -3020,7 +3020,7 @@

Procs

... )   Source   Edit @@ -3032,7 +3032,7 @@

Procs

Creates an int literal node from i.   Source   Edit @@ -3044,7 +3044,7 @@

Procs

Create a new let stmt.   Source   Edit @@ -3056,7 +3056,7 @@

Procs

  Source   Edit @@ -3068,7 +3068,7 @@

Procs

  Source   Edit @@ -3080,7 +3080,7 @@

Procs

produces a new ref type literal node.   Source   Edit @@ -3092,7 +3092,7 @@

Procs

Produces a new boolean literal node.   Source   Edit @@ -3104,7 +3104,7 @@

Procs

Produces a new character literal node.   Source   Edit @@ -3116,7 +3116,7 @@

Procs

Produces a new float literal node.   Source   Edit @@ -3128,7 +3128,7 @@

Procs

Produces a new float literal node.   Source   Edit @@ -3140,7 +3140,7 @@

Procs

Produces a new integer literal node.   Source   Edit @@ -3152,7 +3152,7 @@

Procs

Produces a new integer literal node.   Source   Edit @@ -3164,7 +3164,7 @@

Procs

Produces a new integer literal node.   Source   Edit @@ -3176,7 +3176,7 @@

Procs

Produces a new integer literal node.   Source   Edit @@ -3188,7 +3188,7 @@

Procs

Produces a new integer literal node.   Source   Edit @@ -3200,7 +3200,7 @@

Procs

Produces a new unsigned integer literal node.   Source   Edit @@ -3212,7 +3212,7 @@

Procs

Produces a new unsigned integer literal node.   Source   Edit @@ -3224,7 +3224,7 @@

Procs

Produces a new unsigned integer literal node.   Source   Edit @@ -3236,7 +3236,7 @@

Procs

Produces a new unsigned integer literal node.   Source   Edit @@ -3248,7 +3248,7 @@

Procs

Produces a new unsigned integer literal node.   Source   Edit @@ -3260,7 +3260,7 @@

Procs

Produces a new string literal node.   Source   Edit @@ -3272,7 +3272,7 @@

Procs

  Source   Edit @@ -3284,7 +3284,7 @@

Procs

use -d:nimHasWorkaround14720 to restore behavior prior to PR, forcing a named tuple even when arg is unnamed.   Source   Edit @@ -3296,7 +3296,7 @@

Procs

  Source   Edit @@ -3308,7 +3308,7 @@

Procs

  Source   Edit @@ -3320,7 +3320,7 @@

Procs

New nil literal shortcut.   Source   Edit @@ -3335,7 +3335,7 @@

Procs

The lineInfoFrom parameter is used for line information when the produced code crashes. You should ensure that it is set to a node that you are transforming.

  Source   Edit @@ -3349,7 +3349,7 @@

Procs

This does not construct tuples, for that use nnkTupleConstr nodes.

  Source   Edit @@ -3361,7 +3361,7 @@

Procs

  Source   Edit @@ -3378,7 +3378,7 @@

Procs

The params array must start with the return type of the proc, followed by a list of IdentDefs which specify the params.

  Source   Edit @@ -3390,7 +3390,7 @@

Procs

Create a new statement list.   Source   Edit @@ -3402,7 +3402,7 @@

Procs

Creates a string literal node from s.   Source   Edit @@ -3415,7 +3415,7 @@

Procs

Produces a new node with children.   Source   Edit @@ -3427,7 +3427,7 @@

Procs

Create a new var stmt.   Source   Edit @@ -3439,7 +3439,7 @@

Procs

Returns the id of n. This proc is for the purpose to debug the compiler only.   Source   Edit @@ -3457,7 +3457,7 @@

Procs

  Source   Edit @@ -3469,7 +3469,7 @@

Procs

  Source   Edit @@ -3481,7 +3481,7 @@

Procs

  Source   Edit @@ -3494,7 +3494,7 @@

Procs

Compiles the passed string to its AST representation. Expects a single expression. Raises ValueError for parsing errors.   Source   Edit @@ -3507,7 +3507,7 @@

Procs

Compiles the passed string to its AST representation. Expects one or more statements. Raises ValueError for parsing errors.   Source   Edit @@ -3519,7 +3519,7 @@

Procs

  Source   Edit @@ -3531,7 +3531,7 @@

Procs

Get the pragma of a proc type. These will be expanded.   Source   Edit @@ -3543,7 +3543,7 @@

Procs

Set the pragma of a proc type.   Source   Edit @@ -3555,7 +3555,7 @@

Procs

  Source   Edit @@ -3636,7 +3636,7 @@

Procs

doAssert y == 3 bar2()   Source   Edit @@ -3649,7 +3649,7 @@

Procs

Compares two Nim nodes' types. Return true if the types are the same, e.g. true when comparing alias with original type.   Source   Edit @@ -3662,7 +3662,7 @@

Procs

Returns a stable identifier derived from the signature of a symbol. The signature combines many factors such as the type of the symbol, the owning module of the symbol and others. The same identifier is used in the back-end to produce the mangled symbol name.   Source   Edit @@ -3679,7 +3679,7 @@

Procs

  Source   Edit @@ -3698,7 +3698,7 @@

Procs

  Source   Edit @@ -3710,7 +3710,7 @@

Procs

Returns a stable digest for symbols derived not only from type signature and owning module, but also implementation body. All procs/variables used in the implementation of this symbol are hashed recursively as well, including magics from system module.   Source   Edit @@ -3723,7 +3723,7 @@

Procs

  Source   Edit @@ -3735,7 +3735,7 @@

Procs

Converts the AST n to the concrete Nim code and wraps that in a string literal node.   Source   Edit @@ -3749,7 +3749,7 @@

Procs

See also repr, lispRepr, and astGenRepr.

  Source   Edit @@ -3762,7 +3762,7 @@

Procs

Returns the type kind of the node 'n' that should represent a type, that means the node should have been obtained via getType.   Source   Edit @@ -3775,7 +3775,7 @@

Procs

  Source   Edit @@ -3788,7 +3788,7 @@

Procs

  Source   Edit @@ -3801,7 +3801,7 @@

Procs

  Source   Edit @@ -3814,7 +3814,7 @@

Procs

Writes a warning message at compile time.   Source   Edit @@ -3831,7 +3831,7 @@

Iterators

Iterates over the children of the NimNode n.   Source   Edit @@ -3843,7 +3843,7 @@

Iterators

Iterates over the children of the NimNode n.   Source   Edit @@ -3855,7 +3855,7 @@

Iterators

Iterates over the children of the NimNode n and its indices.   Source   Edit @@ -3883,7 +3883,7 @@

Macros

)

Also see dumpTree and dumpLisp.

  Source   Edit @@ -3904,7 +3904,7 @@

Macros

(StrLit "Hello, World!")))

Also see dumpAstGen and dumpTree.

  Source   Edit @@ -3925,7 +3925,7 @@

Macros

StrLit "Hello, World!"

Also see dumpAstGen and dumpLisp.

  Source   Edit @@ -3946,7 +3946,7 @@

Macros

dump(x + y)

will actually dump x + y, but at the same time will print at compile time the expansion of the dump macro, which in this case is debugEcho ["x + y", " = ", x + y].

  Source   Edit @@ -3967,7 +3967,7 @@

Macros

assert(o.getCustomPragmaVal(serializationKey) == "mo") assert(MyObj.getCustomPragmaVal(serializationKey) == "mo")   Source   Edit @@ -3990,7 +3990,7 @@

Macros

assert(o.myField.hasCustomPragma(myAttr)) assert(myProc.hasCustomPragma(myAttr))   Source   Edit @@ -4015,7 +4015,7 @@

Macros

call1(fn1) # `args` is empty in this case if false: call2(echo, 10, 11) # would print 1011   Source   Edit @@ -4027,7 +4027,7 @@

Macros

returns number of variadic arguments in x   Source   Edit @@ -4044,7 +4044,7 @@

Templates

Evaluate x and when it is not an empty node, return it. Otherwise evaluate to y. Can be used to chain several expressions to get the first expression that is not empty.
let node = mightBeEmpty() or mightAlsoBeEmpty() or fallbackNode
  Source   Edit @@ -4057,7 +4057,7 @@

Templates

Find the first child node matching condition (or nil).
var res = findChild(n, it.kind == nnkPostfix and
                        it.basename.ident == ident"foo")
  Source   Edit diff --git a/manual.html b/manual.html index 2ff21a215a4..3915e6481ce 100644 --- a/manual.html +++ b/manual.html @@ -351,14 +351,14 @@

NimSkull Manual

  Source   Edit
-

+

Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

"Complexity" seems to be a lot like "energy": you can transfer it from the end-user to one/some of the other players, but the total amount seems to remain pretty much constant for a given task. -- Ran

About this document

Note: This document is a draft! Several of NimSkull's features may need more precise wording. This manual is constantly evolving.

diff --git a/manual_experimental.html b/manual_experimental.html index a727b1d6ff3..01bed1bc05f 100644 --- a/manual_experimental.html +++ b/manual_experimental.html @@ -163,7 +163,7 @@

Nim Experimental Features

  Source   Edit @@ -171,7 +171,7 @@

Nim Experimental Features

- +
Authors:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

About this document

This document describes features of Nim that are to be considered experimental. Some of these are not covered by the .experimental pragma or --experimental switch because they are already behind a special syntax and one may want to use Nim libraries using these features without using them oneself.

Note: diff --git a/marshal.html b/marshal.html index 34b296a0556..90a92b02796 100644 --- a/marshal.html +++ b/marshal.html @@ -134,7 +134,7 @@

pure/marshal

  Source   Edit @@ -191,7 +191,7 @@

Procs

let y = $$x assert y == """{"id": 1, "bar": "baz"}"""   Source   Edit @@ -210,7 +210,7 @@

Procs

load(s, a) assert a == [1, 3, 5]   Source   Edit @@ -230,7 +230,7 @@

Procs

s.setPosition(0) assert s.readAll() == "[1, 3, 5]"   Source   Edit @@ -254,7 +254,7 @@

Procs

assert z.id == 1 assert z.bar == "baz"   Source   Edit diff --git a/math.html b/math.html index 2c885820557..9b348e1fb73 100644 --- a/math.html +++ b/math.html @@ -568,7 +568,7 @@

pure/math

  Source   Edit @@ -630,7 +630,7 @@

Types

Describes the class a floating point value belongs to. This is the type that is returned by the classify func.   Source   Edit @@ -647,7 +647,7 @@

Consts

Euler's number.   Source   Edit @@ -659,7 +659,7 @@

Consts

Maximum number of meaningful digits after the decimal point for Nim's float32 type.   Source   Edit @@ -671,7 +671,7 @@

Consts

Maximum number of meaningful digits after the decimal point for Nim's float64 type.   Source   Edit @@ -683,7 +683,7 @@

Consts

Maximum number of meaningful digits after the decimal point for Nim's float type.   Source   Edit @@ -695,7 +695,7 @@

Consts

Smallest normal number for Nim's float type (= 2^-1022).   Source   Edit @@ -707,7 +707,7 @@

Consts

The circle constant PI (Ludolph's number).   Source   Edit @@ -719,7 +719,7 @@

Consts

The circle constant TAU (= 2 * PI).   Source   Edit @@ -747,7 +747,7 @@

Procs

doAssert -3 ^ 1 == -3 doAssert -3 ^ 2 == 9   Source   Edit @@ -760,7 +760,7 @@

Procs

  Source   Edit @@ -782,7 +782,7 @@

Procs

doAssert 6.5 mod -2.5 == 1.5 doAssert -6.5 mod -2.5 == -1.5   Source   Edit @@ -802,7 +802,7 @@

Procs

doAssert almostEqual(Inf, Inf) doAssert not almostEqual(NaN, NaN)   Source   Edit @@ -815,7 +815,7 @@

Procs

  Source   Edit @@ -835,7 +835,7 @@

Procs

doAssert almostEqual(radToDeg(arccos(0.0)), 90.0)
 doAssert almostEqual(radToDeg(arccos(1.0)), 0.0)
  Source   Edit @@ -848,7 +848,7 @@

Procs

  Source   Edit @@ -865,7 +865,7 @@

Procs

  Source   Edit @@ -877,7 +877,7 @@

Procs

Computes the inverse cotangent of x (arctan(1/x)).   Source   Edit @@ -889,7 +889,7 @@

Procs

Computes the inverse hyperbolic cotangent of x (arctanh(1/x)).   Source   Edit @@ -901,7 +901,7 @@

Procs

Computes the inverse cosecant of x (arcsin(1/x)).   Source   Edit @@ -913,7 +913,7 @@

Procs

Computes the inverse hyperbolic cosecant of x (arcsinh(1/x)).   Source   Edit @@ -925,7 +925,7 @@

Procs

Computes the inverse secant of x (arccos(1/x)).   Source   Edit @@ -937,7 +937,7 @@

Procs

Computes the inverse hyperbolic secant of x (arccosh(1/x)).   Source   Edit @@ -950,7 +950,7 @@

Procs

  Source   Edit @@ -970,7 +970,7 @@

Procs

doAssert almostEqual(radToDeg(arcsin(0.0)), 0.0)
 doAssert almostEqual(radToDeg(arcsin(1.0)), 90.0)
  Source   Edit @@ -983,7 +983,7 @@

Procs

  Source   Edit @@ -1000,7 +1000,7 @@

Procs

  Source   Edit @@ -1013,7 +1013,7 @@

Procs

  Source   Edit @@ -1034,7 +1034,7 @@

Procs

doAssert almostEqual(arctan(1.0), 0.7853981633974483)
 doAssert almostEqual(radToDeg(arctan(1.0)), 45.0)
  Source   Edit @@ -1047,7 +1047,7 @@

Procs

  Source   Edit @@ -1068,7 +1068,7 @@

Procs

doAssert almostEqual(arctan2(1.0, 0.0), PI / 2.0)
 doAssert almostEqual(radToDeg(arctan2(1.0, 0.0)), 90.0)
  Source   Edit @@ -1081,7 +1081,7 @@

Procs

  Source   Edit @@ -1098,7 +1098,7 @@

Procs

  Source   Edit @@ -1114,7 +1114,7 @@

Procs

doAssert binom(-6, 2) == 1 doAssert binom(6, 0) == 1   Source   Edit @@ -1127,7 +1127,7 @@

Procs

  Source   Edit @@ -1148,7 +1148,7 @@

Procs

doAssert almostEqual(cbrt(2.197), 1.3) doAssert almostEqual(cbrt(-27.0), -3.0)   Source   Edit @@ -1161,7 +1161,7 @@

Procs

  Source   Edit @@ -1184,7 +1184,7 @@

Procs

doAssert ceil(2.9) == 3.0 doAssert ceil(-2.1) == -2.0   Source   Edit @@ -1207,7 +1207,7 @@

Procs

assert ceilDiv(12, 3) ==  4
 assert ceilDiv(13, 3) ==  5
  Source   Edit @@ -1226,7 +1226,7 @@

Procs

assert clamp((3, 0), (1, 0) .. (2, 9)) == (2, 9) doAssertRaises(AssertionDefect): discard clamp(1, 3..2) # invalid bounds   Source   Edit @@ -1246,7 +1246,7 @@

Procs

doAssert classify(-0.3 / 0.0) == fcNegInf doAssert classify(5.0e-324) == fcSubnormal   Source   Edit @@ -1264,7 +1264,7 @@

Procs

doAssert copySign(NaN, 1.0).isNaN doAssert copySign(1.0, copySign(NaN, -1.0)) == -1.0   Source   Edit @@ -1277,7 +1277,7 @@

Procs

  Source   Edit @@ -1297,7 +1297,7 @@

Procs

doAssert almostEqual(cos(2 * PI), 1.0)
 doAssert almostEqual(cos(degToRad(60.0)), 0.5)
  Source   Edit @@ -1310,7 +1310,7 @@

Procs

  Source   Edit @@ -1330,7 +1330,7 @@

Procs

doAssert almostEqual(cosh(0.0), 1.0)
 doAssert almostEqual(cosh(1.0), 1.543080634815244)
  Source   Edit @@ -1342,7 +1342,7 @@

Procs

Computes the cotangent of x (1/tan(x)).   Source   Edit @@ -1354,7 +1354,7 @@

Procs

Computes the hyperbolic cotangent of x (1/tanh(x)).   Source   Edit @@ -1366,7 +1366,7 @@

Procs

Computes the cosecant of x (1/sin(x)).   Source   Edit @@ -1378,7 +1378,7 @@

Procs

Computes the hyperbolic cosecant of x (1/sinh(x)).   Source   Edit @@ -1399,7 +1399,7 @@

Procs

cumsum(a) doAssert a == @[1, 3, 6, 10]   Source   Edit @@ -1419,7 +1419,7 @@

Procs

Example:

doAssert cumsummed([1, 2, 3, 4]) == @[1, 3, 6, 10]
  Source   Edit @@ -1437,7 +1437,7 @@

Procs

Example:

doAssert almostEqual(degToRad(180.0), PI)
  Source   Edit @@ -1450,7 +1450,7 @@

Procs

  Source   Edit @@ -1465,7 +1465,7 @@

Procs

Note: Not available for the JS backend.

  Source   Edit @@ -1478,7 +1478,7 @@

Procs

  Source   Edit @@ -1493,7 +1493,7 @@

Procs

Note: Not available for the JS backend.

  Source   Edit @@ -1510,7 +1510,7 @@

Procs

doAssert euclDiv(13, -3) == -4 doAssert euclDiv(-13, -3) == 5   Source   Edit @@ -1527,7 +1527,7 @@

Procs

doAssert euclMod(13, -3) == 1 doAssert euclMod(-13, -3) == 2   Source   Edit @@ -1540,7 +1540,7 @@

Procs

  Source   Edit @@ -1561,7 +1561,7 @@

Procs

doAssert almostEqual(ln(exp(4.0)), 4.0) doAssert almostEqual(exp(0.0), 1.0)   Source   Edit @@ -1581,7 +1581,7 @@

Procs

doAssert fac(4) == 24 doAssert fac(10) == 3628800   Source   Edit @@ -1594,7 +1594,7 @@

Procs

  Source   Edit @@ -1617,7 +1617,7 @@

Procs

doAssert floor(2.9) == 2.0 doAssert floor(-3.5) == -4.0   Source   Edit @@ -1640,7 +1640,7 @@

Procs

doAssert floorDiv( 13, -3) == -5 doAssert floorDiv(-13, -3) == 4   Source   Edit @@ -1663,7 +1663,7 @@

Procs

doAssert floorMod( 13, -3) == -2 doAssert floorMod(-13, -3) == -1   Source   Edit @@ -1685,7 +1685,7 @@

Procs

doAssert frexp(Inf).frac == Inf # +- Inf preserved doAssert frexp(NaN).frac.isNaN   Source   Edit @@ -1701,7 +1701,7 @@

Procs

doAssert frexp(5.0, x) == 0.625 doAssert x == 3   Source   Edit @@ -1714,7 +1714,7 @@

Procs

  Source   Edit @@ -1736,7 +1736,7 @@

Procs

doAssert almostEqual(gamma(4.0), 6.0) doAssert almostEqual(gamma(11.0), 3628800.0)   Source   Edit @@ -1756,7 +1756,7 @@

Procs

doAssert gcd(12, 8) == 4
 doAssert gcd(17, 63) == 1
  Source   Edit @@ -1776,7 +1776,7 @@

Procs

Example:

doAssert gcd(13.5, 9.0) == 4.5
  Source   Edit @@ -1794,7 +1794,7 @@

Procs

Example:

doAssert gcd(@[13.5, 9.0]) == 4.5
  Source   Edit @@ -1807,7 +1807,7 @@

Procs

  Source   Edit @@ -1822,7 +1822,7 @@

Procs

Example:

doAssert almostEqual(hypot(3.0, 4.0), 5.0)
  Source   Edit @@ -1838,7 +1838,7 @@

Procs

doAssert not Inf.isNaN doAssert not isNaN(3.1415926)   Source   Edit @@ -1860,7 +1860,7 @@

Procs

doAssert not isPowerOfTwo(0) doAssert not isPowerOfTwo(-16)   Source   Edit @@ -1879,7 +1879,7 @@

Procs

doAssert lcm(24, 30) == 120
 doAssert lcm(13, 39) == 39
  Source   Edit @@ -1897,7 +1897,7 @@

Procs

Example:

doAssert lcm(@[24, 30]) == 120
  Source   Edit @@ -1910,7 +1910,7 @@

Procs

  Source   Edit @@ -1928,7 +1928,7 @@

Procs

  Source   Edit @@ -1941,7 +1941,7 @@

Procs

  Source   Edit @@ -1966,7 +1966,7 @@

Procs

doAssert almostEqual(ln(0.0), -Inf) doAssert ln(-7.0).isNaN   Source   Edit @@ -1979,7 +1979,7 @@

Procs

  Source   Edit @@ -2003,7 +2003,7 @@

Procs

doAssert almostEqual(log2(0.0), -Inf) doAssert log2(-2.0).isNaN   Source   Edit @@ -2016,7 +2016,7 @@

Procs

  Source   Edit @@ -2039,7 +2039,7 @@

Procs

doAssert almostEqual(log10(0.0), -Inf) doAssert log10(-100.0).isNaN   Source   Edit @@ -2062,7 +2062,7 @@

Procs

doAssert log(-7.0, 4.0).isNaN doAssert log(8.0, -2.0).isNaN   Source   Edit @@ -2084,7 +2084,7 @@

Procs

doAssert nextPowerOfTwo(0) == 1 doAssert nextPowerOfTwo(-16) == 1   Source   Edit @@ -2097,7 +2097,7 @@

Procs

  Source   Edit @@ -2120,7 +2120,7 @@

Procs

doAssert almostEqual(pow(100, 1.5), 1000.0)
 doAssert almostEqual(pow(16.0, 0.5), 4.0)
  Source   Edit @@ -2141,7 +2141,7 @@

Procs

doAssert prod([1, 2, 3, 4]) == 24
 doAssert prod([-4, 3, 5]) == -60
  Source   Edit @@ -2159,7 +2159,7 @@

Procs

Example:

doAssert almostEqual(radToDeg(2 * PI), 360.0)
  Source   Edit @@ -2172,7 +2172,7 @@

Procs

  Source   Edit @@ -2197,7 +2197,7 @@

Procs

doAssert round(3.5) == 4.0 doAssert round(4.5) == 5.0   Source   Edit @@ -2214,7 +2214,7 @@

Procs

doAssert round(PI, 2) == 3.14
 doAssert round(PI, 4) == 3.1416
  Source   Edit @@ -2226,7 +2226,7 @@

Procs

Computes the secant of x (1/cos(x)).   Source   Edit @@ -2238,7 +2238,7 @@

Procs

Computes the hyperbolic secant of x (1/cosh(x)).   Source   Edit @@ -2260,7 +2260,7 @@

Procs

doAssert sgn(0) == 0 doAssert sgn(-4.1) == -1   Source   Edit @@ -2277,7 +2277,7 @@

Procs

doAssert signbit(-0.1) doAssert not signbit(0.1)   Source   Edit @@ -2290,7 +2290,7 @@

Procs

  Source   Edit @@ -2310,7 +2310,7 @@

Procs

doAssert almostEqual(sin(PI / 6), 0.5)
 doAssert almostEqual(sin(degToRad(90.0)), 1.0)
  Source   Edit @@ -2323,7 +2323,7 @@

Procs

  Source   Edit @@ -2343,7 +2343,7 @@

Procs

doAssert almostEqual(sinh(0.0), 0.0)
 doAssert almostEqual(sinh(1.0), 1.175201193643801)
  Source   Edit @@ -2361,7 +2361,7 @@

Procs

doAssert splitDecimal(5.25) == (intpart: 5.0, floatpart: 0.25)
 doAssert splitDecimal(-2.73) == (intpart: -2.0, floatpart: -0.73)
  Source   Edit @@ -2374,7 +2374,7 @@

Procs

  Source   Edit @@ -2394,7 +2394,7 @@

Procs

doAssert almostEqual(sqrt(4.0), 2.0)
 doAssert almostEqual(sqrt(1.44), 1.2)
  Source   Edit @@ -2416,7 +2416,7 @@

Procs

doAssert sum([1, 2, 3, 4]) == 10
 doAssert sum([-4, 3, 5]) == 4
  Source   Edit @@ -2429,7 +2429,7 @@

Procs

  Source   Edit @@ -2449,7 +2449,7 @@

Procs

doAssert almostEqual(tan(degToRad(45.0)), 1.0)
 doAssert almostEqual(tan(PI / 4), 1.0)
  Source   Edit @@ -2462,7 +2462,7 @@

Procs

  Source   Edit @@ -2482,7 +2482,7 @@

Procs

doAssert almostEqual(tanh(0.0), 0.0)
 doAssert almostEqual(tanh(1.0), 0.7615941559557649)
  Source   Edit @@ -2495,7 +2495,7 @@

Procs

  Source   Edit @@ -2517,7 +2517,7 @@

Procs

doAssert trunc(PI) == 3.0
 doAssert trunc(-1.85) == -1.0
  Source   Edit diff --git a/md5.html b/md5.html index f98f2c27d06..5ce87de4ee5 100644 --- a/md5.html +++ b/md5.html @@ -155,7 +155,7 @@

pure/md5

  Source   Edit @@ -183,7 +183,7 @@

Types

  Source   Edit @@ -195,7 +195,7 @@

Types

MD5 checksum of a string, obtained with the toMD5 proc.   Source   Edit @@ -212,7 +212,7 @@

Procs

Converts a MD5Digest value into its string representation.   Source   Edit @@ -224,7 +224,7 @@

Procs

Checks if two MD5Digest values are identical.   Source   Edit @@ -242,7 +242,7 @@

Procs

Example:

assert getMD5("abc") == "900150983cd24fb0d6963f7d28e17f72"
  Source   Edit @@ -257,7 +257,7 @@

Procs

If you use the toMD5 proc, there's no need to call this function explicitly.

  Source   Edit @@ -271,7 +271,7 @@

Procs

If you use the toMD5 proc, there's no need to call this function explicitly.

  Source   Edit @@ -286,7 +286,7 @@

Procs

If you use the toMD5 proc, there's no need to call this function explicitly.

  Source   Edit @@ -305,7 +305,7 @@

Procs

Example:

assert $toMD5("abc") == "900150983cd24fb0d6963f7d28e17f72"
  Source   Edit diff --git a/memfiles.html b/memfiles.html index 84beb138f82..8af4bfb42ee 100644 --- a/memfiles.html +++ b/memfiles.html @@ -215,7 +215,7 @@

pure/memfiles

  Source   Edit @@ -257,7 +257,7 @@

Types

represents a memory mapped file   Source   Edit @@ -269,7 +269,7 @@

Types

a stream that encapsulates a MemFile   Source   Edit @@ -285,7 +285,7 @@

Types

  Source   Edit @@ -300,7 +300,7 @@

Types

represent slice of a MemFile for iteration over delimited lines/records   Source   Edit @@ -317,7 +317,7 @@

Procs

Return a Nim string built from a MemSlice.   Source   Edit @@ -329,7 +329,7 @@

Procs

Compare a pair of MemSlice for strict equality.   Source   Edit @@ -341,7 +341,7 @@

Procs

closes the memory mapped file f. All changes are written back to the file system, if f was opened with write access.   Source   Edit @@ -353,7 +353,7 @@

Procs

Flushes f's buffer for the number of attempts equal to attempts. If were errors an exception OSError will be raised.   Source   Edit @@ -369,7 +369,7 @@

Procs

mappedSize of -1 maps to the whole file, and offset must be multiples of the PAGE SIZE of your OS

  Source   Edit @@ -383,7 +383,7 @@

Procs

creates a new stream from the file named filename with the mode mode. Raises ## OSError if the file cannot be opened. See the system module for a list of available FileMode enums. fileSize can only be set if the file does not exist and is opened with write access (e.g., with fmReadWrite).   Source   Edit @@ -414,7 +414,7 @@

Procs

# Read the first 512 bytes mm_half = memfiles.open("/tmp/test.mmap", mode = fmReadWrite, mappedSize = 512)   Source   Edit @@ -427,7 +427,7 @@

Procs

resize and re-map the file underlying an allowRemap MemFile. Note: this assumes the entire file is mapped read-write at offset zero. Also, the value of .mem will probably change. Note: This is not (yet) available on Windows.   Source   Edit @@ -442,7 +442,7 @@

Procs

size must be of exactly the size that was requested via mapMem.

  Source   Edit @@ -464,7 +464,7 @@

Iterators

for line in lines(memfiles.open("foo"), buffer): echo line   Source   Edit @@ -480,7 +480,7 @@

Iterators

for line in lines(memfiles.open("foo")):
   echo line
  Source   Edit @@ -503,7 +503,7 @@

Iterators

inc(count) echo count   Source   Edit diff --git a/mersenne.html b/mersenne.html index b0aee238f41..a29ebed2d22 100644 --- a/mersenne.html +++ b/mersenne.html @@ -126,7 +126,7 @@

pure/mersenne

  Source   Edit @@ -153,7 +153,7 @@

Types

The Mersenne Twister.   Source   Edit @@ -170,7 +170,7 @@

Procs

Returns the next pseudorandom uint32.   Source   Edit @@ -182,7 +182,7 @@

Procs

Creates a new MersenneTwister with seed seed.   Source   Edit diff --git a/mimetypes.html b/mimetypes.html index 4053a2c870d..eb946406da1 100644 --- a/mimetypes.html +++ b/mimetypes.html @@ -1435,7 +1435,7 @@

pure/mimetypes

  Source   Edit @@ -1476,7 +1476,7 @@

Types

  Source   Edit @@ -2779,7 +2779,7 @@

Consts

  Source   Edit @@ -2797,7 +2797,7 @@

Procs

Gets extension which corresponds to mimetype. Returns default if mimetype could not be found. Extensions are returned without the leading dot. mimetype is lowercased before querying mimedb.   Source   Edit @@ -2810,7 +2810,7 @@

Procs

Gets mimetype which corresponds to ext. Returns default if ext could not be found. ext can start with an optional dot which is ignored. ext is lowercased before querying mimedb.   Source   Edit @@ -2822,7 +2822,7 @@

Procs

Creates a new Mimetypes database. The database will contain the most common mimetypes.   Source   Edit @@ -2835,7 +2835,7 @@

Procs

Adds mimetype to the mimedb. mimetype and ext are lowercased before registering on mimedb.   Source   Edit diff --git a/miscdollars.html b/miscdollars.html index cad8aea818b..b094bfebb9f 100644 --- a/miscdollars.html +++ b/miscdollars.html @@ -117,7 +117,7 @@

std/private/miscdollars

  Source   Edit @@ -140,7 +140,7 @@

Templates

avoids spurious allocations   Source   Edit diff --git a/moderation.html b/moderation.html index 45074105bdb..add45b22335 100644 --- a/moderation.html +++ b/moderation.html @@ -113,7 +113,7 @@

Moderation

  Source   Edit diff --git a/monotimes.html b/monotimes.html index 0566291b666..35e37c49c75 100644 --- a/monotimes.html +++ b/monotimes.html @@ -174,7 +174,7 @@

std/monotimes

  Source   Edit @@ -209,7 +209,7 @@

Types

Represents a monotonic timestamp.   Source   Edit @@ -226,7 +226,7 @@

Procs

  Source   Edit @@ -238,7 +238,7 @@

Procs

Increases a by b.   Source   Edit @@ -250,7 +250,7 @@

Procs

Returns the difference between two MonoTime timestamps as a Duration.   Source   Edit @@ -262,7 +262,7 @@

Procs

Reduces a by b.   Source   Edit @@ -274,7 +274,7 @@

Procs

Returns true if a happened before b or if they happened simultaneous.   Source   Edit @@ -286,7 +286,7 @@

Procs

Returns true if a happened before b.   Source   Edit @@ -298,7 +298,7 @@

Procs

Returns true if a and b happened simultaneous.   Source   Edit @@ -312,7 +312,7 @@

Procs

When compiled with the JS backend and executed in a browser, this proc calls window.performance.now(). See MDN for more information.

  Source   Edit @@ -324,7 +324,7 @@

Procs

Returns the highest representable MonoTime.   Source   Edit @@ -336,7 +336,7 @@

Procs

Returns the lowest representable MonoTime.   Source   Edit @@ -348,7 +348,7 @@

Procs

Returns the raw ticks value from a MonoTime. This value always uses nanosecond time resolution.   Source   Edit diff --git a/mysql.html b/mysql.html index e543d89de06..914a67612a3 100644 --- a/mysql.html +++ b/mysql.html @@ -1774,7 +1774,7 @@

wrappers/mysql

  Source   Edit @@ -1791,7 +1791,7 @@

Types

  Source   Edit @@ -1812,7 +1812,7 @@

Types

  Source   Edit @@ -1824,7 +1824,7 @@

Types

  Source   Edit @@ -1863,7 +1863,7 @@

Types

  Source   Edit @@ -1875,7 +1875,7 @@

Types

  Source   Edit @@ -1887,7 +1887,7 @@

Types

  Source   Edit @@ -1899,7 +1899,7 @@

Types

  Source   Edit @@ -1913,7 +1913,7 @@

Types

  Source   Edit @@ -1931,7 +1931,7 @@

Types

  Source   Edit @@ -1944,7 +1944,7 @@

Types

  Source   Edit @@ -1957,7 +1957,7 @@

Types

  Source   Edit @@ -1976,7 +1976,7 @@

Types

  Source   Edit @@ -1992,7 +1992,7 @@

Types

  Source   Edit @@ -2005,7 +2005,7 @@

Types

  Source   Edit @@ -2017,7 +2017,7 @@

Types

  Source   Edit @@ -2029,7 +2029,7 @@

Types

  Source   Edit @@ -2041,7 +2041,7 @@

Types

  Source   Edit @@ -2054,7 +2054,7 @@

Types

  Source   Edit @@ -2066,7 +2066,7 @@

Types

  Source   Edit @@ -2078,7 +2078,7 @@

Types

  Source   Edit @@ -2090,7 +2090,7 @@

Types

  Source   Edit @@ -2102,7 +2102,7 @@

Types

  Source   Edit @@ -2114,7 +2114,7 @@

Types

  Source   Edit @@ -2126,7 +2126,7 @@

Types

  Source   Edit @@ -2138,7 +2138,7 @@

Types

  Source   Edit @@ -2150,7 +2150,7 @@

Types

  Source   Edit @@ -2162,7 +2162,7 @@

Types

  Source   Edit @@ -2180,7 +2180,7 @@

Types

  Source   Edit @@ -2192,7 +2192,7 @@

Types

  Source   Edit @@ -2204,7 +2204,7 @@

Types

  Source   Edit @@ -2216,7 +2216,7 @@

Types

  Source   Edit @@ -2228,7 +2228,7 @@

Types

  Source   Edit @@ -2240,7 +2240,7 @@

Types

  Source   Edit @@ -2252,7 +2252,7 @@

Types

  Source   Edit @@ -2264,7 +2264,7 @@

Types

  Source   Edit @@ -2276,7 +2276,7 @@

Types

  Source   Edit @@ -2288,7 +2288,7 @@

Types

  Source   Edit @@ -2300,7 +2300,7 @@

Types

  Source   Edit @@ -2312,7 +2312,7 @@

Types

  Source   Edit @@ -2324,7 +2324,7 @@

Types

  Source   Edit @@ -2336,7 +2336,7 @@

Types

  Source   Edit @@ -2348,7 +2348,7 @@

Types

  Source   Edit @@ -2360,7 +2360,7 @@

Types

  Source   Edit @@ -2372,7 +2372,7 @@

Types

  Source   Edit @@ -2384,7 +2384,7 @@

Types

  Source   Edit @@ -2396,7 +2396,7 @@

Types

  Source   Edit @@ -2408,7 +2408,7 @@

Types

  Source   Edit @@ -2420,7 +2420,7 @@

Types

  Source   Edit @@ -2432,7 +2432,7 @@

Types

  Source   Edit @@ -2444,7 +2444,7 @@

Types

  Source   Edit @@ -2458,7 +2458,7 @@

Types

  Source   Edit @@ -2470,7 +2470,7 @@

Types

  Source   Edit @@ -2482,7 +2482,7 @@

Types

  Source   Edit @@ -2494,7 +2494,7 @@

Types

  Source   Edit @@ -2506,7 +2506,7 @@

Types

  Source   Edit @@ -2518,7 +2518,7 @@

Types

  Source   Edit @@ -2530,7 +2530,7 @@

Types

  Source   Edit @@ -2542,7 +2542,7 @@

Types

  Source   Edit @@ -2554,7 +2554,7 @@

Types

  Source   Edit @@ -2566,7 +2566,7 @@

Types

  Source   Edit @@ -2578,7 +2578,7 @@

Types

  Source   Edit @@ -2590,7 +2590,7 @@

Types

  Source   Edit @@ -2602,7 +2602,7 @@

Types

  Source   Edit @@ -2614,7 +2614,7 @@

Types

  Source   Edit @@ -2626,7 +2626,7 @@

Types

  Source   Edit @@ -2638,7 +2638,7 @@

Types

  Source   Edit @@ -2650,7 +2650,7 @@

Types

  Source   Edit @@ -2662,7 +2662,7 @@

Types

  Source   Edit @@ -2674,7 +2674,7 @@

Types

  Source   Edit @@ -2686,7 +2686,7 @@

Types

  Source   Edit @@ -2698,7 +2698,7 @@

Types

  Source   Edit @@ -2710,7 +2710,7 @@

Types

  Source   Edit @@ -2722,7 +2722,7 @@

Types

  Source   Edit @@ -2734,7 +2734,7 @@

Types

  Source   Edit @@ -2746,7 +2746,7 @@

Types

  Source   Edit @@ -2758,7 +2758,7 @@

Types

  Source   Edit @@ -2770,7 +2770,7 @@

Types

  Source   Edit @@ -2787,7 +2787,7 @@

Types

  Source   Edit @@ -2799,7 +2799,7 @@

Types

  Source   Edit @@ -2811,7 +2811,7 @@

Types

  Source   Edit @@ -2823,7 +2823,7 @@

Types

  Source   Edit @@ -2835,7 +2835,7 @@

Types

  Source   Edit @@ -2848,7 +2848,7 @@

Types

  Source   Edit @@ -2860,7 +2860,7 @@

Types

  Source   Edit @@ -2878,7 +2878,7 @@

Types

  Source   Edit @@ -2899,7 +2899,7 @@

Types

  Source   Edit @@ -2952,7 +2952,7 @@

Types

  Source   Edit @@ -2983,7 +2983,7 @@

Types

  Source   Edit @@ -3001,7 +3001,7 @@

Types

  Source   Edit @@ -3035,7 +3035,7 @@

Types

  Source   Edit @@ -3062,7 +3062,7 @@

Types

  Source   Edit @@ -3093,7 +3093,7 @@

Types

  Source   Edit @@ -3146,7 +3146,7 @@

Types

  Source   Edit @@ -3161,7 +3161,7 @@

Types

  Source   Edit @@ -3188,7 +3188,7 @@

Types

  Source   Edit @@ -3204,7 +3204,7 @@

Types

  Source   Edit @@ -3242,7 +3242,7 @@

Types

  Source   Edit @@ -3287,7 +3287,7 @@

Types

  Source   Edit @@ -3307,7 +3307,7 @@

Types

  Source   Edit @@ -3325,7 +3325,7 @@

Types

  Source   Edit @@ -3341,7 +3341,7 @@

Types

  Source   Edit @@ -3354,7 +3354,7 @@

Types

  Source   Edit @@ -3366,7 +3366,7 @@

Types

  Source   Edit @@ -3378,7 +3378,7 @@

Types

  Source   Edit @@ -3390,7 +3390,7 @@

Types

  Source   Edit @@ -3402,7 +3402,7 @@

Types

  Source   Edit @@ -3419,7 +3419,7 @@

Consts

  Source   Edit @@ -3431,7 +3431,7 @@

Consts

  Source   Edit @@ -3443,7 +3443,7 @@

Consts

  Source   Edit @@ -3455,7 +3455,7 @@

Consts

  Source   Edit @@ -3467,7 +3467,7 @@

Consts

  Source   Edit @@ -3479,7 +3479,7 @@

Consts

  Source   Edit @@ -3491,7 +3491,7 @@

Consts

  Source   Edit @@ -3503,7 +3503,7 @@

Consts

  Source   Edit @@ -3515,7 +3515,7 @@

Consts

  Source   Edit @@ -3527,7 +3527,7 @@

Consts

  Source   Edit @@ -3539,7 +3539,7 @@

Consts

  Source   Edit @@ -3551,7 +3551,7 @@

Consts

  Source   Edit @@ -3563,7 +3563,7 @@

Consts

  Source   Edit @@ -3575,7 +3575,7 @@

Consts

  Source   Edit @@ -3587,7 +3587,7 @@

Consts

  Source   Edit @@ -3599,7 +3599,7 @@

Consts

  Source   Edit @@ -3611,7 +3611,7 @@

Consts

  Source   Edit @@ -3623,7 +3623,7 @@

Consts

  Source   Edit @@ -3635,7 +3635,7 @@

Consts

  Source   Edit @@ -3647,7 +3647,7 @@

Consts

  Source   Edit @@ -3659,7 +3659,7 @@

Consts

  Source   Edit @@ -3671,7 +3671,7 @@

Consts

  Source   Edit @@ -3683,7 +3683,7 @@

Consts

  Source   Edit @@ -3695,7 +3695,7 @@

Consts

  Source   Edit @@ -3707,7 +3707,7 @@

Consts

  Source   Edit @@ -3719,7 +3719,7 @@

Consts

  Source   Edit @@ -3731,7 +3731,7 @@

Consts

  Source   Edit @@ -3743,7 +3743,7 @@

Consts

  Source   Edit @@ -3755,7 +3755,7 @@

Consts

  Source   Edit @@ -3767,7 +3767,7 @@

Consts

  Source   Edit @@ -3779,7 +3779,7 @@

Consts

  Source   Edit @@ -3791,7 +3791,7 @@

Consts

  Source   Edit @@ -3803,7 +3803,7 @@

Consts

  Source   Edit @@ -3815,7 +3815,7 @@

Consts

  Source   Edit @@ -3827,7 +3827,7 @@

Consts

  Source   Edit @@ -3839,7 +3839,7 @@

Consts

  Source   Edit @@ -3851,7 +3851,7 @@

Consts

  Source   Edit @@ -3863,7 +3863,7 @@

Consts

  Source   Edit @@ -3875,7 +3875,7 @@

Consts

  Source   Edit @@ -3887,7 +3887,7 @@

Consts

  Source   Edit @@ -3899,7 +3899,7 @@

Consts

  Source   Edit @@ -3911,7 +3911,7 @@

Consts

  Source   Edit @@ -3923,7 +3923,7 @@

Consts

  Source   Edit @@ -3935,7 +3935,7 @@

Consts

  Source   Edit @@ -3947,7 +3947,7 @@

Consts

  Source   Edit @@ -3959,7 +3959,7 @@

Consts

  Source   Edit @@ -3971,7 +3971,7 @@

Consts

  Source   Edit @@ -3983,7 +3983,7 @@

Consts

  Source   Edit @@ -3995,7 +3995,7 @@

Consts

  Source   Edit @@ -4007,7 +4007,7 @@

Consts

  Source   Edit @@ -4019,7 +4019,7 @@

Consts

  Source   Edit @@ -4031,7 +4031,7 @@

Consts

  Source   Edit @@ -4043,7 +4043,7 @@

Consts

  Source   Edit @@ -4055,7 +4055,7 @@

Consts

  Source   Edit @@ -4067,7 +4067,7 @@

Consts

  Source   Edit @@ -4079,7 +4079,7 @@

Consts

  Source   Edit @@ -4091,7 +4091,7 @@

Consts

  Source   Edit @@ -4103,7 +4103,7 @@

Consts

  Source   Edit @@ -4115,7 +4115,7 @@

Consts

  Source   Edit @@ -4127,7 +4127,7 @@

Consts

  Source   Edit @@ -4139,7 +4139,7 @@

Consts

  Source   Edit @@ -4151,7 +4151,7 @@

Consts

  Source   Edit @@ -4163,7 +4163,7 @@

Consts

  Source   Edit @@ -4175,7 +4175,7 @@

Consts

  Source   Edit @@ -4187,7 +4187,7 @@

Consts

  Source   Edit @@ -4199,7 +4199,7 @@

Consts

  Source   Edit @@ -4211,7 +4211,7 @@

Consts

  Source   Edit @@ -4223,7 +4223,7 @@

Consts

  Source   Edit @@ -4235,7 +4235,7 @@

Consts

  Source   Edit @@ -4247,7 +4247,7 @@

Consts

  Source   Edit @@ -4259,7 +4259,7 @@

Consts

  Source   Edit @@ -4271,7 +4271,7 @@

Consts

  Source   Edit @@ -4283,7 +4283,7 @@

Consts

  Source   Edit @@ -4295,7 +4295,7 @@

Consts

  Source   Edit @@ -4307,7 +4307,7 @@

Consts

  Source   Edit @@ -4319,7 +4319,7 @@

Consts

  Source   Edit @@ -4331,7 +4331,7 @@

Consts

  Source   Edit @@ -4343,7 +4343,7 @@

Consts

  Source   Edit @@ -4355,7 +4355,7 @@

Consts

  Source   Edit @@ -4367,7 +4367,7 @@

Consts

  Source   Edit @@ -4379,7 +4379,7 @@

Consts

  Source   Edit @@ -4391,7 +4391,7 @@

Consts

  Source   Edit @@ -4403,7 +4403,7 @@

Consts

  Source   Edit @@ -4415,7 +4415,7 @@

Consts

  Source   Edit @@ -4427,7 +4427,7 @@

Consts

  Source   Edit @@ -4439,7 +4439,7 @@

Consts

  Source   Edit @@ -4451,7 +4451,7 @@

Consts

  Source   Edit @@ -4463,7 +4463,7 @@

Consts

  Source   Edit @@ -4475,7 +4475,7 @@

Consts

  Source   Edit @@ -4487,7 +4487,7 @@

Consts

  Source   Edit @@ -4499,7 +4499,7 @@

Consts

  Source   Edit @@ -4511,7 +4511,7 @@

Consts

  Source   Edit @@ -4523,7 +4523,7 @@

Consts

  Source   Edit @@ -4535,7 +4535,7 @@

Consts

  Source   Edit @@ -4547,7 +4547,7 @@

Consts

  Source   Edit @@ -4559,7 +4559,7 @@

Consts

  Source   Edit @@ -4571,7 +4571,7 @@

Consts

  Source   Edit @@ -4583,7 +4583,7 @@

Consts

  Source   Edit @@ -4595,7 +4595,7 @@

Consts

  Source   Edit @@ -4607,7 +4607,7 @@

Consts

  Source   Edit @@ -4619,7 +4619,7 @@

Consts

  Source   Edit @@ -4631,7 +4631,7 @@

Consts

  Source   Edit @@ -4643,7 +4643,7 @@

Consts

  Source   Edit @@ -4655,7 +4655,7 @@

Consts

  Source   Edit @@ -4667,7 +4667,7 @@

Consts

  Source   Edit @@ -4679,7 +4679,7 @@

Consts

  Source   Edit @@ -4691,7 +4691,7 @@

Consts

  Source   Edit @@ -4703,7 +4703,7 @@

Consts

  Source   Edit @@ -4715,7 +4715,7 @@

Consts

  Source   Edit @@ -4727,7 +4727,7 @@

Consts

  Source   Edit @@ -4739,7 +4739,7 @@

Consts

  Source   Edit @@ -4751,7 +4751,7 @@

Consts

  Source   Edit @@ -4763,7 +4763,7 @@

Consts

  Source   Edit @@ -4775,7 +4775,7 @@

Consts

  Source   Edit @@ -4787,7 +4787,7 @@

Consts

  Source   Edit @@ -4799,7 +4799,7 @@

Consts

  Source   Edit @@ -4811,7 +4811,7 @@

Consts

  Source   Edit @@ -4823,7 +4823,7 @@

Consts

  Source   Edit @@ -4835,7 +4835,7 @@

Consts

  Source   Edit @@ -4847,7 +4847,7 @@

Consts

  Source   Edit @@ -4859,7 +4859,7 @@

Consts

  Source   Edit @@ -4871,7 +4871,7 @@

Consts

  Source   Edit @@ -4883,7 +4883,7 @@

Consts

  Source   Edit @@ -4895,7 +4895,7 @@

Consts

  Source   Edit @@ -4907,7 +4907,7 @@

Consts

  Source   Edit @@ -4919,7 +4919,7 @@

Consts

  Source   Edit @@ -4931,7 +4931,7 @@

Consts

  Source   Edit @@ -4943,7 +4943,7 @@

Consts

  Source   Edit @@ -4955,7 +4955,7 @@

Consts

  Source   Edit @@ -4967,7 +4967,7 @@

Consts

  Source   Edit @@ -4979,7 +4979,7 @@

Consts

  Source   Edit @@ -4991,7 +4991,7 @@

Consts

  Source   Edit @@ -5003,7 +5003,7 @@

Consts

  Source   Edit @@ -5015,7 +5015,7 @@

Consts

  Source   Edit @@ -5027,7 +5027,7 @@

Consts

  Source   Edit @@ -5039,7 +5039,7 @@

Consts

  Source   Edit @@ -5051,7 +5051,7 @@

Consts

  Source   Edit @@ -5063,7 +5063,7 @@

Consts

  Source   Edit @@ -5075,7 +5075,7 @@

Consts

  Source   Edit @@ -5087,7 +5087,7 @@

Consts

  Source   Edit @@ -5107,7 +5107,7 @@

Procs

  Source   Edit @@ -5120,7 +5120,7 @@

Procs

  Source   Edit @@ -5133,7 +5133,7 @@

Procs

  Source   Edit @@ -5146,7 +5146,7 @@

Procs

  Source   Edit @@ -5159,7 +5159,7 @@

Procs

  Source   Edit @@ -5172,7 +5172,7 @@

Procs

  Source   Edit @@ -5185,7 +5185,7 @@

Procs

  Source   Edit @@ -5198,7 +5198,7 @@

Procs

  Source   Edit @@ -5212,7 +5212,7 @@

Procs

  Source   Edit @@ -5225,7 +5225,7 @@

Procs

  Source   Edit @@ -5238,7 +5238,7 @@

Procs

  Source   Edit @@ -5251,7 +5251,7 @@

Procs

  Source   Edit @@ -5264,7 +5264,7 @@

Procs

  Source   Edit @@ -5278,7 +5278,7 @@

Procs

  Source   Edit @@ -5291,7 +5291,7 @@

Procs

  Source   Edit @@ -5304,7 +5304,7 @@

Procs

  Source   Edit @@ -5317,7 +5317,7 @@

Procs

  Source   Edit @@ -5331,7 +5331,7 @@

Procs

  Source   Edit @@ -5344,7 +5344,7 @@

Procs

  Source   Edit @@ -5357,7 +5357,7 @@

Procs

  Source   Edit @@ -5370,7 +5370,7 @@

Procs

  Source   Edit @@ -5384,7 +5384,7 @@

Procs

  Source   Edit @@ -5397,7 +5397,7 @@

Procs

  Source   Edit @@ -5410,7 +5410,7 @@

Procs

  Source   Edit @@ -5423,7 +5423,7 @@

Procs

  Source   Edit @@ -5437,7 +5437,7 @@

Procs

  Source   Edit @@ -5450,7 +5450,7 @@

Procs

  Source   Edit @@ -5464,7 +5464,7 @@

Procs

  Source   Edit @@ -5477,7 +5477,7 @@

Procs

  Source   Edit @@ -5490,7 +5490,7 @@

Procs

  Source   Edit @@ -5503,7 +5503,7 @@

Procs

  Source   Edit @@ -5517,7 +5517,7 @@

Procs

  Source   Edit @@ -5530,7 +5530,7 @@

Procs

  Source   Edit @@ -5544,7 +5544,7 @@

Procs

  Source   Edit @@ -5558,7 +5558,7 @@

Procs

  Source   Edit @@ -5571,7 +5571,7 @@

Procs

  Source   Edit @@ -5585,7 +5585,7 @@

Procs

  Source   Edit @@ -5598,7 +5598,7 @@

Procs

  Source   Edit @@ -5611,7 +5611,7 @@

Procs

  Source   Edit @@ -5624,7 +5624,7 @@

Procs

  Source   Edit @@ -5637,7 +5637,7 @@

Procs

  Source   Edit @@ -5650,7 +5650,7 @@

Procs

  Source   Edit @@ -5663,7 +5663,7 @@

Procs

  Source   Edit @@ -5676,7 +5676,7 @@

Procs

  Source   Edit @@ -5689,7 +5689,7 @@

Procs

  Source   Edit @@ -5702,7 +5702,7 @@

Procs

  Source   Edit @@ -5715,7 +5715,7 @@

Procs

  Source   Edit @@ -5728,7 +5728,7 @@

Procs

  Source   Edit @@ -5740,7 +5740,7 @@

Procs

  Source   Edit @@ -5752,7 +5752,7 @@

Procs

  Source   Edit @@ -5764,7 +5764,7 @@

Procs

  Source   Edit @@ -5776,7 +5776,7 @@

Procs

  Source   Edit @@ -5788,7 +5788,7 @@

Procs

  Source   Edit @@ -5800,7 +5800,7 @@

Procs

  Source   Edit @@ -5813,7 +5813,7 @@

Procs

  Source   Edit @@ -5826,7 +5826,7 @@

Procs

  Source   Edit @@ -5839,7 +5839,7 @@

Procs

  Source   Edit @@ -5852,7 +5852,7 @@

Procs

  Source   Edit @@ -5865,7 +5865,7 @@

Procs

  Source   Edit @@ -5878,7 +5878,7 @@

Procs

  Source   Edit @@ -5891,7 +5891,7 @@

Procs

  Source   Edit @@ -5905,7 +5905,7 @@

Procs

  Source   Edit @@ -5918,7 +5918,7 @@

Procs

  Source   Edit @@ -5931,7 +5931,7 @@

Procs

  Source   Edit @@ -5944,7 +5944,7 @@

Procs

  Source   Edit @@ -5957,7 +5957,7 @@

Procs

  Source   Edit @@ -5971,7 +5971,7 @@

Procs

  Source   Edit @@ -5984,7 +5984,7 @@

Procs

  Source   Edit @@ -5998,7 +5998,7 @@

Procs

  Source   Edit @@ -6012,7 +6012,7 @@

Procs

  Source   Edit @@ -6025,7 +6025,7 @@

Procs

  Source   Edit @@ -6038,7 +6038,7 @@

Procs

  Source   Edit @@ -6051,7 +6051,7 @@

Procs

  Source   Edit @@ -6066,7 +6066,7 @@

Procs

  Source   Edit @@ -6079,7 +6079,7 @@

Procs

  Source   Edit @@ -6092,7 +6092,7 @@

Procs

  Source   Edit @@ -6105,7 +6105,7 @@

Procs

  Source   Edit @@ -6118,7 +6118,7 @@

Procs

  Source   Edit @@ -6132,7 +6132,7 @@

Procs

  Source   Edit @@ -6145,7 +6145,7 @@

Procs

  Source   Edit @@ -6158,7 +6158,7 @@

Procs

  Source   Edit @@ -6171,7 +6171,7 @@

Procs

  Source   Edit @@ -6184,7 +6184,7 @@

Procs

  Source   Edit @@ -6197,7 +6197,7 @@

Procs

  Source   Edit @@ -6210,7 +6210,7 @@

Procs

  Source   Edit @@ -6223,7 +6223,7 @@

Procs

  Source   Edit @@ -6236,7 +6236,7 @@

Procs

  Source   Edit @@ -6249,7 +6249,7 @@

Procs

  Source   Edit @@ -6262,7 +6262,7 @@

Procs

  Source   Edit @@ -6275,7 +6275,7 @@

Procs

  Source   Edit @@ -6288,7 +6288,7 @@

Procs

  Source   Edit @@ -6302,7 +6302,7 @@

Procs

  Source   Edit @@ -6316,7 +6316,7 @@

Procs

  Source   Edit @@ -6330,7 +6330,7 @@

Procs

  Source   Edit @@ -6343,7 +6343,7 @@

Procs

  Source   Edit @@ -6356,7 +6356,7 @@

Procs

  Source   Edit @@ -6369,7 +6369,7 @@

Procs

  Source   Edit @@ -6382,7 +6382,7 @@

Procs

  Source   Edit @@ -6395,7 +6395,7 @@

Procs

  Source   Edit @@ -6408,7 +6408,7 @@

Procs

  Source   Edit @@ -6421,7 +6421,7 @@

Procs

  Source   Edit @@ -6434,7 +6434,7 @@

Procs

  Source   Edit @@ -6449,7 +6449,7 @@

Procs

  Source   Edit @@ -6463,7 +6463,7 @@

Procs

  Source   Edit @@ -6476,7 +6476,7 @@

Procs

  Source   Edit @@ -6489,7 +6489,7 @@

Procs

  Source   Edit @@ -6501,7 +6501,7 @@

Procs

  Source   Edit @@ -6515,7 +6515,7 @@

Procs

  Source   Edit @@ -6528,7 +6528,7 @@

Procs

  Source   Edit @@ -6542,7 +6542,7 @@

Procs

  Source   Edit @@ -6555,7 +6555,7 @@

Procs

  Source   Edit @@ -6568,7 +6568,7 @@

Procs

  Source   Edit @@ -6581,7 +6581,7 @@

Procs

  Source   Edit @@ -6594,7 +6594,7 @@

Procs

  Source   Edit @@ -6607,7 +6607,7 @@

Procs

  Source   Edit @@ -6620,7 +6620,7 @@

Procs

  Source   Edit @@ -6633,7 +6633,7 @@

Procs

  Source   Edit @@ -6646,7 +6646,7 @@

Procs

  Source   Edit @@ -6659,7 +6659,7 @@

Procs

  Source   Edit @@ -6672,7 +6672,7 @@

Procs

  Source   Edit @@ -6685,7 +6685,7 @@

Procs

  Source   Edit @@ -6699,7 +6699,7 @@

Procs

  Source   Edit @@ -6713,7 +6713,7 @@

Procs

  Source   Edit @@ -6726,7 +6726,7 @@

Procs

  Source   Edit @@ -6739,7 +6739,7 @@

Procs

  Source   Edit @@ -6752,7 +6752,7 @@

Procs

  Source   Edit @@ -6766,7 +6766,7 @@

Procs

  Source   Edit @@ -6780,7 +6780,7 @@

Procs

  Source   Edit @@ -6793,7 +6793,7 @@

Procs

  Source   Edit @@ -6806,7 +6806,7 @@

Procs

  Source   Edit @@ -6819,7 +6819,7 @@

Procs

  Source   Edit @@ -6832,7 +6832,7 @@

Procs

  Source   Edit @@ -6845,7 +6845,7 @@

Procs

  Source   Edit @@ -6858,7 +6858,7 @@

Procs

  Source   Edit @@ -6872,7 +6872,7 @@

Procs

  Source   Edit @@ -6885,7 +6885,7 @@

Procs

  Source   Edit @@ -6899,7 +6899,7 @@

Procs

  Source   Edit @@ -6913,7 +6913,7 @@

Procs

  Source   Edit @@ -6927,7 +6927,7 @@

Procs

  Source   Edit @@ -6941,7 +6941,7 @@

Procs

  Source   Edit @@ -6955,7 +6955,7 @@

Procs

  Source   Edit @@ -6968,7 +6968,7 @@

Procs

  Source   Edit @@ -6981,7 +6981,7 @@

Procs

  Source   Edit @@ -6995,7 +6995,7 @@

Procs

  Source   Edit @@ -7008,7 +7008,7 @@

Procs

  Source   Edit @@ -7021,7 +7021,7 @@

Procs

  Source   Edit @@ -7034,7 +7034,7 @@

Procs

  Source   Edit @@ -7047,7 +7047,7 @@

Procs

  Source   Edit @@ -7060,7 +7060,7 @@

Procs

  Source   Edit @@ -7074,7 +7074,7 @@

Procs

  Source   Edit @@ -7087,7 +7087,7 @@

Procs

  Source   Edit @@ -7100,7 +7100,7 @@

Procs

  Source   Edit @@ -7113,7 +7113,7 @@

Procs

  Source   Edit @@ -7127,7 +7127,7 @@

Procs

  Source   Edit @@ -7140,7 +7140,7 @@

Procs

  Source   Edit @@ -7153,7 +7153,7 @@

Procs

  Source   Edit @@ -7166,7 +7166,7 @@

Procs

  Source   Edit @@ -7179,7 +7179,7 @@

Procs

  Source   Edit @@ -7193,7 +7193,7 @@

Procs

  Source   Edit @@ -7206,7 +7206,7 @@

Procs

  Source   Edit @@ -7219,7 +7219,7 @@

Procs

  Source   Edit @@ -7233,7 +7233,7 @@

Procs

  Source   Edit @@ -7246,7 +7246,7 @@

Procs

  Source   Edit diff --git a/nativesockets.html b/nativesockets.html index 50f3a14c008..312ade202c0 100644 --- a/nativesockets.html +++ b/nativesockets.html @@ -370,7 +370,7 @@

pure/nativesockets

  Source   Edit @@ -398,7 +398,7 @@

Types

domain, which specifies the protocol family of the created socket. Other domains than those that are listed here are unsupported.   Source   Edit @@ -416,7 +416,7 @@

Types

information about a given host   Source   Edit @@ -428,7 +428,7 @@

Types

port type   Source   Edit @@ -447,7 +447,7 @@

Types

third argument to socket proc   Source   Edit @@ -464,7 +464,7 @@

Types

information about a service   Source   Edit @@ -480,7 +480,7 @@

Types

second argument to socket proc   Source   Edit @@ -497,7 +497,7 @@

Lets

  Source   Edit @@ -514,7 +514,7 @@

Consts

  Source   Edit @@ -526,7 +526,7 @@

Consts

  Source   Edit @@ -538,7 +538,7 @@

Consts

  Source   Edit @@ -555,7 +555,7 @@

Procs

Returns the port number as a string   Source   Edit @@ -567,7 +567,7 @@

Procs

== for ports.   Source   Edit @@ -583,7 +583,7 @@

Procs

Returns (osInvalidSocket, "") if an error occurred.

  Source   Edit @@ -596,7 +596,7 @@

Procs

  Source   Edit @@ -608,7 +608,7 @@

Procs

Closes a socket.   Source   Edit @@ -625,7 +625,7 @@

Procs

Use this overload if one of the enums specified above does not contain what you need.

  Source   Edit @@ -643,7 +643,7 @@

Procs

inheritable decides if the resulting SocketHandle can be inherited by child processes.

  Source   Edit @@ -660,7 +660,7 @@

Procs

The resulting ptr AddrInfo must be freed using freeAddrInfo!   Source   Edit @@ -673,7 +673,7 @@

Procs

Returns the string representation of address within sockAddr   Source   Edit @@ -690,7 +690,7 @@

Procs

  Source   Edit @@ -703,7 +703,7 @@

Procs

This function will lookup the hostname of an IP Address.   Source   Edit @@ -716,7 +716,7 @@

Procs

This function will lookup the IP address of a hostname.   Source   Edit @@ -728,7 +728,7 @@

Procs

Returns the local hostname (not the FQDN)   Source   Edit @@ -743,7 +743,7 @@

Procs

Similar to POSIX's getsockname.

  Source   Edit @@ -758,7 +758,7 @@

Procs

Similar to POSIX's getpeername

  Source   Edit @@ -770,7 +770,7 @@

Procs

Returns a protocol code from the database that matches the protocol name.   Source   Edit @@ -785,7 +785,7 @@

Procs

On posix this will search through the /etc/services file.

  Source   Edit @@ -800,7 +800,7 @@

Procs

On posix this will search through the /etc/services file.

  Source   Edit @@ -813,7 +813,7 @@

Procs

Returns the socket's domain (AF_INET or AF_INET6).   Source   Edit @@ -825,7 +825,7 @@

Procs

Returns the socket's associated port number.   Source   Edit @@ -838,7 +838,7 @@

Procs

getsockopt for integer options.   Source   Edit @@ -851,7 +851,7 @@

Procs

  Source   Edit @@ -864,7 +864,7 @@

Procs

Marks socket as accepting connections. Backlog specifies the maximum length of the queue of pending connections.   Source   Edit @@ -876,7 +876,7 @@

Procs

Converts 32-bit unsigned integers from network to host byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 4-byte swap operation.   Source   Edit @@ -888,7 +888,7 @@

Procs

Converts 16-bit unsigned integers from network to host byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 2-byte swap operation.   Source   Edit @@ -903,7 +903,7 @@

Procs

timeout is specified in milliseconds and -1 can be specified for an unlimited time.

  Source   Edit @@ -918,7 +918,7 @@

Procs

timeout is specified in milliseconds and -1 can be specified for an unlimited time.

  Source   Edit @@ -932,7 +932,7 @@

Procs

Raises OSError on error.

  Source   Edit @@ -947,7 +947,7 @@

Procs

This function is not implemented on all platform, test for availability with declared() <system.html#declared,untyped>.

  Source   Edit @@ -960,7 +960,7 @@

Procs

setsockopt for integer options.   Source   Edit @@ -972,7 +972,7 @@

Procs

Converts the Domain enum to a platform-dependent cint.   Source   Edit @@ -984,7 +984,7 @@

Procs

Converts the Protocol enum to a platform-dependent cint.   Source   Edit @@ -996,7 +996,7 @@

Procs

Converts the SockType enum to a platform-dependent cint.   Source   Edit @@ -1008,7 +1008,7 @@

Procs

Converts the platform-dependent cint to the Domain or none(), if the cint is not known.   Source   Edit @@ -1020,7 +1020,7 @@

Procs

  Source   Edit @@ -1037,7 +1037,7 @@

Templates

Converts 32-bit unsigned integers from host to network byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 4-byte swap operation.   Source   Edit @@ -1049,7 +1049,7 @@

Templates

Converts 16-bit unsigned integers from host to network byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 2-byte swap operation.   Source   Edit diff --git a/net.html b/net.html index abe76fb02bd..8f9e764cd05 100644 --- a/net.html +++ b/net.html @@ -573,7 +573,7 @@

pure/net

  Source   Edit @@ -637,7 +637,7 @@

Types

DER encoded certificate   Source   Edit @@ -659,7 +659,7 @@

Types

stores an arbitrary IP address   Source   Edit @@ -673,7 +673,7 @@

Types

Describes the type of an IP address   Source   Edit @@ -686,7 +686,7 @@

Types

result for readLineAsync   Source   Edit @@ -700,7 +700,7 @@

Types

Boolean socket options.   Source   Edit @@ -712,7 +712,7 @@

Types

  Source   Edit @@ -725,7 +725,7 @@

Types

  Source   Edit @@ -756,7 +756,7 @@

Types

socket type   Source   Edit @@ -769,7 +769,7 @@

Types

  Source   Edit @@ -781,7 +781,7 @@

Types

  Source   Edit @@ -797,7 +797,7 @@

Types

  Source   Edit @@ -810,7 +810,7 @@

Types

  Source   Edit @@ -822,7 +822,7 @@

Types

  Source   Edit @@ -835,7 +835,7 @@

Types

  Source   Edit @@ -848,7 +848,7 @@

Types

  Source   Edit @@ -860,7 +860,7 @@

Types

  Source   Edit @@ -872,7 +872,7 @@

Types

  Source   Edit @@ -889,7 +889,7 @@

Consts

size of a buffered socket's buffer   Source   Edit @@ -901,7 +901,7 @@

Consts

  Source   Edit @@ -918,7 +918,7 @@

Procs

Converts an IpAddress into the textual representation   Source   Edit @@ -930,7 +930,7 @@

Procs

Compares two IpAddresses for Equality. Returns true if the addresses are equal   Source   Edit @@ -947,7 +947,7 @@

Procs

The accept call may result in an error if the connecting socket disconnects during the duration of the accept. If the SafeDisconn flag is specified then this error will not be raised and instead accept will be called again.

  Source   Edit @@ -965,7 +965,7 @@

Procs

The accept call may result in an error if the connecting socket disconnects during the duration of the accept. If the SafeDisconn flag is specified then this error will not be raised and instead accept will be called again.

  Source   Edit @@ -980,7 +980,7 @@

Procs

If address is "" then ADDR_ANY will be bound.

  Source   Edit @@ -992,7 +992,7 @@

Procs

Binds Unix socket to path. This only works on Unix-style systems: Mac OS X, BSD and Linux   Source   Edit @@ -1005,7 +1005,7 @@

Procs

  Source   Edit @@ -1020,7 +1020,7 @@

Procs

Only used in PSK ciphersuites.

  Source   Edit @@ -1036,7 +1036,7 @@

Procs

If socket is an SSL/TLS socket, this proc will also send a closure notification to the peer. If SafeDisconn is in flags, failure to do so due to disconnections will be ignored. This is generally safe in practice. See here for more details.

  Source   Edit @@ -1051,7 +1051,7 @@

Procs

If socket is an SSL socket a handshake will be automatically performed.

  Source   Edit @@ -1066,7 +1066,7 @@

Procs

The timeout parameter specifies the time in milliseconds to allow for the connection to the server to be made.

  Source   Edit @@ -1078,7 +1078,7 @@

Procs

Connects to Unix socket on path. This only works on Unix-style systems: Mac OS X, BSD and Linux   Source   Edit @@ -1090,7 +1090,7 @@

Procs

Free memory referenced by SslContext.   Source   Edit @@ -1103,7 +1103,7 @@

Procs

Establishes connection to the specified address:port pair via the specified protocol. The procedure iterates through possible resolutions of the address until it succeeds, meaning that it seamlessly works with both IPv4 and IPv6. Returns Socket ready to send or receive data.   Source   Edit @@ -1116,7 +1116,7 @@

Procs

Converts SockAddr and SockLen to IpAddress and Port. Raises ObjectConversionDefect in case of invalid sa and sl arguments.   Source   Edit @@ -1129,7 +1129,7 @@

Procs

Retrieves arbitrary data stored inside SslContext.   Source   Edit @@ -1141,7 +1141,7 @@

Procs

Returns the socket's file descriptor   Source   Edit @@ -1156,7 +1156,7 @@

Procs

This is high-level interface for getsockname.

  Source   Edit @@ -1171,7 +1171,7 @@

Procs

This is high-level interface for getpeername.

  Source   Edit @@ -1184,7 +1184,7 @@

Procs

Returns the certificate chain received by the peer we are connected to through the given socket. The handshake must have been completed and the certificate chain must have been verified successfully or else an empty sequence is returned. The chain is ordered from leaf certificate to root certificate.   Source   Edit @@ -1197,7 +1197,7 @@

Procs

Returns the certificate chain received by the peer we are connected to through the OpenSSL connection represented by sslHandle. The handshake must have been completed and the certificate chain must have been verified successfully or else an empty sequence is returned. The chain is ordered from leaf certificate to root certificate.   Source   Edit @@ -1216,7 +1216,7 @@

Procs

Example: cmd: -r:off

echo getPrimaryIPAddr() # "192.168.1.2"
  Source   Edit @@ -1228,7 +1228,7 @@

Procs

Gets the PSK identity provided by the client.   Source   Edit @@ -1240,7 +1240,7 @@

Procs

Checks osLastError for a valid error. If it has been reset it uses the last error stored in the socket object.   Source   Edit @@ -1253,7 +1253,7 @@

Procs

Retrieves option opt as a boolean value.   Source   Edit @@ -1265,7 +1265,7 @@

Procs

Determines whether a socket has data buffered.   Source   Edit @@ -1277,7 +1277,7 @@

Procs

Returns the IPv4 any address, which can be used to listen on all available network adapters   Source   Edit @@ -1289,7 +1289,7 @@

Procs

Returns the IPv4 broadcast address (255.255.255.255)   Source   Edit @@ -1301,7 +1301,7 @@

Procs

Returns the IPv4 loopback address (127.0.0.1)   Source   Edit @@ -1313,7 +1313,7 @@

Procs

Returns the IPv6 any address (::0), which can be used to listen on all available network adapters   Source   Edit @@ -1325,7 +1325,7 @@

Procs

Returns the IPv6 loopback address (::1)   Source   Edit @@ -1338,7 +1338,7 @@

Procs

Determines whether lastError is a disconnection error. Only does this if flags contains SafeDisconn.   Source   Edit @@ -1350,7 +1350,7 @@

Procs

Checks if a string is an IP address Returns true if it is, false otherwise   Source   Edit @@ -1362,7 +1362,7 @@

Procs

Determines whether socket is a SSL socket.   Source   Edit @@ -1377,7 +1377,7 @@

Procs

Raises an OSError error upon failure.

  Source   Edit @@ -1410,7 +1410,7 @@

Procs

  Source   Edit @@ -1427,7 +1427,7 @@

Procs

If an error occurs OSError will be raised.

  Source   Edit @@ -1445,7 +1445,7 @@

Procs

If an error occurs OSError will be raised.

  Source   Edit @@ -1460,7 +1460,7 @@

Procs

Creates a new socket as specified by the params.   Source   Edit @@ -1476,7 +1476,7 @@

Procs

For IPv4 addresses, only the strict form as defined in RFC 6943 is considered valid, see https://datatracker.ietf.org/doc/html/rfc6943#section-3.1.1.

  Source   Edit @@ -1491,7 +1491,7 @@

Procs

Only used in PSK ciphersuites.

  Source   Edit @@ -1503,7 +1503,7 @@

Procs

Raises a new SSL error.   Source   Edit @@ -1525,7 +1525,7 @@

Procs

Only the SafeDisconn flag is currently supported.   Source   Edit @@ -1540,7 +1540,7 @@

Procs

Note: This is a low-level function, you may be interested in the higher level versions of this function which are also named recv.

  Source   Edit @@ -1553,7 +1553,7 @@

Procs

overload with a timeout parameter in milliseconds.   Source   Edit @@ -1576,7 +1576,7 @@

Procs

Only the SafeDisconn flag is currently supported.   Source   Edit @@ -1599,7 +1599,7 @@

Procs

Only the SafeDisconn flag is currently supported.   Source   Edit @@ -1618,7 +1618,7 @@

Procs

This function does not yet have a buffered implementation, so when socket is buffered the non-buffered implementation will be used. Therefore if socket contains something in its buffer this function will make no effort to return it.   Source   Edit @@ -1640,7 +1640,7 @@

Procs

Only the SafeDisconn flag is currently supported.   Source   Edit @@ -1655,7 +1655,7 @@

Procs

Note: This is a low-level version of send. You likely should use the version below.

  Source   Edit @@ -1668,7 +1668,7 @@

Procs

sends data to a socket.   Source   Edit @@ -1686,7 +1686,7 @@

Procs

This is the high-level version of the above sendTo function.

  Source   Edit @@ -1704,7 +1704,7 @@

Procs

Note: This proc is not available for SSL sockets.

  Source   Edit @@ -1721,7 +1721,7 @@

Procs

This is the high-level version of the above sendTo function.

  Source   Edit @@ -1734,7 +1734,7 @@

Procs

  Source   Edit @@ -1749,7 +1749,7 @@

Procs

Only used in PSK ciphersuites.

  Source   Edit @@ -1768,7 +1768,7 @@

Procs

  Source   Edit @@ -1781,7 +1781,7 @@

Procs

Stores arbitrary data inside SslContext. The unique index should be retrieved using getSslContextExtraDataIndex.   Source   Edit @@ -1798,7 +1798,7 @@

Procs

socket.setSockOpt(OptReusePort, true) socket.setSockOpt(OptNoDelay, true, level = IPPROTO_TCP.cint)   Source   Edit @@ -1814,7 +1814,7 @@

Procs

Returns the number of skipped bytes.

  Source   Edit @@ -1832,7 +1832,7 @@

Procs

If flags contains SafeDisconn, no exception will be raised when the error was caused by a peer disconnection.

  Source   Edit @@ -1844,7 +1844,7 @@

Procs

Retrieve the ssl pointer of socket. Useful for interfacing with openssl.   Source   Edit @@ -1856,7 +1856,7 @@

Procs

Converts a SOBool into its Socket Option cint representation.   Source   Edit @@ -1868,7 +1868,7 @@

Procs

Converts the flags into the underlying OS representation.   Source   Edit @@ -1881,7 +1881,7 @@

Procs

Converts IpAddress and Port to SockAddr and SockLen   Source   Edit @@ -1894,7 +1894,7 @@

Procs

Safe alternative to send. Does not raise an OSError when an error occurs, and instead returns false on failure.   Source   Edit @@ -1911,7 +1911,7 @@

Procs

FIXME: Disclaimer: This code is not well tested, may be very unsafe and prone to security vulnerabilities.

  Source   Edit @@ -1926,7 +1926,7 @@

Procs

FIXME: Disclaimer: This code is not well tested, may be very unsafe and prone to security vulnerabilities.

  Source   Edit @@ -1943,7 +1943,7 @@

Templates

an alias for 'send'.   Source   Edit diff --git a/nimc.html b/nimc.html index ed868bff1b5..1e65c499097 100644 --- a/nimc.html +++ b/nimc.html @@ -145,7 +145,7 @@

Nim Compiler User Guide

  Source   Edit @@ -153,7 +153,7 @@

Nim Compiler User Guide

- +
Author:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

"Look at you, hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?"

Introduction

This document describes the usage of the Nim compiler on the different supported platforms. It is not a definition of the Nim programming language (which is covered in the manual).

diff --git a/nimgrep.html b/nimgrep.html index 5ce53b17f49..5c5938637ef 100644 --- a/nimgrep.html +++ b/nimgrep.html @@ -110,7 +110,7 @@

nimgrep User's manual

  Source   Edit diff --git a/niminst.html b/niminst.html index e278a739ef2..c2cfb9eec8b 100644 --- a/niminst.html +++ b/niminst.html @@ -121,7 +121,7 @@

niminst User's manual

  Source   Edit @@ -129,7 +129,7 @@

niminst User's manual

- +
Author:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Introduction

niminst is a tool to generate an installer for a Nim program. Currently it can create an installer for Windows via Inno Setup as well as installation/deinstallation scripts for UNIX. Later versions will support Linux' package management systems.

niminst works by reading a configuration file that contains all the information that it needs to generate an installer for the different operating systems.

diff --git a/nimprof.html b/nimprof.html index cec545d6ab3..f4d3ab3eb59 100644 --- a/nimprof.html +++ b/nimprof.html @@ -127,7 +127,7 @@

pure/nimprof

  Source   Edit @@ -149,7 +149,7 @@

Procs

  Source   Edit @@ -161,7 +161,7 @@

Procs

  Source   Edit @@ -173,7 +173,7 @@

Procs

set this to change the sampling frequency. Default value is 5ms. Set it to 0 to disable time based profiling; it uses an imprecise instruction count measure instead then.   Source   Edit diff --git a/nimrtl.html b/nimrtl.html index f8c1619824d..4d000e17d9f 100644 --- a/nimrtl.html +++ b/nimrtl.html @@ -106,7 +106,7 @@

nimrtl

  Source   Edit diff --git a/nimscript.html b/nimscript.html index 4788530dacc..7b10e8b470b 100644 --- a/nimscript.html +++ b/nimscript.html @@ -299,7 +299,7 @@

system/nimscript

  Source   Edit @@ -320,7 +320,7 @@

Types

Controls the behaviour of the script.   Source   Edit @@ -337,7 +337,7 @@

Vars

set to influence mkDir, rmDir, rmFile, etc behaviour   Source   Edit @@ -356,7 +356,7 @@

Procs

The change is permanent for the rest of the execution, since this is just a shortcut for os.setCurrentDir() . Use the withDir() template if you want to perform a temporary change only.

  Source   Edit @@ -368,7 +368,7 @@

Procs

Compares a and b ignoring case.   Source   Edit @@ -381,7 +381,7 @@

Procs

Copies the dir from to to.   Source   Edit @@ -394,7 +394,7 @@

Procs

Copies the file from to to.   Source   Edit @@ -406,7 +406,7 @@

Procs

Deletes the environment variable named key.   Source   Edit @@ -418,7 +418,7 @@

Procs

Checks if the directory dir exists.   Source   Edit @@ -431,7 +431,7 @@

Procs

Executes an external process. If the external process terminates with a non-zero exit code, an OSError exception is raised.   Source   Edit @@ -444,7 +444,7 @@

Procs

Executes an external process. If the external process terminates with a non-zero exit code, an OSError exception is raised.   Source   Edit @@ -456,7 +456,7 @@

Procs

Checks for the existence of a configuration 'key' like 'gcc.options.always'.   Source   Edit @@ -468,7 +468,7 @@

Procs

Checks for the existence of an environment variable named key.   Source   Edit @@ -480,7 +480,7 @@

Procs

Checks if the file exists.   Source   Edit @@ -492,7 +492,7 @@

Procs

Searches for bin in the current working directory and then in directories listed in the PATH environment variable. Returns "" if the exe cannot be found.   Source   Edit @@ -504,7 +504,7 @@

Procs

Retrieves a configuration 'key' like 'gcc.options.always'.   Source   Edit @@ -516,7 +516,7 @@

Procs

Retrieves the current working directory.   Source   Edit @@ -529,7 +529,7 @@

Procs

Retrieves the environment variable of name key.   Source   Edit @@ -542,7 +542,7 @@

Procs

Lists all the subdirectories (non-recursively) in the directory dir.   Source   Edit @@ -555,7 +555,7 @@

Procs

Lists all the files (non-recursively) in the directory dir.   Source   Edit @@ -567,7 +567,7 @@

Procs

Creates the directory dir including all necessary subdirectories. If the directory already exists, no error is raised.   Source   Edit @@ -580,7 +580,7 @@

Procs

Moves the dir from to to.   Source   Edit @@ -593,7 +593,7 @@

Procs

Moves the file from to to.   Source   Edit @@ -605,7 +605,7 @@

Procs

Retrieves the location of 'nimcache'.   Source   Edit @@ -617,7 +617,7 @@

Procs

Retrieves the number of command line parameters.   Source   Edit @@ -629,7 +629,7 @@

Procs

Retrieves the i'th command line parameter.   Source   Edit @@ -641,7 +641,7 @@

Procs

Sets the value of the environment variable named key to val.   Source   Edit @@ -653,7 +653,7 @@

Procs

Reads all data from stdin - blocks until EOF which happens when stdin is closed   Source   Edit @@ -665,7 +665,7 @@

Procs

Reads a line of data from stdin - blocks until n or EOF which happens when stdin is closed   Source   Edit @@ -678,7 +678,7 @@

Procs

Removes the directory dir.   Source   Edit @@ -691,7 +691,7 @@

Procs

Removes the file.   Source   Edit @@ -703,7 +703,7 @@

Procs

Returns the name of the compiler executable running this script file.   Source   Edit @@ -716,7 +716,7 @@

Procs

Executes an external command with the current script executable. Command must not contain the "nim " part.   Source   Edit @@ -728,7 +728,7 @@

Procs

Retrieves the directory of the current nims script file. Its path is obtained via currentSourcePath (although, currently, currentSourcePath resolves symlinks, unlike thisDir).   Source   Edit @@ -740,7 +740,7 @@

Procs

On Windows adds ".dll" to filename, on Posix produces "lib$filename.so".   Source   Edit @@ -752,7 +752,7 @@

Procs

On Windows adds ".exe" to filename, else returns filename unmodified.   Source   Edit @@ -773,7 +773,7 @@

Templates

# inside foo #back to last dir   Source   Edit diff --git a/nimsuggest.html b/nimsuggest.html index e63ed834a34..c1ae5f7f381 100644 --- a/nimsuggest.html +++ b/nimsuggest.html @@ -115,7 +115,7 @@

Nim IDE Integration Guide

  Source   Edit @@ -123,7 +123,7 @@

Nim IDE Integration Guide

- +
Author:Unknown
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Nim differs from many other compilers in that it is really fast, and being so fast makes it suited to provide external queries for text editors about the source code being written. Through the nimsuggest tool, any IDE can query a .nim source file and obtain useful information like definition of symbols or suggestions for completion.

This document will guide you through the available options. If you want to look at practical examples of nimsuggest support you can look at the various editor integrations already available.

diff --git a/nimtracker.html b/nimtracker.html index 9672eab41da..07efbf84a4e 100644 --- a/nimtracker.html +++ b/nimtracker.html @@ -106,7 +106,7 @@

pure/nimtracker

  Source   Edit diff --git a/nre.html b/nre.html index 7df393c07b0..defd303f401 100644 --- a/nre.html +++ b/nre.html @@ -302,7 +302,7 @@

impure/nre

  Source   Edit @@ -360,7 +360,7 @@

Types

  Source   Edit @@ -372,7 +372,7 @@

Types

  Source   Edit @@ -386,7 +386,7 @@

Types

Thrown when matching fails due to invalid unicode in strings   Source   Edit @@ -436,7 +436,7 @@

Options

The f

Some of these options are not part of PCRE and are converted by nre into PCRE flags. These include NEVER_UTF, ANCHORED, DOLLAR_ENDONLY, FIRSTLINE, NO_AUTO_CAPTURE, JAVASCRIPT_COMPAT, U, NO_STUDY. In other PCRE wrappers, you will need to pass these as separate flags to PCRE.

  Source   Edit @@ -448,7 +448,7 @@

Options

The f   Source   Edit @@ -461,7 +461,7 @@

Options

The f Internal error in the module, this probably means that there is a bug   Source   Edit @@ -499,7 +499,7 @@

Options

The f   Source   Edit @@ -512,7 +512,7 @@

Options

The f Thrown when studying the regular expression fails for whatever reason. The message contains the error code.   Source   Edit @@ -527,7 +527,7 @@

Options

The f Thrown when there is a syntax error in the regular expression string passed in   Source   Edit @@ -544,7 +544,7 @@

Procs

  Source   Edit @@ -556,7 +556,7 @@

Procs

  Source   Edit @@ -568,7 +568,7 @@

Procs

  Source   Edit @@ -581,7 +581,7 @@

Procs

  Source   Edit @@ -594,7 +594,7 @@

Procs

  Source   Edit @@ -606,7 +606,7 @@

Procs

  Source   Edit @@ -619,7 +619,7 @@

Procs

  Source   Edit @@ -631,7 +631,7 @@

Procs

  Source   Edit @@ -643,7 +643,7 @@

Procs

  Source   Edit @@ -655,7 +655,7 @@

Procs

  Source   Edit @@ -667,7 +667,7 @@

Procs

  Source   Edit @@ -679,7 +679,7 @@

Procs

  Source   Edit @@ -692,7 +692,7 @@

Procs

  Source   Edit @@ -704,7 +704,7 @@

Procs

  Source   Edit @@ -717,7 +717,7 @@

Procs

  Source   Edit @@ -734,7 +734,7 @@

Procs

assert not "abc".contains(re"cd") assert not "abc".contains(re"a", start = 1)   Source   Edit @@ -752,7 +752,7 @@

Procs

assert escapeRe("!") == "\\!" assert escapeRe("nim*") == "nim\\*"   Source   Edit @@ -771,7 +771,7 @@

Procs

  Source   Edit @@ -785,7 +785,7 @@

Procs

  Source   Edit @@ -797,7 +797,7 @@

Procs

  Source   Edit @@ -823,7 +823,7 @@

Procs

assert "abc".match(re"").get.captureBounds[-1] == 0 .. -1 assert "abc".match(re"abc").get.captureBounds[-1] == 0 .. 2   Source   Edit @@ -835,7 +835,7 @@

Procs

  Source   Edit @@ -848,7 +848,7 @@

Procs

  Source   Edit @@ -862,7 +862,7 @@

Procs

  Source   Edit @@ -889,7 +889,7 @@

Procs

If a given capture is missing, IndexDefect thrown for un-named captures and KeyError for named captures.

  Source   Edit @@ -902,7 +902,7 @@

Procs

  Source   Edit @@ -929,7 +929,7 @@

Procs

# strings in the output seq. assert "1.2.3".split(re"\.", maxsplit = 2) == @["1", "2.3"]   Source   Edit @@ -942,7 +942,7 @@

Procs

  Source   Edit @@ -955,7 +955,7 @@

Procs

  Source   Edit @@ -968,7 +968,7 @@

Procs

  Source   Edit @@ -981,7 +981,7 @@

Procs

  Source   Edit @@ -1007,7 +1007,7 @@

Iterators

  Source   Edit @@ -1020,7 +1020,7 @@

Iterators

  Source   Edit @@ -1033,7 +1033,7 @@

Iterators

  Source   Edit diff --git a/odbcsql.html b/odbcsql.html index 29a6a8d0778..08bd10e4947 100644 --- a/odbcsql.html +++ b/odbcsql.html @@ -1634,7 +1634,7 @@

wrappers/odbcsql

  Source   Edit @@ -1651,7 +1651,7 @@

Types

  Source   Edit @@ -1663,7 +1663,7 @@

Types

  Source   Edit @@ -1675,7 +1675,7 @@

Types

  Source   Edit @@ -1687,7 +1687,7 @@

Types

  Source   Edit @@ -1699,7 +1699,7 @@

Types

  Source   Edit @@ -1711,7 +1711,7 @@

Types

  Source   Edit @@ -1723,7 +1723,7 @@

Types

  Source   Edit @@ -1735,7 +1735,7 @@

Types

  Source   Edit @@ -1747,7 +1747,7 @@

Types

  Source   Edit @@ -1759,7 +1759,7 @@

Types

  Source   Edit @@ -1771,7 +1771,7 @@

Types

  Source   Edit @@ -1783,7 +1783,7 @@

Types

  Source   Edit @@ -1799,7 +1799,7 @@

Types

  Source   Edit @@ -1815,7 +1815,7 @@

Types

  Source   Edit @@ -1835,7 +1835,7 @@

Types

  Source   Edit @@ -1847,7 +1847,7 @@

Types

  Source   Edit @@ -1859,7 +1859,7 @@

Types

  Source   Edit @@ -1871,7 +1871,7 @@

Types

  Source   Edit @@ -1883,7 +1883,7 @@

Types

  Source   Edit @@ -1895,7 +1895,7 @@

Types

  Source   Edit @@ -1907,7 +1907,7 @@

Types

  Source   Edit @@ -1919,7 +1919,7 @@

Types

  Source   Edit @@ -1931,7 +1931,7 @@

Types

  Source   Edit @@ -1943,7 +1943,7 @@

Types

  Source   Edit @@ -1955,7 +1955,7 @@

Types

  Source   Edit @@ -1967,7 +1967,7 @@

Types

  Source   Edit @@ -1979,7 +1979,7 @@

Types

  Source   Edit @@ -1991,7 +1991,7 @@

Types

  Source   Edit @@ -2003,7 +2003,7 @@

Types

  Source   Edit @@ -2015,7 +2015,7 @@

Types

  Source   Edit @@ -2027,7 +2027,7 @@

Types

  Source   Edit @@ -2039,7 +2039,7 @@

Types

  Source   Edit @@ -2056,7 +2056,7 @@

Consts

  Source   Edit @@ -2068,7 +2068,7 @@

Consts

  Source   Edit @@ -2080,7 +2080,7 @@

Consts

  Source   Edit @@ -2092,7 +2092,7 @@

Consts

  Source   Edit @@ -2104,7 +2104,7 @@

Consts

  Source   Edit @@ -2116,7 +2116,7 @@

Consts

  Source   Edit @@ -2128,7 +2128,7 @@

Consts

  Source   Edit @@ -2140,7 +2140,7 @@

Consts

  Source   Edit @@ -2152,7 +2152,7 @@

Consts

  Source   Edit @@ -2164,7 +2164,7 @@

Consts

  Source   Edit @@ -2176,7 +2176,7 @@

Consts

  Source   Edit @@ -2188,7 +2188,7 @@

Consts

  Source   Edit @@ -2200,7 +2200,7 @@

Consts

  Source   Edit @@ -2212,7 +2212,7 @@

Consts

  Source   Edit @@ -2224,7 +2224,7 @@

Consts

  Source   Edit @@ -2236,7 +2236,7 @@

Consts

  Source   Edit @@ -2248,7 +2248,7 @@

Consts

  Source   Edit @@ -2260,7 +2260,7 @@

Consts

  Source   Edit @@ -2272,7 +2272,7 @@

Consts

  Source   Edit @@ -2284,7 +2284,7 @@

Consts

  Source   Edit @@ -2296,7 +2296,7 @@

Consts

  Source   Edit @@ -2308,7 +2308,7 @@

Consts

  Source   Edit @@ -2320,7 +2320,7 @@

Consts

  Source   Edit @@ -2332,7 +2332,7 @@

Consts

  Source   Edit @@ -2344,7 +2344,7 @@

Consts

  Source   Edit @@ -2356,7 +2356,7 @@

Consts

  Source   Edit @@ -2368,7 +2368,7 @@

Consts

  Source   Edit @@ -2380,7 +2380,7 @@

Consts

  Source   Edit @@ -2392,7 +2392,7 @@

Consts

  Source   Edit @@ -2404,7 +2404,7 @@

Consts

  Source   Edit @@ -2416,7 +2416,7 @@

Consts

  Source   Edit @@ -2428,7 +2428,7 @@

Consts

  Source   Edit @@ -2440,7 +2440,7 @@

Consts

  Source   Edit @@ -2452,7 +2452,7 @@

Consts

  Source   Edit @@ -2464,7 +2464,7 @@

Consts

  Source   Edit @@ -2476,7 +2476,7 @@

Consts

  Source   Edit @@ -2488,7 +2488,7 @@

Consts

  Source   Edit @@ -2500,7 +2500,7 @@

Consts

  Source   Edit @@ -2512,7 +2512,7 @@

Consts

  Source   Edit @@ -2524,7 +2524,7 @@

Consts

  Source   Edit @@ -2536,7 +2536,7 @@

Consts

  Source   Edit @@ -2548,7 +2548,7 @@

Consts

  Source   Edit @@ -2560,7 +2560,7 @@

Consts

  Source   Edit @@ -2572,7 +2572,7 @@

Consts

  Source   Edit @@ -2584,7 +2584,7 @@

Consts

  Source   Edit @@ -2596,7 +2596,7 @@

Consts

  Source   Edit @@ -2608,7 +2608,7 @@

Consts

  Source   Edit @@ -2620,7 +2620,7 @@

Consts

  Source   Edit @@ -2632,7 +2632,7 @@

Consts

  Source   Edit @@ -2644,7 +2644,7 @@

Consts

  Source   Edit @@ -2656,7 +2656,7 @@

Consts

  Source   Edit @@ -2668,7 +2668,7 @@

Consts

  Source   Edit @@ -2680,7 +2680,7 @@

Consts

  Source   Edit @@ -2692,7 +2692,7 @@

Consts

  Source   Edit @@ -2704,7 +2704,7 @@

Consts

  Source   Edit @@ -2716,7 +2716,7 @@

Consts

  Source   Edit @@ -2728,7 +2728,7 @@

Consts

  Source   Edit @@ -2740,7 +2740,7 @@

Consts

  Source   Edit @@ -2752,7 +2752,7 @@

Consts

  Source   Edit @@ -2764,7 +2764,7 @@

Consts

  Source   Edit @@ -2776,7 +2776,7 @@

Consts

  Source   Edit @@ -2788,7 +2788,7 @@

Consts

  Source   Edit @@ -2800,7 +2800,7 @@

Consts

  Source   Edit @@ -2812,7 +2812,7 @@

Consts

  Source   Edit @@ -2824,7 +2824,7 @@

Consts

  Source   Edit @@ -2836,7 +2836,7 @@

Consts

  Source   Edit @@ -2848,7 +2848,7 @@

Consts

  Source   Edit @@ -2860,7 +2860,7 @@

Consts

  Source   Edit @@ -2872,7 +2872,7 @@

Consts

  Source   Edit @@ -2884,7 +2884,7 @@

Consts

  Source   Edit @@ -2896,7 +2896,7 @@

Consts

  Source   Edit @@ -2908,7 +2908,7 @@

Consts

  Source   Edit @@ -2920,7 +2920,7 @@

Consts

  Source   Edit @@ -2932,7 +2932,7 @@

Consts

  Source   Edit @@ -2944,7 +2944,7 @@

Consts

  Source   Edit @@ -2956,7 +2956,7 @@

Consts

  Source   Edit @@ -2968,7 +2968,7 @@

Consts

  Source   Edit @@ -2980,7 +2980,7 @@

Consts

  Source   Edit @@ -2992,7 +2992,7 @@

Consts

  Source   Edit @@ -3004,7 +3004,7 @@

Consts

  Source   Edit @@ -3016,7 +3016,7 @@

Consts

  Source   Edit @@ -3028,7 +3028,7 @@

Consts

  Source   Edit @@ -3040,7 +3040,7 @@

Consts

  Source   Edit @@ -3052,7 +3052,7 @@

Consts

  Source   Edit @@ -3064,7 +3064,7 @@

Consts

  Source   Edit @@ -3076,7 +3076,7 @@

Consts

  Source   Edit @@ -3088,7 +3088,7 @@

Consts

  Source   Edit @@ -3100,7 +3100,7 @@

Consts

  Source   Edit @@ -3112,7 +3112,7 @@

Consts

  Source   Edit @@ -3124,7 +3124,7 @@

Consts

  Source   Edit @@ -3136,7 +3136,7 @@

Consts

  Source   Edit @@ -3148,7 +3148,7 @@

Consts

  Source   Edit @@ -3160,7 +3160,7 @@

Consts

  Source   Edit @@ -3172,7 +3172,7 @@

Consts

  Source   Edit @@ -3184,7 +3184,7 @@

Consts

  Source   Edit @@ -3196,7 +3196,7 @@

Consts

  Source   Edit @@ -3208,7 +3208,7 @@

Consts

  Source   Edit @@ -3220,7 +3220,7 @@

Consts

  Source   Edit @@ -3232,7 +3232,7 @@

Consts

  Source   Edit @@ -3244,7 +3244,7 @@

Consts

  Source   Edit @@ -3256,7 +3256,7 @@

Consts

  Source   Edit @@ -3268,7 +3268,7 @@

Consts

  Source   Edit @@ -3280,7 +3280,7 @@

Consts

  Source   Edit @@ -3292,7 +3292,7 @@

Consts

  Source   Edit @@ -3304,7 +3304,7 @@

Consts

  Source   Edit @@ -3316,7 +3316,7 @@

Consts

  Source   Edit @@ -3328,7 +3328,7 @@

Consts

  Source   Edit @@ -3340,7 +3340,7 @@

Consts

  Source   Edit @@ -3352,7 +3352,7 @@

Consts

  Source   Edit @@ -3364,7 +3364,7 @@

Consts

  Source   Edit @@ -3376,7 +3376,7 @@

Consts

  Source   Edit @@ -3388,7 +3388,7 @@

Consts

  Source   Edit @@ -3400,7 +3400,7 @@

Consts

  Source   Edit @@ -3412,7 +3412,7 @@

Consts

  Source   Edit @@ -3424,7 +3424,7 @@

Consts

  Source   Edit @@ -3436,7 +3436,7 @@

Consts

  Source   Edit @@ -3448,7 +3448,7 @@

Consts

  Source   Edit @@ -3460,7 +3460,7 @@

Consts

  Source   Edit @@ -3472,7 +3472,7 @@

Consts

  Source   Edit @@ -3484,7 +3484,7 @@

Consts

  Source   Edit @@ -3496,7 +3496,7 @@

Consts

  Source   Edit @@ -3508,7 +3508,7 @@

Consts

  Source   Edit @@ -3520,7 +3520,7 @@

Consts

  Source   Edit @@ -3532,7 +3532,7 @@

Consts

  Source   Edit @@ -3544,7 +3544,7 @@

Consts

  Source   Edit @@ -3556,7 +3556,7 @@

Consts

  Source   Edit @@ -3568,7 +3568,7 @@

Consts

  Source   Edit @@ -3580,7 +3580,7 @@

Consts

  Source   Edit @@ -3592,7 +3592,7 @@

Consts

  Source   Edit @@ -3604,7 +3604,7 @@

Consts

  Source   Edit @@ -3616,7 +3616,7 @@

Consts

  Source   Edit @@ -3628,7 +3628,7 @@

Consts

  Source   Edit @@ -3640,7 +3640,7 @@

Consts

  Source   Edit @@ -3652,7 +3652,7 @@

Consts

  Source   Edit @@ -3664,7 +3664,7 @@

Consts

  Source   Edit @@ -3676,7 +3676,7 @@

Consts

  Source   Edit @@ -3688,7 +3688,7 @@

Consts

  Source   Edit @@ -3700,7 +3700,7 @@

Consts

  Source   Edit @@ -3712,7 +3712,7 @@

Consts

  Source   Edit @@ -3724,7 +3724,7 @@

Consts

  Source   Edit @@ -3736,7 +3736,7 @@

Consts

  Source   Edit @@ -3748,7 +3748,7 @@

Consts

  Source   Edit @@ -3760,7 +3760,7 @@

Consts

  Source   Edit @@ -3772,7 +3772,7 @@

Consts

  Source   Edit @@ -3784,7 +3784,7 @@

Consts

  Source   Edit @@ -3796,7 +3796,7 @@

Consts

  Source   Edit @@ -3808,7 +3808,7 @@

Consts

  Source   Edit @@ -3820,7 +3820,7 @@

Consts

  Source   Edit @@ -3832,7 +3832,7 @@

Consts

  Source   Edit @@ -3844,7 +3844,7 @@

Consts

  Source   Edit @@ -3856,7 +3856,7 @@

Consts

  Source   Edit @@ -3868,7 +3868,7 @@

Consts

  Source   Edit @@ -3880,7 +3880,7 @@

Consts

  Source   Edit @@ -3892,7 +3892,7 @@

Consts

  Source   Edit @@ -3904,7 +3904,7 @@

Consts

  Source   Edit @@ -3916,7 +3916,7 @@

Consts

  Source   Edit @@ -3928,7 +3928,7 @@

Consts

  Source   Edit @@ -3940,7 +3940,7 @@

Consts

  Source   Edit @@ -3952,7 +3952,7 @@

Consts

  Source   Edit @@ -3964,7 +3964,7 @@

Consts

  Source   Edit @@ -3976,7 +3976,7 @@

Consts

  Source   Edit @@ -3988,7 +3988,7 @@

Consts

  Source   Edit @@ -4000,7 +4000,7 @@

Consts

  Source   Edit @@ -4012,7 +4012,7 @@

Consts

  Source   Edit @@ -4024,7 +4024,7 @@

Consts

  Source   Edit @@ -4036,7 +4036,7 @@

Consts

  Source   Edit @@ -4048,7 +4048,7 @@

Consts

  Source   Edit @@ -4060,7 +4060,7 @@

Consts

  Source   Edit @@ -4072,7 +4072,7 @@

Consts

  Source   Edit @@ -4084,7 +4084,7 @@

Consts

  Source   Edit @@ -4096,7 +4096,7 @@

Consts

  Source   Edit @@ -4108,7 +4108,7 @@

Consts

  Source   Edit @@ -4120,7 +4120,7 @@

Consts

  Source   Edit @@ -4132,7 +4132,7 @@

Consts

  Source   Edit @@ -4144,7 +4144,7 @@

Consts

  Source   Edit @@ -4156,7 +4156,7 @@

Consts

  Source   Edit @@ -4168,7 +4168,7 @@

Consts

  Source   Edit @@ -4180,7 +4180,7 @@

Consts

  Source   Edit @@ -4192,7 +4192,7 @@

Consts

  Source   Edit @@ -4204,7 +4204,7 @@

Consts

  Source   Edit @@ -4216,7 +4216,7 @@

Consts

  Source   Edit @@ -4228,7 +4228,7 @@

Consts

  Source   Edit @@ -4240,7 +4240,7 @@

Consts

  Source   Edit @@ -4252,7 +4252,7 @@

Consts

  Source   Edit @@ -4264,7 +4264,7 @@

Consts

  Source   Edit @@ -4276,7 +4276,7 @@

Consts

  Source   Edit @@ -4288,7 +4288,7 @@

Consts

  Source   Edit @@ -4300,7 +4300,7 @@

Consts

  Source   Edit @@ -4312,7 +4312,7 @@

Consts

  Source   Edit @@ -4324,7 +4324,7 @@

Consts

  Source   Edit @@ -4336,7 +4336,7 @@

Consts

  Source   Edit @@ -4348,7 +4348,7 @@

Consts

  Source   Edit @@ -4360,7 +4360,7 @@

Consts

  Source   Edit @@ -4372,7 +4372,7 @@

Consts

  Source   Edit @@ -4384,7 +4384,7 @@

Consts

  Source   Edit @@ -4396,7 +4396,7 @@

Consts

  Source   Edit @@ -4408,7 +4408,7 @@

Consts

  Source   Edit @@ -4420,7 +4420,7 @@

Consts

  Source   Edit @@ -4432,7 +4432,7 @@

Consts

  Source   Edit @@ -4444,7 +4444,7 @@

Consts

  Source   Edit @@ -4456,7 +4456,7 @@

Consts

  Source   Edit @@ -4468,7 +4468,7 @@

Consts

  Source   Edit @@ -4480,7 +4480,7 @@

Consts

  Source   Edit @@ -4492,7 +4492,7 @@

Consts

  Source   Edit @@ -4504,7 +4504,7 @@

Consts

  Source   Edit @@ -4516,7 +4516,7 @@

Consts

  Source   Edit @@ -4528,7 +4528,7 @@

Consts

  Source   Edit @@ -4540,7 +4540,7 @@

Consts

  Source   Edit @@ -4552,7 +4552,7 @@

Consts

  Source   Edit @@ -4564,7 +4564,7 @@

Consts

  Source   Edit @@ -4576,7 +4576,7 @@

Consts

  Source   Edit @@ -4588,7 +4588,7 @@

Consts

  Source   Edit @@ -4600,7 +4600,7 @@

Consts

  Source   Edit @@ -4612,7 +4612,7 @@

Consts

  Source   Edit @@ -4624,7 +4624,7 @@

Consts

  Source   Edit @@ -4636,7 +4636,7 @@

Consts

  Source   Edit @@ -4648,7 +4648,7 @@

Consts

  Source   Edit @@ -4660,7 +4660,7 @@

Consts

  Source   Edit @@ -4672,7 +4672,7 @@

Consts

  Source   Edit @@ -4684,7 +4684,7 @@

Consts

  Source   Edit @@ -4696,7 +4696,7 @@

Consts

  Source   Edit @@ -4708,7 +4708,7 @@

Consts

  Source   Edit @@ -4720,7 +4720,7 @@

Consts

  Source   Edit @@ -4732,7 +4732,7 @@

Consts

  Source   Edit @@ -4744,7 +4744,7 @@

Consts

  Source   Edit @@ -4756,7 +4756,7 @@

Consts

  Source   Edit @@ -4768,7 +4768,7 @@

Consts

  Source   Edit @@ -4780,7 +4780,7 @@

Consts

  Source   Edit @@ -4792,7 +4792,7 @@

Consts

  Source   Edit @@ -4804,7 +4804,7 @@

Consts

  Source   Edit @@ -4816,7 +4816,7 @@

Consts

  Source   Edit @@ -4828,7 +4828,7 @@

Consts

  Source   Edit @@ -4840,7 +4840,7 @@

Consts

  Source   Edit @@ -4852,7 +4852,7 @@

Consts

  Source   Edit @@ -4864,7 +4864,7 @@

Consts

  Source   Edit @@ -4876,7 +4876,7 @@

Consts

  Source   Edit @@ -4888,7 +4888,7 @@

Consts

  Source   Edit @@ -4900,7 +4900,7 @@

Consts

  Source   Edit @@ -4912,7 +4912,7 @@

Consts

  Source   Edit @@ -4924,7 +4924,7 @@

Consts

  Source   Edit @@ -4936,7 +4936,7 @@

Consts

  Source   Edit @@ -4948,7 +4948,7 @@

Consts

  Source   Edit @@ -4960,7 +4960,7 @@

Consts

  Source   Edit @@ -4972,7 +4972,7 @@

Consts

  Source   Edit @@ -4984,7 +4984,7 @@

Consts

  Source   Edit @@ -4996,7 +4996,7 @@

Consts

  Source   Edit @@ -5008,7 +5008,7 @@

Consts

  Source   Edit @@ -5020,7 +5020,7 @@

Consts

  Source   Edit @@ -5032,7 +5032,7 @@

Consts

  Source   Edit @@ -5044,7 +5044,7 @@

Consts

  Source   Edit @@ -5056,7 +5056,7 @@

Consts

  Source   Edit @@ -5068,7 +5068,7 @@

Consts

  Source   Edit @@ -5080,7 +5080,7 @@

Consts

  Source   Edit @@ -5092,7 +5092,7 @@

Consts

  Source   Edit @@ -5104,7 +5104,7 @@

Consts

  Source   Edit @@ -5116,7 +5116,7 @@

Consts

  Source   Edit @@ -5128,7 +5128,7 @@

Consts

  Source   Edit @@ -5140,7 +5140,7 @@

Consts

  Source   Edit @@ -5152,7 +5152,7 @@

Consts

  Source   Edit @@ -5164,7 +5164,7 @@

Consts

  Source   Edit @@ -5176,7 +5176,7 @@

Consts

  Source   Edit @@ -5188,7 +5188,7 @@

Consts

  Source   Edit @@ -5200,7 +5200,7 @@

Consts

  Source   Edit @@ -5212,7 +5212,7 @@

Consts

  Source   Edit @@ -5224,7 +5224,7 @@

Consts

  Source   Edit @@ -5236,7 +5236,7 @@

Consts

  Source   Edit @@ -5248,7 +5248,7 @@

Consts

  Source   Edit @@ -5260,7 +5260,7 @@

Consts

  Source   Edit @@ -5272,7 +5272,7 @@

Consts

  Source   Edit @@ -5284,7 +5284,7 @@

Consts

  Source   Edit @@ -5296,7 +5296,7 @@

Consts

  Source   Edit @@ -5308,7 +5308,7 @@

Consts

  Source   Edit @@ -5320,7 +5320,7 @@

Consts

  Source   Edit @@ -5332,7 +5332,7 @@

Consts

  Source   Edit @@ -5344,7 +5344,7 @@

Consts

  Source   Edit @@ -5356,7 +5356,7 @@

Consts

  Source   Edit @@ -5368,7 +5368,7 @@

Consts

  Source   Edit @@ -5380,7 +5380,7 @@

Consts

  Source   Edit @@ -5392,7 +5392,7 @@

Consts

  Source   Edit @@ -5404,7 +5404,7 @@

Consts

  Source   Edit @@ -5416,7 +5416,7 @@

Consts

  Source   Edit @@ -5428,7 +5428,7 @@

Consts

  Source   Edit @@ -5440,7 +5440,7 @@

Consts

  Source   Edit @@ -5452,7 +5452,7 @@

Consts

  Source   Edit @@ -5464,7 +5464,7 @@

Consts

  Source   Edit @@ -5476,7 +5476,7 @@

Consts

  Source   Edit @@ -5488,7 +5488,7 @@

Consts

  Source   Edit @@ -5500,7 +5500,7 @@

Consts

  Source   Edit @@ -5512,7 +5512,7 @@

Consts

  Source   Edit @@ -5524,7 +5524,7 @@

Consts

  Source   Edit @@ -5536,7 +5536,7 @@

Consts

  Source   Edit @@ -5548,7 +5548,7 @@

Consts

  Source   Edit @@ -5560,7 +5560,7 @@

Consts

  Source   Edit @@ -5572,7 +5572,7 @@

Consts

  Source   Edit @@ -5584,7 +5584,7 @@

Consts

  Source   Edit @@ -5596,7 +5596,7 @@

Consts

  Source   Edit @@ -5608,7 +5608,7 @@

Consts

  Source   Edit @@ -5620,7 +5620,7 @@

Consts

  Source   Edit @@ -5632,7 +5632,7 @@

Consts

  Source   Edit @@ -5644,7 +5644,7 @@

Consts

  Source   Edit @@ -5656,7 +5656,7 @@

Consts

  Source   Edit @@ -5668,7 +5668,7 @@

Consts

  Source   Edit @@ -5680,7 +5680,7 @@

Consts

  Source   Edit @@ -5692,7 +5692,7 @@

Consts

  Source   Edit @@ -5704,7 +5704,7 @@

Consts

  Source   Edit @@ -5716,7 +5716,7 @@

Consts

  Source   Edit @@ -5728,7 +5728,7 @@

Consts

  Source   Edit @@ -5740,7 +5740,7 @@

Consts

  Source   Edit @@ -5752,7 +5752,7 @@

Consts

  Source   Edit @@ -5764,7 +5764,7 @@

Consts

  Source   Edit @@ -5776,7 +5776,7 @@

Consts

  Source   Edit @@ -5788,7 +5788,7 @@

Consts

  Source   Edit @@ -5800,7 +5800,7 @@

Consts

  Source   Edit @@ -5812,7 +5812,7 @@

Consts

  Source   Edit @@ -5824,7 +5824,7 @@

Consts

  Source   Edit @@ -5836,7 +5836,7 @@

Consts

  Source   Edit @@ -5848,7 +5848,7 @@

Consts

  Source   Edit @@ -5860,7 +5860,7 @@

Consts

  Source   Edit @@ -5872,7 +5872,7 @@

Consts

  Source   Edit @@ -5884,7 +5884,7 @@

Consts

  Source   Edit @@ -5896,7 +5896,7 @@

Consts

  Source   Edit @@ -5908,7 +5908,7 @@

Consts

  Source   Edit @@ -5920,7 +5920,7 @@

Consts

  Source   Edit @@ -5932,7 +5932,7 @@

Consts

  Source   Edit @@ -5944,7 +5944,7 @@

Consts

  Source   Edit @@ -5956,7 +5956,7 @@

Consts

  Source   Edit @@ -5968,7 +5968,7 @@

Consts

  Source   Edit @@ -5980,7 +5980,7 @@

Consts

  Source   Edit @@ -5992,7 +5992,7 @@

Consts

  Source   Edit @@ -6004,7 +6004,7 @@

Consts

  Source   Edit @@ -6016,7 +6016,7 @@

Consts

  Source   Edit @@ -6028,7 +6028,7 @@

Consts

  Source   Edit @@ -6040,7 +6040,7 @@

Consts

  Source   Edit @@ -6052,7 +6052,7 @@

Consts

  Source   Edit @@ -6064,7 +6064,7 @@

Consts

  Source   Edit @@ -6076,7 +6076,7 @@

Consts

  Source   Edit @@ -6088,7 +6088,7 @@

Consts

  Source   Edit @@ -6100,7 +6100,7 @@

Consts

  Source   Edit @@ -6112,7 +6112,7 @@

Consts

  Source   Edit @@ -6124,7 +6124,7 @@

Consts

  Source   Edit @@ -6136,7 +6136,7 @@

Consts

  Source   Edit @@ -6148,7 +6148,7 @@

Consts

  Source   Edit @@ -6160,7 +6160,7 @@

Consts

  Source   Edit @@ -6172,7 +6172,7 @@

Consts

  Source   Edit @@ -6184,7 +6184,7 @@

Consts

  Source   Edit @@ -6196,7 +6196,7 @@

Consts

  Source   Edit @@ -6208,7 +6208,7 @@

Consts

  Source   Edit @@ -6220,7 +6220,7 @@

Consts

  Source   Edit @@ -6232,7 +6232,7 @@

Consts

  Source   Edit @@ -6244,7 +6244,7 @@

Consts

  Source   Edit @@ -6256,7 +6256,7 @@

Consts

  Source   Edit @@ -6268,7 +6268,7 @@

Consts

  Source   Edit @@ -6280,7 +6280,7 @@

Consts

  Source   Edit @@ -6292,7 +6292,7 @@

Consts

  Source   Edit @@ -6304,7 +6304,7 @@

Consts

  Source   Edit @@ -6316,7 +6316,7 @@

Consts

  Source   Edit @@ -6328,7 +6328,7 @@

Consts

  Source   Edit @@ -6340,7 +6340,7 @@

Consts

  Source   Edit @@ -6352,7 +6352,7 @@

Consts

  Source   Edit @@ -6364,7 +6364,7 @@

Consts

  Source   Edit @@ -6376,7 +6376,7 @@

Consts

  Source   Edit @@ -6388,7 +6388,7 @@

Consts

  Source   Edit @@ -6400,7 +6400,7 @@

Consts

  Source   Edit @@ -6412,7 +6412,7 @@

Consts

  Source   Edit @@ -6424,7 +6424,7 @@

Consts

  Source   Edit @@ -6436,7 +6436,7 @@

Consts

  Source   Edit @@ -6448,7 +6448,7 @@

Consts

  Source   Edit @@ -6460,7 +6460,7 @@

Consts

  Source   Edit @@ -6472,7 +6472,7 @@

Consts

  Source   Edit @@ -6484,7 +6484,7 @@

Consts

  Source   Edit @@ -6496,7 +6496,7 @@

Consts

  Source   Edit @@ -6508,7 +6508,7 @@

Consts

  Source   Edit @@ -6520,7 +6520,7 @@

Consts

  Source   Edit @@ -6532,7 +6532,7 @@

Consts

  Source   Edit @@ -6544,7 +6544,7 @@

Consts

  Source   Edit @@ -6556,7 +6556,7 @@

Consts

  Source   Edit @@ -6568,7 +6568,7 @@

Consts

  Source   Edit @@ -6580,7 +6580,7 @@

Consts

  Source   Edit @@ -6592,7 +6592,7 @@

Consts

  Source   Edit @@ -6604,7 +6604,7 @@

Consts

  Source   Edit @@ -6616,7 +6616,7 @@

Consts

  Source   Edit @@ -6628,7 +6628,7 @@

Consts

  Source   Edit @@ -6640,7 +6640,7 @@

Consts

  Source   Edit @@ -6652,7 +6652,7 @@

Consts

  Source   Edit @@ -6664,7 +6664,7 @@

Consts

  Source   Edit @@ -6676,7 +6676,7 @@

Consts

  Source   Edit @@ -6688,7 +6688,7 @@

Consts

  Source   Edit @@ -6700,7 +6700,7 @@

Consts

  Source   Edit @@ -6712,7 +6712,7 @@

Consts

  Source   Edit @@ -6724,7 +6724,7 @@

Consts

  Source   Edit @@ -6736,7 +6736,7 @@

Consts

  Source   Edit @@ -6748,7 +6748,7 @@

Consts

  Source   Edit @@ -6760,7 +6760,7 @@

Consts

  Source   Edit @@ -6772,7 +6772,7 @@

Consts

  Source   Edit @@ -6784,7 +6784,7 @@

Consts

  Source   Edit @@ -6796,7 +6796,7 @@

Consts

  Source   Edit @@ -6808,7 +6808,7 @@

Consts

  Source   Edit @@ -6820,7 +6820,7 @@

Consts

  Source   Edit @@ -6832,7 +6832,7 @@

Consts

  Source   Edit @@ -6844,7 +6844,7 @@

Consts

  Source   Edit @@ -6856,7 +6856,7 @@

Consts

  Source   Edit @@ -6868,7 +6868,7 @@

Consts

  Source   Edit @@ -6880,7 +6880,7 @@

Consts

  Source   Edit @@ -6892,7 +6892,7 @@

Consts

  Source   Edit @@ -6904,7 +6904,7 @@

Consts

  Source   Edit @@ -6916,7 +6916,7 @@

Consts

  Source   Edit @@ -6928,7 +6928,7 @@

Consts

  Source   Edit @@ -6940,7 +6940,7 @@

Consts

  Source   Edit @@ -6952,7 +6952,7 @@

Consts

  Source   Edit @@ -6964,7 +6964,7 @@

Consts

  Source   Edit @@ -6976,7 +6976,7 @@

Consts

  Source   Edit @@ -6988,7 +6988,7 @@

Consts

  Source   Edit @@ -7000,7 +7000,7 @@

Consts

  Source   Edit @@ -7012,7 +7012,7 @@

Consts

  Source   Edit @@ -7024,7 +7024,7 @@

Consts

  Source   Edit @@ -7036,7 +7036,7 @@

Consts

  Source   Edit @@ -7048,7 +7048,7 @@

Consts

  Source   Edit @@ -7060,7 +7060,7 @@

Consts

  Source   Edit @@ -7072,7 +7072,7 @@

Consts

  Source   Edit @@ -7084,7 +7084,7 @@

Consts

  Source   Edit @@ -7096,7 +7096,7 @@

Consts

  Source   Edit @@ -7108,7 +7108,7 @@

Consts

  Source   Edit @@ -7120,7 +7120,7 @@

Consts

  Source   Edit @@ -7132,7 +7132,7 @@

Consts

  Source   Edit @@ -7144,7 +7144,7 @@

Consts

  Source   Edit @@ -7156,7 +7156,7 @@

Consts

  Source   Edit @@ -7168,7 +7168,7 @@

Consts

  Source   Edit @@ -7180,7 +7180,7 @@

Consts

  Source   Edit @@ -7192,7 +7192,7 @@

Consts

  Source   Edit @@ -7204,7 +7204,7 @@

Consts

  Source   Edit @@ -7216,7 +7216,7 @@

Consts

  Source   Edit @@ -7228,7 +7228,7 @@

Consts

  Source   Edit @@ -7240,7 +7240,7 @@

Consts

  Source   Edit @@ -7252,7 +7252,7 @@

Consts

  Source   Edit @@ -7264,7 +7264,7 @@

Consts

  Source   Edit @@ -7276,7 +7276,7 @@

Consts

  Source   Edit @@ -7288,7 +7288,7 @@

Consts

  Source   Edit @@ -7300,7 +7300,7 @@

Consts

  Source   Edit @@ -7312,7 +7312,7 @@

Consts

  Source   Edit @@ -7324,7 +7324,7 @@

Consts

  Source   Edit @@ -7336,7 +7336,7 @@

Consts

  Source   Edit @@ -7348,7 +7348,7 @@

Consts

  Source   Edit @@ -7360,7 +7360,7 @@

Consts

  Source   Edit @@ -7372,7 +7372,7 @@

Consts

  Source   Edit @@ -7384,7 +7384,7 @@

Consts

  Source   Edit @@ -7396,7 +7396,7 @@

Consts

  Source   Edit @@ -7408,7 +7408,7 @@

Consts

  Source   Edit @@ -7420,7 +7420,7 @@

Consts

  Source   Edit @@ -7432,7 +7432,7 @@

Consts

  Source   Edit @@ -7444,7 +7444,7 @@

Consts

  Source   Edit @@ -7456,7 +7456,7 @@

Consts

  Source   Edit @@ -7468,7 +7468,7 @@

Consts

  Source   Edit @@ -7480,7 +7480,7 @@

Consts

  Source   Edit @@ -7492,7 +7492,7 @@

Consts

  Source   Edit @@ -7504,7 +7504,7 @@

Consts

  Source   Edit @@ -7516,7 +7516,7 @@

Consts

  Source   Edit @@ -7528,7 +7528,7 @@

Consts

  Source   Edit @@ -7540,7 +7540,7 @@

Consts

  Source   Edit @@ -7552,7 +7552,7 @@

Consts

  Source   Edit @@ -7564,7 +7564,7 @@

Consts

  Source   Edit @@ -7576,7 +7576,7 @@

Consts

  Source   Edit @@ -7588,7 +7588,7 @@

Consts

  Source   Edit @@ -7600,7 +7600,7 @@

Consts

  Source   Edit @@ -7612,7 +7612,7 @@

Consts

  Source   Edit @@ -7624,7 +7624,7 @@

Consts

  Source   Edit @@ -7636,7 +7636,7 @@

Consts

  Source   Edit @@ -7648,7 +7648,7 @@

Consts

  Source   Edit @@ -7660,7 +7660,7 @@

Consts

  Source   Edit @@ -7672,7 +7672,7 @@

Consts

  Source   Edit @@ -7684,7 +7684,7 @@

Consts

  Source   Edit @@ -7696,7 +7696,7 @@

Consts

  Source   Edit @@ -7708,7 +7708,7 @@

Consts

  Source   Edit @@ -7720,7 +7720,7 @@

Consts

  Source   Edit @@ -7732,7 +7732,7 @@

Consts

  Source   Edit @@ -7744,7 +7744,7 @@

Consts

  Source   Edit @@ -7756,7 +7756,7 @@

Consts

  Source   Edit @@ -7768,7 +7768,7 @@

Consts

  Source   Edit @@ -7780,7 +7780,7 @@

Consts

  Source   Edit @@ -7792,7 +7792,7 @@

Consts

  Source   Edit @@ -7804,7 +7804,7 @@

Consts

  Source   Edit @@ -7816,7 +7816,7 @@

Consts

  Source   Edit @@ -7828,7 +7828,7 @@

Consts

  Source   Edit @@ -7840,7 +7840,7 @@

Consts

  Source   Edit @@ -7852,7 +7852,7 @@

Consts

  Source   Edit @@ -7864,7 +7864,7 @@

Consts

  Source   Edit @@ -7876,7 +7876,7 @@

Consts

  Source   Edit @@ -7888,7 +7888,7 @@

Consts

  Source   Edit @@ -7900,7 +7900,7 @@

Consts

  Source   Edit @@ -7912,7 +7912,7 @@

Consts

  Source   Edit @@ -7924,7 +7924,7 @@

Consts

  Source   Edit @@ -7936,7 +7936,7 @@

Consts

  Source   Edit @@ -7948,7 +7948,7 @@

Consts

  Source   Edit @@ -7960,7 +7960,7 @@

Consts

  Source   Edit @@ -7972,7 +7972,7 @@

Consts

  Source   Edit @@ -7984,7 +7984,7 @@

Consts

  Source   Edit @@ -7996,7 +7996,7 @@

Consts

  Source   Edit @@ -8008,7 +8008,7 @@

Consts

  Source   Edit @@ -8020,7 +8020,7 @@

Consts

  Source   Edit @@ -8032,7 +8032,7 @@

Consts

  Source   Edit @@ -8044,7 +8044,7 @@

Consts

  Source   Edit @@ -8056,7 +8056,7 @@

Consts

  Source   Edit @@ -8068,7 +8068,7 @@

Consts

  Source   Edit @@ -8080,7 +8080,7 @@

Consts

  Source   Edit @@ -8092,7 +8092,7 @@

Consts

  Source   Edit @@ -8104,7 +8104,7 @@

Consts

  Source   Edit @@ -8116,7 +8116,7 @@

Consts

  Source   Edit @@ -8128,7 +8128,7 @@

Consts

  Source   Edit @@ -8140,7 +8140,7 @@

Consts

  Source   Edit @@ -8152,7 +8152,7 @@

Consts

  Source   Edit @@ -8164,7 +8164,7 @@

Consts

  Source   Edit @@ -8176,7 +8176,7 @@

Consts

  Source   Edit @@ -8188,7 +8188,7 @@

Consts

  Source   Edit @@ -8200,7 +8200,7 @@

Consts

  Source   Edit @@ -8212,7 +8212,7 @@

Consts

  Source   Edit @@ -8224,7 +8224,7 @@

Consts

  Source   Edit @@ -8236,7 +8236,7 @@

Consts

  Source   Edit @@ -8248,7 +8248,7 @@

Consts

  Source   Edit @@ -8260,7 +8260,7 @@

Consts

  Source   Edit @@ -8272,7 +8272,7 @@

Consts

  Source   Edit @@ -8284,7 +8284,7 @@

Consts

  Source   Edit @@ -8296,7 +8296,7 @@

Consts

  Source   Edit @@ -8315,7 +8315,7 @@

Procs

  Source   Edit @@ -8330,7 +8330,7 @@

Procs

  Source   Edit @@ -8347,7 +8347,7 @@

Procs

  Source   Edit @@ -8363,7 +8363,7 @@

Procs

  Source   Edit @@ -8376,7 +8376,7 @@

Procs

  Source   Edit @@ -8389,7 +8389,7 @@

Procs

  Source   Edit @@ -8405,7 +8405,7 @@

Procs

  Source   Edit @@ -8422,7 +8422,7 @@

Procs

  Source   Edit @@ -8438,7 +8438,7 @@

Procs

  Source   Edit @@ -8454,7 +8454,7 @@

Procs

  Source   Edit @@ -8471,7 +8471,7 @@

Procs

  Source   Edit @@ -8484,7 +8484,7 @@

Procs

  Source   Edit @@ -8500,7 +8500,7 @@

Procs

  Source   Edit @@ -8516,7 +8516,7 @@

Procs

  Source   Edit @@ -8530,7 +8530,7 @@

Procs

  Source   Edit @@ -8545,7 +8545,7 @@

Procs

  Source   Edit @@ -8559,7 +8559,7 @@

Procs

  Source   Edit @@ -8573,7 +8573,7 @@

Procs

  Source   Edit @@ -8586,7 +8586,7 @@

Procs

  Source   Edit @@ -8600,7 +8600,7 @@

Procs

  Source   Edit @@ -8613,7 +8613,7 @@

Procs

  Source   Edit @@ -8627,7 +8627,7 @@

Procs

  Source   Edit @@ -8640,7 +8640,7 @@

Procs

  Source   Edit @@ -8653,7 +8653,7 @@

Procs

  Source   Edit @@ -8667,7 +8667,7 @@

Procs

  Source   Edit @@ -8682,7 +8682,7 @@

Procs

  Source   Edit @@ -8698,7 +8698,7 @@

Procs

  Source   Edit @@ -8714,7 +8714,7 @@

Procs

  Source   Edit @@ -8729,7 +8729,7 @@

Procs

  Source   Edit @@ -8744,7 +8744,7 @@

Procs

  Source   Edit @@ -8759,7 +8759,7 @@

Procs

  Source   Edit @@ -8772,7 +8772,7 @@

Procs

  Source   Edit @@ -8786,7 +8786,7 @@

Procs

  Source   Edit @@ -8800,7 +8800,7 @@

Procs

  Source   Edit @@ -8816,7 +8816,7 @@

Procs

  Source   Edit @@ -8833,7 +8833,7 @@

Procs

  Source   Edit @@ -8849,7 +8849,7 @@

Procs

  Source   Edit @@ -8863,7 +8863,7 @@

Procs

  Source   Edit @@ -8876,7 +8876,7 @@

Procs

  Source   Edit @@ -8890,7 +8890,7 @@

Procs

  Source   Edit @@ -8904,7 +8904,7 @@

Procs

  Source   Edit @@ -8918,7 +8918,7 @@

Procs

  Source   Edit @@ -8932,7 +8932,7 @@

Procs

  Source   Edit @@ -8946,7 +8946,7 @@

Procs

  Source   Edit @@ -8963,7 +8963,7 @@

Procs

  Source   Edit @@ -8980,7 +8980,7 @@

Procs

  Source   Edit @@ -8997,7 +8997,7 @@

Procs

  Source   Edit diff --git a/oids.html b/oids.html index 2c915750b5a..d92d2c35fc3 100644 --- a/oids.html +++ b/oids.html @@ -158,7 +158,7 @@

pure/oids

  Source   Edit @@ -186,7 +186,7 @@

Types

An OID.   Source   Edit @@ -203,7 +203,7 @@

Procs

Converts an OID to a string.   Source   Edit @@ -215,7 +215,7 @@

Procs

Compares two OIDs for equality.   Source   Edit @@ -227,7 +227,7 @@

Procs

Returns the generated timestamp of the OID.   Source   Edit @@ -243,7 +243,7 @@

Procs

Example: cmd: -r:off

echo $genOid() # for example, "5fc7f546ddbbc84800006aaf"
  Source   Edit @@ -255,7 +255,7 @@

Procs

Generates the hash of an OID for use in hashtables.   Source   Edit @@ -267,7 +267,7 @@

Procs

  Source   Edit @@ -279,7 +279,7 @@

Procs

Parses an OID.   Source   Edit diff --git a/openssl.html b/openssl.html index 8e623f509ee..2cbf3427dac 100644 --- a/openssl.html +++ b/openssl.html @@ -1320,7 +1320,7 @@

wrappers/openssl

  Source   Edit @@ -1347,7 +1347,7 @@

Types

  Source   Edit @@ -1359,7 +1359,7 @@

Types

  Source   Edit @@ -1371,7 +1371,7 @@

Types

  Source   Edit @@ -1386,7 +1386,7 @@

Types

  Source   Edit @@ -1398,7 +1398,7 @@

Types

  Source   Edit @@ -1410,7 +1410,7 @@

Types

  Source   Edit @@ -1422,7 +1422,7 @@

Types

  Source   Edit @@ -1434,7 +1434,7 @@

Types

  Source   Edit @@ -1446,7 +1446,7 @@

Types

  Source   Edit @@ -1462,7 +1462,7 @@

Types

  Source   Edit @@ -1474,7 +1474,7 @@

Types

  Source   Edit @@ -1488,7 +1488,7 @@

Types

  Source   Edit @@ -1500,7 +1500,7 @@

Types

  Source   Edit @@ -1512,7 +1512,7 @@

Types

  Source   Edit @@ -1524,7 +1524,7 @@

Types

  Source   Edit @@ -1536,7 +1536,7 @@

Types

  Source   Edit @@ -1549,7 +1549,7 @@

Types

  Source   Edit @@ -1561,7 +1561,7 @@

Types

  Source   Edit @@ -1573,7 +1573,7 @@

Types

  Source   Edit @@ -1585,7 +1585,7 @@

Types

  Source   Edit @@ -1597,7 +1597,7 @@

Types

  Source   Edit @@ -1611,7 +1611,7 @@

Types

  Source   Edit @@ -1624,7 +1624,7 @@

Types

  Source   Edit @@ -1636,7 +1636,7 @@

Types

  Source   Edit @@ -1648,7 +1648,7 @@

Types

  Source   Edit @@ -1660,7 +1660,7 @@

Types

  Source   Edit @@ -1672,7 +1672,7 @@

Types

  Source   Edit @@ -1684,7 +1684,7 @@

Types

  Source   Edit @@ -1696,7 +1696,7 @@

Types

  Source   Edit @@ -1708,7 +1708,7 @@

Types

  Source   Edit @@ -1720,7 +1720,7 @@

Types

  Source   Edit @@ -1732,7 +1732,7 @@

Types

  Source   Edit @@ -1749,7 +1749,7 @@

Consts

  Source   Edit @@ -1761,7 +1761,7 @@

Consts

  Source   Edit @@ -1773,7 +1773,7 @@

Consts

  Source   Edit @@ -1785,7 +1785,7 @@

Consts

  Source   Edit @@ -1797,7 +1797,7 @@

Consts

  Source   Edit @@ -1809,7 +1809,7 @@

Consts

  Source   Edit @@ -1821,7 +1821,7 @@

Consts

  Source   Edit @@ -1833,7 +1833,7 @@

Consts

  Source   Edit @@ -1845,7 +1845,7 @@

Consts

  Source   Edit @@ -1857,7 +1857,7 @@

Consts

  Source   Edit @@ -1869,7 +1869,7 @@

Consts

  Source   Edit @@ -1881,7 +1881,7 @@

Consts

  Source   Edit @@ -1893,7 +1893,7 @@

Consts

  Source   Edit @@ -1905,7 +1905,7 @@

Consts

  Source   Edit @@ -1917,7 +1917,7 @@

Consts

  Source   Edit @@ -1929,7 +1929,7 @@

Consts

  Source   Edit @@ -1941,7 +1941,7 @@

Consts

  Source   Edit @@ -1953,7 +1953,7 @@

Consts

  Source   Edit @@ -1965,7 +1965,7 @@

Consts

  Source   Edit @@ -1977,7 +1977,7 @@

Consts

  Source   Edit @@ -1989,7 +1989,7 @@

Consts

  Source   Edit @@ -2001,7 +2001,7 @@

Consts

  Source   Edit @@ -2013,7 +2013,7 @@

Consts

  Source   Edit @@ -2025,7 +2025,7 @@

Consts

  Source   Edit @@ -2037,7 +2037,7 @@

Consts

  Source   Edit @@ -2049,7 +2049,7 @@

Consts

  Source   Edit @@ -2061,7 +2061,7 @@

Consts

  Source   Edit @@ -2073,7 +2073,7 @@

Consts

  Source   Edit @@ -2085,7 +2085,7 @@

Consts

  Source   Edit @@ -2097,7 +2097,7 @@

Consts

  Source   Edit @@ -2109,7 +2109,7 @@

Consts

  Source   Edit @@ -2121,7 +2121,7 @@

Consts

  Source   Edit @@ -2133,7 +2133,7 @@

Consts

  Source   Edit @@ -2145,7 +2145,7 @@

Consts

  Source   Edit @@ -2157,7 +2157,7 @@

Consts

  Source   Edit @@ -2169,7 +2169,7 @@

Consts

  Source   Edit @@ -2181,7 +2181,7 @@

Consts

  Source   Edit @@ -2193,7 +2193,7 @@

Consts

  Source   Edit @@ -2205,7 +2205,7 @@

Consts

  Source   Edit @@ -2217,7 +2217,7 @@

Consts

  Source   Edit @@ -2229,7 +2229,7 @@

Consts

  Source   Edit @@ -2241,7 +2241,7 @@

Consts

  Source   Edit @@ -2253,7 +2253,7 @@

Consts

  Source   Edit @@ -2265,7 +2265,7 @@

Consts

  Source   Edit @@ -2277,7 +2277,7 @@

Consts

  Source   Edit @@ -2289,7 +2289,7 @@

Consts

  Source   Edit @@ -2301,7 +2301,7 @@

Consts

  Source   Edit @@ -2313,7 +2313,7 @@

Consts

  Source   Edit @@ -2325,7 +2325,7 @@

Consts

  Source   Edit @@ -2337,7 +2337,7 @@

Consts

  Source   Edit @@ -2349,7 +2349,7 @@

Consts

  Source   Edit @@ -2361,7 +2361,7 @@

Consts

  Source   Edit @@ -2373,7 +2373,7 @@

Consts

  Source   Edit @@ -2385,7 +2385,7 @@

Consts

  Source   Edit @@ -2397,7 +2397,7 @@

Consts

  Source   Edit @@ -2409,7 +2409,7 @@

Consts

  Source   Edit @@ -2421,7 +2421,7 @@

Consts

  Source   Edit @@ -2433,7 +2433,7 @@

Consts

  Source   Edit @@ -2445,7 +2445,7 @@

Consts

  Source   Edit @@ -2457,7 +2457,7 @@

Consts

  Source   Edit @@ -2469,7 +2469,7 @@

Consts

  Source   Edit @@ -2481,7 +2481,7 @@

Consts

  Source   Edit @@ -2493,7 +2493,7 @@

Consts

  Source   Edit @@ -2505,7 +2505,7 @@

Consts

  Source   Edit @@ -2517,7 +2517,7 @@

Consts

  Source   Edit @@ -2529,7 +2529,7 @@

Consts

  Source   Edit @@ -2541,7 +2541,7 @@

Consts

  Source   Edit @@ -2553,7 +2553,7 @@

Consts

  Source   Edit @@ -2565,7 +2565,7 @@

Consts

  Source   Edit @@ -2577,7 +2577,7 @@

Consts

  Source   Edit @@ -2589,7 +2589,7 @@

Consts

  Source   Edit @@ -2601,7 +2601,7 @@

Consts

  Source   Edit @@ -2613,7 +2613,7 @@

Consts

  Source   Edit @@ -2625,7 +2625,7 @@

Consts

  Source   Edit @@ -2637,7 +2637,7 @@

Consts

  Source   Edit @@ -2649,7 +2649,7 @@

Consts

  Source   Edit @@ -2661,7 +2661,7 @@

Consts

  Source   Edit @@ -2673,7 +2673,7 @@

Consts

  Source   Edit @@ -2685,7 +2685,7 @@

Consts

  Source   Edit @@ -2697,7 +2697,7 @@

Consts

  Source   Edit @@ -2709,7 +2709,7 @@

Consts

  Source   Edit @@ -2721,7 +2721,7 @@

Consts

  Source   Edit @@ -2733,7 +2733,7 @@

Consts

  Source   Edit @@ -2745,7 +2745,7 @@

Consts

  Source   Edit @@ -2757,7 +2757,7 @@

Consts

  Source   Edit @@ -2769,7 +2769,7 @@

Consts

  Source   Edit @@ -2781,7 +2781,7 @@

Consts

  Source   Edit @@ -2793,7 +2793,7 @@

Consts

  Source   Edit @@ -2805,7 +2805,7 @@

Consts

  Source   Edit @@ -2817,7 +2817,7 @@

Consts

  Source   Edit @@ -2829,7 +2829,7 @@

Consts

  Source   Edit @@ -2841,7 +2841,7 @@

Consts

  Source   Edit @@ -2853,7 +2853,7 @@

Consts

  Source   Edit @@ -2865,7 +2865,7 @@

Consts

  Source   Edit @@ -2877,7 +2877,7 @@

Consts

  Source   Edit @@ -2889,7 +2889,7 @@

Consts

  Source   Edit @@ -2901,7 +2901,7 @@

Consts

  Source   Edit @@ -2913,7 +2913,7 @@

Consts

  Source   Edit @@ -2925,7 +2925,7 @@

Consts

  Source   Edit @@ -2937,7 +2937,7 @@

Consts

  Source   Edit @@ -2949,7 +2949,7 @@

Consts

  Source   Edit @@ -2961,7 +2961,7 @@

Consts

  Source   Edit @@ -2973,7 +2973,7 @@

Consts

  Source   Edit @@ -2985,7 +2985,7 @@

Consts

  Source   Edit @@ -2997,7 +2997,7 @@

Consts

  Source   Edit @@ -3009,7 +3009,7 @@

Consts

  Source   Edit @@ -3021,7 +3021,7 @@

Consts

  Source   Edit @@ -3033,7 +3033,7 @@

Consts

  Source   Edit @@ -3045,7 +3045,7 @@

Consts

  Source   Edit @@ -3057,7 +3057,7 @@

Consts

  Source   Edit @@ -3069,7 +3069,7 @@

Consts

  Source   Edit @@ -3081,7 +3081,7 @@

Consts

  Source   Edit @@ -3093,7 +3093,7 @@

Consts

  Source   Edit @@ -3105,7 +3105,7 @@

Consts

  Source   Edit @@ -3117,7 +3117,7 @@

Consts

  Source   Edit @@ -3129,7 +3129,7 @@

Consts

  Source   Edit @@ -3141,7 +3141,7 @@

Consts

  Source   Edit @@ -3159,7 +3159,7 @@

Procs

  Source   Edit @@ -3171,7 +3171,7 @@

Procs

  Source   Edit @@ -3183,7 +3183,7 @@

Procs

  Source   Edit @@ -3196,7 +3196,7 @@

Procs

  Source   Edit @@ -3208,7 +3208,7 @@

Procs

  Source   Edit @@ -3221,7 +3221,7 @@

Procs

  Source   Edit @@ -3234,7 +3234,7 @@

Procs

  Source   Edit @@ -3247,7 +3247,7 @@

Procs

  Source   Edit @@ -3259,7 +3259,7 @@

Procs

  Source   Edit @@ -3272,7 +3272,7 @@

Procs

  Source   Edit @@ -3286,7 +3286,7 @@

Procs

  Source   Edit @@ -3299,7 +3299,7 @@

Procs

  Source   Edit @@ -3312,7 +3312,7 @@

Procs

  Source   Edit @@ -3325,7 +3325,7 @@

Procs

  Source   Edit @@ -3338,7 +3338,7 @@

Procs

  Source   Edit @@ -3351,7 +3351,7 @@

Procs

  Source   Edit @@ -3363,7 +3363,7 @@

Procs

  Source   Edit @@ -3375,7 +3375,7 @@

Procs

decode DER/BER bytestring into X.509 certificate struct   Source   Edit @@ -3388,7 +3388,7 @@

Procs

  Source   Edit @@ -3401,7 +3401,7 @@

Procs

  Source   Edit @@ -3414,7 +3414,7 @@

Procs

  Source   Edit @@ -3427,7 +3427,7 @@

Procs

  Source   Edit @@ -3440,7 +3440,7 @@

Procs

  Source   Edit @@ -3453,7 +3453,7 @@

Procs

  Source   Edit @@ -3466,7 +3466,7 @@

Procs

  Source   Edit @@ -3479,7 +3479,7 @@

Procs

  Source   Edit @@ -3493,7 +3493,7 @@

Procs

  Source   Edit @@ -3506,7 +3506,7 @@

Procs

  Source   Edit @@ -3519,7 +3519,7 @@

Procs

  Source   Edit @@ -3532,7 +3532,7 @@

Procs

  Source   Edit @@ -3546,7 +3546,7 @@

Procs

  Source   Edit @@ -3559,7 +3559,7 @@

Procs

  Source   Edit @@ -3571,7 +3571,7 @@

Procs

  Source   Edit @@ -3583,7 +3583,7 @@

Procs

  Source   Edit @@ -3595,7 +3595,7 @@

Procs

  Source   Edit @@ -3607,7 +3607,7 @@

Procs

  Source   Edit @@ -3619,7 +3619,7 @@

Procs

  Source   Edit @@ -3631,7 +3631,7 @@

Procs

  Source   Edit @@ -3644,7 +3644,7 @@

Procs

  Source   Edit @@ -3657,7 +3657,7 @@

Procs

  Source   Edit @@ -3670,7 +3670,7 @@

Procs

  Source   Edit @@ -3682,7 +3682,7 @@

Procs

  Source   Edit @@ -3694,7 +3694,7 @@

Procs

  Source   Edit @@ -3706,7 +3706,7 @@

Procs

  Source   Edit @@ -3719,7 +3719,7 @@

Procs

  Source   Edit @@ -3732,7 +3732,7 @@

Procs

  Source   Edit @@ -3744,7 +3744,7 @@

Procs

  Source   Edit @@ -3757,7 +3757,7 @@

Procs

  Source   Edit @@ -3769,7 +3769,7 @@

Procs

  Source   Edit @@ -3781,7 +3781,7 @@

Procs

  Source   Edit @@ -3793,7 +3793,7 @@

Procs

  Source   Edit @@ -3805,7 +3805,7 @@

Procs

  Source   Edit @@ -3817,7 +3817,7 @@

Procs

  Source   Edit @@ -3829,7 +3829,7 @@

Procs

  Source   Edit @@ -3841,7 +3841,7 @@

Procs

  Source   Edit @@ -3853,7 +3853,7 @@

Procs

  Source   Edit @@ -3865,7 +3865,7 @@

Procs

Return OpenSSL version as unsigned long or 0 if not available   Source   Edit @@ -3879,7 +3879,7 @@

Procs

  Source   Edit @@ -3891,7 +3891,7 @@

Procs

encode cert to DER string   Source   Edit @@ -3904,7 +3904,7 @@

Procs

  Source   Edit @@ -3917,7 +3917,7 @@

Procs

  Source   Edit @@ -3930,7 +3930,7 @@

Procs

Generate MD5 hash for a file. Result is a 32 character   Source   Edit @@ -3943,7 +3943,7 @@

Procs

  Source   Edit @@ -3955,7 +3955,7 @@

Procs

  Source   Edit @@ -3967,7 +3967,7 @@

Procs

Generate MD5 hash for a string. Result is a 32 character hex string with lowercase characters   Source   Edit @@ -3980,7 +3980,7 @@

Procs

  Source   Edit @@ -3993,7 +3993,7 @@

Procs

  Source   Edit @@ -4005,7 +4005,7 @@

Procs

  Source   Edit @@ -4018,7 +4018,7 @@

Procs

  Source   Edit @@ -4031,7 +4031,7 @@

Procs

  Source   Edit @@ -4044,7 +4044,7 @@

Procs

  Source   Edit @@ -4057,7 +4057,7 @@

Procs

  Source   Edit @@ -4071,7 +4071,7 @@

Procs

  Source   Edit @@ -4085,7 +4085,7 @@

Procs

  Source   Edit @@ -4099,7 +4099,7 @@

Procs

  Source   Edit @@ -4113,7 +4113,7 @@

Procs

  Source   Edit @@ -4127,7 +4127,7 @@

Procs

  Source   Edit @@ -4141,7 +4141,7 @@

Procs

  Source   Edit @@ -4154,7 +4154,7 @@

Procs

  Source   Edit @@ -4168,7 +4168,7 @@

Procs

  Source   Edit @@ -4182,7 +4182,7 @@

Procs

  Source   Edit @@ -4196,7 +4196,7 @@

Procs

  Source   Edit @@ -4210,7 +4210,7 @@

Procs

  Source   Edit @@ -4223,7 +4223,7 @@

Procs

  Source   Edit @@ -4237,7 +4237,7 @@

Procs

  Source   Edit @@ -4250,7 +4250,7 @@

Procs

  Source   Edit @@ -4263,7 +4263,7 @@

Procs

  Source   Edit @@ -4276,7 +4276,7 @@

Procs

  Source   Edit @@ -4289,7 +4289,7 @@

Procs

  Source   Edit @@ -4302,7 +4302,7 @@

Procs

  Source   Edit @@ -4315,7 +4315,7 @@

Procs

  Source   Edit @@ -4328,7 +4328,7 @@

Procs

  Source   Edit @@ -4342,7 +4342,7 @@

Procs

  Source   Edit @@ -4355,7 +4355,7 @@

Procs

  Source   Edit @@ -4368,7 +4368,7 @@

Procs

  Source   Edit @@ -4381,7 +4381,7 @@

Procs

  Source   Edit @@ -4396,7 +4396,7 @@

Procs

  Source   Edit @@ -4409,7 +4409,7 @@

Procs

  Source   Edit @@ -4422,7 +4422,7 @@

Procs

  Source   Edit @@ -4437,7 +4437,7 @@

Procs

On OpenSSL >= 1.1.0 this is on by default and cannot be disabled.

  Source   Edit @@ -4450,7 +4450,7 @@

Procs

  Source   Edit @@ -4465,7 +4465,7 @@

Procs

  Source   Edit @@ -4479,7 +4479,7 @@

Procs

  Source   Edit @@ -4492,7 +4492,7 @@

Procs

Set callback called when OpenSSL needs PSK (for client).   Source   Edit @@ -4505,7 +4505,7 @@

Procs

Set callback called when OpenSSL needs PSK (for server).   Source   Edit @@ -4519,7 +4519,7 @@

Procs

  Source   Edit @@ -4532,7 +4532,7 @@

Procs

Set the pointer to be used in the callback registered to SSL_CTX_set_tlsext_servername_callback.   Source   Edit @@ -4553,7 +4553,7 @@

Procs

  Source   Edit @@ -4567,7 +4567,7 @@

Procs

  Source   Edit @@ -4580,7 +4580,7 @@

Procs

  Source   Edit @@ -4593,7 +4593,7 @@

Procs

  Source   Edit @@ -4606,7 +4606,7 @@

Procs

  Source   Edit @@ -4619,7 +4619,7 @@

Procs

Set PSK identity hint to use.   Source   Edit @@ -4632,7 +4632,7 @@

Procs

  Source   Edit @@ -4645,7 +4645,7 @@

Procs

  Source   Edit @@ -4658,7 +4658,7 @@

Procs

  Source   Edit @@ -4671,7 +4671,7 @@

Procs

  Source   Edit @@ -4684,7 +4684,7 @@

Procs

  Source   Edit @@ -4697,7 +4697,7 @@

Procs

  Source   Edit @@ -4710,7 +4710,7 @@

Procs

Get PSK identity.   Source   Edit @@ -4723,7 +4723,7 @@

Procs

Retrieve the server name requested in the client hello. This can be used in the callback set in SSL_CTX_set_tlsext_servername_callback to implement virtual hosting. May return nil.   Source   Edit @@ -4736,7 +4736,7 @@

Procs

  Source   Edit @@ -4749,7 +4749,7 @@

Procs

  Source   Edit @@ -4762,7 +4762,7 @@

Procs

  Source   Edit @@ -4775,7 +4775,7 @@

Procs

  Source   Edit @@ -4788,7 +4788,7 @@

Procs

Initialize SSL using OPENSSL_init_ssl for OpenSSL >= 1.1.0 otherwise SSL_library_init   Source   Edit @@ -4800,7 +4800,7 @@

Procs

  Source   Edit @@ -4813,7 +4813,7 @@

Procs

  Source   Edit @@ -4826,7 +4826,7 @@

Procs

  Source   Edit @@ -4839,7 +4839,7 @@

Procs

  Source   Edit @@ -4854,7 +4854,7 @@

Procs

  Source   Edit @@ -4867,7 +4867,7 @@

Procs

  Source   Edit @@ -4880,7 +4880,7 @@

Procs

  Source   Edit @@ -4893,7 +4893,7 @@

Procs

  Source   Edit @@ -4906,7 +4906,7 @@

Procs

  Source   Edit @@ -4919,7 +4919,7 @@

Procs

Set the SNI server name extension to be used in a client hello. Returns 1 if SNI was set, 0 if current SSL configuration doesn't support SNI.   Source   Edit @@ -4932,7 +4932,7 @@

Procs

  Source   Edit @@ -4945,7 +4945,7 @@

Procs

  Source   Edit @@ -4957,7 +4957,7 @@

Procs

  Source   Edit @@ -4970,7 +4970,7 @@

Procs

  Source   Edit @@ -4983,7 +4983,7 @@

Procs

  Source   Edit @@ -4996,7 +4996,7 @@

Procs

  Source   Edit @@ -5010,7 +5010,7 @@

Procs

  Source   Edit @@ -5023,7 +5023,7 @@

Procs

  Source   Edit @@ -5037,7 +5037,7 @@

Procs

  Source   Edit @@ -5050,7 +5050,7 @@

Procs

  Source   Edit @@ -5063,7 +5063,7 @@

Procs

  Source   Edit @@ -5076,7 +5076,7 @@

Procs

  Source   Edit @@ -5089,7 +5089,7 @@

Procs

  Source   Edit @@ -5102,7 +5102,7 @@

Procs

  Source   Edit @@ -5115,7 +5115,7 @@

Procs

  Source   Edit @@ -5128,7 +5128,7 @@

Procs

  Source   Edit @@ -5141,7 +5141,7 @@

Procs

  Source   Edit @@ -5154,7 +5154,7 @@

Procs

  Source   Edit @@ -5168,7 +5168,7 @@

Procs

  Source   Edit @@ -5181,7 +5181,7 @@

Procs

  Source   Edit @@ -5194,7 +5194,7 @@

Procs

  Source   Edit @@ -5207,7 +5207,7 @@

Procs

  Source   Edit @@ -5221,7 +5221,7 @@

Procs

  Source   Edit @@ -5234,7 +5234,7 @@

Procs

  Source   Edit @@ -5246,7 +5246,7 @@

Procs

  Source   Edit @@ -5258,7 +5258,7 @@

Procs

  Source   Edit @@ -5271,7 +5271,7 @@

Procs

  Source   Edit @@ -5283,7 +5283,7 @@

Procs

  Source   Edit @@ -5295,7 +5295,7 @@

Procs

  Source   Edit @@ -5307,7 +5307,7 @@

Procs

  Source   Edit @@ -5320,7 +5320,7 @@

Procs

  Source   Edit @@ -5333,7 +5333,7 @@

Procs

  Source   Edit @@ -5346,7 +5346,7 @@

Procs

  Source   Edit @@ -5358,7 +5358,7 @@

Procs

  Source   Edit @@ -5370,7 +5370,7 @@

Procs

  Source   Edit diff --git a/options.html b/options.html index 989a4812eba..d39518ab6e1 100644 --- a/options.html +++ b/options.html @@ -201,7 +201,7 @@

pure/options

  Source   Edit @@ -246,7 +246,7 @@

Types

An optional type that may or may not contain a value of type T. When T is a a pointer type (ptr, pointer, ref or proc), none(T) is represented as nil.   Source   Edit @@ -258,7 +258,7 @@

Types

  Source   Edit @@ -278,7 +278,7 @@

Procs

assert $some(42) == "some(42)"
 assert $none(int) == "none(int)"
  Source   Edit @@ -300,7 +300,7 @@

Procs

assert b == d assert not (a == b)   Source   Edit @@ -325,7 +325,7 @@

Procs

assert none(int).filter(isEven) == none(int) assert some(-11).filter(isEven) == none(int)   Source   Edit @@ -355,7 +355,7 @@

Procs

assert none(int).flatMap(doublePositives) == none(int) assert some(-11).flatMap(doublePositives) == none(int)   Source   Edit @@ -374,7 +374,7 @@

Procs

assert flatten(some(some(42))) == some(42)
 assert flatten(none(Option[int])) == none(int)
  Source   Edit @@ -394,7 +394,7 @@

Procs

doAssertRaises(UnpackDefect): echo none(string).get   Source   Edit @@ -409,7 +409,7 @@

Procs

assert some(42).get(9999) == 42
 assert none(int).get(9999) == 9999
  Source   Edit @@ -429,7 +429,7 @@

Procs

doAssertRaises(UnpackDefect): echo b.get   Source   Edit @@ -449,7 +449,7 @@

Procs

assert not some(42).isNone
 assert none(string).isNone
  Source   Edit @@ -469,7 +469,7 @@

Procs

assert some(42).isSome
 assert not none(string).isSome
  Source   Edit @@ -494,7 +494,7 @@

Procs

assert some(42).map(isEven) == some(true) assert none(int).map(isEven) == none(bool)   Source   Edit @@ -519,7 +519,7 @@

Procs

some(42).map(saveDouble) assert d == 84   Source   Edit @@ -539,7 +539,7 @@

Procs

Example:

assert none(int).isNone
  Source   Edit @@ -551,7 +551,7 @@

Procs

Alias for none(T).   Source   Edit @@ -576,7 +576,7 @@

Procs

assert option[Foo](nil).isNone assert option(42).isSome   Source   Edit @@ -599,7 +599,7 @@

Procs

assert a.isSome assert a.get == "abc"   Source   Edit @@ -613,7 +613,7 @@

Procs

Note: Use this only when you are absolutely sure the value is present (e.g. after checking with isSome). Generally, using the get proc is preferred.

  Source   Edit diff --git a/os.html b/os.html index bf4a93d2973..e0b6ce77efd 100644 --- a/os.html +++ b/os.html @@ -725,7 +725,7 @@

pure/os

  Source   Edit @@ -765,7 +765,7 @@

Types

Copy options.   Source   Edit @@ -777,7 +777,7 @@

Types

  Source   Edit @@ -789,7 +789,7 @@

Types

  Source   Edit @@ -818,7 +818,7 @@

Types

  Source   Edit @@ -845,7 +845,7 @@

Types

  Source   Edit @@ -857,7 +857,7 @@

Types

Specifies an OS Error Code.   Source   Edit @@ -878,7 +878,7 @@

Types

  Source   Edit @@ -890,7 +890,7 @@

Types

Effect that denotes a read operation from the directory structure.   Source   Edit @@ -902,7 +902,7 @@

Types

Effect that denotes a read from an environment variable.   Source   Edit @@ -914,7 +914,7 @@

Types

Effect that denotes a write operation to the directory structure.   Source   Edit @@ -926,7 +926,7 @@

Types

Effect that denotes a write to an environment variable.   Source   Edit @@ -943,7 +943,7 @@

Consts

An alternative character used by the operating system to separate pathname components, or the same as DirSep if only one separator character exists. This is set to '/' on Windows systems where DirSep is a backslash ('\\').   Source   Edit @@ -957,7 +957,7 @@

Consts

For example: '.' for POSIX or ':' for the classic Macintosh.

  Source   Edit @@ -969,7 +969,7 @@

Consts

The character used by the operating system to separate pathname components, for example: '/' for POSIX, ':' for the classic Macintosh, and '\\' on Windows.   Source   Edit @@ -981,7 +981,7 @@

Consts

  Source   Edit @@ -993,7 +993,7 @@

Consts

The format string to turn a filename into a DLL file (also called shared object on some operating systems).   Source   Edit @@ -1005,7 +1005,7 @@

Consts

The file extension of native executables. For example: "" for POSIX, "exe" on Windows (without a dot).   Source   Edit @@ -1017,7 +1017,7 @@

Consts

Platform specific file extension for executables. On Windows ["exe", "cmd", "bat"], on Posix [""].   Source   Edit @@ -1029,7 +1029,7 @@

Consts

The character which separates the base filename from the extension; for example, the '.' in os.nim.   Source   Edit @@ -1041,7 +1041,7 @@

Consts

True if the file system is case sensitive, false otherwise. Used by cmpPaths proc to compare filenames properly.   Source   Edit @@ -1055,7 +1055,7 @@

Consts

Characters that may produce invalid filenames across Linux, Windows, Mac, etc. You can check if your filename contains these char and strip them for safety. Mac bans ':', Linux bans '/', Windows bans all others.   Source   Edit @@ -1071,7 +1071,7 @@

Consts

Filenames that may be invalid across Linux, Windows, Mac, etc. You can check if your filename match these and rename it for safety (Currently all invalid filenames are from Windows only).   Source   Edit @@ -1085,7 +1085,7 @@

Consts

For example: ".." for POSIX or "::" for the classic Macintosh.

  Source   Edit @@ -1097,7 +1097,7 @@

Consts

The character conventionally used by the operating system to separate search path components (as in PATH), such as ':' for POSIX or ';' for Windows.   Source   Edit @@ -1109,7 +1109,7 @@

Consts

The file extension of a script file. For example: "" for POSIX, "bat" on Windows.   Source   Edit @@ -1126,7 +1126,7 @@

Procs

  Source   Edit @@ -1147,7 +1147,7 @@

Procs

assert "a/b/c" /../ "d/e" == "a/b/d/e" assert "a" /../ "d/e" == "a/d/e"   Source   Edit @@ -1176,7 +1176,7 @@

Procs

assert "usr/" / "/lib/" == "usr/lib/" assert "usr" / "lib" / "../bin" == "usr/bin"   Source   Edit @@ -1188,7 +1188,7 @@

Procs

  Source   Edit @@ -1208,7 +1208,7 @@

Procs

Example:

assert absolutePath("a") == getCurrentDir() / "a"
  Source   Edit @@ -1234,7 +1234,7 @@

Procs

assert addFileExt("foo.bar", "") == "foo.bar" assert addFileExt("foo", "baz") == "foo.baz"   Source   Edit @@ -1261,7 +1261,7 @@

Procs

assert changeFileExt("foo.bar", "") == "foo" assert changeFileExt("foo", "baz") == "foo.baz"   Source   Edit @@ -1281,7 +1281,7 @@

Procs

elif defined(posix): assert cmpPaths("foo", "Foo") > 0   Source   Edit @@ -1307,7 +1307,7 @@

Procs

else: # Do something else!   Source   Edit @@ -1335,7 +1335,7 @@

Procs

  Source   Edit @@ -1363,7 +1363,7 @@

Procs

  Source   Edit @@ -1392,7 +1392,7 @@

Procs

  Source   Edit @@ -1412,7 +1412,7 @@

Procs

  Source   Edit @@ -1442,7 +1442,7 @@

Procs

  Source   Edit @@ -1466,7 +1466,7 @@

Procs

  Source   Edit @@ -1483,7 +1483,7 @@

Procs

  Source   Edit @@ -1501,7 +1501,7 @@

Procs

  Source   Edit @@ -1520,7 +1520,7 @@

Procs

  Source   Edit @@ -1538,7 +1538,7 @@

Procs

  Source   Edit @@ -1552,7 +1552,7 @@

Procs

A convenience proc for:
setFilePermissions(filename, getFilePermissions(filename)-permissions)
  Source   Edit @@ -1569,7 +1569,7 @@

Procs

Examples:

discard execShellCmd("ls -la")
  Source   Edit @@ -1590,7 +1590,7 @@

Procs

Example:

assert not existsEnv("unknownEnv")
  Source   Edit @@ -1612,7 +1612,7 @@

Procs

  Source   Edit @@ -1624,7 +1624,7 @@

Procs

Converts exit code from c_system into a shell exit code.   Source   Edit @@ -1639,7 +1639,7 @@

Procs

Raises OSError in case of an error. Follows symlinks.

  Source   Edit @@ -1656,7 +1656,7 @@

Procs

  Source   Edit @@ -1682,7 +1682,7 @@

Procs

assert expandTilde("~/foo/bar") == getHomeDir() / "foo/bar" assert expandTilde("/foo/bar") == "/foo/bar"   Source   Edit @@ -1708,7 +1708,7 @@

Procs

assert extractFilename("foo/bar") == "bar" assert extractFilename("foo/bar.baz") == "bar.baz"   Source   Edit @@ -1727,7 +1727,7 @@

Procs

  Source   Edit @@ -1746,7 +1746,7 @@

Procs

  Source   Edit @@ -1763,7 +1763,7 @@

Procs

If the system supports symlinks it also resolves them until it meets the actual file. This behavior can be disabled if desired by setting followSymlinks = false.

  Source   Edit @@ -1780,7 +1780,7 @@

Procs

  Source   Edit @@ -1798,7 +1798,7 @@

Procs

  Source   Edit @@ -1821,7 +1821,7 @@

Procs

  Source   Edit @@ -1836,7 +1836,7 @@

Procs

  Source   Edit @@ -1859,7 +1859,7 @@

Procs

  Source   Edit @@ -1879,7 +1879,7 @@

Procs

  Source   Edit @@ -1893,7 +1893,7 @@

Procs

Can be used to retrieve the currently executing Nim compiler from a Nim or nimscript program, or the nimble binary inside a nimble program (likewise with other binaries built from compiler API).

  Source   Edit @@ -1916,7 +1916,7 @@

Procs

  Source   Edit @@ -1932,7 +1932,7 @@

Procs

  Source   Edit @@ -1956,7 +1956,7 @@

Procs

assert getEnv("unknownEnv") == ""
 assert getEnv("unknownEnv", "doesn't exist") == "doesn't exist"
  Source   Edit @@ -1970,7 +1970,7 @@

Procs

Does not contain the executable path (argv[0] in C). This is equivalent to argv[1..^1] in C.

  Source   Edit @@ -1987,7 +1987,7 @@

Procs

  Source   Edit @@ -2005,7 +2005,7 @@

Procs

  Source   Edit @@ -2026,7 +2026,7 @@

Procs

  Source   Edit @@ -2045,7 +2045,7 @@

Procs

  Source   Edit @@ -2058,7 +2058,7 @@

Procs

  Source   Edit @@ -2082,7 +2082,7 @@

Procs

Example:

assert getHomeDir() == expandTilde("~")
  Source   Edit @@ -2101,7 +2101,7 @@

Procs

  Source   Edit @@ -2120,7 +2120,7 @@

Procs

  Source   Edit @@ -2144,7 +2144,7 @@

Procs

  Source   Edit @@ -2158,7 +2158,7 @@

Procs

A convenience proc for:
setFilePermissions(filename, getFilePermissions(filename)+permissions)
  Source   Edit @@ -2180,7 +2180,7 @@

Procs

assert not "a/".isAbsolute assert "/a/".isAbsolute   Source   Edit @@ -2192,7 +2192,7 @@

Procs

Returns whether the caller's process is a member of the Administrators local group (on Windows) or a root (on POSIX), via geteuid() == 0.   Source   Edit @@ -2216,7 +2216,7 @@

Procs

assert not "".isHidden assert ".foo/".isHidden   Source   Edit @@ -2234,7 +2234,7 @@

Procs

doAssert isRelativeTo("/foo/bar.nim", "/foo/bar.nim") doAssert not isRelativeTo("foo/bar.nims", "foo/bar.nim")   Source   Edit @@ -2254,7 +2254,7 @@

Procs

assert not isRootDir("/a") assert not isRootDir("a/b/c")   Source   Edit @@ -2274,7 +2274,7 @@

Procs

assert not isValidFilename("OwO:UwU") ## ":" is invalid (Mac) assert not isValidFilename("aux.bat") ## "AUX" is invalid (Windows)   Source   Edit @@ -2307,7 +2307,7 @@

Procs

assert joinPath("usr/", "/lib") == "usr/lib" assert joinPath("usr/lib", "../bin") == "usr/bin"   Source   Edit @@ -2333,7 +2333,7 @@

Procs

assert joinPath("a", "b", "c") == "a/b/c" assert joinPath("usr/lib", "../../var", "log") == "var/log"   Source   Edit @@ -2357,7 +2357,7 @@

Procs

assert lastPathPart("foo/bar/") == "bar"
 assert lastPathPart("foo/bar") == "bar"
  Source   Edit @@ -2381,7 +2381,7 @@

Procs

  Source   Edit @@ -2406,7 +2406,7 @@

Procs

  Source   Edit @@ -2427,7 +2427,7 @@

Procs

  Source   Edit @@ -2448,7 +2448,7 @@

Procs

when defined(posix):
   assert normalizedPath("a///b//..//c///d") == "a/c/d"
  Source   Edit @@ -2466,7 +2466,7 @@

Procs

doAssert "foo/../bar".dup(normalizeExe) == "foo/../bar" doAssert "".dup(normalizeExe) == ""   Source   Edit @@ -2494,7 +2494,7 @@

Procs

a.normalizePath() assert a == "a/c/d"   Source   Edit @@ -2514,7 +2514,7 @@

Procs

assert normalizePathEnd("", trailingSep = true) == "" # not / ! assert normalizePathEnd("/", trailingSep = false) == "/" # not "" !   Source   Edit @@ -2527,7 +2527,7 @@

Procs

Ensures path has exactly 0 or 1 trailing DirSep, depending on trailingSep, and taking care of edge cases: it preservers whether a path is absolute or relative, and makes sure trailing sep is DirSep, not AltSep. Trailing /. are compressed, see examples.   Source   Edit @@ -2552,7 +2552,7 @@

Procs

assert osErrorMsg(OSErrorCode(1)) == "Operation not permitted" assert osErrorMsg(OSErrorCode(2)) == "No such file or directory"   Source   Edit @@ -2572,7 +2572,7 @@

Procs

  Source   Edit @@ -2597,7 +2597,7 @@

Procs

else: # Do something else!   Source   Edit @@ -2624,7 +2624,7 @@

Procs

else: # Do something else!   Source   Edit @@ -2655,7 +2655,7 @@

Procs

assert parentDir("a//./") == "." assert parentDir("a/b/c/..") == "a"   Source   Edit @@ -2686,7 +2686,7 @@

Procs

  Source   Edit @@ -2705,7 +2705,7 @@

Procs

  Source   Edit @@ -2720,7 +2720,7 @@

Procs

When on Windows, it calls quoteShellWindows proc. Otherwise, calls quoteShellPosix proc.

  Source   Edit @@ -2737,7 +2737,7 @@

Procs

when defined(windows): assert quoteShellCommand(["aaa", "", "c d"]) == "aaa \"\" \"c d\""   Source   Edit @@ -2750,7 +2750,7 @@

Procs

Quote s, so it can be safely passed to POSIX shell.   Source   Edit @@ -2765,7 +2765,7 @@

Procs

Based on Python's subprocess.list2cmdline. See this link for more details.

  Source   Edit @@ -2780,7 +2780,7 @@

Procs

Read the description of the newOSError proc to learn how the exception object is created.

  Source   Edit @@ -2809,7 +2809,7 @@

Procs

assert relativePath("foo", ".", '/') == "foo" assert relativePath("foo", "foo", '/') == "."   Source   Edit @@ -2833,7 +2833,7 @@

Procs

  Source   Edit @@ -2856,7 +2856,7 @@

Procs

  Source   Edit @@ -2875,7 +2875,7 @@

Procs

  Source   Edit @@ -2892,7 +2892,7 @@

Procs

  Source   Edit @@ -2917,7 +2917,7 @@

Procs

assert searchExtPos("a/b/c.nim") == 5 assert searchExtPos("a.b.c.nim") == 5   Source   Edit @@ -2936,7 +2936,7 @@

Procs

  Source   Edit @@ -2957,7 +2957,7 @@

Procs

  Source   Edit @@ -2970,7 +2970,7 @@

Procs

Sets the file's last modification time. OSError is raised in case of an error.   Source   Edit @@ -2983,7 +2983,7 @@

Procs

Sleeps milsecs milliseconds.   Source   Edit @@ -3023,7 +3023,7 @@

Procs

assert name == "tmp" assert ext == ".txt"   Source   Edit @@ -3051,7 +3051,7 @@

Procs

assert splitPath("bin") == ("", "bin") assert splitPath("") == ("", "")   Source   Edit @@ -3069,7 +3069,7 @@

Procs

  Source   Edit @@ -3096,7 +3096,7 @@

Procs

assert tailDir("./usr/local/bin") == "usr/local/bin" assert tailDir("usr/local/bin") == "local/bin"   Source   Edit @@ -3118,7 +3118,7 @@

Procs

  Source   Edit @@ -3134,7 +3134,7 @@

Procs

On systems with a concept of "drives", drive is used to determine which drive label to use during absolute path conversion. drive defaults to the drive of the current working directory, and is ignored on systems that do not have a concept of "drives".

  Source   Edit @@ -3160,7 +3160,7 @@

Iterators

  Source   Edit @@ -3197,7 +3197,7 @@

Iterators

# a/b # a   Source   Edit @@ -3231,7 +3231,7 @@

Iterators

  Source   Edit @@ -3265,7 +3265,7 @@

Iterators

  Source   Edit @@ -3289,7 +3289,7 @@

Iterators

let paths = toSeq(walkDirs("lib/pure/*")) # works on windows too assert "lib/pure/concurrency".unixToNativePath in paths   Source   Edit @@ -3312,7 +3312,7 @@

Iterators

import std/sequtils
 assert "lib/pure/os.nim".unixToNativePath in toSeq(walkFiles("lib/pure/*.nim")) # works on windows too
  Source   Edit @@ -3338,7 +3338,7 @@

Iterators

assert "lib/pure/concurrency".unixToNativePath in paths assert "lib/pure/os.nim".unixToNativePath in paths   Source   Edit diff --git a/osproc.html b/osproc.html index 6adae045222..7784c5b4760 100644 --- a/osproc.html +++ b/osproc.html @@ -309,7 +309,7 @@

pure/osproc

  Source   Edit @@ -337,7 +337,7 @@

Types

Represents an operating system process.   Source   Edit @@ -364,7 +364,7 @@

Types

Options that can be passed to startProcess proc.   Source   Edit @@ -381,7 +381,7 @@

Consts

Nim versions before 0.20 used the wrong spelling ("demon"). Now ProcessOption uses the correct spelling ("daemon"), and this is needed just for backward compatibility.   Source   Edit @@ -401,7 +401,7 @@

Procs

If the process has not finished executing, this will forcibly terminate the process. Doing so may result in zombie processes and pty leaks.   Source   Edit @@ -413,7 +413,7 @@

Procs

Returns the number of the processors/cores the machine has. Returns 0 if it cannot be detected. It is implemented just calling cpuinfo.countProcessors.   Source   Edit @@ -432,7 +432,7 @@

Procs

  Source   Edit @@ -453,7 +453,7 @@

Procs

  Source   Edit @@ -474,7 +474,7 @@

Procs

Example:

let errC = execCmd("nim c -r mytestfile.nim")
  Source   Edit @@ -505,7 +505,7 @@

Procs

assert execCmdEx("echo $FO", env = newStringTable({"FO": "B"})) == ("B\n", 0) assert execCmdEx("echo $PWD", workingDir = "/") == ("/\n", 0)   Source   Edit @@ -532,7 +532,7 @@

Procs

# Note: outp may have an interleave of text from the nim compile # and any output from mytestfile when it runs   Source   Edit @@ -554,7 +554,7 @@

Procs

The highest (absolute) return value of all processes is returned. Runs beforeRunEvent before running each command; then startRunEvent immediately after a command has started, useful for input; and then afterRunEvent after a command has finished.

  Source   Edit @@ -566,7 +566,7 @@

Procs

  Source   Edit @@ -585,7 +585,7 @@

Procs

  Source   Edit @@ -604,7 +604,7 @@

Procs

  Source   Edit @@ -624,7 +624,7 @@

Procs

  Source   Edit @@ -643,7 +643,7 @@

Procs

  Source   Edit @@ -664,7 +664,7 @@

Procs

  Source   Edit @@ -685,7 +685,7 @@

Procs

  Source   Edit @@ -706,7 +706,7 @@

Procs

  Source   Edit @@ -721,7 +721,7 @@

Procs

On posix, if the process has exited because of a signal, 128 + signal number will be returned.

  Source   Edit @@ -737,7 +737,7 @@

Procs

  Source   Edit @@ -763,7 +763,7 @@

Procs

for line in lines: echo line p.close   Source   Edit @@ -781,7 +781,7 @@

Procs

  Source   Edit @@ -794,7 +794,7 @@

Procs

Returns true if the process p is still running. Returns immediately.   Source   Edit @@ -820,7 +820,7 @@

Procs

  Source   Edit @@ -838,7 +838,7 @@

Procs

  Source   Edit @@ -859,7 +859,7 @@

Procs

  Source   Edit @@ -875,7 +875,7 @@

Procs

On posix, if the process has exited because of a signal, 128 + signal number will be returned.

  Source   Edit @@ -908,7 +908,7 @@

Iterators

if i > 100: break p.close   Source   Edit diff --git a/packedsets.html b/packedsets.html index d1c9939b8c7..673e66be057 100644 --- a/packedsets.html +++ b/packedsets.html @@ -261,7 +261,7 @@

std/packedsets

  Source   Edit @@ -296,7 +296,7 @@

Types

An efficient set of Ordinal types implemented as a sparse bit set.   Source   Edit @@ -316,7 +316,7 @@

Procs

let a = [1, 2, 3].toPackedSet
 assert $a == "{1, 2, 3}"
  Source   Edit @@ -328,7 +328,7 @@

Procs

Alias for intersection(s1, s2).   Source   Edit @@ -340,7 +340,7 @@

Procs

Alias for union(s1, s2).   Source   Edit @@ -352,7 +352,7 @@

Procs

Alias for difference(s1, s2).   Source   Edit @@ -374,7 +374,7 @@

Procs

assert b <= b assert not (c <= b)   Source   Edit @@ -396,7 +396,7 @@

Procs

assert not (b < b) assert not (c < b)   Source   Edit @@ -411,7 +411,7 @@

Procs

assert [1, 2].toPackedSet == [2, 1].toPackedSet
 assert [1, 2].toPackedSet == [2, 1, 2].toPackedSet
  Source   Edit @@ -431,7 +431,7 @@

Procs

a.assign(b) assert len(a) == 2   Source   Edit @@ -445,7 +445,7 @@

Procs

Card stands for the cardinality of a set.

  Source   Edit @@ -461,7 +461,7 @@

Procs

clear(a) assert len(a) == 0   Source   Edit @@ -488,7 +488,7 @@

Procs

assert C in letters assert B notin letters   Source   Edit @@ -511,7 +511,7 @@

Procs

assert a.containsOrIncl(3) == true assert a.containsOrIncl(4) == false   Source   Edit @@ -532,7 +532,7 @@

Procs

assert c.len == 2 assert c == [1, 2].toPackedSet   Source   Edit @@ -551,7 +551,7 @@

Procs

assert disjoint(a, b) == false assert disjoint(a, c) == true   Source   Edit @@ -576,7 +576,7 @@

Procs

a.excl(99) assert len(a) == 0   Source   Edit @@ -600,7 +600,7 @@

Procs

assert len(a) == 1 assert 5 notin a   Source   Edit @@ -624,7 +624,7 @@

Procs

a.incl(3) assert len(a) == 1   Source   Edit @@ -648,7 +648,7 @@

Procs

assert len(a) == 2 assert 5 in a   Source   Edit @@ -671,7 +671,7 @@

Procs

var ids = initPackedSet[Id]() ids.incl(3.Id)   Source   Edit @@ -692,7 +692,7 @@

Procs

assert c.len == 1 assert c == [3].toPackedSet   Source   Edit @@ -711,7 +711,7 @@

Procs

a.excl(2) assert a.isNil   Source   Edit @@ -726,7 +726,7 @@

Procs

let a = [1, 3, 5].toPackedSet
 assert len(a) == 3
  Source   Edit @@ -749,7 +749,7 @@

Procs

assert a.missingOrExcl(5) == false assert a.missingOrExcl(5) == true   Source   Edit @@ -768,7 +768,7 @@

Procs

assert c.len == 4 assert c == [1, 2, 4, 5].toPackedSet   Source   Edit @@ -789,7 +789,7 @@

Procs

assert len(a) == 4 assert $a == "{5, 6, 7, 8}"   Source   Edit @@ -810,7 +810,7 @@

Procs

assert c.len == 5 assert c == [1, 2, 3, 4, 5].toPackedSet   Source   Edit @@ -827,7 +827,7 @@

Iterators

Iterates over any included element of s.   Source   Edit diff --git a/parsecfg.html b/parsecfg.html index ea07b00b011..c7cf6e993ca 100644 --- a/parsecfg.html +++ b/parsecfg.html @@ -256,7 +256,7 @@

pure/parsecfg

  Source   Edit @@ -451,7 +451,7 @@

Types

describes a parsing event   Source   Edit @@ -468,7 +468,7 @@

Types

enumeration of all events that may occur when parsing   Source   Edit @@ -483,7 +483,7 @@

Types

the parser object.   Source   Edit @@ -495,7 +495,7 @@

Types

  Source   Edit @@ -515,7 +515,7 @@

Procs

Comment statement will be ignored.   Source   Edit @@ -529,7 +529,7 @@

Procs

Closes the parser c and its associated input stream.   Source   Edit @@ -541,7 +541,7 @@

Procs

Deletes the specified section and all of its sub keys.   Source   Edit @@ -554,7 +554,7 @@

Procs

Deletes the key of the specified section.   Source   Edit @@ -567,7 +567,7 @@

Procs

Returns a properly formatted error message containing current line and column information.   Source   Edit @@ -580,7 +580,7 @@

Procs

Gets the current column the parser has arrived at.   Source   Edit @@ -593,7 +593,7 @@

Procs

Gets the filename of the file that the parser processes.   Source   Edit @@ -605,7 +605,7 @@

Procs

Gets the current line the parser has arrived at.   Source   Edit @@ -618,7 +618,7 @@

Procs

Gets the key value of the specified Section. Returns the specified default value if the specified key does not exist.   Source   Edit @@ -631,7 +631,7 @@

Procs

Returns a properly formatted warning message containing that an entry is ignored.   Source   Edit @@ -645,7 +645,7 @@

Procs

Loads the specified configuration file into a new Config instance.   Source   Edit @@ -659,7 +659,7 @@

Procs

Loads the specified configuration from stream into a new Config instance. filename parameter is only used for nicer error messages.   Source   Edit @@ -671,7 +671,7 @@

Procs

Creates a new configuration table. Useful when wanting to create a configuration file.   Source   Edit @@ -685,7 +685,7 @@

Procs

Retrieves the first/next event. This controls the parser.   Source   Edit @@ -699,7 +699,7 @@

Procs

Initializes the parser with an input stream. Filename is only used for nice error messages. lineOffset can be used to influence the line number information in the generated error messages.   Source   Edit @@ -712,7 +712,7 @@

Procs

Sets the Key value of the specified Section.   Source   Edit @@ -725,7 +725,7 @@

Procs

Returns a properly formatted warning message containing current line and column information.   Source   Edit @@ -740,7 +740,7 @@

Procs

Comment statement will be ignored.   Source   Edit @@ -755,7 +755,7 @@

Procs

Comment statement will be ignored.   Source   Edit @@ -772,7 +772,7 @@

Iterators

Iterates through the sections in the dict.   Source   Edit diff --git a/parsecsv.html b/parsecsv.html index 0ed082fe5f4..f03f38cb5b5 100644 --- a/parsecsv.html +++ b/parsecsv.html @@ -168,7 +168,7 @@

pure/parsecsv

  Source   Edit @@ -231,7 +231,7 @@

Types

An exception that is raised if a parsing error occurs.   Source   Edit @@ -255,7 +255,7 @@

Types

  Source   Edit @@ -267,7 +267,7 @@

Types

A row in a CSV file.   Source   Edit @@ -285,7 +285,7 @@

Procs

Closes the parser self and its associated input stream.   Source   Edit @@ -306,7 +306,7 @@

Procs

parser.close() removeFile("tmp.csv")   Source   Edit @@ -335,7 +335,7 @@

Procs

parser.close() strm.close()   Source   Edit @@ -366,7 +366,7 @@

Procs

parser.close() strm.close()   Source   Edit @@ -398,7 +398,7 @@

Procs

parser.close() strm.close()   Source   Edit @@ -434,7 +434,7 @@

Procs

parser.close() strm.close()   Source   Edit @@ -465,7 +465,7 @@

Procs

parser.close() strm.close()   Source   Edit diff --git a/parsejson.html b/parsejson.html index 0ec2ba7152d..382396ebbe7 100644 --- a/parsejson.html +++ b/parsejson.html @@ -255,7 +255,7 @@

pure/parsejson

  Source   Edit @@ -288,7 +288,7 @@

Types

enumeration that lists all errors that can occur   Source   Edit @@ -312,7 +312,7 @@

Types

enumeration of all events that may occur when parsing   Source   Edit @@ -324,7 +324,7 @@

Types

raised by the to macro if the JSON kind is incorrect.   Source   Edit @@ -344,7 +344,7 @@

Types

the parser object.   Source   Edit @@ -356,7 +356,7 @@

Types

is raised for a JSON error   Source   Edit @@ -370,7 +370,7 @@

Types

  Source   Edit @@ -390,7 +390,7 @@

Consts

  Source   Edit @@ -408,7 +408,7 @@

Procs

closes the parser my and its associated input stream.   Source   Edit @@ -422,7 +422,7 @@

Procs

  Source   Edit @@ -434,7 +434,7 @@

Procs

returns a helpful error message for the event jsonError   Source   Edit @@ -447,7 +447,7 @@

Procs

returns an error message "e expected" in the same format as the other error messages   Source   Edit @@ -459,7 +459,7 @@

Procs

get the current column the parser has arrived at.   Source   Edit @@ -471,7 +471,7 @@

Procs

get the filename of the file that the parser processes.   Source   Edit @@ -483,7 +483,7 @@

Procs

returns the number for the event: jsonFloat   Source   Edit @@ -495,7 +495,7 @@

Procs

returns the number for the event: jsonInt   Source   Edit @@ -507,7 +507,7 @@

Procs

get the current line the parser has arrived at.   Source   Edit @@ -520,7 +520,7 @@

Procs

  Source   Edit @@ -532,7 +532,7 @@

Procs

returns the current event type for the JSON parser   Source   Edit @@ -544,7 +544,7 @@

Procs

retrieves the first/next event. This controls the parser.   Source   Edit @@ -558,7 +558,7 @@

Procs

initializes the parser with an input stream. Filename is only used for nice error messages. If rawStringLiterals is true, string literals are kept with their surrounding quotes and escape sequences in them are left untouched too.   Source   Edit @@ -570,7 +570,7 @@

Procs

  Source   Edit @@ -583,7 +583,7 @@

Procs

raises an EJsonParsingError exception.   Source   Edit @@ -595,7 +595,7 @@

Procs

returns the character data for the events: jsonInt, jsonFloat, jsonString   Source   Edit diff --git a/parseopt.html b/parseopt.html index e78792bbbec..426668f3267 100644 --- a/parseopt.html +++ b/parseopt.html @@ -178,7 +178,7 @@

pure/parseopt

  Source   Edit @@ -286,7 +286,7 @@

Types

The detected command line token.   Source   Edit @@ -313,7 +313,7 @@

Types

To initialize it, use the initOptParser proc.

  Source   Edit @@ -342,7 +342,7 @@

Procs

else: continue doAssert p.cmdLineRest == "foo.txt bar.txt"   Source   Edit @@ -368,7 +368,7 @@

Procs

p = initOptParser(["--left", "--debug:3", "-l", "-r:2"], shortNoVal = {'l'}, longNoVal = @["left"])   Source   Edit @@ -392,7 +392,7 @@

Procs

p.next() doAssert p.kind == cmdEnd   Source   Edit @@ -416,7 +416,7 @@

Procs

else: continue doAssert p.remainingArgs == @["foo.txt", "bar.txt"]   Source   Edit @@ -461,7 +461,7 @@

Iterators

# no filename has been written, so we show the help writeHelp()   Source   Edit @@ -498,7 +498,7 @@

Iterators

# no filename has been given, so we show the help writeHelp()   Source   Edit diff --git a/parseopt2.html b/parseopt2.html index 3c75c947885..757e3ec9964 100644 --- a/parseopt2.html +++ b/parseopt2.html @@ -183,7 +183,7 @@

pure/parseopt2

  Source   Edit @@ -236,7 +236,7 @@

Types

  Source   Edit @@ -250,7 +250,7 @@

Types

  Source   Edit @@ -265,7 +265,7 @@

Types

  Source   Edit @@ -283,7 +283,7 @@

Types

Should I expect this option to have a value or not? yes: -k=v no : -k ("bare" option)   Source   Edit @@ -300,7 +300,7 @@

Consts

  Source   Edit @@ -312,7 +312,7 @@

Consts

  Source   Edit @@ -329,7 +329,7 @@

Procs

  Source   Edit @@ -357,7 +357,7 @@

Iterators

for opt in opts(["-abc"], optValNone, shortVal={'b': optValRequired}):
   discard opt
  Source   Edit diff --git a/parsesql.html b/parsesql.html index 3689a180ba1..991b10b8d4e 100644 --- a/parsesql.html +++ b/parsesql.html @@ -197,7 +197,7 @@

pure/parsesql

  Source   Edit @@ -223,7 +223,7 @@

Types

the parser object.   Source   Edit @@ -235,7 +235,7 @@

Types

an SQL abstract syntax tree node   Source   Edit @@ -257,7 +257,7 @@

Types

kind of SQL abstract syntax tree   Source   Edit @@ -278,7 +278,7 @@

Types

an SQL abstract syntax tree node   Source   Edit @@ -290,7 +290,7 @@

Types

Invalid SQL encountered   Source   Edit @@ -304,7 +304,7 @@

Types

SQL parser object   Source   Edit @@ -321,7 +321,7 @@

Procs

an alias for renderSQL.   Source   Edit @@ -333,7 +333,7 @@

Procs

  Source   Edit @@ -345,7 +345,7 @@

Procs

  Source   Edit @@ -357,7 +357,7 @@

Procs

  Source   Edit @@ -369,7 +369,7 @@

Procs

  Source   Edit @@ -381,7 +381,7 @@

Procs

  Source   Edit @@ -393,7 +393,7 @@

Procs

  Source   Edit @@ -405,7 +405,7 @@

Procs

  Source   Edit @@ -419,7 +419,7 @@

Procs

parses the SQL from input into an AST and returns the AST. filename is only used for error messages. Syntax errors raise an SqlParseError exception.   Source   Edit @@ -433,7 +433,7 @@

Procs

parses the SQL from input into an AST and returns the AST. filename is only used for error messages. Syntax errors raise an SqlParseError exception.   Source   Edit @@ -446,7 +446,7 @@

Procs

Converts an SQL abstract syntax tree to its string representation.   Source   Edit @@ -458,7 +458,7 @@

Procs

  Source   Edit diff --git a/parseutils.html b/parseutils.html index 5d1b63043be..3083b322eac 100644 --- a/parseutils.html +++ b/parseutils.html @@ -237,7 +237,7 @@

pure/parseutils

  Source   Edit @@ -284,7 +284,7 @@

Types

Describes for interpolatedFragments which part of the interpolated string is yielded; for example in "str$$$var${expr}"   Source   Edit @@ -306,7 +306,7 @@

Procs

doAssert captureBetween("Hello World", 'e', 'r') == "llo Wo" doAssert captureBetween("Hello World", 'l', start = 6) == "d"   Source   Edit @@ -320,7 +320,7 @@

Procs

Parses a float starting at start and stores the value into number. Result is the number of processed chars or 0 if a parsing error occurred.   Source   Edit @@ -338,7 +338,7 @@

Procs

doAssert parseBiggestInt("9223372036854775807", res, 0) == 19 doAssert res == 9223372036854775807   Source   Edit @@ -358,7 +358,7 @@

Procs

doAssert parseBiggestUInt("1111111111111111111", res, 0) == 19 doAssert res == 1111111111111111111'u64   Source   Edit @@ -391,7 +391,7 @@

Procs

doAssert parseBin("0100111001101001111011010100111001101001", num64) == 40 doAssert num64 == 336784608873   Source   Edit @@ -409,7 +409,7 @@

Procs

doAssert "nim".parseChar(c, 0) == 1 doAssert c == 'n'   Source   Edit @@ -430,7 +430,7 @@

Procs

doAssert parseFloat("32.57", res, 3) == 2 doAssert res == 57.00   Source   Edit @@ -464,7 +464,7 @@

Procs

doAssert parseHex("4E69ED4E69ED", num64) == 12 doAssert num64 == 86216859871725   Source   Edit @@ -485,7 +485,7 @@

Procs

doAssert parseIdent("Hello World", res, 6) == 5 doAssert res == "World"   Source   Edit @@ -502,7 +502,7 @@

Procs

doAssert parseIdent("Hello World", 5) == "" doAssert parseIdent("Hello World", 6) == "World"   Source   Edit @@ -521,7 +521,7 @@

Procs

doAssert parseInt("2019", res, 2) == 2 doAssert res == 19   Source   Edit @@ -554,7 +554,7 @@

Procs

doAssert parseOct("2346475523464755", num64) == 16 doAssert num64 == 86216859871725   Source   Edit @@ -571,7 +571,7 @@

Procs

discard parseSaturatedNatural("848", res) doAssert res == 848   Source   Edit @@ -590,7 +590,7 @@

Procs

doAssert parseUInt("3450", res, 2) == 2 doAssert res == 50   Source   Edit @@ -611,7 +611,7 @@

Procs

doAssert parseUntil("Hello World", myToken, 'o', 2) == 2 doAssert myToken == "ll"   Source   Edit @@ -632,7 +632,7 @@

Procs

doAssert parseUntil("Hello World", myToken, {'W', 'r'}, 3) == 3 doAssert myToken == "lo "   Source   Edit @@ -651,7 +651,7 @@

Procs

doAssert parseUntil("Hello World", myToken, "Wor", 2) == 4 doAssert myToken == "llo "   Source   Edit @@ -670,7 +670,7 @@

Procs

doAssert parseWhile("Hello World", myToken, {'W', 'o', 'r'}, 6) == 3 doAssert myToken == "Wor"   Source   Edit @@ -688,7 +688,7 @@

Procs

doAssert skip("CAPlow", "CAP", 0) == 3 doAssert skip("CAPlow", "cap", 0) == 0   Source   Edit @@ -703,7 +703,7 @@

Procs

doAssert skipIgnoreCase("CAPlow", "CAP", 0) == 3
 doAssert skipIgnoreCase("CAPlow", "cap", 0) == 3
  Source   Edit @@ -721,7 +721,7 @@

Procs

doAssert skipUntil("Hello World", 'W', 0) == 6 doAssert skipUntil("Hello World", 'w', 0) == 11   Source   Edit @@ -738,7 +738,7 @@

Procs

doAssert skipUntil("Hello World", {'W'}, 0) == 6 doAssert skipUntil("Hello World", {'W', 'd'}, 0) == 6   Source   Edit @@ -755,7 +755,7 @@

Procs

doAssert skipWhile("Hello World", {'e'}) == 0 doAssert skipWhile("Hello World", {'W', 'o', 'r'}, 6) == 3   Source   Edit @@ -772,7 +772,7 @@

Procs

doAssert skipWhitespace("Hello World", 5) == 1 doAssert skipWhitespace("Hello World", 5) == 2   Source   Edit @@ -800,7 +800,7 @@

Iterators

(ikStr, " "), (ikDollar, "$")]   Source   Edit diff --git a/parsexml.html b/parsexml.html index 232c5850c39..40920014c8f 100644 --- a/parsexml.html +++ b/parsexml.html @@ -263,7 +263,7 @@

pure/parsexml

  Source   Edit @@ -392,7 +392,7 @@

Types

enumeration that lists all errors that can occur   Source   Edit @@ -418,7 +418,7 @@

Types

enumeration of all events that may occur when parsing   Source   Edit @@ -434,7 +434,7 @@

Types

options for the XML parser   Source   Edit @@ -454,7 +454,7 @@

Types

the parser object.   Source   Edit @@ -472,7 +472,7 @@

Procs

closes the parser my and its associated input stream.   Source   Edit @@ -484,7 +484,7 @@

Procs

returns a helpful error message for the event xmlError   Source   Edit @@ -497,7 +497,7 @@

Procs

returns an error message with text msg in the same format as the other error messages   Source   Edit @@ -510,7 +510,7 @@

Procs

returns an error message "<tag> expected" in the same format as the other error messages   Source   Edit @@ -522,7 +522,7 @@

Procs

get the current column the parser has arrived at.   Source   Edit @@ -534,7 +534,7 @@

Procs

get the filename of the file that the parser processes.   Source   Edit @@ -546,7 +546,7 @@

Procs

get the current line the parser has arrived at.   Source   Edit @@ -558,7 +558,7 @@

Procs

returns the current event type for the XML parser   Source   Edit @@ -570,7 +570,7 @@

Procs

retrieves the first/next event. This controls the parser.   Source   Edit @@ -584,7 +584,7 @@

Procs

initializes the parser with an input stream. Filename is only used for nice error messages. The parser's behaviour can be controlled by the options parameter: If options contains reportWhitespace a whitespace token is reported as an xmlWhitespace event. If options contains reportComments a comment token is reported as an xmlComment event.   Source   Edit @@ -596,7 +596,7 @@

Procs

returns the underlying 'data' string by reference. This is only used for speed hacks.   Source   Edit @@ -608,7 +608,7 @@

Procs

returns the underlying second 'data' string by reference. This is only used for speed hacks.   Source   Edit @@ -625,7 +625,7 @@

Templates

returns the attribute key for the event xmlAttribute Raises an assertion in debug mode if my.kind is not xmlAttribute. In release mode, this will not trigger an error but the value returned will not be valid.   Source   Edit @@ -637,7 +637,7 @@

Templates

returns the attribute value for the event xmlAttribute Raises an assertion in debug mode if my.kind is not xmlAttribute. In release mode, this will not trigger an error but the value returned will not be valid.   Source   Edit @@ -649,7 +649,7 @@

Templates

returns the character data for the events: xmlCharData, xmlWhitespace, xmlComment, xmlCData, xmlSpecial Raises an assertion in debug mode if my.kind is not one of those events. In release mode, this will not trigger an error but the value returned will not be valid.   Source   Edit @@ -661,7 +661,7 @@

Templates

returns the element name for the events: xmlElementStart, xmlElementEnd, xmlElementOpen Raises an assertion in debug mode if my.kind is not one of those events. In release mode, this will not trigger an error but the value returned will not be valid.   Source   Edit @@ -673,7 +673,7 @@

Templates

returns the entity name for the event: xmlEntity Raises an assertion in debug mode if my.kind is not xmlEntity. In release mode, this will not trigger an error but the value returned will not be valid.   Source   Edit @@ -685,7 +685,7 @@

Templates

returns the processing instruction name for the event xmlPI Raises an assertion in debug mode if my.kind is not xmlPI. In release mode, this will not trigger an error but the value returned will not be valid.   Source   Edit @@ -697,7 +697,7 @@

Templates

returns the rest of the processing instruction for the event xmlPI Raises an assertion in debug mode if my.kind is not xmlPI. In release mode, this will not trigger an error but the value returned will not be valid.   Source   Edit diff --git a/pathnorm.html b/pathnorm.html index 79a25cd0caa..6ae403b9e8a 100644 --- a/pathnorm.html +++ b/pathnorm.html @@ -142,7 +142,7 @@

pure/pathnorm

  Source   Edit @@ -169,7 +169,7 @@

Types

  Source   Edit @@ -187,7 +187,7 @@

Procs

Low level proc. Undocumented.   Source   Edit @@ -199,7 +199,7 @@

Procs

  Source   Edit @@ -211,7 +211,7 @@

Procs

  Source   Edit @@ -230,7 +230,7 @@

Procs

  Source   Edit diff --git a/pcre.html b/pcre.html index 365737aeac8..f5b8fd13338 100644 --- a/pcre.html +++ b/pcre.html @@ -655,7 +655,7 @@

wrappers/pcre

  Source   Edit @@ -686,7 +686,7 @@

Types

  Source   Edit @@ -707,7 +707,7 @@

Types

  Source   Edit @@ -719,7 +719,7 @@

Types

  Source   Edit @@ -731,7 +731,7 @@

Types

  Source   Edit @@ -743,7 +743,7 @@

Types

  Source   Edit @@ -755,7 +755,7 @@

Types

  Source   Edit @@ -767,7 +767,7 @@

Types

  Source   Edit @@ -779,7 +779,7 @@

Types

  Source   Edit @@ -791,7 +791,7 @@

Types

  Source   Edit @@ -806,7 +806,7 @@

Types

  Source   Edit @@ -821,7 +821,7 @@

Types

  Source   Edit @@ -838,7 +838,7 @@

Consts

  Source   Edit @@ -850,7 +850,7 @@

Consts

  Source   Edit @@ -862,7 +862,7 @@

Consts

  Source   Edit @@ -874,7 +874,7 @@

Consts

  Source   Edit @@ -886,7 +886,7 @@

Consts

  Source   Edit @@ -898,7 +898,7 @@

Consts

  Source   Edit @@ -910,7 +910,7 @@

Consts

  Source   Edit @@ -922,7 +922,7 @@

Consts

  Source   Edit @@ -934,7 +934,7 @@

Consts

  Source   Edit @@ -946,7 +946,7 @@

Consts

  Source   Edit @@ -958,7 +958,7 @@

Consts

  Source   Edit @@ -970,7 +970,7 @@

Consts

  Source   Edit @@ -982,7 +982,7 @@

Consts

  Source   Edit @@ -994,7 +994,7 @@

Consts

  Source   Edit @@ -1006,7 +1006,7 @@

Consts

  Source   Edit @@ -1018,7 +1018,7 @@

Consts

  Source   Edit @@ -1030,7 +1030,7 @@

Consts

  Source   Edit @@ -1042,7 +1042,7 @@

Consts

  Source   Edit @@ -1054,7 +1054,7 @@

Consts

  Source   Edit @@ -1066,7 +1066,7 @@

Consts

  Source   Edit @@ -1078,7 +1078,7 @@

Consts

  Source   Edit @@ -1090,7 +1090,7 @@

Consts

  Source   Edit @@ -1102,7 +1102,7 @@

Consts

  Source   Edit @@ -1114,7 +1114,7 @@

Consts

  Source   Edit @@ -1126,7 +1126,7 @@

Consts

  Source   Edit @@ -1138,7 +1138,7 @@

Consts

  Source   Edit @@ -1150,7 +1150,7 @@

Consts

  Source   Edit @@ -1162,7 +1162,7 @@

Consts

  Source   Edit @@ -1174,7 +1174,7 @@

Consts

  Source   Edit @@ -1186,7 +1186,7 @@

Consts

  Source   Edit @@ -1198,7 +1198,7 @@

Consts

  Source   Edit @@ -1210,7 +1210,7 @@

Consts

  Source   Edit @@ -1222,7 +1222,7 @@

Consts

  Source   Edit @@ -1234,7 +1234,7 @@

Consts

Same for 8/16/32   Source   Edit @@ -1246,7 +1246,7 @@

Consts

Same for 8/16   Source   Edit @@ -1258,7 +1258,7 @@

Consts

Same for 8/16/32   Source   Edit @@ -1270,7 +1270,7 @@

Consts

Same for 8/16   Source   Edit @@ -1282,7 +1282,7 @@

Consts

Same for 8/16/32   Source   Edit @@ -1294,7 +1294,7 @@

Consts

Never used by PCRE itself   Source   Edit @@ -1306,7 +1306,7 @@

Consts

  Source   Edit @@ -1318,7 +1318,7 @@

Consts

  Source   Edit @@ -1330,7 +1330,7 @@

Consts

  Source   Edit @@ -1342,7 +1342,7 @@

Consts

  Source   Edit @@ -1354,7 +1354,7 @@

Consts

  Source   Edit @@ -1366,7 +1366,7 @@

Consts

  Source   Edit @@ -1378,7 +1378,7 @@

Consts

  Source   Edit @@ -1390,7 +1390,7 @@

Consts

  Source   Edit @@ -1402,7 +1402,7 @@

Consts

  Source   Edit @@ -1414,7 +1414,7 @@

Consts

  Source   Edit @@ -1426,7 +1426,7 @@

Consts

  Source   Edit @@ -1438,7 +1438,7 @@

Consts

  Source   Edit @@ -1450,7 +1450,7 @@

Consts

  Source   Edit @@ -1462,7 +1462,7 @@

Consts

  Source   Edit @@ -1474,7 +1474,7 @@

Consts

No longer actually used   Source   Edit @@ -1486,7 +1486,7 @@

Consts

  Source   Edit @@ -1498,7 +1498,7 @@

Consts

  Source   Edit @@ -1510,7 +1510,7 @@

Consts

  Source   Edit @@ -1522,7 +1522,7 @@

Consts

  Source   Edit @@ -1534,7 +1534,7 @@

Consts

Same for 8/16   Source   Edit @@ -1546,7 +1546,7 @@

Consts

For backward compatibility   Source   Edit @@ -1558,7 +1558,7 @@

Consts

  Source   Edit @@ -1570,7 +1570,7 @@

Consts

  Source   Edit @@ -1582,7 +1582,7 @@

Consts

  Source   Edit @@ -1594,7 +1594,7 @@

Consts

  Source   Edit @@ -1606,7 +1606,7 @@

Consts

  Source   Edit @@ -1618,7 +1618,7 @@

Consts

  Source   Edit @@ -1630,7 +1630,7 @@

Consts

  Source   Edit @@ -1642,7 +1642,7 @@

Consts

  Source   Edit @@ -1654,7 +1654,7 @@

Consts

  Source   Edit @@ -1666,7 +1666,7 @@

Consts

  Source   Edit @@ -1678,7 +1678,7 @@

Consts

  Source   Edit @@ -1690,7 +1690,7 @@

Consts

  Source   Edit @@ -1702,7 +1702,7 @@

Consts

  Source   Edit @@ -1714,7 +1714,7 @@

Consts

  Source   Edit @@ -1726,7 +1726,7 @@

Consts

  Source   Edit @@ -1738,7 +1738,7 @@

Consts

  Source   Edit @@ -1750,7 +1750,7 @@

Consts

For backwards compatibility   Source   Edit @@ -1762,7 +1762,7 @@

Consts

  Source   Edit @@ -1774,7 +1774,7 @@

Consts

  Source   Edit @@ -1786,7 +1786,7 @@

Consts

  Source   Edit @@ -1798,7 +1798,7 @@

Consts

  Source   Edit @@ -1810,7 +1810,7 @@

Consts

  Source   Edit @@ -1822,7 +1822,7 @@

Consts

  Source   Edit @@ -1834,7 +1834,7 @@

Consts

  Source   Edit @@ -1846,7 +1846,7 @@

Consts

  Source   Edit @@ -1858,7 +1858,7 @@

Consts

  Source   Edit @@ -1870,7 +1870,7 @@

Consts

  Source   Edit @@ -1882,7 +1882,7 @@

Consts

  Source   Edit @@ -1894,7 +1894,7 @@

Consts

  Source   Edit @@ -1906,7 +1906,7 @@

Consts

  Source   Edit @@ -1918,7 +1918,7 @@

Consts

  Source   Edit @@ -1930,7 +1930,7 @@

Consts

  Source   Edit @@ -1942,7 +1942,7 @@

Consts

  Source   Edit @@ -1954,7 +1954,7 @@

Consts

  Source   Edit @@ -1966,7 +1966,7 @@

Consts

  Source   Edit @@ -1978,7 +1978,7 @@

Consts

  Source   Edit @@ -1990,7 +1990,7 @@

Consts

  Source   Edit @@ -2002,7 +2002,7 @@

Consts

  Source   Edit @@ -2014,7 +2014,7 @@

Consts

  Source   Edit @@ -2026,7 +2026,7 @@

Consts

  Source   Edit @@ -2038,7 +2038,7 @@

Consts

  Source   Edit @@ -2050,7 +2050,7 @@

Consts

  Source   Edit @@ -2062,7 +2062,7 @@

Consts

  Source   Edit @@ -2074,7 +2074,7 @@

Consts

  Source   Edit @@ -2086,7 +2086,7 @@

Consts

  Source   Edit @@ -2098,7 +2098,7 @@

Consts

  Source   Edit @@ -2110,7 +2110,7 @@

Consts

  Source   Edit @@ -2122,7 +2122,7 @@

Consts

  Source   Edit @@ -2134,7 +2134,7 @@

Consts

  Source   Edit @@ -2146,7 +2146,7 @@

Consts

  Source   Edit @@ -2158,7 +2158,7 @@

Consts

  Source   Edit @@ -2170,7 +2170,7 @@

Consts

  Source   Edit @@ -2182,7 +2182,7 @@

Consts

  Source   Edit @@ -2194,7 +2194,7 @@

Consts

  Source   Edit @@ -2206,7 +2206,7 @@

Consts

  Source   Edit @@ -2218,7 +2218,7 @@

Consts

  Source   Edit @@ -2230,7 +2230,7 @@

Consts

  Source   Edit @@ -2242,7 +2242,7 @@

Consts

  Source   Edit @@ -2254,7 +2254,7 @@

Consts

  Source   Edit @@ -2266,7 +2266,7 @@

Consts

  Source   Edit @@ -2278,7 +2278,7 @@

Consts

  Source   Edit @@ -2290,7 +2290,7 @@

Consts

  Source   Edit @@ -2302,7 +2302,7 @@

Consts

  Source   Edit @@ -2314,7 +2314,7 @@

Consts

  Source   Edit @@ -2326,7 +2326,7 @@

Consts

  Source   Edit @@ -2338,7 +2338,7 @@

Consts

  Source   Edit @@ -2350,7 +2350,7 @@

Consts

  Source   Edit @@ -2362,7 +2362,7 @@

Consts

  Source   Edit @@ -2374,7 +2374,7 @@

Consts

  Source   Edit @@ -2386,7 +2386,7 @@

Consts

  Source   Edit @@ -2398,7 +2398,7 @@

Consts

  Source   Edit @@ -2410,7 +2410,7 @@

Consts

  Source   Edit @@ -2422,7 +2422,7 @@

Consts

  Source   Edit @@ -2434,7 +2434,7 @@

Consts

  Source   Edit @@ -2446,7 +2446,7 @@

Consts

  Source   Edit @@ -2458,7 +2458,7 @@

Consts

  Source   Edit @@ -2470,7 +2470,7 @@

Consts

  Source   Edit @@ -2482,7 +2482,7 @@

Consts

  Source   Edit @@ -2494,7 +2494,7 @@

Consts

  Source   Edit @@ -2506,7 +2506,7 @@

Consts

  Source   Edit @@ -2518,7 +2518,7 @@

Consts

  Source   Edit @@ -2530,7 +2530,7 @@

Consts

  Source   Edit @@ -2542,7 +2542,7 @@

Consts

  Source   Edit @@ -2554,7 +2554,7 @@

Consts

  Source   Edit @@ -2566,7 +2566,7 @@

Consts

  Source   Edit @@ -2578,7 +2578,7 @@

Consts

  Source   Edit @@ -2590,7 +2590,7 @@

Consts

  Source   Edit @@ -2602,7 +2602,7 @@

Consts

  Source   Edit @@ -2614,7 +2614,7 @@

Consts

  Source   Edit @@ -2626,7 +2626,7 @@

Consts

  Source   Edit @@ -2638,7 +2638,7 @@

Consts

  Source   Edit @@ -2650,7 +2650,7 @@

Consts

  Source   Edit @@ -2662,7 +2662,7 @@

Consts

  Source   Edit @@ -2674,7 +2674,7 @@

Consts

  Source   Edit @@ -2686,7 +2686,7 @@

Consts

  Source   Edit @@ -2698,7 +2698,7 @@

Consts

  Source   Edit @@ -2710,7 +2710,7 @@

Consts

  Source   Edit @@ -2722,7 +2722,7 @@

Consts

  Source   Edit @@ -2734,7 +2734,7 @@

Consts

  Source   Edit @@ -2746,7 +2746,7 @@

Consts

  Source   Edit @@ -2758,7 +2758,7 @@

Consts

  Source   Edit @@ -2770,7 +2770,7 @@

Consts

  Source   Edit @@ -2782,7 +2782,7 @@

Consts

  Source   Edit @@ -2794,7 +2794,7 @@

Consts

  Source   Edit @@ -2806,7 +2806,7 @@

Consts

  Source   Edit @@ -2818,7 +2818,7 @@

Consts

  Source   Edit @@ -2836,7 +2836,7 @@

Procs

  Source   Edit @@ -2850,7 +2850,7 @@

Procs

  Source   Edit @@ -2864,7 +2864,7 @@

Procs

  Source   Edit @@ -2877,7 +2877,7 @@

Procs

  Source   Edit @@ -2892,7 +2892,7 @@

Procs

  Source   Edit @@ -2906,7 +2906,7 @@

Procs

  Source   Edit @@ -2921,7 +2921,7 @@

Procs

  Source   Edit @@ -2935,7 +2935,7 @@

Procs

  Source   Edit @@ -2948,7 +2948,7 @@

Procs

  Source   Edit @@ -2961,7 +2961,7 @@

Procs

  Source   Edit @@ -2974,7 +2974,7 @@

Procs

  Source   Edit @@ -2987,7 +2987,7 @@

Procs

  Source   Edit @@ -3002,7 +3002,7 @@

Procs

  Source   Edit @@ -3015,7 +3015,7 @@

Procs

  Source   Edit @@ -3029,7 +3029,7 @@

Procs

  Source   Edit @@ -3043,7 +3043,7 @@

Procs

  Source   Edit @@ -3057,7 +3057,7 @@

Procs

  Source   Edit @@ -3072,7 +3072,7 @@

Procs

  Source   Edit @@ -3084,7 +3084,7 @@

Procs

  Source   Edit @@ -3097,7 +3097,7 @@

Procs

  Source   Edit @@ -3110,7 +3110,7 @@

Procs

  Source   Edit @@ -3122,7 +3122,7 @@

Procs

  Source   Edit @@ -3136,7 +3136,7 @@

Procs

  Source   Edit @@ -3149,7 +3149,7 @@

Procs

  Source   Edit @@ -3162,7 +3162,7 @@

Procs

  Source   Edit @@ -3178,7 +3178,7 @@

Procs

  Source   Edit @@ -3190,7 +3190,7 @@

Procs

  Source   Edit diff --git a/pegs.html b/pegs.html index 977f1f8328c..65ef2e5e291 100644 --- a/pegs.html +++ b/pegs.html @@ -582,7 +582,7 @@

pure/pegs

  Source   Edit @@ -724,7 +724,7 @@

Types

contains the captured substrings.   Source   Edit @@ -736,7 +736,7 @@

Types

raised if an invalid PEG has been detected   Source   Edit @@ -748,7 +748,7 @@

Types

  Source   Edit @@ -761,7 +761,7 @@

Types

  Source   Edit @@ -789,7 +789,7 @@

Types

type that represents a PEG   Source   Edit @@ -827,7 +827,7 @@

Types

  Source   Edit @@ -844,7 +844,7 @@

Consts

defines the maximum number of subpatterns that can be captured. More subpatterns cannot be captured!   Source   Edit @@ -862,7 +862,7 @@

Procs

constructs a "captured search" for the PEG a   Source   Edit @@ -874,7 +874,7 @@

Procs

constructs a "search" for the PEG a   Source   Edit @@ -887,7 +887,7 @@

Procs

constructs a "not predicate" with the PEG a   Source   Edit @@ -899,7 +899,7 @@

Procs

converts a PEG to its string representation   Source   Edit @@ -912,7 +912,7 @@

Procs

constructs an "and predicate" with the PEG a   Source   Edit @@ -924,7 +924,7 @@

Procs

constructs a "greedy repetition" for the PEG a   Source   Edit @@ -937,7 +937,7 @@

Procs

constructs a "greedy positive repetition" with the PEG a   Source   Edit @@ -950,7 +950,7 @@

Procs

constructs an ordered choice with the PEGs in a   Source   Edit @@ -962,7 +962,7 @@

Procs

constructs an optional for the PEG a   Source   Edit @@ -974,7 +974,7 @@

Procs

constructs the PEG any character (.)   Source   Edit @@ -986,7 +986,7 @@

Procs

constructs the PEG any rune (_)   Source   Edit @@ -999,7 +999,7 @@

Procs

constructs a back reference of the given index. index starts counting from 1. reverse specifies wether indexing starts from the end of the capture list.   Source   Edit @@ -1012,7 +1012,7 @@

Procs

constructs a back reference of the given index. index starts counting from 1. reverse specifies wether indexing starts from the end of the capture list. Ignores case for matching.   Source   Edit @@ -1025,7 +1025,7 @@

Procs

constructs a back reference of the given index. index starts counting from 1. reverse specifies wether indexing starts from the end of the capture list. Ignores style for matching.   Source   Edit @@ -1038,7 +1038,7 @@

Procs

returns the bounds [first..last] of the i'th capture.   Source   Edit @@ -1051,7 +1051,7 @@

Procs

constructs a capture with the PEG a   Source   Edit @@ -1063,7 +1063,7 @@

Procs

Returns the char representation of a given Peg variant object where present.   Source   Edit @@ -1075,7 +1075,7 @@

Procs

Returns the charChoice field of a given Peg variant object where present.   Source   Edit @@ -1088,7 +1088,7 @@

Procs

constructs a PEG from a character set s   Source   Edit @@ -1100,7 +1100,7 @@

Procs

Gets the column number of the definition of the parent Peg object variant of a given NonTerminal.   Source   Edit @@ -1113,7 +1113,7 @@

Procs

same as find(s, pattern, matches, start) >= 0   Source   Edit @@ -1126,7 +1126,7 @@

Procs

same as find(s, pattern, start) >= 0   Source   Edit @@ -1138,7 +1138,7 @@

Procs

constructs the PEG $ which matches the end of the input.   Source   Edit @@ -1151,7 +1151,7 @@

Procs

returns true if s ends with the pattern suffix   Source   Edit @@ -1163,7 +1163,7 @@

Procs

escapes s so that it is matched verbatim when used as a peg.   Source   Edit @@ -1176,7 +1176,7 @@

Procs

returns the starting position of pattern in s and the captured substrings in the array matches. If it does not match, nothing is written into matches and -1 is returned.   Source   Edit @@ -1189,7 +1189,7 @@

Procs

returns the starting position of pattern in s. If it does not match, -1 is returned.   Source   Edit @@ -1202,7 +1202,7 @@

Procs

returns all matching substrings of s that match pattern. If it does not match, @[] is returned.   Source   Edit @@ -1216,7 +1216,7 @@

Procs

returns the starting position and end position of pattern in s and the captured substrings in the array matches. If it does not match, nothing is written into matches and (-1,0) is returned.   Source   Edit @@ -1228,7 +1228,7 @@

Procs

Gets the NonTerminalFlag-typed flags field of the parent Peg variant object of a given NonTerminal.   Source   Edit @@ -1240,7 +1240,7 @@

Procs

Returns the back-reference index of a captured sub-pattern in the Captures object for a given Peg variant object where present.   Source   Edit @@ -1252,7 +1252,7 @@

Procs

Returns the PegKind of a given Peg object.   Source   Edit @@ -1264,7 +1264,7 @@

Procs

Gets the line number of the definition of the parent Peg object variant of a given NonTerminal.   Source   Edit @@ -1277,7 +1277,7 @@

Procs

returns true if s[start..] matches the pattern and the captured substrings in the array matches. If it does not match, nothing is written into matches and false is returned.   Source   Edit @@ -1290,7 +1290,7 @@

Procs

returns true if s matches the pattern beginning from start.   Source   Edit @@ -1303,7 +1303,7 @@

Procs

the same as match, but it returns the length of the match, if there is no match, -1 is returned. Note that a match length of zero can happen. It's possible that a suffix of s remains that does not belong to the match.   Source   Edit @@ -1316,7 +1316,7 @@

Procs

the same as match, but it returns the length of the match, if there is no match, -1 is returned. Note that a match length of zero can happen. It's possible that a suffix of s remains that does not belong to the match.   Source   Edit @@ -1328,7 +1328,7 @@

Procs

Gets the name of the symbol represented by the parent Peg object variant of a given NonTerminal.   Source   Edit @@ -1340,7 +1340,7 @@

Procs

constructs the PEG newline (\n)   Source   Edit @@ -1353,7 +1353,7 @@

Procs

constructs a nonterminal symbol   Source   Edit @@ -1366,7 +1366,7 @@

Procs

constructs a PEG that consists of the nonterminal symbol   Source   Edit @@ -1378,7 +1378,7 @@

Procs

Returns the NonTerminal object of a given Peg variant object where present.   Source   Edit @@ -1391,7 +1391,7 @@

Procs

Returns a modified copy of s with the substitutions in subs applied in parallel.   Source   Edit @@ -1404,7 +1404,7 @@

Procs

constructs a Peg object from pattern. filename, line, col are used for error messages, but they only provide start offsets. parsePeg keeps track of line and column numbers within pattern.   Source   Edit @@ -1418,7 +1418,7 @@

Procs

constructs a Peg object from the pattern. The short name has been chosen to encourage its use as a raw string modifier:
peg"{\ident} \s* '=' \s* {.*}"
  Source   Edit @@ -1431,7 +1431,7 @@

Procs

low-level matching proc that implements the PEG interpreter. Use this for maximum efficiency (every other PEG operation ends up calling this proc). Returns -1 if it does not match, else the length of the match   Source   Edit @@ -1456,7 +1456,7 @@

Procs

echo s.replace(peg"{\ident}('='{\ident})* ';'* \s*", handleMatches)

Results in:

"var1: 'key1', var2: 'Key2', var3: ''"
  Source   Edit @@ -1469,7 +1469,7 @@

Procs

Replaces sub in s by the string by. Captures cannot be accessed in by.   Source   Edit @@ -1483,7 +1483,7 @@

Procs

Replaces sub in s by the string by. Captures can be accessed in by with the notation $i and $# (see strutils.%). Examples:
"var1=key; var2=key2".replacef(peg"{\ident}'='{\ident}", "$1<-$2$2")

Results in:

"var1<-keykey; val2<-key2key2"
  Source   Edit @@ -1495,7 +1495,7 @@

Procs

Gets the Peg object representing the rule definition of the parent Peg object variant of a given NonTerminal.   Source   Edit @@ -1508,7 +1508,7 @@

Procs

constructs a sequence with all the PEGs from a   Source   Edit @@ -1521,7 +1521,7 @@

Procs

Splits the string s into substrings.   Source   Edit @@ -1533,7 +1533,7 @@

Procs

constructs the PEG ^ which matches the start of the input.   Source   Edit @@ -1546,7 +1546,7 @@

Procs

returns true if s starts with the pattern prefix   Source   Edit @@ -1558,7 +1558,7 @@

Procs

Returns the string representation of a given Peg variant object where present.   Source   Edit @@ -1570,7 +1570,7 @@

Procs

constructs a PEG from a terminal char   Source   Edit @@ -1582,7 +1582,7 @@

Procs

constructs a PEG from a terminal string   Source   Edit @@ -1595,7 +1595,7 @@

Procs

constructs a PEG from a terminal string; ignore case for matching   Source   Edit @@ -1608,7 +1608,7 @@

Procs

constructs a PEG from a terminal string; ignore style for matching   Source   Edit @@ -1625,7 +1625,7 @@

Procs

Note: this proc does not exist while using the JS backend.

  Source   Edit @@ -1637,7 +1637,7 @@

Procs

constructs the PEG \letter which matches any Unicode letter.   Source   Edit @@ -1649,7 +1649,7 @@

Procs

constructs the PEG \lower which matches any Unicode lowercase letter.   Source   Edit @@ -1661,7 +1661,7 @@

Procs

constructs the PEG \title which matches any Unicode title letter.   Source   Edit @@ -1673,7 +1673,7 @@

Procs

constructs the PEG \upper which matches any Unicode uppercase letter.   Source   Edit @@ -1685,7 +1685,7 @@

Procs

constructs the PEG \white which matches any Unicode whitespace character.   Source   Edit @@ -1703,7 +1703,7 @@

Iterators

yields all matching substrings of s that match pattern.   Source   Edit @@ -1715,7 +1715,7 @@

Iterators

Yields the child nodes of a Peg variant object where present.   Source   Edit @@ -1727,7 +1727,7 @@

Iterators

Yields the indices and child nodes of a Peg variant object where present.   Source   Edit @@ -1746,7 +1746,7 @@

Iterators

"an" "example"   Source   Edit @@ -1773,7 +1773,7 @@

Templates

else: echo("syntax error")   Source   Edit @@ -1785,7 +1785,7 @@

Templates

expands to charset({'0'..'9'})   Source   Edit @@ -1851,7 +1851,7 @@

Templates

Symbols declared in an enter handler can be made visible in the corresponding leave handler by annotating them with an inject pragma.

  Source   Edit @@ -1863,7 +1863,7 @@

Templates

same as [a-zA-Z_][a-zA-z_0-9]*; standard identifier   Source   Edit @@ -1875,7 +1875,7 @@

Templates

expands to charset({'a'..'z', 'A'..'Z', '0'..'9', '_'})   Source   Edit @@ -1887,7 +1887,7 @@

Templates

expands to charset({'A'..'Z', 'a'..'z', '_'})   Source   Edit @@ -1899,7 +1899,7 @@

Templates

expands to charset({'A'..'Z', 'a'..'z'})   Source   Edit @@ -1911,7 +1911,7 @@

Templates

same as \d+   Source   Edit @@ -1923,7 +1923,7 @@

Templates

expands to charset({' ', '\9'..'\13'})   Source   Edit diff --git a/posix.html b/posix.html index 66e8a9d456f..1577e0211a0 100644 --- a/posix.html +++ b/posix.html @@ -4529,7 +4529,7 @@

posix/posix

  Source   Edit @@ -4559,7 +4559,7 @@

Types

struct addrinfo   Source   Edit @@ -4571,7 +4571,7 @@

Types

used for file block counts   Source   Edit @@ -4583,7 +4583,7 @@

Types

used for block sizes   Source   Edit @@ -4595,7 +4595,7 @@

Types

  Source   Edit @@ -4607,7 +4607,7 @@

Types

  Source   Edit @@ -4619,7 +4619,7 @@

Types

  Source   Edit @@ -4632,7 +4632,7 @@

Types

A type representing a directory stream.   Source   Edit @@ -4650,7 +4650,7 @@

Types

dirent_t struct   Source   Edit @@ -4662,7 +4662,7 @@

Types

  Source   Edit @@ -4674,7 +4674,7 @@

Types

  Source   Edit @@ -4686,7 +4686,7 @@

Types

  Source   Edit @@ -4708,7 +4708,7 @@

Types

glob_t   Source   Edit @@ -4726,7 +4726,7 @@

Types

struct group   Source   Edit @@ -4750,7 +4750,7 @@

Types

struct hostent   Source   Edit @@ -4762,7 +4762,7 @@

Types

Identifies the conversion from one codeset to another.   Source   Edit @@ -4774,7 +4774,7 @@

Types

  Source   Edit @@ -4788,7 +4788,7 @@

Types

struct in6_addr   Source   Edit @@ -4802,7 +4802,7 @@

Types

struct in_addr   Source   Edit @@ -4814,7 +4814,7 @@

Types

  Source   Edit @@ -4826,7 +4826,7 @@

Types

  Source   Edit @@ -4838,7 +4838,7 @@

Types

  Source   Edit @@ -4850,7 +4850,7 @@

Types

  Source   Edit @@ -4865,7 +4865,7 @@

Types

struct iovec   Source   Edit @@ -4889,7 +4889,7 @@

Types

struct ipc_perm   Source   Edit @@ -4904,7 +4904,7 @@

Types

struct itimerspec   Source   Edit @@ -4916,7 +4916,7 @@

Types

  Source   Edit @@ -4953,7 +4953,7 @@

Types

  Source   Edit @@ -4969,7 +4969,7 @@

Types

  Source   Edit @@ -4981,7 +4981,7 @@

Types

  Source   Edit @@ -4999,7 +4999,7 @@

Types

message queue attribute   Source   Edit @@ -5011,7 +5011,7 @@

Types

  Source   Edit @@ -5023,7 +5023,7 @@

Types

  Source   Edit @@ -5035,7 +5035,7 @@

Types

  Source   Edit @@ -5047,7 +5047,7 @@

Types

  Source   Edit @@ -5059,7 +5059,7 @@

Types

  Source   Edit @@ -5079,7 +5079,7 @@

Types

struct passwd   Source   Edit @@ -5091,7 +5091,7 @@

Types

  Source   Edit @@ -5110,7 +5110,7 @@

Types

struct protoent   Source   Edit @@ -5122,7 +5122,7 @@

Types

  Source   Edit @@ -5136,7 +5136,7 @@

Types

  Source   Edit @@ -5151,7 +5151,7 @@

Types

  Source   Edit @@ -5166,7 +5166,7 @@

Types

  Source   Edit @@ -5180,7 +5180,7 @@

Types

  Source   Edit @@ -5195,7 +5195,7 @@

Types

  Source   Edit @@ -5207,7 +5207,7 @@

Types

  Source   Edit @@ -5221,7 +5221,7 @@

Types

  Source   Edit @@ -5236,7 +5236,7 @@

Types

  Source   Edit @@ -5248,7 +5248,7 @@

Types

  Source   Edit @@ -5263,7 +5263,7 @@

Types

  Source   Edit @@ -5277,7 +5277,7 @@

Types

  Source   Edit @@ -5289,7 +5289,7 @@

Types

  Source   Edit @@ -5304,7 +5304,7 @@

Types

  Source   Edit @@ -5321,7 +5321,7 @@

Types

  Source   Edit @@ -5335,7 +5335,7 @@

Types

struct sched_param   Source   Edit @@ -5349,7 +5349,7 @@

Types

  Source   Edit @@ -5370,7 +5370,7 @@

Types

struct servent   Source   Edit @@ -5382,7 +5382,7 @@

Types

Possibly volatile-qualified integer type of an object that can be accessed as an atomic entity, even in the presence of asynchronous interrupts.   Source   Edit @@ -5402,7 +5402,7 @@

Types

struct sigaction   Source   Edit @@ -5421,7 +5421,7 @@

Types

struct sigevent   Source   Edit @@ -5445,7 +5445,7 @@

Types

siginfo_t   Source   Edit @@ -5459,7 +5459,7 @@

Types

  Source   Edit @@ -5474,7 +5474,7 @@

Types

struct sigstack   Source   Edit @@ -5489,7 +5489,7 @@

Types

struct sigval   Source   Edit @@ -5504,7 +5504,7 @@

Types

struct sockaddr   Source   Edit @@ -5522,7 +5522,7 @@

Types

struct sockaddr_in   Source   Edit @@ -5541,7 +5541,7 @@

Types

struct sockaddr_in6   Source   Edit @@ -5558,7 +5558,7 @@

Types

struct sockaddr_storage   Source   Edit @@ -5573,7 +5573,7 @@

Types

struct sockaddr_un   Source   Edit @@ -5585,7 +5585,7 @@

Types

  Source   Edit @@ -5597,7 +5597,7 @@

Types

  Source   Edit @@ -5613,7 +5613,7 @@

Types

stack_t   Source   Edit @@ -5650,7 +5650,7 @@

Types

struct stat   Source   Edit @@ -5678,7 +5678,7 @@

Types

struct statvfs   Source   Edit @@ -5690,7 +5690,7 @@

Types

  Source   Edit @@ -5716,7 +5716,7 @@

Types

struct aiocb   Source   Edit @@ -5732,7 +5732,7 @@

Types

struct cmsghdr   Source   Edit @@ -5746,7 +5746,7 @@

Types

  Source   Edit @@ -5765,7 +5765,7 @@

Types

flock type   Source   Edit @@ -5781,7 +5781,7 @@

Types

struct if_nameindex   Source   Edit @@ -5793,7 +5793,7 @@

Types

  Source   Edit @@ -5805,7 +5805,7 @@

Types

  Source   Edit @@ -5820,7 +5820,7 @@

Types

struct timespec   Source   Edit @@ -5835,7 +5835,7 @@

Types

struct timeval   Source   Edit @@ -5850,7 +5850,7 @@

Types

struct ipv6_mreq   Source   Edit @@ -5865,7 +5865,7 @@

Types

struct linger   Source   Edit @@ -5889,7 +5889,7 @@

Types

struct tm   Source   Edit @@ -5909,7 +5909,7 @@

Types

struct msghdr   Source   Edit @@ -5930,7 +5930,7 @@

Types

struct netent   Source   Edit @@ -5942,7 +5942,7 @@

Types

  Source   Edit @@ -5958,7 +5958,7 @@

Types

struct pollfd   Source   Edit @@ -5976,7 +5976,7 @@

Types

  Source   Edit @@ -5997,7 +5997,7 @@

Types

  Source   Edit @@ -6009,7 +6009,7 @@

Types

  Source   Edit @@ -6031,7 +6031,7 @@

Types

ucontext_t   Source   Edit @@ -6043,7 +6043,7 @@

Types

  Source   Edit @@ -6055,7 +6055,7 @@

Types

  Source   Edit @@ -6076,7 +6076,7 @@

Types

struct utsname   Source   Edit @@ -6093,7 +6093,7 @@

Vars

  Source   Edit @@ -6105,7 +6105,7 @@

Vars

error variable   Source   Edit @@ -6117,7 +6117,7 @@

Vars

  Source   Edit @@ -6129,7 +6129,7 @@

Vars

  Source   Edit @@ -6141,7 +6141,7 @@

Vars

  Source   Edit @@ -6153,7 +6153,7 @@

Vars

  Source   Edit @@ -6170,7 +6170,7 @@

Consts

  Source   Edit @@ -6182,7 +6182,7 @@

Consts

  Source   Edit @@ -6194,7 +6194,7 @@

Consts

  Source   Edit @@ -6206,7 +6206,7 @@

Consts

  Source   Edit @@ -6218,7 +6218,7 @@

Consts

  Source   Edit @@ -6230,7 +6230,7 @@

Consts

  Source   Edit @@ -6242,7 +6242,7 @@

Consts

  Source   Edit @@ -6254,7 +6254,7 @@

Consts

  Source   Edit @@ -6266,7 +6266,7 @@

Consts

  Source   Edit @@ -6278,7 +6278,7 @@

Consts

  Source   Edit @@ -6290,7 +6290,7 @@

Consts

  Source   Edit @@ -6302,7 +6302,7 @@

Consts

  Source   Edit @@ -6314,7 +6314,7 @@

Consts

  Source   Edit @@ -6326,7 +6326,7 @@

Consts

  Source   Edit @@ -6338,7 +6338,7 @@

Consts

  Source   Edit @@ -6350,7 +6350,7 @@

Consts

  Source   Edit @@ -6362,7 +6362,7 @@

Consts

  Source   Edit @@ -6374,7 +6374,7 @@

Consts

  Source   Edit @@ -6386,7 +6386,7 @@

Consts

  Source   Edit @@ -6398,7 +6398,7 @@

Consts

  Source   Edit @@ -6410,7 +6410,7 @@

Consts

  Source   Edit @@ -6422,7 +6422,7 @@

Consts

  Source   Edit @@ -6434,7 +6434,7 @@

Consts

  Source   Edit @@ -6446,7 +6446,7 @@

Consts

  Source   Edit @@ -6458,7 +6458,7 @@

Consts

  Source   Edit @@ -6470,7 +6470,7 @@

Consts

  Source   Edit @@ -6482,7 +6482,7 @@

Consts

  Source   Edit @@ -6494,7 +6494,7 @@

Consts

  Source   Edit @@ -6506,7 +6506,7 @@

Consts

  Source   Edit @@ -6518,7 +6518,7 @@

Consts

  Source   Edit @@ -6530,7 +6530,7 @@

Consts

  Source   Edit @@ -6542,7 +6542,7 @@

Consts

  Source   Edit @@ -6554,7 +6554,7 @@

Consts

  Source   Edit @@ -6566,7 +6566,7 @@

Consts

  Source   Edit @@ -6578,7 +6578,7 @@

Consts

  Source   Edit @@ -6590,7 +6590,7 @@

Consts

  Source   Edit @@ -6602,7 +6602,7 @@

Consts

  Source   Edit @@ -6614,7 +6614,7 @@

Consts

  Source   Edit @@ -6626,7 +6626,7 @@

Consts

  Source   Edit @@ -6638,7 +6638,7 @@

Consts

  Source   Edit @@ -6650,7 +6650,7 @@

Consts

  Source   Edit @@ -6662,7 +6662,7 @@

Consts

  Source   Edit @@ -6674,7 +6674,7 @@

Consts

  Source   Edit @@ -6686,7 +6686,7 @@

Consts

  Source   Edit @@ -6698,7 +6698,7 @@

Consts

  Source   Edit @@ -6710,7 +6710,7 @@

Consts

  Source   Edit @@ -6722,7 +6722,7 @@

Consts

  Source   Edit @@ -6734,7 +6734,7 @@

Consts

  Source   Edit @@ -6746,7 +6746,7 @@

Consts

  Source   Edit @@ -6758,7 +6758,7 @@

Consts

  Source   Edit @@ -6770,7 +6770,7 @@

Consts

  Source   Edit @@ -6782,7 +6782,7 @@

Consts

  Source   Edit @@ -6794,7 +6794,7 @@

Consts

  Source   Edit @@ -6806,7 +6806,7 @@

Consts

  Source   Edit @@ -6818,7 +6818,7 @@

Consts

  Source   Edit @@ -6830,7 +6830,7 @@

Consts

  Source   Edit @@ -6842,7 +6842,7 @@

Consts

  Source   Edit @@ -6854,7 +6854,7 @@

Consts

  Source   Edit @@ -6866,7 +6866,7 @@

Consts

  Source   Edit @@ -6878,7 +6878,7 @@

Consts

  Source   Edit @@ -6890,7 +6890,7 @@

Consts

  Source   Edit @@ -6902,7 +6902,7 @@

Consts

  Source   Edit @@ -6914,7 +6914,7 @@

Consts

  Source   Edit @@ -6926,7 +6926,7 @@

Consts

  Source   Edit @@ -6938,7 +6938,7 @@

Consts

  Source   Edit @@ -6950,7 +6950,7 @@

Consts

Block device.   Source   Edit @@ -6962,7 +6962,7 @@

Consts

Character device.   Source   Edit @@ -6974,7 +6974,7 @@

Consts

Directory.   Source   Edit @@ -6986,7 +6986,7 @@

Consts

Named pipe, or FIFO.   Source   Edit @@ -6998,7 +6998,7 @@

Consts

Symbolic link.   Source   Edit @@ -7010,7 +7010,7 @@

Consts

Regular file.   Source   Edit @@ -7022,7 +7022,7 @@

Consts

UNIX domain socket.   Source   Edit @@ -7034,7 +7034,7 @@

Consts

Unknown file type.   Source   Edit @@ -7046,7 +7046,7 @@

Consts

  Source   Edit @@ -7058,7 +7058,7 @@

Consts

  Source   Edit @@ -7070,7 +7070,7 @@

Consts

  Source   Edit @@ -7082,7 +7082,7 @@

Consts

  Source   Edit @@ -7094,7 +7094,7 @@

Consts

  Source   Edit @@ -7106,7 +7106,7 @@

Consts

  Source   Edit @@ -7118,7 +7118,7 @@

Consts

  Source   Edit @@ -7130,7 +7130,7 @@

Consts

  Source   Edit @@ -7142,7 +7142,7 @@

Consts

  Source   Edit @@ -7154,7 +7154,7 @@

Consts

  Source   Edit @@ -7166,7 +7166,7 @@

Consts

  Source   Edit @@ -7178,7 +7178,7 @@

Consts

  Source   Edit @@ -7190,7 +7190,7 @@

Consts

  Source   Edit @@ -7202,7 +7202,7 @@

Consts

  Source   Edit @@ -7214,7 +7214,7 @@

Consts

  Source   Edit @@ -7226,7 +7226,7 @@

Consts

  Source   Edit @@ -7238,7 +7238,7 @@

Consts

  Source   Edit @@ -7250,7 +7250,7 @@

Consts

  Source   Edit @@ -7262,7 +7262,7 @@

Consts

  Source   Edit @@ -7274,7 +7274,7 @@

Consts

  Source   Edit @@ -7286,7 +7286,7 @@

Consts

  Source   Edit @@ -7298,7 +7298,7 @@

Consts

  Source   Edit @@ -7310,7 +7310,7 @@

Consts

  Source   Edit @@ -7322,7 +7322,7 @@

Consts

  Source   Edit @@ -7334,7 +7334,7 @@

Consts

  Source   Edit @@ -7346,7 +7346,7 @@

Consts

  Source   Edit @@ -7358,7 +7358,7 @@

Consts

  Source   Edit @@ -7370,7 +7370,7 @@

Consts

  Source   Edit @@ -7382,7 +7382,7 @@

Consts

  Source   Edit @@ -7394,7 +7394,7 @@

Consts

  Source   Edit @@ -7406,7 +7406,7 @@

Consts

  Source   Edit @@ -7418,7 +7418,7 @@

Consts

  Source   Edit @@ -7430,7 +7430,7 @@

Consts

  Source   Edit @@ -7442,7 +7442,7 @@

Consts

  Source   Edit @@ -7454,7 +7454,7 @@

Consts

  Source   Edit @@ -7466,7 +7466,7 @@

Consts

  Source   Edit @@ -7478,7 +7478,7 @@

Consts

  Source   Edit @@ -7490,7 +7490,7 @@

Consts

  Source   Edit @@ -7502,7 +7502,7 @@

Consts

  Source   Edit @@ -7514,7 +7514,7 @@

Consts

  Source   Edit @@ -7526,7 +7526,7 @@

Consts

  Source   Edit @@ -7538,7 +7538,7 @@

Consts

  Source   Edit @@ -7550,7 +7550,7 @@

Consts

  Source   Edit @@ -7562,7 +7562,7 @@

Consts

  Source   Edit @@ -7574,7 +7574,7 @@

Consts

  Source   Edit @@ -7586,7 +7586,7 @@

Consts

  Source   Edit @@ -7598,7 +7598,7 @@

Consts

  Source   Edit @@ -7610,7 +7610,7 @@

Consts

  Source   Edit @@ -7622,7 +7622,7 @@

Consts

  Source   Edit @@ -7634,7 +7634,7 @@

Consts

  Source   Edit @@ -7646,7 +7646,7 @@

Consts

  Source   Edit @@ -7658,7 +7658,7 @@

Consts

  Source   Edit @@ -7670,7 +7670,7 @@

Consts

  Source   Edit @@ -7682,7 +7682,7 @@

Consts

  Source   Edit @@ -7694,7 +7694,7 @@

Consts

  Source   Edit @@ -7706,7 +7706,7 @@

Consts

  Source   Edit @@ -7718,7 +7718,7 @@

Consts

  Source   Edit @@ -7730,7 +7730,7 @@

Consts

  Source   Edit @@ -7742,7 +7742,7 @@

Consts

  Source   Edit @@ -7754,7 +7754,7 @@

Consts

  Source   Edit @@ -7766,7 +7766,7 @@

Consts

  Source   Edit @@ -7778,7 +7778,7 @@

Consts

  Source   Edit @@ -7790,7 +7790,7 @@

Consts

  Source   Edit @@ -7802,7 +7802,7 @@

Consts

  Source   Edit @@ -7814,7 +7814,7 @@

Consts

  Source   Edit @@ -7826,7 +7826,7 @@

Consts

  Source   Edit @@ -7838,7 +7838,7 @@

Consts

  Source   Edit @@ -7850,7 +7850,7 @@

Consts

  Source   Edit @@ -7862,7 +7862,7 @@

Consts

  Source   Edit @@ -7874,7 +7874,7 @@

Consts

  Source   Edit @@ -7886,7 +7886,7 @@

Consts

  Source   Edit @@ -7898,7 +7898,7 @@

Consts

  Source   Edit @@ -7910,7 +7910,7 @@

Consts

  Source   Edit @@ -7922,7 +7922,7 @@

Consts

  Source   Edit @@ -7934,7 +7934,7 @@

Consts

  Source   Edit @@ -7946,7 +7946,7 @@

Consts

  Source   Edit @@ -7958,7 +7958,7 @@

Consts

  Source   Edit @@ -7970,7 +7970,7 @@

Consts

  Source   Edit @@ -7982,7 +7982,7 @@

Consts

  Source   Edit @@ -7994,7 +7994,7 @@

Consts

  Source   Edit @@ -8006,7 +8006,7 @@

Consts

  Source   Edit @@ -8018,7 +8018,7 @@

Consts

  Source   Edit @@ -8030,7 +8030,7 @@

Consts

  Source   Edit @@ -8042,7 +8042,7 @@

Consts

  Source   Edit @@ -8054,7 +8054,7 @@

Consts

  Source   Edit @@ -8066,7 +8066,7 @@

Consts

  Source   Edit @@ -8078,7 +8078,7 @@

Consts

  Source   Edit @@ -8090,7 +8090,7 @@

Consts

  Source   Edit @@ -8102,7 +8102,7 @@

Consts

  Source   Edit @@ -8114,7 +8114,7 @@

Consts

  Source   Edit @@ -8126,7 +8126,7 @@

Consts

  Source   Edit @@ -8138,7 +8138,7 @@

Consts

  Source   Edit @@ -8150,7 +8150,7 @@

Consts

  Source   Edit @@ -8162,7 +8162,7 @@

Consts

  Source   Edit @@ -8174,7 +8174,7 @@

Consts

  Source   Edit @@ -8186,7 +8186,7 @@

Consts

  Source   Edit @@ -8198,7 +8198,7 @@

Consts

  Source   Edit @@ -8210,7 +8210,7 @@

Consts

  Source   Edit @@ -8222,7 +8222,7 @@

Consts

  Source   Edit @@ -8234,7 +8234,7 @@

Consts

  Source   Edit @@ -8246,7 +8246,7 @@

Consts

  Source   Edit @@ -8258,7 +8258,7 @@

Consts

  Source   Edit @@ -8270,7 +8270,7 @@

Consts

  Source   Edit @@ -8282,7 +8282,7 @@

Consts

  Source   Edit @@ -8294,7 +8294,7 @@

Consts

  Source   Edit @@ -8306,7 +8306,7 @@

Consts

  Source   Edit @@ -8318,7 +8318,7 @@

Consts

  Source   Edit @@ -8330,7 +8330,7 @@

Consts

  Source   Edit @@ -8342,7 +8342,7 @@

Consts

  Source   Edit @@ -8354,7 +8354,7 @@

Consts

  Source   Edit @@ -8366,7 +8366,7 @@

Consts

  Source   Edit @@ -8378,7 +8378,7 @@

Consts

  Source   Edit @@ -8390,7 +8390,7 @@

Consts

  Source   Edit @@ -8402,7 +8402,7 @@

Consts

  Source   Edit @@ -8414,7 +8414,7 @@

Consts

  Source   Edit @@ -8426,7 +8426,7 @@

Consts

  Source   Edit @@ -8438,7 +8438,7 @@

Consts

  Source   Edit @@ -8450,7 +8450,7 @@

Consts

  Source   Edit @@ -8462,7 +8462,7 @@

Consts

  Source   Edit @@ -8474,7 +8474,7 @@

Consts

  Source   Edit @@ -8486,7 +8486,7 @@

Consts

  Source   Edit @@ -8498,7 +8498,7 @@

Consts

  Source   Edit @@ -8510,7 +8510,7 @@

Consts

  Source   Edit @@ -8522,7 +8522,7 @@

Consts

  Source   Edit @@ -8534,7 +8534,7 @@

Consts

  Source   Edit @@ -8546,7 +8546,7 @@

Consts

  Source   Edit @@ -8558,7 +8558,7 @@

Consts

  Source   Edit @@ -8570,7 +8570,7 @@

Consts

  Source   Edit @@ -8582,7 +8582,7 @@

Consts

  Source   Edit @@ -8594,7 +8594,7 @@

Consts

  Source   Edit @@ -8606,7 +8606,7 @@

Consts

  Source   Edit @@ -8618,7 +8618,7 @@

Consts

  Source   Edit @@ -8630,7 +8630,7 @@

Consts

  Source   Edit @@ -8642,7 +8642,7 @@

Consts

  Source   Edit @@ -8654,7 +8654,7 @@

Consts

  Source   Edit @@ -8666,7 +8666,7 @@

Consts

  Source   Edit @@ -8678,7 +8678,7 @@

Consts

  Source   Edit @@ -8690,7 +8690,7 @@

Consts

  Source   Edit @@ -8702,7 +8702,7 @@

Consts

  Source   Edit @@ -8714,7 +8714,7 @@

Consts

  Source   Edit @@ -8726,7 +8726,7 @@

Consts

  Source   Edit @@ -8738,7 +8738,7 @@

Consts

  Source   Edit @@ -8750,7 +8750,7 @@

Consts

  Source   Edit @@ -8762,7 +8762,7 @@

Consts

  Source   Edit @@ -8774,7 +8774,7 @@

Consts

  Source   Edit @@ -8786,7 +8786,7 @@

Consts

  Source   Edit @@ -8798,7 +8798,7 @@

Consts

  Source   Edit @@ -8810,7 +8810,7 @@

Consts

  Source   Edit @@ -8822,7 +8822,7 @@

Consts

  Source   Edit @@ -8834,7 +8834,7 @@

Consts

  Source   Edit @@ -8846,7 +8846,7 @@

Consts

  Source   Edit @@ -8858,7 +8858,7 @@

Consts

  Source   Edit @@ -8870,7 +8870,7 @@

Consts

  Source   Edit @@ -8882,7 +8882,7 @@

Consts

  Source   Edit @@ -8894,7 +8894,7 @@

Consts

  Source   Edit @@ -8906,7 +8906,7 @@

Consts

  Source   Edit @@ -8918,7 +8918,7 @@

Consts

  Source   Edit @@ -8930,7 +8930,7 @@

Consts

  Source   Edit @@ -8942,7 +8942,7 @@

Consts

  Source   Edit @@ -8954,7 +8954,7 @@

Consts

  Source   Edit @@ -8966,7 +8966,7 @@

Consts

  Source   Edit @@ -8978,7 +8978,7 @@

Consts

  Source   Edit @@ -8990,7 +8990,7 @@

Consts

  Source   Edit @@ -9002,7 +9002,7 @@

Consts

  Source   Edit @@ -9014,7 +9014,7 @@

Consts

  Source   Edit @@ -9026,7 +9026,7 @@

Consts

  Source   Edit @@ -9038,7 +9038,7 @@

Consts

  Source   Edit @@ -9050,7 +9050,7 @@

Consts

  Source   Edit @@ -9062,7 +9062,7 @@

Consts

  Source   Edit @@ -9074,7 +9074,7 @@

Consts

  Source   Edit @@ -9086,7 +9086,7 @@

Consts

  Source   Edit @@ -9098,7 +9098,7 @@

Consts

  Source   Edit @@ -9110,7 +9110,7 @@

Consts

  Source   Edit @@ -9122,7 +9122,7 @@

Consts

  Source   Edit @@ -9134,7 +9134,7 @@

Consts

  Source   Edit @@ -9146,7 +9146,7 @@

Consts

  Source   Edit @@ -9158,7 +9158,7 @@

Consts

  Source   Edit @@ -9170,7 +9170,7 @@

Consts

  Source   Edit @@ -9182,7 +9182,7 @@

Consts

  Source   Edit @@ -9194,7 +9194,7 @@

Consts

  Source   Edit @@ -9206,7 +9206,7 @@

Consts

  Source   Edit @@ -9218,7 +9218,7 @@

Consts

  Source   Edit @@ -9230,7 +9230,7 @@

Consts

  Source   Edit @@ -9242,7 +9242,7 @@

Consts

  Source   Edit @@ -9254,7 +9254,7 @@

Consts

  Source   Edit @@ -9266,7 +9266,7 @@

Consts

  Source   Edit @@ -9278,7 +9278,7 @@

Consts

  Source   Edit @@ -9290,7 +9290,7 @@

Consts

  Source   Edit @@ -9302,7 +9302,7 @@

Consts

  Source   Edit @@ -9314,7 +9314,7 @@

Consts

  Source   Edit @@ -9326,7 +9326,7 @@

Consts

  Source   Edit @@ -9338,7 +9338,7 @@

Consts

  Source   Edit @@ -9350,7 +9350,7 @@

Consts

  Source   Edit @@ -9362,7 +9362,7 @@

Consts

  Source   Edit @@ -9374,7 +9374,7 @@

Consts

  Source   Edit @@ -9386,7 +9386,7 @@

Consts

  Source   Edit @@ -9398,7 +9398,7 @@

Consts

  Source   Edit @@ -9410,7 +9410,7 @@

Consts

  Source   Edit @@ -9422,7 +9422,7 @@

Consts

  Source   Edit @@ -9434,7 +9434,7 @@

Consts

  Source   Edit @@ -9446,7 +9446,7 @@

Consts

  Source   Edit @@ -9458,7 +9458,7 @@

Consts

  Source   Edit @@ -9470,7 +9470,7 @@

Consts

  Source   Edit @@ -9482,7 +9482,7 @@

Consts

  Source   Edit @@ -9494,7 +9494,7 @@

Consts

  Source   Edit @@ -9506,7 +9506,7 @@

Consts

  Source   Edit @@ -9518,7 +9518,7 @@

Consts

  Source   Edit @@ -9530,7 +9530,7 @@

Consts

  Source   Edit @@ -9542,7 +9542,7 @@

Consts

  Source   Edit @@ -9554,7 +9554,7 @@

Consts

  Source   Edit @@ -9566,7 +9566,7 @@

Consts

  Source   Edit @@ -9578,7 +9578,7 @@

Consts

  Source   Edit @@ -9590,7 +9590,7 @@

Consts

  Source   Edit @@ -9602,7 +9602,7 @@

Consts

  Source   Edit @@ -9614,7 +9614,7 @@

Consts

  Source   Edit @@ -9626,7 +9626,7 @@

Consts

  Source   Edit @@ -9638,7 +9638,7 @@

Consts

  Source   Edit @@ -9650,7 +9650,7 @@

Consts

  Source   Edit @@ -9662,7 +9662,7 @@

Consts

  Source   Edit @@ -9674,7 +9674,7 @@

Consts

  Source   Edit @@ -9686,7 +9686,7 @@

Consts

  Source   Edit @@ -9698,7 +9698,7 @@

Consts

  Source   Edit @@ -9710,7 +9710,7 @@

Consts

  Source   Edit @@ -9722,7 +9722,7 @@

Consts

  Source   Edit @@ -9734,7 +9734,7 @@

Consts

  Source   Edit @@ -9746,7 +9746,7 @@

Consts

  Source   Edit @@ -9758,7 +9758,7 @@

Consts

  Source   Edit @@ -9770,7 +9770,7 @@

Consts

  Source   Edit @@ -9782,7 +9782,7 @@

Consts

  Source   Edit @@ -9794,7 +9794,7 @@

Consts

  Source   Edit @@ -9806,7 +9806,7 @@

Consts

  Source   Edit @@ -9818,7 +9818,7 @@

Consts

  Source   Edit @@ -9830,7 +9830,7 @@

Consts

  Source   Edit @@ -9842,7 +9842,7 @@

Consts

  Source   Edit @@ -9854,7 +9854,7 @@

Consts

  Source   Edit @@ -9866,7 +9866,7 @@

Consts

  Source   Edit @@ -9878,7 +9878,7 @@

Consts

  Source   Edit @@ -9890,7 +9890,7 @@

Consts

  Source   Edit @@ -9902,7 +9902,7 @@

Consts

  Source   Edit @@ -9914,7 +9914,7 @@

Consts

  Source   Edit @@ -9926,7 +9926,7 @@

Consts

  Source   Edit @@ -9938,7 +9938,7 @@

Consts

  Source   Edit @@ -9950,7 +9950,7 @@

Consts

  Source   Edit @@ -9962,7 +9962,7 @@

Consts

  Source   Edit @@ -9974,7 +9974,7 @@

Consts

  Source   Edit @@ -9986,7 +9986,7 @@

Consts

  Source   Edit @@ -9998,7 +9998,7 @@

Consts

  Source   Edit @@ -10010,7 +10010,7 @@

Consts

  Source   Edit @@ -10022,7 +10022,7 @@

Consts

  Source   Edit @@ -10034,7 +10034,7 @@

Consts

  Source   Edit @@ -10046,7 +10046,7 @@

Consts

  Source   Edit @@ -10058,7 +10058,7 @@

Consts

  Source   Edit @@ -10070,7 +10070,7 @@

Consts

  Source   Edit @@ -10082,7 +10082,7 @@

Consts

  Source   Edit @@ -10094,7 +10094,7 @@

Consts

  Source   Edit @@ -10106,7 +10106,7 @@

Consts

  Source   Edit @@ -10118,7 +10118,7 @@

Consts

  Source   Edit @@ -10130,7 +10130,7 @@

Consts

  Source   Edit @@ -10142,7 +10142,7 @@

Consts

  Source   Edit @@ -10154,7 +10154,7 @@

Consts

  Source   Edit @@ -10166,7 +10166,7 @@

Consts

  Source   Edit @@ -10178,7 +10178,7 @@

Consts

  Source   Edit @@ -10190,7 +10190,7 @@

Consts

  Source   Edit @@ -10202,7 +10202,7 @@

Consts

  Source   Edit @@ -10214,7 +10214,7 @@

Consts

  Source   Edit @@ -10226,7 +10226,7 @@

Consts

  Source   Edit @@ -10238,7 +10238,7 @@

Consts

  Source   Edit @@ -10250,7 +10250,7 @@

Consts

  Source   Edit @@ -10262,7 +10262,7 @@

Consts

  Source   Edit @@ -10274,7 +10274,7 @@

Consts

  Source   Edit @@ -10286,7 +10286,7 @@

Consts

  Source   Edit @@ -10298,7 +10298,7 @@

Consts

  Source   Edit @@ -10310,7 +10310,7 @@

Consts

  Source   Edit @@ -10322,7 +10322,7 @@

Consts

  Source   Edit @@ -10334,7 +10334,7 @@

Consts

  Source   Edit @@ -10346,7 +10346,7 @@

Consts

  Source   Edit @@ -10358,7 +10358,7 @@

Consts

  Source   Edit @@ -10370,7 +10370,7 @@

Consts

  Source   Edit @@ -10382,7 +10382,7 @@

Consts

  Source   Edit @@ -10394,7 +10394,7 @@

Consts

  Source   Edit @@ -10406,7 +10406,7 @@

Consts

  Source   Edit @@ -10418,7 +10418,7 @@

Consts

  Source   Edit @@ -10430,7 +10430,7 @@

Consts

  Source   Edit @@ -10442,7 +10442,7 @@

Consts

  Source   Edit @@ -10454,7 +10454,7 @@

Consts

  Source   Edit @@ -10466,7 +10466,7 @@

Consts

  Source   Edit @@ -10478,7 +10478,7 @@

Consts

  Source   Edit @@ -10490,7 +10490,7 @@

Consts

  Source   Edit @@ -10502,7 +10502,7 @@

Consts

  Source   Edit @@ -10514,7 +10514,7 @@

Consts

  Source   Edit @@ -10526,7 +10526,7 @@

Consts

  Source   Edit @@ -10538,7 +10538,7 @@

Consts

  Source   Edit @@ -10550,7 +10550,7 @@

Consts

  Source   Edit @@ -10562,7 +10562,7 @@

Consts

  Source   Edit @@ -10574,7 +10574,7 @@

Consts

  Source   Edit @@ -10586,7 +10586,7 @@

Consts

  Source   Edit @@ -10598,7 +10598,7 @@

Consts

  Source   Edit @@ -10610,7 +10610,7 @@

Consts

  Source   Edit @@ -10622,7 +10622,7 @@

Consts

  Source   Edit @@ -10634,7 +10634,7 @@

Consts

  Source   Edit @@ -10646,7 +10646,7 @@

Consts

  Source   Edit @@ -10658,7 +10658,7 @@

Consts

  Source   Edit @@ -10670,7 +10670,7 @@

Consts

  Source   Edit @@ -10682,7 +10682,7 @@

Consts

  Source   Edit @@ -10694,7 +10694,7 @@

Consts

  Source   Edit @@ -10706,7 +10706,7 @@

Consts

  Source   Edit @@ -10718,7 +10718,7 @@

Consts

  Source   Edit @@ -10730,7 +10730,7 @@

Consts

  Source   Edit @@ -10742,7 +10742,7 @@

Consts

  Source   Edit @@ -10754,7 +10754,7 @@

Consts

  Source   Edit @@ -10766,7 +10766,7 @@

Consts

  Source   Edit @@ -10778,7 +10778,7 @@

Consts

  Source   Edit @@ -10790,7 +10790,7 @@

Consts

  Source   Edit @@ -10802,7 +10802,7 @@

Consts

  Source   Edit @@ -10814,7 +10814,7 @@

Consts

  Source   Edit @@ -10826,7 +10826,7 @@

Consts

  Source   Edit @@ -10838,7 +10838,7 @@

Consts

  Source   Edit @@ -10850,7 +10850,7 @@

Consts

  Source   Edit @@ -10862,7 +10862,7 @@

Consts

  Source   Edit @@ -10874,7 +10874,7 @@

Consts

  Source   Edit @@ -10886,7 +10886,7 @@

Consts

  Source   Edit @@ -10898,7 +10898,7 @@

Consts

  Source   Edit @@ -10910,7 +10910,7 @@

Consts

  Source   Edit @@ -10922,7 +10922,7 @@

Consts

  Source   Edit @@ -10934,7 +10934,7 @@

Consts

  Source   Edit @@ -10946,7 +10946,7 @@

Consts

  Source   Edit @@ -10958,7 +10958,7 @@

Consts

  Source   Edit @@ -10970,7 +10970,7 @@

Consts

  Source   Edit @@ -10982,7 +10982,7 @@

Consts

  Source   Edit @@ -10994,7 +10994,7 @@

Consts

  Source   Edit @@ -11006,7 +11006,7 @@

Consts

  Source   Edit @@ -11018,7 +11018,7 @@

Consts

  Source   Edit @@ -11030,7 +11030,7 @@

Consts

  Source   Edit @@ -11042,7 +11042,7 @@

Consts

  Source   Edit @@ -11054,7 +11054,7 @@

Consts

  Source   Edit @@ -11066,7 +11066,7 @@

Consts

  Source   Edit @@ -11078,7 +11078,7 @@

Consts

  Source   Edit @@ -11090,7 +11090,7 @@

Consts

  Source   Edit @@ -11102,7 +11102,7 @@

Consts

  Source   Edit @@ -11114,7 +11114,7 @@

Consts

  Source   Edit @@ -11126,7 +11126,7 @@

Consts

  Source   Edit @@ -11138,7 +11138,7 @@

Consts

  Source   Edit @@ -11150,7 +11150,7 @@

Consts

  Source   Edit @@ -11162,7 +11162,7 @@

Consts

  Source   Edit @@ -11174,7 +11174,7 @@

Consts

  Source   Edit @@ -11186,7 +11186,7 @@

Consts

  Source   Edit @@ -11198,7 +11198,7 @@

Consts

  Source   Edit @@ -11210,7 +11210,7 @@

Consts

  Source   Edit @@ -11222,7 +11222,7 @@

Consts

  Source   Edit @@ -11234,7 +11234,7 @@

Consts

  Source   Edit @@ -11246,7 +11246,7 @@

Consts

  Source   Edit @@ -11258,7 +11258,7 @@

Consts

  Source   Edit @@ -11270,7 +11270,7 @@

Consts

  Source   Edit @@ -11282,7 +11282,7 @@

Consts

  Source   Edit @@ -11294,7 +11294,7 @@

Consts

  Source   Edit @@ -11306,7 +11306,7 @@

Consts

  Source   Edit @@ -11318,7 +11318,7 @@

Consts

  Source   Edit @@ -11330,7 +11330,7 @@

Consts

  Source   Edit @@ -11342,7 +11342,7 @@

Consts

  Source   Edit @@ -11354,7 +11354,7 @@

Consts

  Source   Edit @@ -11366,7 +11366,7 @@

Consts

  Source   Edit @@ -11378,7 +11378,7 @@

Consts

  Source   Edit @@ -11390,7 +11390,7 @@

Consts

  Source   Edit @@ -11402,7 +11402,7 @@

Consts

  Source   Edit @@ -11414,7 +11414,7 @@

Consts

  Source   Edit @@ -11426,7 +11426,7 @@

Consts

  Source   Edit @@ -11438,7 +11438,7 @@

Consts

  Source   Edit @@ -11450,7 +11450,7 @@

Consts

  Source   Edit @@ -11462,7 +11462,7 @@

Consts

  Source   Edit @@ -11474,7 +11474,7 @@

Consts

  Source   Edit @@ -11486,7 +11486,7 @@

Consts

  Source   Edit @@ -11498,7 +11498,7 @@

Consts

  Source   Edit @@ -11510,7 +11510,7 @@

Consts

  Source   Edit @@ -11522,7 +11522,7 @@

Consts

  Source   Edit @@ -11534,7 +11534,7 @@

Consts

  Source   Edit @@ -11546,7 +11546,7 @@

Consts

  Source   Edit @@ -11558,7 +11558,7 @@

Consts

  Source   Edit @@ -11570,7 +11570,7 @@

Consts

  Source   Edit @@ -11582,7 +11582,7 @@

Consts

  Source   Edit @@ -11594,7 +11594,7 @@

Consts

  Source   Edit @@ -11606,7 +11606,7 @@

Consts

  Source   Edit @@ -11618,7 +11618,7 @@

Consts

  Source   Edit @@ -11630,7 +11630,7 @@

Consts

  Source   Edit @@ -11642,7 +11642,7 @@

Consts

  Source   Edit @@ -11654,7 +11654,7 @@

Consts

  Source   Edit @@ -11666,7 +11666,7 @@

Consts

  Source   Edit @@ -11678,7 +11678,7 @@

Consts

  Source   Edit @@ -11690,7 +11690,7 @@

Consts

  Source   Edit @@ -11702,7 +11702,7 @@

Consts

  Source   Edit @@ -11714,7 +11714,7 @@

Consts

  Source   Edit @@ -11726,7 +11726,7 @@

Consts

  Source   Edit @@ -11738,7 +11738,7 @@

Consts

  Source   Edit @@ -11750,7 +11750,7 @@

Consts

  Source   Edit @@ -11762,7 +11762,7 @@

Consts

  Source   Edit @@ -11774,7 +11774,7 @@

Consts

  Source   Edit @@ -11786,7 +11786,7 @@

Consts

  Source   Edit @@ -11798,7 +11798,7 @@

Consts

  Source   Edit @@ -11810,7 +11810,7 @@

Consts

  Source   Edit @@ -11822,7 +11822,7 @@

Consts

  Source   Edit @@ -11834,7 +11834,7 @@

Consts

  Source   Edit @@ -11846,7 +11846,7 @@

Consts

  Source   Edit @@ -11858,7 +11858,7 @@

Consts

  Source   Edit @@ -11870,7 +11870,7 @@

Consts

  Source   Edit @@ -11882,7 +11882,7 @@

Consts

  Source   Edit @@ -11894,7 +11894,7 @@

Consts

  Source   Edit @@ -11906,7 +11906,7 @@

Consts

  Source   Edit @@ -11918,7 +11918,7 @@

Consts

  Source   Edit @@ -11930,7 +11930,7 @@

Consts

  Source   Edit @@ -11942,7 +11942,7 @@

Consts

  Source   Edit @@ -11954,7 +11954,7 @@

Consts

  Source   Edit @@ -11966,7 +11966,7 @@

Consts

  Source   Edit @@ -11978,7 +11978,7 @@

Consts

  Source   Edit @@ -11990,7 +11990,7 @@

Consts

  Source   Edit @@ -12002,7 +12002,7 @@

Consts

  Source   Edit @@ -12014,7 +12014,7 @@

Consts

  Source   Edit @@ -12026,7 +12026,7 @@

Consts

  Source   Edit @@ -12038,7 +12038,7 @@

Consts

  Source   Edit @@ -12050,7 +12050,7 @@

Consts

  Source   Edit @@ -12062,7 +12062,7 @@

Consts

  Source   Edit @@ -12074,7 +12074,7 @@

Consts

  Source   Edit @@ -12086,7 +12086,7 @@

Consts

  Source   Edit @@ -12098,7 +12098,7 @@

Consts

  Source   Edit @@ -12110,7 +12110,7 @@

Consts

  Source   Edit @@ -12122,7 +12122,7 @@

Consts

  Source   Edit @@ -12134,7 +12134,7 @@

Consts

  Source   Edit @@ -12146,7 +12146,7 @@

Consts

  Source   Edit @@ -12158,7 +12158,7 @@

Consts

  Source   Edit @@ -12170,7 +12170,7 @@

Consts

  Source   Edit @@ -12182,7 +12182,7 @@

Consts

  Source   Edit @@ -12194,7 +12194,7 @@

Consts

  Source   Edit @@ -12206,7 +12206,7 @@

Consts

  Source   Edit @@ -12218,7 +12218,7 @@

Consts

  Source   Edit @@ -12230,7 +12230,7 @@

Consts

  Source   Edit @@ -12242,7 +12242,7 @@

Consts

  Source   Edit @@ -12254,7 +12254,7 @@

Consts

  Source   Edit @@ -12266,7 +12266,7 @@

Consts

  Source   Edit @@ -12278,7 +12278,7 @@

Consts

  Source   Edit @@ -12290,7 +12290,7 @@

Consts

  Source   Edit @@ -12302,7 +12302,7 @@

Consts

  Source   Edit @@ -12314,7 +12314,7 @@

Consts

  Source   Edit @@ -12326,7 +12326,7 @@

Consts

  Source   Edit @@ -12338,7 +12338,7 @@

Consts

  Source   Edit @@ -12350,7 +12350,7 @@

Consts

  Source   Edit @@ -12362,7 +12362,7 @@

Consts

  Source   Edit @@ -12374,7 +12374,7 @@

Consts

  Source   Edit @@ -12386,7 +12386,7 @@

Consts

  Source   Edit @@ -12398,7 +12398,7 @@

Consts

  Source   Edit @@ -12410,7 +12410,7 @@

Consts

  Source   Edit @@ -12422,7 +12422,7 @@

Consts

  Source   Edit @@ -12434,7 +12434,7 @@

Consts

  Source   Edit @@ -12446,7 +12446,7 @@

Consts

  Source   Edit @@ -12458,7 +12458,7 @@

Consts

  Source   Edit @@ -12470,7 +12470,7 @@

Consts

  Source   Edit @@ -12482,7 +12482,7 @@

Consts

  Source   Edit @@ -12494,7 +12494,7 @@

Consts

  Source   Edit @@ -12506,7 +12506,7 @@

Consts

  Source   Edit @@ -12518,7 +12518,7 @@

Consts

  Source   Edit @@ -12530,7 +12530,7 @@

Consts

  Source   Edit @@ -12542,7 +12542,7 @@

Consts

  Source   Edit @@ -12554,7 +12554,7 @@

Consts

  Source   Edit @@ -12566,7 +12566,7 @@

Consts

  Source   Edit @@ -12578,7 +12578,7 @@

Consts

  Source   Edit @@ -12590,7 +12590,7 @@

Consts

  Source   Edit @@ -12602,7 +12602,7 @@

Consts

  Source   Edit @@ -12614,7 +12614,7 @@

Consts

  Source   Edit @@ -12626,7 +12626,7 @@

Consts

  Source   Edit @@ -12638,7 +12638,7 @@

Consts

  Source   Edit @@ -12650,7 +12650,7 @@

Consts

  Source   Edit @@ -12662,7 +12662,7 @@

Consts

  Source   Edit @@ -12674,7 +12674,7 @@

Consts

  Source   Edit @@ -12686,7 +12686,7 @@

Consts

  Source   Edit @@ -12698,7 +12698,7 @@

Consts

  Source   Edit @@ -12710,7 +12710,7 @@

Consts

  Source   Edit @@ -12722,7 +12722,7 @@

Consts

  Source   Edit @@ -12734,7 +12734,7 @@

Consts

  Source   Edit @@ -12746,7 +12746,7 @@

Consts

  Source   Edit @@ -12758,7 +12758,7 @@

Consts

  Source   Edit @@ -12770,7 +12770,7 @@

Consts

  Source   Edit @@ -12782,7 +12782,7 @@

Consts

  Source   Edit @@ -12794,7 +12794,7 @@

Consts

  Source   Edit @@ -12806,7 +12806,7 @@

Consts

  Source   Edit @@ -12818,7 +12818,7 @@

Consts

  Source   Edit @@ -12830,7 +12830,7 @@

Consts

  Source   Edit @@ -12842,7 +12842,7 @@

Consts

  Source   Edit @@ -12854,7 +12854,7 @@

Consts

  Source   Edit @@ -12866,7 +12866,7 @@

Consts

  Source   Edit @@ -12878,7 +12878,7 @@

Consts

  Source   Edit @@ -12890,7 +12890,7 @@

Consts

  Source   Edit @@ -12902,7 +12902,7 @@

Consts

  Source   Edit @@ -12914,7 +12914,7 @@

Consts

  Source   Edit @@ -12926,7 +12926,7 @@

Consts

  Source   Edit @@ -12938,7 +12938,7 @@

Consts

  Source   Edit @@ -12950,7 +12950,7 @@

Consts

  Source   Edit @@ -12962,7 +12962,7 @@

Consts

  Source   Edit @@ -12974,7 +12974,7 @@

Consts

  Source   Edit @@ -12986,7 +12986,7 @@

Consts

  Source   Edit @@ -12998,7 +12998,7 @@

Consts

  Source   Edit @@ -13010,7 +13010,7 @@

Consts

  Source   Edit @@ -13022,7 +13022,7 @@

Consts

  Source   Edit @@ -13034,7 +13034,7 @@

Consts

  Source   Edit @@ -13046,7 +13046,7 @@

Consts

  Source   Edit @@ -13058,7 +13058,7 @@

Consts

  Source   Edit @@ -13070,7 +13070,7 @@

Consts

  Source   Edit @@ -13082,7 +13082,7 @@

Consts

  Source   Edit @@ -13094,7 +13094,7 @@

Consts

  Source   Edit @@ -13106,7 +13106,7 @@

Consts

  Source   Edit @@ -13118,7 +13118,7 @@

Consts

  Source   Edit @@ -13130,7 +13130,7 @@

Consts

  Source   Edit @@ -13142,7 +13142,7 @@

Consts

  Source   Edit @@ -13154,7 +13154,7 @@

Consts

  Source   Edit @@ -13166,7 +13166,7 @@

Consts

  Source   Edit @@ -13178,7 +13178,7 @@

Consts

  Source   Edit @@ -13190,7 +13190,7 @@

Consts

  Source   Edit @@ -13202,7 +13202,7 @@

Consts

  Source   Edit @@ -13214,7 +13214,7 @@

Consts

  Source   Edit @@ -13226,7 +13226,7 @@

Consts

  Source   Edit @@ -13238,7 +13238,7 @@

Consts

  Source   Edit @@ -13250,7 +13250,7 @@

Consts

  Source   Edit @@ -13262,7 +13262,7 @@

Consts

  Source   Edit @@ -13274,7 +13274,7 @@

Consts

  Source   Edit @@ -13286,7 +13286,7 @@

Consts

  Source   Edit @@ -13298,7 +13298,7 @@

Consts

  Source   Edit @@ -13310,7 +13310,7 @@

Consts

  Source   Edit @@ -13322,7 +13322,7 @@

Consts

  Source   Edit @@ -13334,7 +13334,7 @@

Consts

  Source   Edit @@ -13346,7 +13346,7 @@

Consts

  Source   Edit @@ -13358,7 +13358,7 @@

Consts

  Source   Edit @@ -13370,7 +13370,7 @@

Consts

  Source   Edit @@ -13382,7 +13382,7 @@

Consts

  Source   Edit @@ -13394,7 +13394,7 @@

Consts

  Source   Edit @@ -13406,7 +13406,7 @@

Consts

  Source   Edit @@ -13418,7 +13418,7 @@

Consts

  Source   Edit @@ -13430,7 +13430,7 @@

Consts

  Source   Edit @@ -13442,7 +13442,7 @@

Consts

  Source   Edit @@ -13454,7 +13454,7 @@

Consts

  Source   Edit @@ -13466,7 +13466,7 @@

Consts

  Source   Edit @@ -13478,7 +13478,7 @@

Consts

  Source   Edit @@ -13490,7 +13490,7 @@

Consts

  Source   Edit @@ -13502,7 +13502,7 @@

Consts

  Source   Edit @@ -13514,7 +13514,7 @@

Consts

  Source   Edit @@ -13526,7 +13526,7 @@

Consts

  Source   Edit @@ -13538,7 +13538,7 @@

Consts

  Source   Edit @@ -13550,7 +13550,7 @@

Consts

  Source   Edit @@ -13562,7 +13562,7 @@

Consts

  Source   Edit @@ -13574,7 +13574,7 @@

Consts

  Source   Edit @@ -13586,7 +13586,7 @@

Consts

  Source   Edit @@ -13598,7 +13598,7 @@

Consts

  Source   Edit @@ -13610,7 +13610,7 @@

Consts

  Source   Edit @@ -13622,7 +13622,7 @@

Consts

  Source   Edit @@ -13634,7 +13634,7 @@

Consts

  Source   Edit @@ -13646,7 +13646,7 @@

Consts

  Source   Edit @@ -13658,7 +13658,7 @@

Consts

  Source   Edit @@ -13670,7 +13670,7 @@

Consts

  Source   Edit @@ -13682,7 +13682,7 @@

Consts

  Source   Edit @@ -13694,7 +13694,7 @@

Consts

  Source   Edit @@ -13706,7 +13706,7 @@

Consts

  Source   Edit @@ -13718,7 +13718,7 @@

Consts

  Source   Edit @@ -13730,7 +13730,7 @@

Consts

  Source   Edit @@ -13742,7 +13742,7 @@

Consts

  Source   Edit @@ -13754,7 +13754,7 @@

Consts

  Source   Edit @@ -13766,7 +13766,7 @@

Consts

  Source   Edit @@ -13778,7 +13778,7 @@

Consts

  Source   Edit @@ -13790,7 +13790,7 @@

Consts

  Source   Edit @@ -13802,7 +13802,7 @@

Consts

  Source   Edit @@ -13814,7 +13814,7 @@

Consts

  Source   Edit @@ -13826,7 +13826,7 @@

Consts

  Source   Edit @@ -13838,7 +13838,7 @@

Consts

  Source   Edit @@ -13850,7 +13850,7 @@

Consts

  Source   Edit @@ -13862,7 +13862,7 @@

Consts

  Source   Edit @@ -13874,7 +13874,7 @@

Consts

  Source   Edit @@ -13886,7 +13886,7 @@

Consts

  Source   Edit @@ -13898,7 +13898,7 @@

Consts

  Source   Edit @@ -13910,7 +13910,7 @@

Consts

  Source   Edit @@ -13922,7 +13922,7 @@

Consts

  Source   Edit @@ -13934,7 +13934,7 @@

Consts

  Source   Edit @@ -13946,7 +13946,7 @@

Consts

  Source   Edit @@ -13958,7 +13958,7 @@

Consts

  Source   Edit @@ -13970,7 +13970,7 @@

Consts

  Source   Edit @@ -13982,7 +13982,7 @@

Consts

  Source   Edit @@ -13994,7 +13994,7 @@

Consts

  Source   Edit @@ -14006,7 +14006,7 @@

Consts

  Source   Edit @@ -14018,7 +14018,7 @@

Consts

  Source   Edit @@ -14030,7 +14030,7 @@

Consts

  Source   Edit @@ -14042,7 +14042,7 @@

Consts

  Source   Edit @@ -14054,7 +14054,7 @@

Consts

  Source   Edit @@ -14066,7 +14066,7 @@

Consts

  Source   Edit @@ -14078,7 +14078,7 @@

Consts

  Source   Edit @@ -14090,7 +14090,7 @@

Consts

  Source   Edit @@ -14102,7 +14102,7 @@

Consts

  Source   Edit @@ -14114,7 +14114,7 @@

Consts

  Source   Edit @@ -14126,7 +14126,7 @@

Consts

  Source   Edit @@ -14138,7 +14138,7 @@

Consts

  Source   Edit @@ -14151,7 +14151,7 @@

Consts

Boolean flag that indicates if the system supports nanosecond time resolution in the fields of Stat. Note that the nanosecond based fields (Stat.st_atim, Stat.st_mtim and Stat.st_ctim) can be accessed without checking this flag, because this module defines fallback procs when they are not available.   Source   Edit @@ -14163,7 +14163,7 @@

Consts

File number of stderr;   Source   Edit @@ -14175,7 +14175,7 @@

Consts

File number of stdin;   Source   Edit @@ -14187,7 +14187,7 @@

Consts

File number of stdout;   Source   Edit @@ -14199,7 +14199,7 @@

Consts

  Source   Edit @@ -14211,7 +14211,7 @@

Consts

  Source   Edit @@ -14223,7 +14223,7 @@

Consts

  Source   Edit @@ -14235,7 +14235,7 @@

Consts

  Source   Edit @@ -14247,7 +14247,7 @@

Consts

  Source   Edit @@ -14259,7 +14259,7 @@

Consts

  Source   Edit @@ -14271,7 +14271,7 @@

Consts

  Source   Edit @@ -14283,7 +14283,7 @@

Consts

  Source   Edit @@ -14295,7 +14295,7 @@

Consts

  Source   Edit @@ -14307,7 +14307,7 @@

Consts

  Source   Edit @@ -14319,7 +14319,7 @@

Consts

  Source   Edit @@ -14331,7 +14331,7 @@

Consts

  Source   Edit @@ -14343,7 +14343,7 @@

Consts

  Source   Edit @@ -14355,7 +14355,7 @@

Consts

  Source   Edit @@ -14367,7 +14367,7 @@

Consts

  Source   Edit @@ -14384,7 +14384,7 @@

Procs

  Source   Edit @@ -14396,7 +14396,7 @@

Procs

  Source   Edit @@ -14408,7 +14408,7 @@

Procs

  Source   Edit @@ -14421,7 +14421,7 @@

Procs

  Source   Edit @@ -14434,7 +14434,7 @@

Procs

  Source   Edit @@ -14447,7 +14447,7 @@

Procs

  Source   Edit @@ -14460,7 +14460,7 @@

Procs

  Source   Edit @@ -14473,7 +14473,7 @@

Procs

  Source   Edit @@ -14486,7 +14486,7 @@

Procs

  Source   Edit @@ -14499,7 +14499,7 @@

Procs

  Source   Edit @@ -14512,7 +14512,7 @@

Procs

  Source   Edit @@ -14525,7 +14525,7 @@

Procs

  Source   Edit @@ -14538,7 +14538,7 @@

Procs

  Source   Edit @@ -14551,7 +14551,7 @@

Procs

  Source   Edit @@ -14563,7 +14563,7 @@

Procs

  Source   Edit @@ -14576,7 +14576,7 @@

Procs

  Source   Edit @@ -14589,7 +14589,7 @@

Procs

  Source   Edit @@ -14602,7 +14602,7 @@

Procs

  Source   Edit @@ -14615,7 +14615,7 @@

Procs

is Posix's bind, because bind is a reserved word   Source   Edit @@ -14628,7 +14628,7 @@

Procs

  Source   Edit @@ -14641,7 +14641,7 @@

Procs

  Source   Edit @@ -14654,7 +14654,7 @@

Procs

  Source   Edit @@ -14667,7 +14667,7 @@

Procs

  Source   Edit @@ -14680,7 +14680,7 @@

Procs

  Source   Edit @@ -14693,7 +14693,7 @@

Procs

  Source   Edit @@ -14706,7 +14706,7 @@

Procs

  Source   Edit @@ -14719,7 +14719,7 @@

Procs

  Source   Edit @@ -14732,7 +14732,7 @@

Procs

  Source   Edit @@ -14745,7 +14745,7 @@

Procs

  Source   Edit @@ -14758,7 +14758,7 @@

Procs

  Source   Edit @@ -14771,7 +14771,7 @@

Procs

  Source   Edit @@ -14784,7 +14784,7 @@

Procs

  Source   Edit @@ -14797,7 +14797,7 @@

Procs

  Source   Edit @@ -14810,7 +14810,7 @@

Procs

  Source   Edit @@ -14823,7 +14823,7 @@

Procs

  Source   Edit @@ -14836,7 +14836,7 @@

Procs

  Source   Edit @@ -14852,7 +14852,7 @@

Procs

  Source   Edit @@ -14865,7 +14865,7 @@

Procs

  Source   Edit @@ -14878,7 +14878,7 @@

Procs

  Source   Edit @@ -14894,7 +14894,7 @@

Procs

  Source   Edit @@ -14907,7 +14907,7 @@

Procs

  Source   Edit @@ -14920,7 +14920,7 @@

Procs

  Source   Edit @@ -14933,7 +14933,7 @@

Procs

  Source   Edit @@ -14946,7 +14946,7 @@

Procs

  Source   Edit @@ -14959,7 +14959,7 @@

Procs

  Source   Edit @@ -14972,7 +14972,7 @@

Procs

  Source   Edit @@ -14985,7 +14985,7 @@

Procs

  Source   Edit @@ -14998,7 +14998,7 @@

Procs

  Source   Edit @@ -15011,7 +15011,7 @@

Procs

  Source   Edit @@ -15024,7 +15024,7 @@

Procs

  Source   Edit @@ -15037,7 +15037,7 @@

Procs

  Source   Edit @@ -15050,7 +15050,7 @@

Procs

  Source   Edit @@ -15063,7 +15063,7 @@

Procs

  Source   Edit @@ -15076,7 +15076,7 @@

Procs

  Source   Edit @@ -15088,7 +15088,7 @@

Procs

  Source   Edit @@ -15101,7 +15101,7 @@

Procs

  Source   Edit @@ -15114,7 +15114,7 @@

Procs

  Source   Edit @@ -15126,7 +15126,7 @@

Procs

  Source   Edit @@ -15138,7 +15138,7 @@

Procs

  Source   Edit @@ -15150,7 +15150,7 @@

Procs

  Source   Edit @@ -15162,7 +15162,7 @@

Procs

  Source   Edit @@ -15174,7 +15174,7 @@

Procs

  Source   Edit @@ -15186,7 +15186,7 @@

Procs

  Source   Edit @@ -15199,7 +15199,7 @@

Procs

  Source   Edit @@ -15212,7 +15212,7 @@

Procs

  Source   Edit @@ -15225,7 +15225,7 @@

Procs

  Source   Edit @@ -15238,7 +15238,7 @@

Procs

  Source   Edit @@ -15251,7 +15251,7 @@

Procs

  Source   Edit @@ -15264,7 +15264,7 @@

Procs

  Source   Edit @@ -15277,7 +15277,7 @@

Procs

  Source   Edit @@ -15290,7 +15290,7 @@

Procs

  Source   Edit @@ -15303,7 +15303,7 @@

Procs

  Source   Edit @@ -15316,7 +15316,7 @@

Procs

  Source   Edit @@ -15329,7 +15329,7 @@

Procs

  Source   Edit @@ -15342,7 +15342,7 @@

Procs

  Source   Edit @@ -15355,7 +15355,7 @@

Procs

  Source   Edit @@ -15368,7 +15368,7 @@

Procs

  Source   Edit @@ -15381,7 +15381,7 @@

Procs

  Source   Edit @@ -15394,7 +15394,7 @@

Procs

  Source   Edit @@ -15407,7 +15407,7 @@

Procs

  Source   Edit @@ -15420,7 +15420,7 @@

Procs

  Source   Edit @@ -15433,7 +15433,7 @@

Procs

  Source   Edit @@ -15446,7 +15446,7 @@

Procs

  Source   Edit @@ -15459,7 +15459,7 @@

Procs

  Source   Edit @@ -15472,7 +15472,7 @@

Procs

  Source   Edit @@ -15485,7 +15485,7 @@

Procs

  Source   Edit @@ -15498,7 +15498,7 @@

Procs

  Source   Edit @@ -15510,7 +15510,7 @@

Procs

synchronize a file's buffer cache to the storage device   Source   Edit @@ -15523,7 +15523,7 @@

Procs

  Source   Edit @@ -15536,7 +15536,7 @@

Procs

  Source   Edit @@ -15550,7 +15550,7 @@

Procs

  Source   Edit @@ -15563,7 +15563,7 @@

Procs

  Source   Edit @@ -15576,7 +15576,7 @@

Procs

  Source   Edit @@ -15589,7 +15589,7 @@

Procs

  Source   Edit @@ -15602,7 +15602,7 @@

Procs

  Source   Edit @@ -15615,7 +15615,7 @@

Procs

  Source   Edit @@ -15628,7 +15628,7 @@

Procs

returns the effective group ID of the calling process   Source   Edit @@ -15641,7 +15641,7 @@

Procs

returns the effective user ID of the calling process   Source   Edit @@ -15654,7 +15654,7 @@

Procs

returns the real group ID of the calling process   Source   Edit @@ -15666,7 +15666,7 @@

Procs

  Source   Edit @@ -15679,7 +15679,7 @@

Procs

  Source   Edit @@ -15692,7 +15692,7 @@

Procs

  Source   Edit @@ -15705,7 +15705,7 @@

Procs

  Source   Edit @@ -15719,7 +15719,7 @@

Procs

  Source   Edit @@ -15732,7 +15732,7 @@

Procs

  Source   Edit @@ -15745,7 +15745,7 @@

Procs

  Source   Edit @@ -15758,7 +15758,7 @@

Procs

  Source   Edit @@ -15771,7 +15771,7 @@

Procs

  Source   Edit @@ -15784,7 +15784,7 @@

Procs

  Source   Edit @@ -15797,7 +15797,7 @@

Procs

  Source   Edit @@ -15810,7 +15810,7 @@

Procs

  Source   Edit @@ -15823,7 +15823,7 @@

Procs

  Source   Edit @@ -15837,7 +15837,7 @@

Procs

  Source   Edit @@ -15850,7 +15850,7 @@

Procs

  Source   Edit @@ -15863,7 +15863,7 @@

Procs

  Source   Edit @@ -15876,7 +15876,7 @@

Procs

  Source   Edit @@ -15889,7 +15889,7 @@

Procs

  Source   Edit @@ -15902,7 +15902,7 @@

Procs

  Source   Edit @@ -15914,7 +15914,7 @@

Procs

  Source   Edit @@ -15926,7 +15926,7 @@

Procs

  Source   Edit @@ -15939,7 +15939,7 @@

Procs

returns the process ID (PID) of the calling process   Source   Edit @@ -15952,7 +15952,7 @@

Procs

returns the process ID of the parent of the calling process   Source   Edit @@ -15965,7 +15965,7 @@

Procs

  Source   Edit @@ -15978,7 +15978,7 @@

Procs

  Source   Edit @@ -15991,7 +15991,7 @@

Procs

  Source   Edit @@ -16003,7 +16003,7 @@

Procs

  Source   Edit @@ -16016,7 +16016,7 @@

Procs

  Source   Edit @@ -16030,7 +16030,7 @@

Procs

  Source   Edit @@ -16043,7 +16043,7 @@

Procs

  Source   Edit @@ -16057,7 +16057,7 @@

Procs

  Source   Edit @@ -16070,7 +16070,7 @@

Procs

The getrlimit() system call gets resource limits.   Source   Edit @@ -16083,7 +16083,7 @@

Procs

  Source   Edit @@ -16096,7 +16096,7 @@

Procs

  Source   Edit @@ -16109,7 +16109,7 @@

Procs

  Source   Edit @@ -16122,7 +16122,7 @@

Procs

  Source   Edit @@ -16135,7 +16135,7 @@

Procs

returns the session ID of the calling process   Source   Edit @@ -16148,7 +16148,7 @@

Procs

  Source   Edit @@ -16161,7 +16161,7 @@

Procs

  Source   Edit @@ -16174,7 +16174,7 @@

Procs

returns the real user ID of the calling process   Source   Edit @@ -16187,7 +16187,7 @@

Procs

  Source   Edit @@ -16201,7 +16201,7 @@

Procs

Filename globbing. Use os.walkPattern() and similar.   Source   Edit @@ -16213,7 +16213,7 @@

Procs

  Source   Edit @@ -16226,7 +16226,7 @@

Procs

  Source   Edit @@ -16239,7 +16239,7 @@

Procs

  Source   Edit @@ -16252,7 +16252,7 @@

Procs

  Source   Edit @@ -16265,7 +16265,7 @@

Procs

  Source   Edit @@ -16278,7 +16278,7 @@

Procs

  Source   Edit @@ -16291,7 +16291,7 @@

Procs

  Source   Edit @@ -16304,7 +16304,7 @@

Procs

  Source   Edit @@ -16317,7 +16317,7 @@

Procs

  Source   Edit @@ -16330,7 +16330,7 @@

Procs

  Source   Edit @@ -16343,7 +16343,7 @@

Procs

  Source   Edit @@ -16356,7 +16356,7 @@

Procs

  Source   Edit @@ -16369,7 +16369,7 @@

Procs

  Source   Edit @@ -16382,7 +16382,7 @@

Procs

Unicast link-local address.   Source   Edit @@ -16395,7 +16395,7 @@

Procs

Loopback address.   Source   Edit @@ -16408,7 +16408,7 @@

Procs

Multicast global address.   Source   Edit @@ -16421,7 +16421,7 @@

Procs

Multicast link-local address.   Source   Edit @@ -16434,7 +16434,7 @@

Procs

Multicast node-local address.   Source   Edit @@ -16447,7 +16447,7 @@

Procs

Multicast organization-local address.   Source   Edit @@ -16460,7 +16460,7 @@

Procs

Multicast site-local address.   Source   Edit @@ -16473,7 +16473,7 @@

Procs

Multicast address.   Source   Edit @@ -16486,7 +16486,7 @@

Procs

Unicast site-local address.   Source   Edit @@ -16499,7 +16499,7 @@

Procs

Unspecified address.   Source   Edit @@ -16512,7 +16512,7 @@

Procs

IPv4-compatible address.   Source   Edit @@ -16525,7 +16525,7 @@

Procs

IPv4 mapped address.   Source   Edit @@ -16538,7 +16538,7 @@

Procs

  Source   Edit @@ -16551,7 +16551,7 @@

Procs

  Source   Edit @@ -16564,7 +16564,7 @@

Procs

  Source   Edit @@ -16577,7 +16577,7 @@

Procs

  Source   Edit @@ -16592,7 +16592,7 @@

Procs

  Source   Edit @@ -16605,7 +16605,7 @@

Procs

  Source   Edit @@ -16618,7 +16618,7 @@

Procs

A system call for device-specific input/output operations and other operations which cannot be expressed by regular system calls   Source   Edit @@ -16631,7 +16631,7 @@

Procs

  Source   Edit @@ -16644,7 +16644,7 @@

Procs

  Source   Edit @@ -16657,7 +16657,7 @@

Procs

  Source   Edit @@ -16670,7 +16670,7 @@

Procs

  Source   Edit @@ -16683,7 +16683,7 @@

Procs

  Source   Edit @@ -16696,7 +16696,7 @@

Procs

  Source   Edit @@ -16709,7 +16709,7 @@

Procs

  Source   Edit @@ -16722,7 +16722,7 @@

Procs

  Source   Edit @@ -16735,7 +16735,7 @@

Procs

  Source   Edit @@ -16748,7 +16748,7 @@

Procs

  Source   Edit @@ -16761,7 +16761,7 @@

Procs

  Source   Edit @@ -16774,7 +16774,7 @@

Procs

  Source   Edit @@ -16787,7 +16787,7 @@

Procs

  Source   Edit @@ -16800,7 +16800,7 @@

Procs

  Source   Edit @@ -16813,7 +16813,7 @@

Procs

Use os.createDir() and similar.   Source   Edit @@ -16826,7 +16826,7 @@

Procs

  Source   Edit @@ -16839,7 +16839,7 @@

Procs

  Source   Edit @@ -16852,7 +16852,7 @@

Procs

  Source   Edit @@ -16865,7 +16865,7 @@

Procs

  Source   Edit @@ -16878,7 +16878,7 @@

Procs

  Source   Edit @@ -16893,7 +16893,7 @@

Procs

The tmpl argument is written to by mkstemp and thus can't be a string literal. If in doubt make a copy of the cstring before passing it in.   Source   Edit @@ -16908,7 +16908,7 @@

Procs

The tmpl argument is written to by mkstemps and thus can't be a string literal. If in doubt make a copy of the cstring before passing it in.   Source   Edit @@ -16921,7 +16921,7 @@

Procs

  Source   Edit @@ -16934,7 +16934,7 @@

Procs

  Source   Edit @@ -16947,7 +16947,7 @@

Procs

  Source   Edit @@ -16960,7 +16960,7 @@

Procs

  Source   Edit @@ -16973,7 +16973,7 @@

Procs

  Source   Edit @@ -16986,7 +16986,7 @@

Procs

  Source   Edit @@ -16999,7 +16999,7 @@

Procs

  Source   Edit @@ -17012,7 +17012,7 @@

Procs

  Source   Edit @@ -17025,7 +17025,7 @@

Procs

  Source   Edit @@ -17038,7 +17038,7 @@

Procs

  Source   Edit @@ -17051,7 +17051,7 @@

Procs

  Source   Edit @@ -17064,7 +17064,7 @@

Procs

  Source   Edit @@ -17077,7 +17077,7 @@

Procs

  Source   Edit @@ -17090,7 +17090,7 @@

Procs

  Source   Edit @@ -17103,7 +17103,7 @@

Procs

  Source   Edit @@ -17116,7 +17116,7 @@

Procs

  Source   Edit @@ -17129,7 +17129,7 @@

Procs

  Source   Edit @@ -17141,7 +17141,7 @@

Procs

  Source   Edit @@ -17154,7 +17154,7 @@

Procs

  Source   Edit @@ -17167,7 +17167,7 @@

Procs

  Source   Edit @@ -17179,7 +17179,7 @@

Procs

  Source   Edit @@ -17192,7 +17192,7 @@

Procs

  Source   Edit @@ -17205,7 +17205,7 @@

Procs

  Source   Edit @@ -17218,7 +17218,7 @@

Procs

  Source   Edit @@ -17230,7 +17230,7 @@

Procs

  Source   Edit @@ -17243,7 +17243,7 @@

Procs

  Source   Edit @@ -17256,7 +17256,7 @@

Procs

  Source   Edit @@ -17268,7 +17268,7 @@

Procs

  Source   Edit @@ -17280,7 +17280,7 @@

Procs

  Source   Edit @@ -17293,7 +17293,7 @@

Procs

  Source   Edit @@ -17306,7 +17306,7 @@

Procs

  Source   Edit @@ -17319,7 +17319,7 @@

Procs

  Source   Edit @@ -17332,7 +17332,7 @@

Procs

  Source   Edit @@ -17345,7 +17345,7 @@

Procs

  Source   Edit @@ -17358,7 +17358,7 @@

Procs

  Source   Edit @@ -17372,7 +17372,7 @@

Procs

  Source   Edit @@ -17385,7 +17385,7 @@

Procs

  Source   Edit @@ -17399,7 +17399,7 @@

Procs

  Source   Edit @@ -17413,7 +17413,7 @@

Procs

  Source   Edit @@ -17427,7 +17427,7 @@

Procs

  Source   Edit @@ -17441,7 +17441,7 @@

Procs

  Source   Edit @@ -17454,7 +17454,7 @@

Procs

  Source   Edit @@ -17467,7 +17467,7 @@

Procs

  Source   Edit @@ -17480,7 +17480,7 @@

Procs

  Source   Edit @@ -17493,7 +17493,7 @@

Procs

  Source   Edit @@ -17506,7 +17506,7 @@

Procs

  Source   Edit @@ -17519,7 +17519,7 @@

Procs

  Source   Edit @@ -17532,7 +17532,7 @@

Procs

  Source   Edit @@ -17545,7 +17545,7 @@

Procs

  Source   Edit @@ -17558,7 +17558,7 @@

Procs

  Source   Edit @@ -17571,7 +17571,7 @@

Procs

  Source   Edit @@ -17584,7 +17584,7 @@

Procs

  Source   Edit @@ -17597,7 +17597,7 @@

Procs

  Source   Edit @@ -17610,7 +17610,7 @@

Procs

  Source   Edit @@ -17623,7 +17623,7 @@

Procs

  Source   Edit @@ -17636,7 +17636,7 @@

Procs

  Source   Edit @@ -17649,7 +17649,7 @@

Procs

  Source   Edit @@ -17663,7 +17663,7 @@

Procs

  Source   Edit @@ -17676,7 +17676,7 @@

Procs

  Source   Edit @@ -17689,7 +17689,7 @@

Procs

  Source   Edit @@ -17702,7 +17702,7 @@

Procs

  Source   Edit @@ -17715,7 +17715,7 @@

Procs

  Source   Edit @@ -17728,7 +17728,7 @@

Procs

  Source   Edit @@ -17741,7 +17741,7 @@

Procs

  Source   Edit @@ -17754,7 +17754,7 @@

Procs

  Source   Edit @@ -17767,7 +17767,7 @@

Procs

  Source   Edit @@ -17780,7 +17780,7 @@

Procs

  Source   Edit @@ -17793,7 +17793,7 @@

Procs

  Source   Edit @@ -17806,7 +17806,7 @@

Procs

  Source   Edit @@ -17819,7 +17819,7 @@

Procs

  Source   Edit @@ -17832,7 +17832,7 @@

Procs

  Source   Edit @@ -17845,7 +17845,7 @@

Procs

  Source   Edit @@ -17858,7 +17858,7 @@

Procs

  Source   Edit @@ -17871,7 +17871,7 @@

Procs

  Source   Edit @@ -17884,7 +17884,7 @@

Procs

  Source   Edit @@ -17897,7 +17897,7 @@

Procs

  Source   Edit @@ -17910,7 +17910,7 @@

Procs

  Source   Edit @@ -17923,7 +17923,7 @@

Procs

  Source   Edit @@ -17936,7 +17936,7 @@

Procs

  Source   Edit @@ -17949,7 +17949,7 @@

Procs

  Source   Edit @@ -17962,7 +17962,7 @@

Procs

  Source   Edit @@ -17975,7 +17975,7 @@

Procs

  Source   Edit @@ -17988,7 +17988,7 @@

Procs

  Source   Edit @@ -18002,7 +18002,7 @@

Procs

  Source   Edit @@ -18015,7 +18015,7 @@

Procs

  Source   Edit @@ -18028,7 +18028,7 @@

Procs

  Source   Edit @@ -18041,7 +18041,7 @@

Procs

  Source   Edit @@ -18054,7 +18054,7 @@

Procs

  Source   Edit @@ -18067,7 +18067,7 @@

Procs

  Source   Edit @@ -18080,7 +18080,7 @@

Procs

  Source   Edit @@ -18093,7 +18093,7 @@

Procs

  Source   Edit @@ -18106,7 +18106,7 @@

Procs

  Source   Edit @@ -18119,7 +18119,7 @@

Procs

  Source   Edit @@ -18132,7 +18132,7 @@

Procs

  Source   Edit @@ -18145,7 +18145,7 @@

Procs

  Source   Edit @@ -18158,7 +18158,7 @@

Procs

  Source   Edit @@ -18172,7 +18172,7 @@

Procs

  Source   Edit @@ -18185,7 +18185,7 @@

Procs

  Source   Edit @@ -18198,7 +18198,7 @@

Procs

  Source   Edit @@ -18211,7 +18211,7 @@

Procs

  Source   Edit @@ -18224,7 +18224,7 @@

Procs

  Source   Edit @@ -18237,7 +18237,7 @@

Procs

  Source   Edit @@ -18250,7 +18250,7 @@

Procs

  Source   Edit @@ -18263,7 +18263,7 @@

Procs

  Source   Edit @@ -18277,7 +18277,7 @@

Procs

  Source   Edit @@ -18290,7 +18290,7 @@

Procs

  Source   Edit @@ -18303,7 +18303,7 @@

Procs

  Source   Edit @@ -18316,7 +18316,7 @@

Procs

  Source   Edit @@ -18329,7 +18329,7 @@

Procs

  Source   Edit @@ -18342,7 +18342,7 @@

Procs

  Source   Edit @@ -18355,7 +18355,7 @@

Procs

  Source   Edit @@ -18368,7 +18368,7 @@

Procs

  Source   Edit @@ -18381,7 +18381,7 @@

Procs

  Source   Edit @@ -18394,7 +18394,7 @@

Procs

  Source   Edit @@ -18407,7 +18407,7 @@

Procs

  Source   Edit @@ -18420,7 +18420,7 @@

Procs

  Source   Edit @@ -18433,7 +18433,7 @@

Procs

  Source   Edit @@ -18446,7 +18446,7 @@

Procs

  Source   Edit @@ -18459,7 +18459,7 @@

Procs

  Source   Edit @@ -18472,7 +18472,7 @@

Procs

  Source   Edit @@ -18485,7 +18485,7 @@

Procs

  Source   Edit @@ -18498,7 +18498,7 @@

Procs

  Source   Edit @@ -18511,7 +18511,7 @@

Procs

  Source   Edit @@ -18524,7 +18524,7 @@

Procs

  Source   Edit @@ -18537,7 +18537,7 @@

Procs

  Source   Edit @@ -18550,7 +18550,7 @@

Procs

  Source   Edit @@ -18563,7 +18563,7 @@

Procs

  Source   Edit @@ -18576,7 +18576,7 @@

Procs

  Source   Edit @@ -18589,7 +18589,7 @@

Procs

  Source   Edit @@ -18602,7 +18602,7 @@

Procs

  Source   Edit @@ -18615,7 +18615,7 @@

Procs

  Source   Edit @@ -18628,7 +18628,7 @@

Procs

  Source   Edit @@ -18641,7 +18641,7 @@

Procs

  Source   Edit @@ -18654,7 +18654,7 @@

Procs

  Source   Edit @@ -18667,7 +18667,7 @@

Procs

  Source   Edit @@ -18680,7 +18680,7 @@

Procs

  Source   Edit @@ -18693,7 +18693,7 @@

Procs

  Source   Edit @@ -18706,7 +18706,7 @@

Procs

  Source   Edit @@ -18719,7 +18719,7 @@

Procs

  Source   Edit @@ -18732,7 +18732,7 @@

Procs

  Source   Edit @@ -18745,7 +18745,7 @@

Procs

  Source   Edit @@ -18758,7 +18758,7 @@

Procs

  Source   Edit @@ -18771,7 +18771,7 @@

Procs

  Source   Edit @@ -18784,7 +18784,7 @@

Procs

  Source   Edit @@ -18797,7 +18797,7 @@

Procs

  Source   Edit @@ -18810,7 +18810,7 @@

Procs

  Source   Edit @@ -18823,7 +18823,7 @@

Procs

  Source   Edit @@ -18836,7 +18836,7 @@

Procs

  Source   Edit @@ -18849,7 +18849,7 @@

Procs

  Source   Edit @@ -18862,7 +18862,7 @@

Procs

  Source   Edit @@ -18875,7 +18875,7 @@

Procs

  Source   Edit @@ -18888,7 +18888,7 @@

Procs

  Source   Edit @@ -18901,7 +18901,7 @@

Procs

  Source   Edit @@ -18914,7 +18914,7 @@

Procs

  Source   Edit @@ -18927,7 +18927,7 @@

Procs

  Source   Edit @@ -18940,7 +18940,7 @@

Procs

  Source   Edit @@ -18953,7 +18953,7 @@

Procs

  Source   Edit @@ -18966,7 +18966,7 @@

Procs

  Source   Edit @@ -18979,7 +18979,7 @@

Procs

  Source   Edit @@ -18992,7 +18992,7 @@

Procs

  Source   Edit @@ -19005,7 +19005,7 @@

Procs

  Source   Edit @@ -19017,7 +19017,7 @@

Procs

  Source   Edit @@ -19030,7 +19030,7 @@

Procs

  Source   Edit @@ -19043,7 +19043,7 @@

Procs

  Source   Edit @@ -19056,7 +19056,7 @@

Procs

  Source   Edit @@ -19069,7 +19069,7 @@

Procs

  Source   Edit @@ -19082,7 +19082,7 @@

Procs

  Source   Edit @@ -19095,7 +19095,7 @@

Procs

  Source   Edit @@ -19108,7 +19108,7 @@

Procs

  Source   Edit @@ -19121,7 +19121,7 @@

Procs

  Source   Edit @@ -19135,7 +19135,7 @@

Procs

  Source   Edit @@ -19148,7 +19148,7 @@

Procs

  Source   Edit @@ -19161,7 +19161,7 @@

Procs

  Source   Edit @@ -19174,7 +19174,7 @@

Procs

  Source   Edit @@ -19187,7 +19187,7 @@

Procs

Test for a block special file.   Source   Edit @@ -19200,7 +19200,7 @@

Procs

Test for a character special file.   Source   Edit @@ -19213,7 +19213,7 @@

Procs

Test for a directory.   Source   Edit @@ -19226,7 +19226,7 @@

Procs

Test for a pipe or FIFO special file.   Source   Edit @@ -19239,7 +19239,7 @@

Procs

Test for a symbolic link.   Source   Edit @@ -19252,7 +19252,7 @@

Procs

Test for a regular file.   Source   Edit @@ -19265,7 +19265,7 @@

Procs

Test for a socket.   Source   Edit @@ -19278,7 +19278,7 @@

Procs

Test for a message queue.   Source   Edit @@ -19291,7 +19291,7 @@

Procs

Test for a semaphore.   Source   Edit @@ -19304,7 +19304,7 @@

Procs

Test for a shared memory object.   Source   Edit @@ -19317,7 +19317,7 @@

Procs

Test macro for a typed memory object.   Source   Edit @@ -19330,7 +19330,7 @@

Procs

  Source   Edit @@ -19343,7 +19343,7 @@

Procs

  Source   Edit @@ -19356,7 +19356,7 @@

Procs

  Source   Edit @@ -19369,7 +19369,7 @@

Procs

  Source   Edit @@ -19382,7 +19382,7 @@

Procs

  Source   Edit @@ -19395,7 +19395,7 @@

Procs

  Source   Edit @@ -19408,7 +19408,7 @@

Procs

  Source   Edit @@ -19420,7 +19420,7 @@

Procs

  Source   Edit @@ -19433,7 +19433,7 @@

Procs

  Source   Edit @@ -19446,7 +19446,7 @@

Procs

  Source   Edit @@ -19459,7 +19459,7 @@

Procs

  Source   Edit @@ -19472,7 +19472,7 @@

Procs

  Source   Edit @@ -19485,7 +19485,7 @@

Procs

  Source   Edit @@ -19498,7 +19498,7 @@

Procs

  Source   Edit @@ -19511,7 +19511,7 @@

Procs

  Source   Edit @@ -19524,7 +19524,7 @@

Procs

  Source   Edit @@ -19537,7 +19537,7 @@

Procs

  Source   Edit @@ -19550,7 +19550,7 @@

Procs

  Source   Edit @@ -19563,7 +19563,7 @@

Procs

  Source   Edit @@ -19576,7 +19576,7 @@

Procs

  Source   Edit @@ -19589,7 +19589,7 @@

Procs

  Source   Edit @@ -19602,7 +19602,7 @@

Procs

  Source   Edit @@ -19616,7 +19616,7 @@

Procs

  Source   Edit @@ -19629,7 +19629,7 @@

Procs

  Source   Edit @@ -19642,7 +19642,7 @@

Procs

  Source   Edit @@ -19655,7 +19655,7 @@

Procs

  Source   Edit @@ -19667,7 +19667,7 @@

Procs

  Source   Edit @@ -19679,7 +19679,7 @@

Procs

  Source   Edit @@ -19691,7 +19691,7 @@

Procs

  Source   Edit @@ -19704,7 +19704,7 @@

Procs

  Source   Edit @@ -19716,7 +19716,7 @@

Procs

  Source   Edit @@ -19729,7 +19729,7 @@

Procs

  Source   Edit @@ -19741,7 +19741,7 @@

Procs

  Source   Edit @@ -19753,7 +19753,7 @@

Procs

  Source   Edit @@ -19765,7 +19765,7 @@

Procs

  Source   Edit @@ -19778,7 +19778,7 @@

Procs

  Source   Edit @@ -19791,7 +19791,7 @@

Procs

  Source   Edit @@ -19804,7 +19804,7 @@

Procs

The setrlimit() system calls sets resource limits.   Source   Edit @@ -19816,7 +19816,7 @@

Procs

  Source   Edit @@ -19828,7 +19828,7 @@

Procs

  Source   Edit @@ -19841,7 +19841,7 @@

Procs

  Source   Edit @@ -19853,7 +19853,7 @@

Procs

  Source   Edit @@ -19866,7 +19866,7 @@

Procs

  Source   Edit @@ -19879,7 +19879,7 @@

Procs

  Source   Edit @@ -19892,7 +19892,7 @@

Procs

  Source   Edit @@ -19905,7 +19905,7 @@

Procs

  Source   Edit @@ -19918,7 +19918,7 @@

Procs

  Source   Edit @@ -19931,7 +19931,7 @@

Procs

  Source   Edit @@ -19944,7 +19944,7 @@

Procs

  Source   Edit @@ -19957,7 +19957,7 @@

Procs

  Source   Edit @@ -19970,7 +19970,7 @@

Procs

  Source   Edit @@ -19983,7 +19983,7 @@

Procs

  Source   Edit @@ -19996,7 +19996,7 @@

Procs

  Source   Edit @@ -20009,7 +20009,7 @@

Procs

  Source   Edit @@ -20022,7 +20022,7 @@

Procs

  Source   Edit @@ -20035,7 +20035,7 @@

Procs

  Source   Edit @@ -20048,7 +20048,7 @@

Procs

  Source   Edit @@ -20061,7 +20061,7 @@

Procs

  Source   Edit @@ -20074,7 +20074,7 @@

Procs

  Source   Edit @@ -20087,7 +20087,7 @@

Procs

  Source   Edit @@ -20100,7 +20100,7 @@

Procs

  Source   Edit @@ -20113,7 +20113,7 @@

Procs

  Source   Edit @@ -20126,7 +20126,7 @@

Procs

  Source   Edit @@ -20139,7 +20139,7 @@

Procs

  Source   Edit @@ -20152,7 +20152,7 @@

Procs

  Source   Edit @@ -20165,7 +20165,7 @@

Procs

  Source   Edit @@ -20178,7 +20178,7 @@

Procs

  Source   Edit @@ -20190,7 +20190,7 @@

Procs

  Source   Edit @@ -20203,7 +20203,7 @@

Procs

  Source   Edit @@ -20216,7 +20216,7 @@

Procs

  Source   Edit @@ -20229,7 +20229,7 @@

Procs

  Source   Edit @@ -20241,7 +20241,7 @@

Procs

Second-granularity time of last access.   Source   Edit @@ -20253,7 +20253,7 @@

Procs

Second-granularity time of last status change.   Source   Edit @@ -20265,7 +20265,7 @@

Procs

Second-granularity time of last data modification.   Source   Edit @@ -20278,7 +20278,7 @@

Procs

  Source   Edit @@ -20291,7 +20291,7 @@

Procs

  Source   Edit @@ -20304,7 +20304,7 @@

Procs

  Source   Edit @@ -20317,7 +20317,7 @@

Procs

  Source   Edit @@ -20330,7 +20330,7 @@

Procs

  Source   Edit @@ -20343,7 +20343,7 @@

Procs

  Source   Edit @@ -20356,7 +20356,7 @@

Procs

  Source   Edit @@ -20369,7 +20369,7 @@

Procs

  Source   Edit @@ -20382,7 +20382,7 @@

Procs

  Source   Edit @@ -20394,7 +20394,7 @@

Procs

  Source   Edit @@ -20407,7 +20407,7 @@

Procs

  Source   Edit @@ -20420,7 +20420,7 @@

Procs

  Source   Edit @@ -20433,7 +20433,7 @@

Procs

  Source   Edit @@ -20446,7 +20446,7 @@

Procs

  Source   Edit @@ -20459,7 +20459,7 @@

Procs

  Source   Edit @@ -20472,7 +20472,7 @@

Procs

  Source   Edit @@ -20485,7 +20485,7 @@

Procs

  Source   Edit @@ -20498,7 +20498,7 @@

Procs

  Source   Edit @@ -20511,7 +20511,7 @@

Procs

  Source   Edit @@ -20524,7 +20524,7 @@

Procs

  Source   Edit @@ -20537,7 +20537,7 @@

Procs

  Source   Edit @@ -20550,7 +20550,7 @@

Procs

  Source   Edit @@ -20563,7 +20563,7 @@

Procs

  Source   Edit @@ -20576,7 +20576,7 @@

Procs

  Source   Edit @@ -20588,7 +20588,7 @@

Procs

  Source   Edit @@ -20601,7 +20601,7 @@

Procs

  Source   Edit @@ -20614,7 +20614,7 @@

Procs

  Source   Edit @@ -20627,7 +20627,7 @@

Procs

  Source   Edit @@ -20640,7 +20640,7 @@

Procs

  Source   Edit @@ -20653,7 +20653,7 @@

Procs

  Source   Edit @@ -20670,7 +20670,7 @@

Procs

For more information read http://www.unix.com/man-page/posix/3/utimes/.

  Source   Edit @@ -20682,7 +20682,7 @@

Procs

  Source   Edit @@ -20695,7 +20695,7 @@

Procs

  Source   Edit @@ -20708,7 +20708,7 @@

Procs

  Source   Edit @@ -20721,7 +20721,7 @@

Procs

  Source   Edit @@ -20734,7 +20734,7 @@

Procs

  Source   Edit @@ -20746,7 +20746,7 @@

Procs

  Source   Edit @@ -20758,7 +20758,7 @@

Procs

  Source   Edit @@ -20770,7 +20770,7 @@

Procs

  Source   Edit @@ -20782,7 +20782,7 @@

Procs

  Source   Edit @@ -20794,7 +20794,7 @@

Procs

  Source   Edit @@ -20807,7 +20807,7 @@

Procs

  Source   Edit @@ -20820,7 +20820,7 @@

Procs

  Source   Edit @@ -20832,7 +20832,7 @@

Procs

  Source   Edit @@ -20844,7 +20844,7 @@

Procs

  Source   Edit @@ -20865,7 +20865,7 @@

Templates

onSignal(SIGINT, SIGTERM): echo "bye from signal ", sig   Source   Edit diff --git a/posix_utils.html b/posix_utils.html index a23b80a5277..5225470614e 100644 --- a/posix_utils.html +++ b/posix_utils.html @@ -176,7 +176,7 @@

posix/posix_utils

  Source   Edit @@ -200,7 +200,7 @@

Types

  Source   Edit @@ -217,7 +217,7 @@

Procs

synchronize a file's buffer cache to the storage device   Source   Edit @@ -229,7 +229,7 @@

Procs

Locks pages starting from a1 for a1 bytes and prevent them from being swapped.   Source   Edit @@ -244,7 +244,7 @@

Procs

  Source   Edit @@ -256,7 +256,7 @@

Procs

Unlock pages starting from a1 for a1 bytes and allow them to be swapped.   Source   Edit @@ -268,7 +268,7 @@

Procs

Unlocks all memory for the running process to allow swapping.   Source   Edit @@ -280,7 +280,7 @@

Procs

Creates a unique temporary directory from a prefix string. Adds a six chars suffix. The directory is created with permissions 0700. Returns the directory name.   Source   Edit @@ -293,7 +293,7 @@

Procs

Creates a unique temporary file from a prefix string. A six-character string will be added. If suffix is provided it will be added to the string The file is created with perms 0600. Returns the filename and a file opened in r/w mode.   Source   Edit @@ -314,7 +314,7 @@

Procs

let data = osReleaseFile() echo "OS name: ", data.getSectionValue("", "NAME") ## the data is up to each distro.   Source   Edit @@ -326,7 +326,7 @@

Procs

Sends a signal to a running process by calling kill. Raise exception in case of failure e.g. process not running.   Source   Edit @@ -338,7 +338,7 @@

Procs

Returns file status in a Stat structure   Source   Edit @@ -353,7 +353,7 @@

Procs

echo uname().nodename, uname().release, uname().version
 doAssert uname().sysname.len != 0
  Source   Edit diff --git a/postgres.html b/postgres.html index 380d6d7426f..56b9c16da88 100644 --- a/postgres.html +++ b/postgres.html @@ -818,7 +818,7 @@

wrappers/postgres

  Source   Edit @@ -839,7 +839,7 @@

Types

  Source   Edit @@ -854,7 +854,7 @@

Types

  Source   Edit @@ -866,7 +866,7 @@

Types

  Source   Edit @@ -878,7 +878,7 @@

Types

  Source   Edit @@ -890,7 +890,7 @@

Types

  Source   Edit @@ -922,7 +922,7 @@

Types

  Source   Edit @@ -943,7 +943,7 @@

Types

  Source   Edit @@ -959,7 +959,7 @@

Types

  Source   Edit @@ -975,7 +975,7 @@

Types

  Source   Edit @@ -990,7 +990,7 @@

Types

  Source   Edit @@ -1012,7 +1012,7 @@

Types

  Source   Edit @@ -1026,7 +1026,7 @@

Types

  Source   Edit @@ -1039,7 +1039,7 @@

Types

  Source   Edit @@ -1051,7 +1051,7 @@

Types

  Source   Edit @@ -1065,7 +1065,7 @@

Types

  Source   Edit @@ -1077,7 +1077,7 @@

Types

  Source   Edit @@ -1089,7 +1089,7 @@

Types

  Source   Edit @@ -1101,7 +1101,7 @@

Types

  Source   Edit @@ -1113,7 +1113,7 @@

Types

  Source   Edit @@ -1125,7 +1125,7 @@

Types

  Source   Edit @@ -1137,7 +1137,7 @@

Types

  Source   Edit @@ -1149,7 +1149,7 @@

Types

  Source   Edit @@ -1161,7 +1161,7 @@

Types

  Source   Edit @@ -1173,7 +1173,7 @@

Types

  Source   Edit @@ -1185,7 +1185,7 @@

Types

  Source   Edit @@ -1197,7 +1197,7 @@

Types

  Source   Edit @@ -1209,7 +1209,7 @@

Types

  Source   Edit @@ -1221,7 +1221,7 @@

Types

  Source   Edit @@ -1233,7 +1233,7 @@

Types

  Source   Edit @@ -1245,7 +1245,7 @@

Types

  Source   Edit @@ -1261,7 +1261,7 @@

Types

  Source   Edit @@ -1273,7 +1273,7 @@

Types

  Source   Edit @@ -1293,7 +1293,7 @@

Types

  Source   Edit @@ -1305,7 +1305,7 @@

Types

  Source   Edit @@ -1317,7 +1317,7 @@

Types

  Source   Edit @@ -1340,7 +1340,7 @@

Types

  Source   Edit @@ -1352,7 +1352,7 @@

Types

  Source   Edit @@ -1369,7 +1369,7 @@

Consts

  Source   Edit @@ -1381,7 +1381,7 @@

Consts

  Source   Edit @@ -1399,7 +1399,7 @@

Procs

  Source   Edit @@ -1412,7 +1412,7 @@

Procs

  Source   Edit @@ -1425,7 +1425,7 @@

Procs

  Source   Edit @@ -1438,7 +1438,7 @@

Procs

  Source   Edit @@ -1451,7 +1451,7 @@

Procs

  Source   Edit @@ -1464,7 +1464,7 @@

Procs

  Source   Edit @@ -1477,7 +1477,7 @@

Procs

  Source   Edit @@ -1490,7 +1490,7 @@

Procs

  Source   Edit @@ -1503,7 +1503,7 @@

Procs

  Source   Edit @@ -1516,7 +1516,7 @@

Procs

  Source   Edit @@ -1529,7 +1529,7 @@

Procs

  Source   Edit @@ -1542,7 +1542,7 @@

Procs

  Source   Edit @@ -1555,7 +1555,7 @@

Procs

  Source   Edit @@ -1568,7 +1568,7 @@

Procs

  Source   Edit @@ -1581,7 +1581,7 @@

Procs

  Source   Edit @@ -1594,7 +1594,7 @@

Procs

  Source   Edit @@ -1607,7 +1607,7 @@

Procs

  Source   Edit @@ -1620,7 +1620,7 @@

Procs

  Source   Edit @@ -1633,7 +1633,7 @@

Procs

  Source   Edit @@ -1646,7 +1646,7 @@

Procs

  Source   Edit @@ -1659,7 +1659,7 @@

Procs

  Source   Edit @@ -1672,7 +1672,7 @@

Procs

  Source   Edit @@ -1685,7 +1685,7 @@

Procs

  Source   Edit @@ -1698,7 +1698,7 @@

Procs

  Source   Edit @@ -1711,7 +1711,7 @@

Procs

  Source   Edit @@ -1725,7 +1725,7 @@

Procs

  Source   Edit @@ -1739,7 +1739,7 @@

Procs

  Source   Edit @@ -1752,7 +1752,7 @@

Procs

  Source   Edit @@ -1765,7 +1765,7 @@

Procs

  Source   Edit @@ -1778,7 +1778,7 @@

Procs

  Source   Edit @@ -1791,7 +1791,7 @@

Procs

  Source   Edit @@ -1804,7 +1804,7 @@

Procs

  Source   Edit @@ -1819,7 +1819,7 @@

Procs

  Source   Edit @@ -1834,7 +1834,7 @@

Procs

  Source   Edit @@ -1847,7 +1847,7 @@

Procs

  Source   Edit @@ -1860,7 +1860,7 @@

Procs

  Source   Edit @@ -1873,7 +1873,7 @@

Procs

  Source   Edit @@ -1886,7 +1886,7 @@

Procs

  Source   Edit @@ -1900,7 +1900,7 @@

Procs

  Source   Edit @@ -1913,7 +1913,7 @@

Procs

  Source   Edit @@ -1926,7 +1926,7 @@

Procs

  Source   Edit @@ -1939,7 +1939,7 @@

Procs

  Source   Edit @@ -1952,7 +1952,7 @@

Procs

  Source   Edit @@ -1965,7 +1965,7 @@

Procs

  Source   Edit @@ -1978,7 +1978,7 @@

Procs

  Source   Edit @@ -1991,7 +1991,7 @@

Procs

  Source   Edit @@ -2004,7 +2004,7 @@

Procs

  Source   Edit @@ -2017,7 +2017,7 @@

Procs

  Source   Edit @@ -2030,7 +2030,7 @@

Procs

  Source   Edit @@ -2043,7 +2043,7 @@

Procs

  Source   Edit @@ -2056,7 +2056,7 @@

Procs

  Source   Edit @@ -2069,7 +2069,7 @@

Procs

  Source   Edit @@ -2082,7 +2082,7 @@

Procs

  Source   Edit @@ -2095,7 +2095,7 @@

Procs

  Source   Edit @@ -2108,7 +2108,7 @@

Procs

  Source   Edit @@ -2121,7 +2121,7 @@

Procs

  Source   Edit @@ -2134,7 +2134,7 @@

Procs

  Source   Edit @@ -2147,7 +2147,7 @@

Procs

  Source   Edit @@ -2160,7 +2160,7 @@

Procs

  Source   Edit @@ -2174,7 +2174,7 @@

Procs

  Source   Edit @@ -2187,7 +2187,7 @@

Procs

  Source   Edit @@ -2201,7 +2201,7 @@

Procs

  Source   Edit @@ -2214,7 +2214,7 @@

Procs

  Source   Edit @@ -2228,7 +2228,7 @@

Procs

  Source   Edit @@ -2241,7 +2241,7 @@

Procs

  Source   Edit @@ -2254,7 +2254,7 @@

Procs

  Source   Edit @@ -2267,7 +2267,7 @@

Procs

  Source   Edit @@ -2280,7 +2280,7 @@

Procs

  Source   Edit @@ -2294,7 +2294,7 @@

Procs

  Source   Edit @@ -2307,7 +2307,7 @@

Procs

  Source   Edit @@ -2321,7 +2321,7 @@

Procs

  Source   Edit @@ -2334,7 +2334,7 @@

Procs

  Source   Edit @@ -2347,7 +2347,7 @@

Procs

  Source   Edit @@ -2360,7 +2360,7 @@

Procs

  Source   Edit @@ -2373,7 +2373,7 @@

Procs

  Source   Edit @@ -2386,7 +2386,7 @@

Procs

  Source   Edit @@ -2399,7 +2399,7 @@

Procs

  Source   Edit @@ -2412,7 +2412,7 @@

Procs

  Source   Edit @@ -2425,7 +2425,7 @@

Procs

  Source   Edit @@ -2438,7 +2438,7 @@

Procs

  Source   Edit @@ -2451,7 +2451,7 @@

Procs

  Source   Edit @@ -2464,7 +2464,7 @@

Procs

  Source   Edit @@ -2477,7 +2477,7 @@

Procs

  Source   Edit @@ -2490,7 +2490,7 @@

Procs

  Source   Edit @@ -2503,7 +2503,7 @@

Procs

See also https://www.postgresql.org/docs/current/libpq-async.html   Source   Edit @@ -2519,7 +2519,7 @@

Procs

  Source   Edit @@ -2535,7 +2535,7 @@

Procs

  Source   Edit @@ -2548,7 +2548,7 @@

Procs

  Source   Edit @@ -2561,7 +2561,7 @@

Procs

  Source   Edit @@ -2574,7 +2574,7 @@

Procs

  Source   Edit @@ -2588,7 +2588,7 @@

Procs

  Source   Edit @@ -2601,7 +2601,7 @@

Procs

  Source   Edit @@ -2614,7 +2614,7 @@

Procs

  Source   Edit @@ -2628,7 +2628,7 @@

Procs

  Source   Edit @@ -2641,7 +2641,7 @@

Procs

  Source   Edit @@ -2654,7 +2654,7 @@

Procs

See also https://www.postgresql.org/docs/current/libpq-single-row-mode.html   Source   Edit @@ -2667,7 +2667,7 @@

Procs

  Source   Edit @@ -2680,7 +2680,7 @@

Procs

  Source   Edit @@ -2693,7 +2693,7 @@

Procs

  Source   Edit @@ -2706,7 +2706,7 @@

Procs

  Source   Edit @@ -2719,7 +2719,7 @@

Procs

  Source   Edit @@ -2732,7 +2732,7 @@

Procs

  Source   Edit @@ -2745,7 +2745,7 @@

Procs

  Source   Edit @@ -2758,7 +2758,7 @@

Procs

  Source   Edit diff --git a/prelude.html b/prelude.html index 4fa557bf9b0..d93386eebe9 100644 --- a/prelude.html +++ b/prelude.html @@ -106,7 +106,7 @@

pure/prelude

  Source   Edit diff --git a/punycode.html b/punycode.html index 3e2a7452cd0..f5bc3f31784 100644 --- a/punycode.html +++ b/punycode.html @@ -132,7 +132,7 @@

pure/punycode

  Source   Edit @@ -189,7 +189,7 @@

Types

  Source   Edit @@ -206,7 +206,7 @@

Procs

Decode a Punycode-encoded string   Source   Edit @@ -218,7 +218,7 @@

Procs

Encode a string that may contain Unicode. Prepend prefix to the result   Source   Edit @@ -230,7 +230,7 @@

Procs

Encode a string that may contain Unicode. Prefix is empty.   Source   Edit diff --git a/random.html b/random.html index 884aabdabdb..7fdfac895b7 100644 --- a/random.html +++ b/random.html @@ -206,7 +206,7 @@

pure/random

  Source   Edit @@ -276,7 +276,7 @@

Types

Many procs have two variations: one that takes in a Rand parameter and another that uses the default generator. The procs that use the default generator are not thread-safe!

  Source   Edit @@ -296,7 +296,7 @@

Procs

This proc uses the default RNG. Thus, it is not thread-safe.

  Source   Edit @@ -308,7 +308,7 @@

Procs

Returns a Gaussian random variate, with mean mu and standard deviation sigma using the given state.   Source   Edit @@ -328,7 +328,7 @@

Procs

  Source   Edit @@ -354,7 +354,7 @@

Procs

let now = getTime() var r2 = initRand(now.toUnix * 1_000_000_000 + now.nanosecond)   Source   Edit @@ -380,7 +380,7 @@

Procs

let now = getTime() var r2 = initRand(now.toUnix * 1_000_000_000 + now.nanosecond)   Source   Edit @@ -404,7 +404,7 @@

Procs

assert r.next() == 13223559681708962501'u64 # implementation defined assert r.next() == 7229677234260823147'u64 # implementation defined   Source   Edit @@ -428,7 +428,7 @@

Procs

randomize(234)
 let f = rand(1.0) # 8.717181376738381e-07
  Source   Edit @@ -452,7 +452,7 @@

Procs

randomize(123)
 assert [rand(100), rand(100)] == [96, 63] # implementation defined
  Source   Edit @@ -476,7 +476,7 @@

Procs

if false: assert r.rand(100) == 96 # implementation defined   Source   Edit @@ -499,7 +499,7 @@

Procs

var r = initRand(234)
 let f = r.rand(1.0) # 8.717181376738381e-07
  Source   Edit @@ -523,7 +523,7 @@

Procs

assert r.rand(1..5) <= 5 assert r.rand(-1.1 .. 1.2) >= -1.1   Source   Edit @@ -548,7 +548,7 @@

Procs

randomize(345)
 assert rand(1..6) <= 6
  Source   Edit @@ -574,7 +574,7 @@

Procs

assert rand(uint32) == 578980729'u32 assert rand(range[1..16]) == 11   Source   Edit @@ -594,7 +594,7 @@

Procs

  Source   Edit @@ -620,7 +620,7 @@

Procs

let now = getTime() randomize(now.toUnix * 1_000_000_000 + now.nanosecond)   Source   Edit @@ -649,7 +649,7 @@

Procs

randomize(789) assert sample(marbles, cdf) in marbles   Source   Edit @@ -677,7 +677,7 @@

Procs

var r = initRand(789) assert r.sample(marbles, cdf) in marbles   Source   Edit @@ -701,7 +701,7 @@

Procs

randomize(456) assert sample(marbles) in marbles   Source   Edit @@ -723,7 +723,7 @@

Procs

var r = initRand(456) assert r.sample(marbles) in marbles   Source   Edit @@ -745,7 +745,7 @@

Procs

let s = {1, 3, 5, 7, 9} assert r.sample(s) in s   Source   Edit @@ -769,7 +769,7 @@

Procs

let s = {1, 3, 5, 7, 9} assert sample(s) in s   Source   Edit @@ -791,7 +791,7 @@

Procs

import std/algorithm assert cards.sorted == @["Ace", "Jack", "King", "Queen", "Ten"]   Source   Edit @@ -815,7 +815,7 @@

Procs

import std/algorithm assert cards.sorted == @["Ace", "Jack", "King", "Queen", "Ten"]   Source   Edit @@ -834,7 +834,7 @@

Procs

  Source   Edit @@ -851,7 +851,7 @@

Templates

Makes the default Rand state accessible from other modules. Useful for module authors.   Source   Edit diff --git a/rationals.html b/rationals.html index fcca4c7b13c..e53998a800c 100644 --- a/rationals.html +++ b/rationals.html @@ -279,7 +279,7 @@

pure/rationals

  Source   Edit @@ -313,7 +313,7 @@

Types

A rational number, consisting of a numerator num and a denominator den.   Source   Edit @@ -332,7 +332,7 @@

Procs

Example:

doAssert $(1 // 2) == "1/2"
  Source   Edit @@ -344,7 +344,7 @@

Procs

Multiplies the rational x by y in-place.   Source   Edit @@ -356,7 +356,7 @@

Procs

Multiplies the rational x by the int y in-place.   Source   Edit @@ -368,7 +368,7 @@

Procs

Multiplies two rational numbers.   Source   Edit @@ -380,7 +380,7 @@

Procs

Multiplies the rational x with the int y.   Source   Edit @@ -392,7 +392,7 @@

Procs

Multiplies the int x with the rational y.   Source   Edit @@ -404,7 +404,7 @@

Procs

Adds the rational y to the rational x in-place.   Source   Edit @@ -416,7 +416,7 @@

Procs

Adds the int y to the rational x in-place.   Source   Edit @@ -428,7 +428,7 @@

Procs

Adds two rational numbers.   Source   Edit @@ -440,7 +440,7 @@

Procs

Adds the rational x to the int y.   Source   Edit @@ -452,7 +452,7 @@

Procs

Adds the int x to the rational y.   Source   Edit @@ -464,7 +464,7 @@

Procs

Subtracts the rational y from the rational x in-place.   Source   Edit @@ -476,7 +476,7 @@

Procs

Subtracts the int y from the rational x in-place.   Source   Edit @@ -488,7 +488,7 @@

Procs

Subtracts two rational numbers.   Source   Edit @@ -500,7 +500,7 @@

Procs

Unary minus for rational numbers.   Source   Edit @@ -512,7 +512,7 @@

Procs

Subtracts the int y from the rational x.   Source   Edit @@ -524,7 +524,7 @@

Procs

Subtracts the rational y from the int x.   Source   Edit @@ -539,7 +539,7 @@

Procs

let x = 1 // 3 + 1 // 5
 doAssert x == 8 // 15
  Source   Edit @@ -551,7 +551,7 @@

Procs

Divides the rational x by the rational y in-place.   Source   Edit @@ -563,7 +563,7 @@

Procs

Divides the rational x by the int y in-place.   Source   Edit @@ -575,7 +575,7 @@

Procs

Divides the rational x by the rational y.   Source   Edit @@ -587,7 +587,7 @@

Procs

Divides the rational x by the int y.   Source   Edit @@ -599,7 +599,7 @@

Procs

Divides the int x by the rational y.   Source   Edit @@ -611,7 +611,7 @@

Procs

Returns tue if x is less than or equal to y.   Source   Edit @@ -623,7 +623,7 @@

Procs

Returns true if x is less than y.   Source   Edit @@ -635,7 +635,7 @@

Procs

Compares two rationals for equality.   Source   Edit @@ -647,7 +647,7 @@

Procs

Computes the rational truncated division.   Source   Edit @@ -659,7 +659,7 @@

Procs

Computes the rational modulo by truncated division (remainder). This is same as x - (x div y) * y.   Source   Edit @@ -674,7 +674,7 @@

Procs

doAssert abs(1 // 2) == 1 // 2
 doAssert abs(-1 // 2) == 1 // 2
  Source   Edit @@ -690,7 +690,7 @@

Procs

  Source   Edit @@ -704,7 +704,7 @@

Procs

Floor division is conceptually defined as floor(x / y). This is different from the div operator, which is defined as trunc(x / y). That is, div rounds towards 0 and floorDiv rounds down.

  Source   Edit @@ -718,7 +718,7 @@

Procs

This is same as x - floorDiv(x, y) * y. This func behaves the same as the % operator in Python.

  Source   Edit @@ -730,7 +730,7 @@

Procs

Computes the hash for the rational x.   Source   Edit @@ -744,7 +744,7 @@

Procs

Note: den != 0 is not checked when assertions are turned off.

  Source   Edit @@ -756,7 +756,7 @@

Procs

Calculates the reciprocal of x (1/x). If x is 0, raises DivByZeroDefect.   Source   Edit @@ -775,7 +775,7 @@

Procs

doAssert r.num == 1 doAssert r.den == 2   Source   Edit @@ -787,7 +787,7 @@

Procs

Converts a rational number x to a float.   Source   Edit @@ -799,7 +799,7 @@

Procs

Converts a rational number x to an int. Conversion rounds towards 0 if x does not contain an integer value.   Source   Edit @@ -817,7 +817,7 @@

Procs

let x = 1.2
 doAssert x.toRational.toFloat == x
  Source   Edit @@ -831,7 +831,7 @@

Procs

Example:

doAssert toRational(42) == 42 // 1
  Source   Edit diff --git a/rdstdin.html b/rdstdin.html index fcd424d0d58..f125a3a7c13 100644 --- a/rdstdin.html +++ b/rdstdin.html @@ -119,7 +119,7 @@

impure/rdstdin

  Source   Edit @@ -151,7 +151,7 @@

Procs

  Source   Edit @@ -164,7 +164,7 @@

Procs

  Source   Edit diff --git a/re.html b/re.html index 255eb0a4bc9..73a764afab8 100644 --- a/re.html +++ b/re.html @@ -305,7 +305,7 @@

impure/re

  Source   Edit @@ -433,7 +433,7 @@

Types

a compiled regular expression   Source   Edit @@ -446,7 +446,7 @@

Types

is raised if the pattern is no valid regular expression.   Source   Edit @@ -464,7 +464,7 @@

Types

options for regular expressions   Source   Edit @@ -481,7 +481,7 @@

Consts

Maximum PCRE (API 1) buffer start/size equal to high(cint), which even for 64-bit systems can be either 231-1 or 263-1.   Source   Edit @@ -493,7 +493,7 @@

Consts

defines the maximum number of subpatterns that can be captured. This limit still exists for replacef and parallelReplace.   Source   Edit @@ -513,7 +513,7 @@

Procs

The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.   Source   Edit @@ -526,7 +526,7 @@

Procs

same as find(s, pattern, start) >= 0   Source   Edit @@ -538,7 +538,7 @@

Procs

returns true if s ends with the pattern suffix   Source   Edit @@ -550,7 +550,7 @@

Procs

escapes s so that it is matched verbatim when used as a regular expression.   Source   Edit @@ -565,7 +565,7 @@

Procs

The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.   Source   Edit @@ -578,7 +578,7 @@

Procs

returns the starting position of pattern in buf, where buf has length bufSize (not necessarily '\0' terminated). If it does not match, -1 is returned.   Source   Edit @@ -593,7 +593,7 @@

Procs

The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.   Source   Edit @@ -614,7 +614,7 @@

Procs

doAssert find("xabc", re"(?<=x|y)abc", start = 1) == 1 # lookbehind assertion `(?<=x|y)` can look behind `start`   Source   Edit @@ -627,7 +627,7 @@

Procs

returns all matching substrings of s that match pattern. If it does not match, @[] is returned.   Source   Edit @@ -643,7 +643,7 @@

Procs

The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.   Source   Edit @@ -659,7 +659,7 @@

Procs

Note: The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.

  Source   Edit @@ -672,7 +672,7 @@

Procs

returns the first and last position of pattern in buf, where buf has length bufSize (not necessarily '\0' terminated). If it does not match, (-1,0) is returned.   Source   Edit @@ -694,7 +694,7 @@

Procs

doAssert last == 4 doAssert matches[0] == (0, 4)   Source   Edit @@ -716,7 +716,7 @@

Procs

doAssert last == 10 doAssert matches[0] == "World"   Source   Edit @@ -733,7 +733,7 @@

Procs

Example:

assert findBounds("01234abc89", re"abc") == (5,7)
  Source   Edit @@ -748,7 +748,7 @@

Procs

The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.   Source   Edit @@ -768,7 +768,7 @@

Procs

if match("abcdefg", re"c(d)ef(g)", matches, 2): doAssert toSeq(matches) == @["d", "g"]   Source   Edit @@ -781,7 +781,7 @@

Procs

returns true if s[start..] matches the pattern.   Source   Edit @@ -796,7 +796,7 @@

Procs

The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.   Source   Edit @@ -809,7 +809,7 @@

Procs

the same as match, but it returns the length of the match, if there is no match, -1 is returned. Note that a match length of zero can happen.   Source   Edit @@ -824,7 +824,7 @@

Procs

The memory for matches needs to be allocated before this function is called, otherwise it will just remain empty.   Source   Edit @@ -841,7 +841,7 @@

Procs

doAssert matchLen("abcdefg", re"abcde") == 5 doAssert matchLen("abcdefg", re"cde") == -1   Source   Edit @@ -855,7 +855,7 @@

Procs

Returns a modified copy of s with the substitutions in subs applied in parallel.   Source   Edit @@ -869,7 +869,7 @@

Procs

Note that Nim's extended raw string literals support the syntax re"[abc]" as a short form for re(r"[abc]"). Also note that since this compiles the regular expression, which is expensive, you should avoid putting it directly in the arguments of the functions like the examples show below if you plan to use it a lot of times, as this will hurt performance immensely. (e.g. outside a loop, ...)

  Source   Edit @@ -884,7 +884,7 @@

Procs

doAssert "var1=key; var2=key2".replace(re"(\w+)=(\w+)") == "; "
 doAssert "var1=key; var2=key2".replace(re"(\w+)=(\w+)", "?") == "?; ?"
  Source   Edit @@ -900,7 +900,7 @@

Procs

doAssert "var1=key; var2=key2".replacef(re"(\w+)=(\w+)", "$1<-$2$2") ==
   "var1<-keykey; var2<-key2key2"
  Source   Edit @@ -915,7 +915,7 @@

Procs

The extended means that comments starting with # and whitespace are ignored.

  Source   Edit @@ -930,7 +930,7 @@

Procs

The portion matched by sep is not returned.

  Source   Edit @@ -942,7 +942,7 @@

Procs

returns true if s starts with the pattern prefix   Source   Edit @@ -956,7 +956,7 @@

Procs

reads in the file infile, performs a parallel replacement (calls parallelReplace) and writes back to outfile. Raises IOError if an error occurs. This is supposed to be used for quick scripting.   Source   Edit @@ -976,7 +976,7 @@

Iterators

Note that since this is an iterator you should not modify the string you are iterating over: bad things could happen.

  Source   Edit @@ -991,7 +991,7 @@

Iterators

Note that since this is an iterator you should not modify the string you are iterating over: bad things could happen.

  Source   Edit @@ -1010,7 +1010,7 @@

Iterators

doAssert toSeq(split("00232this02939is39an22example111", re"\d+")) == @["", "this", "is", "an", "example", ""]   Source   Edit @@ -1038,7 +1038,7 @@

Templates

doAssert parse("NAME = LENA") == """("NAME", "LENA")""" doAssert parse(" # comment ... ") == """("# comment ... ",)"""   Source   Edit diff --git a/registry.html b/registry.html index 78c764ef4f9..5369dfae49c 100644 --- a/registry.html +++ b/registry.html @@ -140,7 +140,7 @@

windows/registry

  Source   Edit @@ -162,7 +162,7 @@

Types

  Source   Edit @@ -179,7 +179,7 @@

Consts

  Source   Edit @@ -191,7 +191,7 @@

Consts

  Source   Edit @@ -209,7 +209,7 @@

Procs

  Source   Edit @@ -222,7 +222,7 @@

Procs

  Source   Edit diff --git a/reservedmem.html b/reservedmem.html index f76b286fddb..7d536998f84 100644 --- a/reservedmem.html +++ b/reservedmem.html @@ -227,7 +227,7 @@

pure/reservedmem

  Source   Edit @@ -252,7 +252,7 @@

Types

  Source   Edit @@ -271,7 +271,7 @@

Types

  Source   Edit @@ -285,7 +285,7 @@

Types

  Source   Edit @@ -302,7 +302,7 @@

Lets

  Source   Edit @@ -314,7 +314,7 @@

Lets

  Source   Edit @@ -326,7 +326,7 @@

Lets

  Source   Edit @@ -338,7 +338,7 @@

Lets

  Source   Edit @@ -350,7 +350,7 @@

Lets

  Source   Edit @@ -367,7 +367,7 @@

Procs

  Source   Edit @@ -379,7 +379,7 @@

Procs

  Source   Edit @@ -391,7 +391,7 @@

Procs

  Source   Edit @@ -403,7 +403,7 @@

Procs

  Source   Edit @@ -415,7 +415,7 @@

Procs

  Source   Edit @@ -427,7 +427,7 @@

Procs

  Source   Edit @@ -439,7 +439,7 @@

Procs

  Source   Edit @@ -453,7 +453,7 @@

Procs

  Source   Edit @@ -467,7 +467,7 @@

Procs

  Source   Edit @@ -479,7 +479,7 @@

Procs

  Source   Edit @@ -491,7 +491,7 @@

Procs

  Source   Edit @@ -503,7 +503,7 @@

Procs

  Source   Edit @@ -515,7 +515,7 @@

Procs

  Source   Edit @@ -527,7 +527,7 @@

Procs

  Source   Edit @@ -539,7 +539,7 @@

Procs

  Source   Edit @@ -551,7 +551,7 @@

Procs

  Source   Edit @@ -568,7 +568,7 @@

Templates

  Source   Edit @@ -580,7 +580,7 @@

Templates

  Source   Edit diff --git a/results.html b/results.html index 332b4b03c23..e3494fc96b9 100644 --- a/results.html +++ b/results.html @@ -276,7 +276,7 @@

experimental/results

  Source   Edit @@ -319,7 +319,7 @@

Types

A Result is typically used to augment a return value of type T indicating that a computation (proc, etc...) is uncertain and should return a value of type T or end in an error of type E. This is useful to avoid encoding entirely expected error cases as values instead of resorting to exception handling for program control flow or various side-channel data.   Source   Edit @@ -333,7 +333,7 @@

Types

  Source   Edit @@ -345,7 +345,7 @@

Types

  Source   Edit @@ -362,7 +362,7 @@

Procs

Returns the string representation of self   Source   Edit @@ -374,7 +374,7 @@

Procs

Returns the string representation of self   Source   Edit @@ -386,7 +386,7 @@

Procs

Equal if both a and b have the same ok/err status, then compares the value or error pairs using available == for those type of values.   Source   Edit @@ -401,7 +401,7 @@

Procs

let r = Result[int, string].err("uh-oh")
 doAssert r.error == "uh-oh"
  Source   Edit @@ -413,7 +413,7 @@

Procs

Retrieves the error from a Result; raises ResultError[void] if the Result is not an error.   Source   Edit @@ -431,7 +431,7 @@

Procs

  Source   Edit @@ -448,7 +448,7 @@

Procs

  Source   Edit @@ -465,7 +465,7 @@

Procs

  Source   Edit @@ -482,7 +482,7 @@

Procs

  Source   Edit @@ -494,7 +494,7 @@

Procs

Sets the result as an error.   Source   Edit @@ -510,7 +510,7 @@

Procs

r.initSuccess() doAssert r.isOk   Source   Edit @@ -522,7 +522,7 @@

Procs

Sets the result to success and updates value.   Source   Edit @@ -534,7 +534,7 @@

Procs

  Source   Edit @@ -546,7 +546,7 @@

Procs

  Source   Edit @@ -562,7 +562,7 @@

Procs

  Source   Edit @@ -578,7 +578,7 @@

Procs

  Source   Edit @@ -590,7 +590,7 @@

Procs

Returns a result as success.   Source   Edit @@ -605,7 +605,7 @@

Procs

let r = Result[int, string].ok(42)
 doAssert r.value == 42
  Source   Edit @@ -617,7 +617,7 @@

Procs

Returns the result's value if it stores one. Raises the result's error as an exception otherwise   Source   Edit @@ -629,7 +629,7 @@

Procs

Returns the result's error if it stores one. Raises a ResultError[void] otherwise   Source   Edit @@ -643,7 +643,7 @@

Procs

  Source   Edit @@ -657,7 +657,7 @@

Procs

  Source   Edit @@ -673,7 +673,7 @@

Procs

  Source   Edit @@ -694,7 +694,7 @@

Templates

  Source   Edit @@ -710,7 +710,7 @@

Templates

  Source   Edit @@ -726,7 +726,7 @@

Templates

  Source   Edit @@ -742,7 +742,7 @@

Templates

  Source   Edit @@ -756,7 +756,7 @@

Templates

The returned exception is required to be a ref.

  Source   Edit @@ -768,7 +768,7 @@

Templates

  Source   Edit @@ -780,7 +780,7 @@

Templates

  Source   Edit @@ -792,7 +792,7 @@

Templates

  Source   Edit @@ -804,7 +804,7 @@

Templates

  Source   Edit @@ -816,7 +816,7 @@

Templates

Fetches the value of result if set, or supplied default def will not be evaluated iff value is set   Source   Edit diff --git a/rlocks.html b/rlocks.html index dc6ab6bdc27..4b7b69ddc86 100644 --- a/rlocks.html +++ b/rlocks.html @@ -150,7 +150,7 @@

core/rlocks

  Source   Edit @@ -167,7 +167,7 @@

Types

Nim lock, re-entrant   Source   Edit @@ -184,7 +184,7 @@

Procs

Acquires the given lock.   Source   Edit @@ -196,7 +196,7 @@

Procs

Frees the resources associated with the lock.   Source   Edit @@ -208,7 +208,7 @@

Procs

Initializes the given lock.   Source   Edit @@ -220,7 +220,7 @@

Procs

Releases the given lock.   Source   Edit @@ -232,7 +232,7 @@

Procs

Tries to acquire the given lock. Returns true on success.   Source   Edit @@ -249,7 +249,7 @@

Templates

Acquires the given lock and then executes the code.   Source   Edit diff --git a/ropes.html b/ropes.html index 3803d165dcb..ec4812e2701 100644 --- a/ropes.html +++ b/ropes.html @@ -215,7 +215,7 @@

pure/ropes

  Source   Edit @@ -241,7 +241,7 @@

Types

A rope data type. The empty rope is represented by nil.   Source   Edit @@ -258,7 +258,7 @@

Procs

Converts a rope back to a string.   Source   Edit @@ -280,7 +280,7 @@

Procs

let r3 = "${1} ${2} ${3}" % [rope("Nim"), rope("is"), rope("a great language")] doAssert $r3 == "Nim is a great language"   Source   Edit @@ -296,7 +296,7 @@

Procs

let r = rope("Hello, ") & rope("Nim!")
 doAssert $r == "Hello, Nim!"
  Source   Edit @@ -312,7 +312,7 @@

Procs

let r = &[rope("Hello, "), rope("Nim"), rope("!")]
 doAssert $r == "Hello, Nim!"
  Source   Edit @@ -328,7 +328,7 @@

Procs

let r = rope("Hello, ") & "Nim!"
 doAssert $r == "Hello, Nim!"
  Source   Edit @@ -344,7 +344,7 @@

Procs

let r = "Hello, " & rope("Nim!")
 doAssert $r == "Hello, Nim!"
  Source   Edit @@ -363,7 +363,7 @@

Procs

doAssert r[7] == 'N' doAssert r[22] == '\0'   Source   Edit @@ -380,7 +380,7 @@

Procs

r.add(rope("Nim!")) doAssert $r == "Hello, Nim!"   Source   Edit @@ -397,7 +397,7 @@

Procs

r.add("Nim!") doAssert $r == "Hello, Nim!"   Source   Edit @@ -414,7 +414,7 @@

Procs

r.addf "$1 $2 $3", [rope("Nim"), rope("is"), rope("a great language")] doAssert $r == "Dash: Nim is a great language"   Source   Edit @@ -426,7 +426,7 @@

Procs

The cache is discarded and disabled. The GC will reuse its used memory.   Source   Edit @@ -438,7 +438,7 @@

Procs

Enables the caching of leaves. This reduces the memory footprint at the cost of runtime efficiency.   Source   Edit @@ -451,7 +451,7 @@

Procs

Returns true if the contents of the file f equal r.   Source   Edit @@ -464,7 +464,7 @@

Procs

Returns true if the contents of the file f equal r. If f does not exist, false is returned.   Source   Edit @@ -476,7 +476,7 @@

Procs

The rope's length.   Source   Edit @@ -492,7 +492,7 @@

Procs

let r = rope(4.29)
 doAssert $r == "4.29"
  Source   Edit @@ -508,7 +508,7 @@

Procs

let r = rope(429)
 doAssert $r == "429"
  Source   Edit @@ -524,7 +524,7 @@

Procs

let r = rope("I'm a rope")
 doAssert $r == "I'm a rope"
  Source   Edit @@ -537,7 +537,7 @@

Procs

Writes a rope to a file.   Source   Edit @@ -551,7 +551,7 @@

Procs

Writes a rope to a stream.   Source   Edit @@ -568,7 +568,7 @@

Iterators

Iterates over any character in the rope r.   Source   Edit @@ -587,7 +587,7 @@

Iterators

doAssert leave == s[index] inc(index)   Source   Edit diff --git a/rst.html b/rst.html index 9fedc81be74..c8c70824f70 100644 --- a/rst.html +++ b/rst.html @@ -255,7 +255,7 @@

rst

Nim-flavored reStructuredText and   Source   Edit @@ -394,7 +394,7 @@

Types

  Source   Edit @@ -406,7 +406,7 @@

Types

  Source   Edit @@ -419,7 +419,7 @@

Types

  Source   Edit @@ -432,7 +432,7 @@

Types

what to do in case of an error   Source   Edit @@ -458,7 +458,7 @@

Types

the possible messages   Source   Edit @@ -470,7 +470,7 @@

Types

  Source   Edit @@ -485,7 +485,7 @@

Types

  Source   Edit @@ -505,7 +505,7 @@

Types

options for the RST parser   Source   Edit @@ -517,7 +517,7 @@

Types

  Source   Edit @@ -534,7 +534,7 @@

Consts

Initial column number for standalone RST text (Nim global reporting adds ColOffset=1)   Source   Edit @@ -546,7 +546,7 @@

Consts

1: a replica of ColOffset for internal use   Source   Edit @@ -558,7 +558,7 @@

Consts

Initial line number for standalone RST text   Source   Edit @@ -575,7 +575,7 @@

Procs

  Source   Edit @@ -588,7 +588,7 @@

Procs

  Source   Edit @@ -602,7 +602,7 @@

Procs

  Source   Edit @@ -614,7 +614,7 @@

Procs

  Source   Edit @@ -628,7 +628,7 @@

Procs

This proc will assert if the node is not of the expected type. The empty string will be returned as a minimum. Any value in the rst will be stripped form leading/trailing whitespace.

  Source   Edit @@ -641,7 +641,7 @@

Procs

  Source   Edit @@ -655,7 +655,7 @@

Procs

  Source   Edit @@ -668,7 +668,7 @@

Procs

Records titles in node mainNode and orders footnotes.   Source   Edit @@ -681,7 +681,7 @@

Procs

Makes pass 2 of RST parsing. Resolves substitutions and anchor aliases, groups footnotes. Takes input node n and returns the same node with recursive substitutions in n.sons to result.   Source   Edit @@ -694,7 +694,7 @@

Procs

Print warnings using info, i.e. in 2nd-pass warnings for footnotes/substitutions/references or from rstgen.nim.   Source   Edit @@ -706,7 +706,7 @@

Procs

  Source   Edit @@ -722,7 +722,7 @@

Procs

Parses the whole text. The result is ready for rstgen.renderRstToOut, note that 2nd tuple element should be fed to initRstGenerator   Source   Edit @@ -736,7 +736,7 @@

Procs

Parses an RST fragment. The result should be further processed by preparePass2 and resolveSubs (which is pass 2).   Source   Edit @@ -748,7 +748,7 @@

Procs

returns which message class k belongs to.   Source   Edit diff --git a/rstast.html b/rstast.html index 8259e77e577..cd98378ecc1 100644 --- a/rstast.html +++ b/rstast.html @@ -242,7 +242,7 @@

packages/docutils/rstast

  Source   Edit @@ -264,7 +264,7 @@

Types

  Source   Edit @@ -276,7 +276,7 @@

Types

an RST node   Source   Edit @@ -323,7 +323,7 @@

Types

AST node (result of RST parsing)   Source   Edit @@ -349,7 +349,7 @@

Types

the possible node kinds of an PRstNode   Source   Edit @@ -361,7 +361,7 @@

Types

  Source   Edit @@ -377,7 +377,7 @@

Types

  Source   Edit @@ -394,7 +394,7 @@

Procs

  Source   Edit @@ -406,7 +406,7 @@

Procs

  Source   Edit @@ -418,7 +418,7 @@

Procs

  Source   Edit @@ -430,7 +430,7 @@

Procs

  Source   Edit @@ -442,7 +442,7 @@

Procs

  Source   Edit @@ -454,7 +454,7 @@

Procs

  Source   Edit @@ -466,7 +466,7 @@

Procs

  Source   Edit @@ -479,7 +479,7 @@

Procs

  Source   Edit @@ -495,7 +495,7 @@

Procs

  Source   Edit @@ -508,7 +508,7 @@

Procs

  Source   Edit @@ -526,7 +526,7 @@

Procs

}   Source   Edit @@ -539,7 +539,7 @@

Procs

renders n into its string representation and appends to result.   Source   Edit @@ -551,7 +551,7 @@

Procs

minimal text representation of markup node   Source   Edit @@ -563,7 +563,7 @@

Procs

Writes the parsed RST node into an AST tree with compact string representation in the format (one line per every sub-node): indent - kind - [text|level|order|adType] - anchor (if non-zero) (suitable for debugging of RST parsing).   Source   Edit diff --git a/rstgen.html b/rstgen.html index 717e258dc9b..13f511a7a62 100644 --- a/rstgen.html +++ b/rstgen.html @@ -257,7 +257,7 @@

packages/docutils/rstgen

  Source   Edit @@ -288,7 +288,7 @@

Types

  Source   Edit @@ -301,7 +301,7 @@

Types

which document type to generate   Source   Edit @@ -338,7 +338,7 @@

Types

  Source   Edit @@ -355,7 +355,7 @@

Consts

  Source   Edit @@ -375,7 +375,7 @@

Procs

The only difference between the contents of that file and the values provided by this proc is the doc.file variable. The doc.file variable of the configuration file contains HTML to build standalone pages, while this proc returns just the content for procs like rstToHtml to generate the bare minimum HTML.

  Source   Edit @@ -388,7 +388,7 @@

Procs

Escapes the HTML.   Source   Edit @@ -401,7 +401,7 @@

Procs

  Source   Edit @@ -415,7 +415,7 @@

Procs

  Source   Edit @@ -442,7 +442,7 @@

Procs

var gen: RstGenerator gen.initRstGenerator(outHtml, defaultConfig(), "filename", {})   Source   Edit @@ -460,7 +460,7 @@

Procs

Returns the merged and sorted indices into a single HTML block which can be further embedded into nimdoc templates.

  Source   Edit @@ -472,7 +472,7 @@

Procs

  Source   Edit @@ -484,7 +484,7 @@

Procs

  Source   Edit @@ -497,7 +497,7 @@

Procs

  Source   Edit @@ -512,7 +512,7 @@

Procs

Additionally adds the enclosed text to the index as a term. Since we are interested in different instances of the same term to have different entries, a table is used to keep track of the amount of times a term has previously appeared to give a different identifier value for each.

  Source   Edit @@ -525,7 +525,7 @@

Procs

  Source   Edit @@ -543,7 +543,7 @@

Procs

renderRstToOut(gen, rst, generatedHtml) echo generatedHtml   Source   Edit @@ -556,7 +556,7 @@

Procs

  Source   Edit @@ -577,7 +577,7 @@

Procs

# --> <em>Hello</em> <strong>world</strong>!

If you need to allow the rst include directive or tweak the generated output you have to create your own RstGenerator with initRstGenerator and related procs.

  Source   Edit @@ -592,7 +592,7 @@

Procs

Example:

doAssert rstToLatex("*Hello* **world**", {}) == """\emph{Hello} \textbf{world}"""
  Source   Edit @@ -610,7 +610,7 @@

Procs

The index won't be written to disk unless you call writeIndexFile(). The purpose of the index is documented in the docgen tools guide.

  Source   Edit @@ -625,7 +625,7 @@

Procs

You previously need to add entries to the index with the setIndexTerm() proc. If the index is empty the file won't be created.

  Source   Edit diff --git a/rtarrays.html b/rtarrays.html index 3a3797ff986..52726445ad9 100644 --- a/rtarrays.html +++ b/rtarrays.html @@ -127,7 +127,7 @@

pure/collections/rtarrays

  Source   Edit @@ -150,7 +150,7 @@

Types

  Source   Edit @@ -167,7 +167,7 @@

Procs

  Source   Edit @@ -179,7 +179,7 @@

Procs

  Source   Edit diff --git a/selectors.html b/selectors.html index 83648037d84..c026b578899 100644 --- a/selectors.html +++ b/selectors.html @@ -269,7 +269,7 @@

pure/selectors

  Source   Edit @@ -313,7 +313,7 @@

Types

An enum which hold event types   Source   Edit @@ -326,7 +326,7 @@

Types

Exception that is raised if an IOSelectors error occurs.   Source   Edit @@ -343,7 +343,7 @@

Types

An object which holds result for descriptor   Source   Edit @@ -356,7 +356,7 @@

Types

An object which holds user defined event   Source   Edit @@ -369,7 +369,7 @@

Types

An object which holds descriptors to be checked for read/write status   Source   Edit @@ -386,7 +386,7 @@

Consts

This constant is used to determine whether the destination platform is fully supported by ioselectors module.   Source   Edit @@ -403,7 +403,7 @@

Procs

Closes user-defined event ev.   Source   Edit @@ -415,7 +415,7 @@

Procs

Closes the selector.   Source   Edit @@ -427,7 +427,7 @@

Procs

Determines whether selector contains a file descriptor.   Source   Edit @@ -439,7 +439,7 @@

Procs

Retrieves application-defined data associated with descriptor fd. If specified descriptor fd is not registered, empty/default value will be returned.   Source   Edit @@ -453,7 +453,7 @@

Procs

For poll and select selectors -1 is returned.

  Source   Edit @@ -465,7 +465,7 @@

Procs

Creates a new user-defined event.   Source   Edit @@ -477,7 +477,7 @@

Procs

Creates a new selector   Source   Edit @@ -491,7 +491,7 @@

Procs

The data is application-defined data, which will be passed when ev happens.

  Source   Edit @@ -504,7 +504,7 @@

Procs

Registers file/socket descriptor fd to selector s with events set in events. The data is application-defined data, which will be passed when an event is triggered.   Source   Edit @@ -519,7 +519,7 @@

Procs

Returns the file descriptor for the registered signal.

  Source   Edit @@ -535,7 +535,7 @@

Procs

Note: This function is not supported on Windows.

  Source   Edit @@ -553,7 +553,7 @@

Procs

Returns the file descriptor for the registered timer.

  Source   Edit @@ -567,7 +567,7 @@

Procs

Note: This function is supported only by BSD and MacOSX.

  Source   Edit @@ -582,7 +582,7 @@

Procs

Returns a list of triggered events.

  Source   Edit @@ -598,7 +598,7 @@

Procs

Returns number of triggered events.

  Source   Edit @@ -612,7 +612,7 @@

Procs

Returns true, if data was successfully updated, false otherwise.

  Source   Edit @@ -624,7 +624,7 @@

Procs

Trigger event ev.   Source   Edit @@ -636,7 +636,7 @@

Procs

Unregisters user-defined event ev from selector s.   Source   Edit @@ -648,7 +648,7 @@

Procs

Unregisters file/socket descriptor fd from selector s.   Source   Edit @@ -660,7 +660,7 @@

Procs

Update file/socket descriptor fd, registered in selector s with new events set event.   Source   Edit @@ -677,7 +677,7 @@

Templates

Returns true, if there are no registered events or descriptors in selector.   Source   Edit @@ -695,7 +695,7 @@

Templates

# block is executed if `fd` not registered in selector `s`. raise   Source   Edit @@ -710,7 +710,7 @@

Templates

# block is executed only if `fd` registered in selector `s` value.uid = 1000   Source   Edit diff --git a/sequtils.html b/sequtils.html index 34ab1860b6d..399fa23ef67 100644 --- a/sequtils.html +++ b/sequtils.html @@ -299,7 +299,7 @@

pure/collections/sequtils

  Source   Edit @@ -388,7 +388,7 @@

Procs

assert all(numbers, proc (x: int): bool = x < 10) == true assert all(numbers, proc (x: int): bool = x < 9) == false   Source   Edit @@ -410,7 +410,7 @@

Procs

assert any(numbers, proc (x: int): bool = x > 8) == true assert any(numbers, proc (x: int): bool = x > 9) == false   Source   Edit @@ -427,7 +427,7 @@

Procs

apply([0, 1, 2, 3, 4], proc(item: int) = message.addInt item) assert message == "01234"   Source   Edit @@ -450,7 +450,7 @@

Procs

apply(a, proc(x: string): string = x & "42") assert a == @["142", "242", "342", "442"]   Source   Edit @@ -473,7 +473,7 @@

Procs

apply(a, proc(x: var string) = x &= "42") assert a == @["142", "242", "342", "442"]   Source   Edit @@ -496,7 +496,7 @@

Procs

total = concat(s1, s2, s3) assert total == @[1, 2, 3, 4, 5, 6, 7]   Source   Edit @@ -515,7 +515,7 @@

Procs

assert count(a, 99) == 0 assert count(b, 'r') == 2   Source   Edit @@ -532,7 +532,7 @@

Procs

total = s.cycle(3) assert total == @[1, 2, 3, 1, 2, 3, 1, 2, 3]   Source   Edit @@ -554,7 +554,7 @@

Procs

assert unique1 == @[1, 3, 4, 2, 8] assert unique2 == @["a", "c", "d"]   Source   Edit @@ -578,7 +578,7 @@

Procs

a.delete(1..<1) # empty slice assert a == @[10, 13]   Source   Edit @@ -600,7 +600,7 @@

Procs

assert numbers.distribute(6)[0] == @[1, 2] assert numbers.distribute(6)[1] == @[3]   Source   Edit @@ -628,7 +628,7 @@

Procs

assert f1 == @["red", "black"] assert f2 == @["yellow"]   Source   Edit @@ -649,7 +649,7 @@

Procs

dest.insert(src, 3) assert dest == outcome   Source   Edit @@ -673,7 +673,7 @@

Procs

keepIf(floats, proc(x: float): bool = x > 10) assert floats == @[13.0, 12.5, 10.1]   Source   Edit @@ -699,7 +699,7 @@

Procs

b = map(a, proc(x: int): string = $x) assert b == @["1", "2", "3", "4"]   Source   Edit @@ -721,7 +721,7 @@

Procs

assert maxIndex(c) == 2 assert maxIndex(d) == 0   Source   Edit @@ -743,7 +743,7 @@

Procs

assert minIndex(c) == 1 assert minIndex(d) == 2   Source   Edit @@ -759,7 +759,7 @@

Procs

total = repeat(5, 3) assert total == @[5, 5, 5]   Source   Edit @@ -778,7 +778,7 @@

Procs

assert zipped.unzip() == (unzipped1, unzipped2) assert zip(unzipped1, unzipped2).unzip() == (unzipped1, unzipped2)   Source   Edit @@ -809,7 +809,7 @@

Procs

assert zip3 == @[(6, 'a'), (5, 'b'), (4, 'c'), (3, 'd')] assert zip3[0].letter == 'a'   Source   Edit @@ -840,7 +840,7 @@

Iterators

evens.add(n) assert evens == @[4, 8, 4]   Source   Edit @@ -853,7 +853,7 @@

Iterators

  Source   Edit @@ -865,7 +865,7 @@

Iterators

Iterates over each element yielded by a closure iterator. This may not seem particularly useful on its own, but this allows closure iterators to be used by the mapIt, filterIt, allIt, anyIt, etc. templates.   Source   Edit @@ -896,7 +896,7 @@

Macros

assert c == ("1", ("2", "3"), "4", ("5", "6")) assert d == ("1", (2, 3), "4", (5, 6))There are no constraints for the constructor AST, it works for nested tuples of arrays of sets etc.   Source   Edit @@ -923,7 +923,7 @@

Templates

assert numbers.allIt(it < 10) == true assert numbers.allIt(it < 9) == false   Source   Edit @@ -945,7 +945,7 @@

Templates

assert numbers.anyIt(it > 8) == true assert numbers.anyIt(it > 9) == false   Source   Edit @@ -968,7 +968,7 @@

Templates

nums.applyIt(it * 3) assert nums[0] + nums[3] == 15   Source   Edit @@ -988,7 +988,7 @@

Templates

assert numbers.countIt(it < 0) == 3 assert countIt(iota(10), it < 2) == 2   Source   Edit @@ -1015,7 +1015,7 @@

Templates

assert acceptable == @[-2.0, 24.5, 44.31] assert notAcceptable == @[-272.15, 99.9, -113.44]   Source   Edit @@ -1038,7 +1038,7 @@

Templates

digits = foldl(numbers, a & (chr(b + ord('0'))), "") assert digits == "0815"   Source   Edit @@ -1076,7 +1076,7 @@

Templates

assert concatenation == "nimiscool" assert foldl(procs, foo(a, b)) == "procIsAlsoFine"   Source   Edit @@ -1107,7 +1107,7 @@

Templates

assert multiplication == 495, "Multiplication is (5*(9*(11)))" assert concatenation == "nimiscool"   Source   Edit @@ -1129,7 +1129,7 @@

Templates

candidates.keepItIf(it.len == 3 and it[0] == 'b') assert candidates == @["bar", "baz"]   Source   Edit @@ -1155,7 +1155,7 @@

Templates

strings = nums.mapIt($(4 * it)) assert strings == @["4", "8", "12", "16"]   Source   Edit @@ -1180,7 +1180,7 @@

Templates

var seqRand = newSeqWith(20, rand(1.0)) assert seqRand[0] != seqRand[1]   Source   Edit @@ -1204,7 +1204,7 @@

Templates

assert mySeq1 == @[1, 2, 3, 4, 5] assert mySeq2 == @[1'i8, 3, 5]   Source   Edit diff --git a/sets.html b/sets.html index 438f1b5ac65..c7fc9622b62 100644 --- a/sets.html +++ b/sets.html @@ -354,7 +354,7 @@

pure/collections/sets

  Source   Edit @@ -404,7 +404,7 @@

Types

Use init proc or initHashSet proc before calling other procs on it.

  Source   Edit @@ -422,7 +422,7 @@

Types

Use init proc or initOrderedSet proc before calling other procs on it.

  Source   Edit @@ -434,7 +434,7 @@

Types

Type union representing HashSet or OrderedSet.   Source   Edit @@ -451,7 +451,7 @@

Consts

  Source   Edit @@ -474,7 +474,7 @@

Procs

echo toHashSet(["no", "esc'aping", "is \" provided"]) # --> {no, esc'aping, is " provided}   Source   Edit @@ -492,7 +492,7 @@

Procs

echo toOrderedSet(["no", "esc'aping", "is \" provided"]) # --> {no, esc'aping, is " provided}   Source   Edit @@ -504,7 +504,7 @@

Procs

Alias for intersection(s1, s2).   Source   Edit @@ -516,7 +516,7 @@

Procs

Alias for union(s1, s2).   Source   Edit @@ -528,7 +528,7 @@

Procs

Alias for symmetricDifference(s1, s2).   Source   Edit @@ -540,7 +540,7 @@

Procs

Alias for difference(s1, s2).   Source   Edit @@ -561,7 +561,7 @@

Procs

assert c <= a and c <= b assert a <= a   Source   Edit @@ -582,7 +582,7 @@

Procs

assert c < a and c < b assert(not (a < a))   Source   Edit @@ -599,7 +599,7 @@

Procs

b = toHashSet([2, 1]) assert a == b   Source   Edit @@ -616,7 +616,7 @@

Procs

b = toOrderedSet([2, 1]) assert(not (a == b))   Source   Edit @@ -630,7 +630,7 @@

Procs

This is useful when one overloaded hash and == but still needs reference semantics for sharing.

  Source   Edit @@ -644,7 +644,7 @@

Procs

Card stands for the cardinality of a set.

  Source   Edit @@ -658,7 +658,7 @@

Procs

Card stands for the cardinality of a set.

  Source   Edit @@ -679,7 +679,7 @@

Procs

clear(s) assert len(s) == 0   Source   Edit @@ -697,7 +697,7 @@

Procs

clear(s) assert len(s) == 0   Source   Edit @@ -723,7 +723,7 @@

Procs

assert values.contains(2) assert 2 in values   Source   Edit @@ -749,7 +749,7 @@

Procs

assert values.contains(2) assert 2 in values   Source   Edit @@ -773,7 +773,7 @@

Procs

assert values.containsOrIncl(2) == true assert values.containsOrIncl(3) == false   Source   Edit @@ -796,7 +796,7 @@

Procs

assert values.containsOrIncl(2) == true assert values.containsOrIncl(3) == false   Source   Edit @@ -822,7 +822,7 @@

Procs

c = difference(a, b) assert c == toHashSet(["a"])   Source   Edit @@ -840,7 +840,7 @@

Procs

assert disjoint(a, b) == false assert disjoint(a, b - a) == true   Source   Edit @@ -864,7 +864,7 @@

Procs

s.excl(2) assert s.len == 3   Source   Edit @@ -890,7 +890,7 @@

Procs

assert len(numbers) == 3 ## numbers == {1, 3, 5}   Source   Edit @@ -913,7 +913,7 @@

Procs

s.excl(2) assert s.len == 3   Source   Edit @@ -925,7 +925,7 @@

Procs

Hashing of HashSet.   Source   Edit @@ -937,7 +937,7 @@

Procs

Hashing of OrderedSet.   Source   Edit @@ -961,7 +961,7 @@

Procs

values.incl(2) assert values.len == 1   Source   Edit @@ -986,7 +986,7 @@

Procs

values.incl(others) assert values.len == 5   Source   Edit @@ -1009,7 +1009,7 @@

Procs

values.incl(others) assert values.len == 5   Source   Edit @@ -1033,7 +1033,7 @@

Procs

values.incl(2) assert values.len == 1   Source   Edit @@ -1055,7 +1055,7 @@

Procs

var a: HashSet[int]
 init(a)
  Source   Edit @@ -1077,7 +1077,7 @@

Procs

var a: OrderedSet[int]
 init(a)
  Source   Edit @@ -1099,7 +1099,7 @@

Procs

a.incl(3) assert len(a) == 1   Source   Edit @@ -1121,7 +1121,7 @@

Procs

a.incl(3) assert len(a) == 1   Source   Edit @@ -1137,7 +1137,7 @@

Procs

  Source   Edit @@ -1163,7 +1163,7 @@

Procs

c = intersection(a, b) assert c == toHashSet(["b"])   Source   Edit @@ -1182,7 +1182,7 @@

Procs

assert options.isValid, "Pass an initialized set!" # Do stuff here, may crash in release builds!   Source   Edit @@ -1201,7 +1201,7 @@

Procs

let s = toHashSet([3, 5, 7]) assert len(s) == 3   Source   Edit @@ -1220,7 +1220,7 @@

Procs

let s = toHashSet([3, 5, 7]) assert len(s) == 3   Source   Edit @@ -1239,7 +1239,7 @@

Procs

b = a.map(proc (x: int): string = $x) assert b == toHashSet(["1", "2", "3"])   Source   Edit @@ -1263,7 +1263,7 @@

Procs

assert s.missingOrExcl(6) == false assert s.missingOrExcl(6) == true   Source   Edit @@ -1286,7 +1286,7 @@

Procs

assert s.missingOrExcl(6) == false assert s.missingOrExcl(6) == true   Source   Edit @@ -1307,7 +1307,7 @@

Procs

assert [s.pop, s.pop] in [[1, 2], [2,1]] # order unspecified doAssertRaises(KeyError, echo s.pop)   Source   Edit @@ -1327,7 +1327,7 @@

Procs

If more items are expected to be added, simply add that expected extra amount to the parameter before calling this.

  Source   Edit @@ -1353,7 +1353,7 @@

Procs

c = symmetricDifference(a, b) assert c == toHashSet(["a", "c"])   Source   Edit @@ -1378,7 +1378,7 @@

Procs

assert len(b) == 5 ## b == {'a', 'b', 'c', 'd', 'r'}   Source   Edit @@ -1403,7 +1403,7 @@

Procs

assert len(b) == 5 ## b == {'a', 'b', 'r', 'c', 'd'} # different than in HashSet   Source   Edit @@ -1419,7 +1419,7 @@

Procs

  Source   Edit @@ -1445,7 +1445,7 @@

Procs

c = union(a, b) assert c == toHashSet(["a", "b", "c"])   Source   Edit @@ -1475,7 +1475,7 @@

Iterators

echo b # --> {(a: 1, b: 3), (a: 0, b: 4)}   Source   Edit @@ -1499,7 +1499,7 @@

Iterators

# --> Got 8 # --> Got 4   Source   Edit @@ -1517,7 +1517,7 @@

Iterators

p.add(x) assert p == @[(0, 'a'), (1, 'b'), (2, 'r'), (3, 'c'), (4, 'd')]   Source   Edit diff --git a/setutils.html b/setutils.html index 431a8ca7e2b..ffb14256092 100644 --- a/setutils.html +++ b/setutils.html @@ -139,7 +139,7 @@

std/setutils

  Source   Edit @@ -175,7 +175,7 @@

Procs

s[a3] = true assert s == {a2, a3}   Source   Edit @@ -194,7 +194,7 @@

Procs

assert complement({range[0..10](0), 1, 2, 3}) == {range[0..10](4), 5, 6, 7, 8, 9, 10} assert complement({'0'..'9'}) == {0.char..255.char} - {'0'..'9'}   Source   Edit @@ -211,7 +211,7 @@

Procs

assert A.fullSet == {1.A, 2, 3} assert int8.fullSet.len == 256   Source   Edit @@ -235,7 +235,7 @@

Templates

assert toSet([false]) == {false} assert toSet(0u8..10) == {0u8..10}   Source   Edit diff --git a/sexp.html b/sexp.html index fdb9e87b64c..1d72d624448 100644 --- a/sexp.html +++ b/sexp.html @@ -364,7 +364,7 @@

experimental/sexp

  Source   Edit @@ -396,7 +396,7 @@

Types

s-exp node   Source   Edit @@ -409,7 +409,7 @@

Types

possible s-exp node types   Source   Edit @@ -449,7 +449,7 @@

Types

  Source   Edit @@ -461,7 +461,7 @@

Types

is raised for a s-exp error   Source   Edit @@ -478,7 +478,7 @@

Procs

Converts node to its s-expression representation on one line.   Source   Edit @@ -490,7 +490,7 @@

Procs

Check two nodes for equality   Source   Edit @@ -502,7 +502,7 @@

Procs

Gets the node at index in a List. Result is undefined if index is out of bounds   Source   Edit @@ -514,7 +514,7 @@

Procs

Adds child to a SList node father.   Source   Edit @@ -527,7 +527,7 @@

Procs

Add :name value keyword pair to the node   Source   Edit @@ -539,7 +539,7 @@

Procs

Performs a deep copy of a.   Source   Edit @@ -551,7 +551,7 @@

Procs

returns a helpful error message for the event sexpError   Source   Edit @@ -564,7 +564,7 @@

Procs

returns an error message "e expected" in the same format as the other error messages   Source   Edit @@ -576,7 +576,7 @@

Procs

Converts a string s to its JSON representation.   Source   Edit @@ -591,7 +591,7 @@

Procs

Returns default if n is not a SList.

  Source   Edit @@ -606,7 +606,7 @@

Procs

Returns default if n is not a SList.

  Source   Edit @@ -619,7 +619,7 @@

Procs

Iterate over direct subnodes of node, searching for the SKeyword with name set to name. If found return it's .value, otherwise return default   Source   Edit @@ -633,7 +633,7 @@

Procs

Returns default if n is not a SFloat.

  Source   Edit @@ -647,7 +647,7 @@

Procs

Return default is n is not a SKeyword

  Source   Edit @@ -662,7 +662,7 @@

Procs

Returns default if n is not a SInt.

  Source   Edit @@ -676,7 +676,7 @@

Procs

Returns default if n is not a SString.

  Source   Edit @@ -690,7 +690,7 @@

Procs

Returns default if n is not a SList.

  Source   Edit @@ -702,7 +702,7 @@

Procs

Compute the hash for a SEXP node   Source   Edit @@ -714,7 +714,7 @@

Procs

If n is a SList, it returns the number of elements. If n is a JObject, it returns the number of pairs. Else it returns 0.   Source   Edit @@ -726,7 +726,7 @@

Procs

Creates a new SCons SexpNode NB: this will not evaluate the arguments, eg: 'nil . nil' -> 'nil'   Source   Edit @@ -738,7 +738,7 @@

Procs

Creates a new SFloat SexpNode.   Source   Edit @@ -750,7 +750,7 @@

Procs

Creates a new SInt SexpNode.   Source   Edit @@ -762,7 +762,7 @@

Procs

Create new SKeyword node with key and value specified   Source   Edit @@ -774,7 +774,7 @@

Procs

Creates a new SList SexpNode   Source   Edit @@ -786,7 +786,7 @@

Procs

Creates a new SNil SexpNode.   Source   Edit @@ -798,7 +798,7 @@

Procs

Creates a new SString SexpNode.   Source   Edit @@ -810,7 +810,7 @@

Procs

  Source   Edit @@ -824,7 +824,7 @@

Procs

Parses an s-expression from buffer.   Source   Edit @@ -837,7 +837,7 @@

Procs

Parses from a buffer s into a SexpNode.   Source   Edit @@ -849,7 +849,7 @@

Procs

Converts node to its S-Expression representation, with indentation and on multiple lines.   Source   Edit @@ -862,7 +862,7 @@

Procs

raises an SexpParsingError exception.   Source   Edit @@ -876,7 +876,7 @@

Procs

Future Direction: the t/nil behaviour may change unless required by EPC

  Source   Edit @@ -888,7 +888,7 @@

Procs

Generic constructor for SEXP data. Creates a new SList SexpNode   Source   Edit @@ -900,7 +900,7 @@

Procs

Generic constructor for SEXP data. Creates a new SKeyword SexpNode.   Source   Edit @@ -912,7 +912,7 @@

Procs

Generic constructor for SEXP data. Creates a new SInt SexpNode.   Source   Edit @@ -924,7 +924,7 @@

Procs

Generic constructor for SEXP data. Creates a new SFloat SexpNode.   Source   Edit @@ -936,7 +936,7 @@

Procs

  Source   Edit @@ -948,7 +948,7 @@

Procs

Generic constructor for SEXP data. Creates a new SString SexpNode.   Source   Edit @@ -960,7 +960,7 @@

Procs

Generate uncolored tree repr string for the S-Expression AST.   Source   Edit @@ -977,7 +977,7 @@

Iterators

Iterator for the items of node. node has to be a SList.   Source   Edit @@ -989,7 +989,7 @@

Iterators

Iterator for the items of node. node has to be a SList. Items can be modified.   Source   Edit @@ -1001,7 +1001,7 @@

Iterators

Iterator for the pairs of node. node has to be a SList. Items can be modified.   Source   Edit @@ -1013,7 +1013,7 @@

Iterators

Iterator for the pairs of node. node has to be a SList.   Source   Edit @@ -1030,7 +1030,7 @@

Macros

Convert an expression to a SexpNode directly, without having to specify % for every element.   Source   Edit diff --git a/sexp_diff.html b/sexp_diff.html index 0235afa7047..7bda9f783ca 100644 --- a/sexp_diff.html +++ b/sexp_diff.html @@ -185,7 +185,7 @@

experimental/sexp_diff

  Source   Edit @@ -207,7 +207,7 @@

Types

  Source   Edit @@ -230,7 +230,7 @@

Types

Single S-expression mismatch   Source   Edit @@ -248,7 +248,7 @@

Types

Possible kinds of the mismatches   Source   Edit @@ -260,7 +260,7 @@

Types

  Source   Edit @@ -278,7 +278,7 @@

Procs

Generate colortext description of the S-expression mismatch diff   Source   Edit @@ -299,7 +299,7 @@

Procs

  Source   Edit @@ -311,7 +311,7 @@

Procs

Create missing key mismatch   Source   Edit @@ -323,7 +323,7 @@

Procs

Create single S-expression index part   Source   Edit @@ -335,7 +335,7 @@

Procs

Create single S-expression key path part   Source   Edit @@ -356,7 +356,7 @@

Procs

For generating mapping of two sequences make weight function a closure and let it retrieve values as needed.

  Source   Edit @@ -371,7 +371,7 @@

Procs

  Source   Edit diff --git a/sexp_parse.html b/sexp_parse.html index d1cac1db337..01faf78b7c9 100644 --- a/sexp_parse.html +++ b/sexp_parse.html @@ -223,7 +223,7 @@

experimental/sexp_parse

  Source   Edit @@ -250,7 +250,7 @@

Types

enumeration that lists all errors that can occur   Source   Edit @@ -273,7 +273,7 @@

Types

enumeration of all events that may occur when parsing   Source   Edit @@ -290,7 +290,7 @@

Types

the parser object.   Source   Edit @@ -304,7 +304,7 @@

Types

  Source   Edit @@ -321,7 +321,7 @@

Procs

  Source   Edit @@ -335,7 +335,7 @@

Procs

closes the parser parser and its associated input stream.   Source   Edit @@ -347,7 +347,7 @@

Procs

the last string that was parsed   Source   Edit @@ -359,7 +359,7 @@

Procs

the last token that was parsed   Source   Edit @@ -371,7 +371,7 @@

Procs

most recent error kind   Source   Edit @@ -383,7 +383,7 @@

Procs

get the current column the parser has arrived at.   Source   Edit @@ -396,7 +396,7 @@

Procs

returns the number for the event: sexpFloat   Source   Edit @@ -409,7 +409,7 @@

Procs

returns the number for the event: sexpInt   Source   Edit @@ -421,7 +421,7 @@

Procs

get the current line the parser has arrived at.   Source   Edit @@ -434,7 +434,7 @@

Procs

  Source   Edit @@ -446,7 +446,7 @@

Procs

  Source   Edit @@ -458,7 +458,7 @@

Procs

returns the current event type for the SEXP parser   Source   Edit @@ -471,7 +471,7 @@

Procs

initializes the parser with an input stream.   Source   Edit @@ -483,7 +483,7 @@

Procs

Skip all space tokens from the current point onwards   Source   Edit @@ -495,7 +495,7 @@

Procs

returns the character data for the events: sexpInt, sexpFloat, sexpString   Source   Edit diff --git a/sha1.html b/sha1.html index 0fb2dbcb2ee..1d21aa89064 100644 --- a/sha1.html +++ b/sha1.html @@ -173,7 +173,7 @@

std/sha1

  Source   Edit @@ -210,7 +210,7 @@

Types

  Source   Edit @@ -222,7 +222,7 @@

Types

  Source   Edit @@ -238,7 +238,7 @@

Types

  Source   Edit @@ -262,7 +262,7 @@

Procs

let hash = secureHash("Hello World")
 assert $hash == "0A4D55A8D778E5022FAB701977C5D840BBC486D0"
  Source   Edit @@ -281,7 +281,7 @@

Procs

assert a != b assert a == c   Source   Edit @@ -295,7 +295,7 @@

Procs

If you use the secureHash proc, there's no need to call this function explicitly.

  Source   Edit @@ -307,7 +307,7 @@

Procs

Checks if a string is a valid sha1 hash sum.   Source   Edit @@ -321,7 +321,7 @@

Procs

If you use the secureHash proc, there's no need to call this function explicitly.

  Source   Edit @@ -343,7 +343,7 @@

Procs

secureHash = secureHash("Hello World") assert secureHash == parseSecureHash(hashStr)   Source   Edit @@ -363,7 +363,7 @@

Procs

let hash = secureHash("Hello World")
 assert hash == parseSecureHash("0A4D55A8D778E5022FAB701977C5D840BBC486D0")
  Source   Edit @@ -381,7 +381,7 @@

Procs

  Source   Edit @@ -395,7 +395,7 @@

Procs

If you use the secureHash proc, there's no need to call this function explicitly.

  Source   Edit diff --git a/sharedlist.html b/sharedlist.html index f2e971007c9..e3a871935f1 100644 --- a/sharedlist.html +++ b/sharedlist.html @@ -158,7 +158,7 @@

pure/collections/sharedlist

  Source   Edit @@ -188,7 +188,7 @@

Types

generic shared list   Source   Edit @@ -205,7 +205,7 @@

Procs

  Source   Edit @@ -217,7 +217,7 @@

Procs

  Source   Edit @@ -229,7 +229,7 @@

Procs

  Source   Edit @@ -241,7 +241,7 @@

Procs

  Source   Edit @@ -255,7 +255,7 @@

Procs

It may not preserve the element order after some modifications.   Source   Edit @@ -272,7 +272,7 @@

Iterators

  Source   Edit diff --git a/shellrunner.html b/shellrunner.html index 21f2a2c3efb..0936fb10542 100644 --- a/shellrunner.html +++ b/shellrunner.html @@ -218,7 +218,7 @@

experimental/shellrunner

  Source   Edit @@ -243,7 +243,7 @@

Types

  Source   Edit @@ -257,7 +257,7 @@

Types

  Source   Edit @@ -272,7 +272,7 @@

Types

  Source   Edit @@ -290,7 +290,7 @@

Types

  Source   Edit @@ -302,7 +302,7 @@

Types

  Source   Edit @@ -319,7 +319,7 @@

Procs

Add argument to shell command   Source   Edit @@ -331,7 +331,7 @@

Procs

Add arguments to shell command   Source   Edit @@ -344,7 +344,7 @@

Procs

  Source   Edit @@ -356,7 +356,7 @@

Procs

Add argument for command   Source   Edit @@ -368,7 +368,7 @@

Procs

Add argument for command   Source   Edit @@ -380,7 +380,7 @@

Procs

Get command arguments as list of strings   Source   Edit @@ -396,7 +396,7 @@

Procs

Execute shell command.   Source   Edit @@ -413,7 +413,7 @@

Procs

Execute multiple shell commands in paralell, return full list of results in the same order as the original commands.   Source   Edit @@ -426,7 +426,7 @@

Procs

  Source   Edit @@ -439,7 +439,7 @@

Procs

  Source   Edit @@ -452,7 +452,7 @@

Procs

Replace all templated arguments with appropriate substitutions.   Source   Edit @@ -464,7 +464,7 @@

Procs

Create non-templated shell command argument   Source   Edit @@ -477,7 +477,7 @@

Procs

Create shell command with given bin and it's arguments   Source   Edit @@ -490,7 +490,7 @@

Procs

Create shell command with given bin and it's arguments   Source   Edit @@ -502,7 +502,7 @@

Procs

Create templated shell command argument   Source   Edit @@ -514,7 +514,7 @@

Procs

Add templated shell command arguments to a command   Source   Edit @@ -529,7 +529,7 @@

Procs

  Source   Edit @@ -541,7 +541,7 @@

Procs

Get command as a linst of stirngs   Source   Edit @@ -553,7 +553,7 @@

Procs

Convert non-templated shell argument to string   Source   Edit diff --git a/since.html b/since.html index 3cf389ca158..5aa0e6dff46 100644 --- a/since.html +++ b/since.html @@ -113,7 +113,7 @@

std/private/since

  Source   Edit @@ -131,7 +131,7 @@

Templates

Evaluates body if the (NimMajor, NimMinor) is greater than or equal to version. Usage:
proc fun*() {.since: (1, 3).}
 since (1, 3): fun()
  Source   Edit @@ -144,7 +144,7 @@

Templates

Evaluates body if (NimMajor, NimMinor, NimPatch) is greater than or equal to version. Usage:
proc fun*() {.since: (1, 3, 1).}
 since (1, 3, 1): fun()
  Source   Edit diff --git a/smtp.html b/smtp.html index 377ea792b87..7cb374a66a2 100644 --- a/smtp.html +++ b/smtp.html @@ -199,7 +199,7 @@

pure/smtp

  Source   Edit @@ -245,7 +245,7 @@

Types

  Source   Edit @@ -257,7 +257,7 @@

Types

  Source   Edit @@ -269,7 +269,7 @@

Types

  Source   Edit @@ -286,7 +286,7 @@

Procs

stringify for Message.   Source   Edit @@ -300,7 +300,7 @@

Procs

Sends an AUTH command to the server to login as the username using password. May fail with ReplyError.   Source   Edit @@ -316,7 +316,7 @@

Procs

This is a lower level proc and not something that you typically would need to call when using this module. One exception to this is if you are implementing any SMTP extensions.

  Source   Edit @@ -329,7 +329,7 @@

Procs

Disconnects from the SMTP server and closes the socket.   Source   Edit @@ -343,7 +343,7 @@

Procs

Establishes a connection with a SMTP server. May fail with ReplyError or with a socket error.   Source   Edit @@ -358,7 +358,7 @@

Procs

You need to make sure that mSubject, mTo and mCc don't contain any newline characters. Failing to do so will raise AssertionDefect.

  Source   Edit @@ -374,7 +374,7 @@

Procs

You need to make sure that mSubject, mTo and mCc don't contain any newline characters. Failing to do so will raise AssertionDefect.

  Source   Edit @@ -390,7 +390,7 @@

Procs

This is a lower level proc and not something that you typically would need to call when using this module. One exception to this is if you are implementing any SMTP extensions.

  Source   Edit @@ -406,7 +406,7 @@

Procs

This is a lower level proc and not something that you typically would need to call when using this module. One exception to this is if you are implementing any SMTP extensions.

  Source   Edit @@ -419,7 +419,7 @@

Procs

  Source   Edit @@ -433,7 +433,7 @@

Procs

Creates a new Smtp instance.   Source   Edit @@ -449,7 +449,7 @@

Procs

You need to make sure that fromAddr and toAddrs don't contain any newline characters. Failing to do so will raise AssertionDefect.

  Source   Edit @@ -464,7 +464,7 @@

Procs

Put the SMTP connection in TLS (Transport Layer Security) mode. May fail with ReplyError   Source   Edit diff --git a/socketstreams.html b/socketstreams.html index 3c82dae7317..860bc68705f 100644 --- a/socketstreams.html +++ b/socketstreams.html @@ -148,7 +148,7 @@

std/socketstreams

  Source   Edit @@ -199,7 +199,7 @@

Types

  Source   Edit @@ -215,7 +215,7 @@

Types

  Source   Edit @@ -227,7 +227,7 @@

Types

  Source   Edit @@ -241,7 +241,7 @@

Types

  Source   Edit @@ -259,7 +259,7 @@

Procs

  Source   Edit @@ -272,7 +272,7 @@

Procs

  Source   Edit @@ -284,7 +284,7 @@

Procs

  Source   Edit @@ -296,7 +296,7 @@

Procs

  Source   Edit diff --git a/sqlite3.html b/sqlite3.html index b0ec3bdd699..67840d07c9f 100644 --- a/sqlite3.html +++ b/sqlite3.html @@ -866,7 +866,7 @@

wrappers/sqlite3

  Source   Edit @@ -884,7 +884,7 @@

Types

  Source   Edit @@ -897,7 +897,7 @@

Types

  Source   Edit @@ -910,7 +910,7 @@

Types

  Source   Edit @@ -922,7 +922,7 @@

Types

  Source   Edit @@ -935,7 +935,7 @@

Types

  Source   Edit @@ -948,7 +948,7 @@

Types

  Source   Edit @@ -960,7 +960,7 @@

Types

  Source   Edit @@ -972,7 +972,7 @@

Types

  Source   Edit @@ -984,7 +984,7 @@

Types

  Source   Edit @@ -996,7 +996,7 @@

Types

  Source   Edit @@ -1008,7 +1008,7 @@

Types

  Source   Edit @@ -1020,7 +1020,7 @@

Types

  Source   Edit @@ -1032,7 +1032,7 @@

Types

  Source   Edit @@ -1044,7 +1044,7 @@

Types

  Source   Edit @@ -1056,7 +1056,7 @@

Types

  Source   Edit @@ -1069,7 +1069,7 @@

Types

  Source   Edit @@ -1086,7 +1086,7 @@

Consts

  Source   Edit @@ -1098,7 +1098,7 @@

Consts

  Source   Edit @@ -1110,7 +1110,7 @@

Consts

  Source   Edit @@ -1122,7 +1122,7 @@

Consts

  Source   Edit @@ -1134,7 +1134,7 @@

Consts

  Source   Edit @@ -1146,7 +1146,7 @@

Consts

  Source   Edit @@ -1158,7 +1158,7 @@

Consts

  Source   Edit @@ -1170,7 +1170,7 @@

Consts

  Source   Edit @@ -1182,7 +1182,7 @@

Consts

  Source   Edit @@ -1194,7 +1194,7 @@

Consts

  Source   Edit @@ -1206,7 +1206,7 @@

Consts

  Source   Edit @@ -1218,7 +1218,7 @@

Consts

  Source   Edit @@ -1230,7 +1230,7 @@

Consts

  Source   Edit @@ -1242,7 +1242,7 @@

Consts

  Source   Edit @@ -1254,7 +1254,7 @@

Consts

  Source   Edit @@ -1266,7 +1266,7 @@

Consts

  Source   Edit @@ -1278,7 +1278,7 @@

Consts

  Source   Edit @@ -1290,7 +1290,7 @@

Consts

  Source   Edit @@ -1302,7 +1302,7 @@

Consts

  Source   Edit @@ -1314,7 +1314,7 @@

Consts

  Source   Edit @@ -1326,7 +1326,7 @@

Consts

  Source   Edit @@ -1338,7 +1338,7 @@

Consts

  Source   Edit @@ -1350,7 +1350,7 @@

Consts

  Source   Edit @@ -1362,7 +1362,7 @@

Consts

  Source   Edit @@ -1374,7 +1374,7 @@

Consts

  Source   Edit @@ -1386,7 +1386,7 @@

Consts

  Source   Edit @@ -1398,7 +1398,7 @@

Consts

  Source   Edit @@ -1410,7 +1410,7 @@

Consts

  Source   Edit @@ -1422,7 +1422,7 @@

Consts

  Source   Edit @@ -1434,7 +1434,7 @@

Consts

  Source   Edit @@ -1446,7 +1446,7 @@

Consts

  Source   Edit @@ -1458,7 +1458,7 @@

Consts

  Source   Edit @@ -1470,7 +1470,7 @@

Consts

  Source   Edit @@ -1482,7 +1482,7 @@

Consts

  Source   Edit @@ -1494,7 +1494,7 @@

Consts

  Source   Edit @@ -1506,7 +1506,7 @@

Consts

  Source   Edit @@ -1518,7 +1518,7 @@

Consts

  Source   Edit @@ -1530,7 +1530,7 @@

Consts

  Source   Edit @@ -1542,7 +1542,7 @@

Consts

  Source   Edit @@ -1554,7 +1554,7 @@

Consts

  Source   Edit @@ -1566,7 +1566,7 @@

Consts

  Source   Edit @@ -1578,7 +1578,7 @@

Consts

  Source   Edit @@ -1590,7 +1590,7 @@

Consts

  Source   Edit @@ -1602,7 +1602,7 @@

Consts

  Source   Edit @@ -1614,7 +1614,7 @@

Consts

  Source   Edit @@ -1626,7 +1626,7 @@

Consts

  Source   Edit @@ -1638,7 +1638,7 @@

Consts

  Source   Edit @@ -1650,7 +1650,7 @@

Consts

  Source   Edit @@ -1662,7 +1662,7 @@

Consts

  Source   Edit @@ -1674,7 +1674,7 @@

Consts

  Source   Edit @@ -1686,7 +1686,7 @@

Consts

  Source   Edit @@ -1698,7 +1698,7 @@

Consts

  Source   Edit @@ -1710,7 +1710,7 @@

Consts

  Source   Edit @@ -1722,7 +1722,7 @@

Consts

  Source   Edit @@ -1734,7 +1734,7 @@

Consts

  Source   Edit @@ -1746,7 +1746,7 @@

Consts

  Source   Edit @@ -1758,7 +1758,7 @@

Consts

  Source   Edit @@ -1770,7 +1770,7 @@

Consts

  Source   Edit @@ -1782,7 +1782,7 @@

Consts

  Source   Edit @@ -1794,7 +1794,7 @@

Consts

  Source   Edit @@ -1806,7 +1806,7 @@

Consts

  Source   Edit @@ -1818,7 +1818,7 @@

Consts

  Source   Edit @@ -1830,7 +1830,7 @@

Consts

  Source   Edit @@ -1842,7 +1842,7 @@

Consts

  Source   Edit @@ -1854,7 +1854,7 @@

Consts

  Source   Edit @@ -1866,7 +1866,7 @@

Consts

  Source   Edit @@ -1878,7 +1878,7 @@

Consts

  Source   Edit @@ -1890,7 +1890,7 @@

Consts

  Source   Edit @@ -1902,7 +1902,7 @@

Consts

  Source   Edit @@ -1914,7 +1914,7 @@

Consts

  Source   Edit @@ -1926,7 +1926,7 @@

Consts

  Source   Edit @@ -1938,7 +1938,7 @@

Consts

  Source   Edit @@ -1956,7 +1956,7 @@

Procs

  Source   Edit @@ -1969,7 +1969,7 @@

Procs

  Source   Edit @@ -1982,7 +1982,7 @@

Procs

  Source   Edit @@ -1996,7 +1996,7 @@

Procs

  Source   Edit @@ -2009,7 +2009,7 @@

Procs

  Source   Edit @@ -2022,7 +2022,7 @@

Procs

  Source   Edit @@ -2035,7 +2035,7 @@

Procs

  Source   Edit @@ -2049,7 +2049,7 @@

Procs

  Source   Edit @@ -2064,7 +2064,7 @@

Procs

  Source   Edit @@ -2077,7 +2077,7 @@

Procs

  Source   Edit @@ -2090,7 +2090,7 @@

Procs

  Source   Edit @@ -2103,7 +2103,7 @@

Procs

  Source   Edit @@ -2116,7 +2116,7 @@

Procs

  Source   Edit @@ -2129,7 +2129,7 @@

Procs

  Source   Edit @@ -2142,7 +2142,7 @@

Procs

  Source   Edit @@ -2155,7 +2155,7 @@

Procs

  Source   Edit @@ -2169,7 +2169,7 @@

Procs

  Source   Edit @@ -2184,7 +2184,7 @@

Procs

  Source   Edit @@ -2199,7 +2199,7 @@

Procs

  Source   Edit @@ -2213,7 +2213,7 @@

Procs

  Source   Edit @@ -2228,7 +2228,7 @@

Procs

  Source   Edit @@ -2241,7 +2241,7 @@

Procs

  Source   Edit @@ -2255,7 +2255,7 @@

Procs

  Source   Edit @@ -2268,7 +2268,7 @@

Procs

  Source   Edit @@ -2282,7 +2282,7 @@

Procs

  Source   Edit @@ -2296,7 +2296,7 @@

Procs

  Source   Edit @@ -2310,7 +2310,7 @@

Procs

  Source   Edit @@ -2323,7 +2323,7 @@

Procs

  Source   Edit @@ -2336,7 +2336,7 @@

Procs

  Source   Edit @@ -2349,7 +2349,7 @@

Procs

  Source   Edit @@ -2362,7 +2362,7 @@

Procs

  Source   Edit @@ -2375,7 +2375,7 @@

Procs

  Source   Edit @@ -2388,7 +2388,7 @@

Procs

  Source   Edit @@ -2401,7 +2401,7 @@

Procs

  Source   Edit @@ -2414,7 +2414,7 @@

Procs

  Source   Edit @@ -2427,7 +2427,7 @@

Procs

  Source   Edit @@ -2440,7 +2440,7 @@

Procs

  Source   Edit @@ -2453,7 +2453,7 @@

Procs

  Source   Edit @@ -2466,7 +2466,7 @@

Procs

  Source   Edit @@ -2479,7 +2479,7 @@

Procs

  Source   Edit @@ -2492,7 +2492,7 @@

Procs

  Source   Edit @@ -2505,7 +2505,7 @@

Procs

  Source   Edit @@ -2519,7 +2519,7 @@

Procs

  Source   Edit @@ -2533,7 +2533,7 @@

Procs

  Source   Edit @@ -2547,7 +2547,7 @@

Procs

  Source   Edit @@ -2562,7 +2562,7 @@

Procs

  Source   Edit @@ -2577,7 +2577,7 @@

Procs

  Source   Edit @@ -2594,7 +2594,7 @@

Procs

  Source   Edit @@ -2611,7 +2611,7 @@

Procs

  Source   Edit @@ -2625,7 +2625,7 @@

Procs

  Source   Edit @@ -2639,7 +2639,7 @@

Procs

  Source   Edit @@ -2653,7 +2653,7 @@

Procs

  Source   Edit @@ -2666,7 +2666,7 @@

Procs

  Source   Edit @@ -2681,7 +2681,7 @@

Procs

  Source   Edit @@ -2695,7 +2695,7 @@

Procs

  Source   Edit @@ -2708,7 +2708,7 @@

Procs

  Source   Edit @@ -2722,7 +2722,7 @@

Procs

  Source   Edit @@ -2735,7 +2735,7 @@

Procs

  Source   Edit @@ -2749,7 +2749,7 @@

Procs

  Source   Edit @@ -2763,7 +2763,7 @@

Procs

  Source   Edit @@ -2776,7 +2776,7 @@

Procs

  Source   Edit @@ -2789,7 +2789,7 @@

Procs

  Source   Edit @@ -2803,7 +2803,7 @@

Procs

  Source   Edit @@ -2817,7 +2817,7 @@

Procs

  Source   Edit @@ -2830,7 +2830,7 @@

Procs

  Source   Edit @@ -2843,7 +2843,7 @@

Procs

  Source   Edit @@ -2857,7 +2857,7 @@

Procs

  Source   Edit @@ -2871,7 +2871,7 @@

Procs

  Source   Edit @@ -2885,7 +2885,7 @@

Procs

  Source   Edit @@ -2901,7 +2901,7 @@

Procs

  Source   Edit @@ -2914,7 +2914,7 @@

Procs

  Source   Edit @@ -2929,7 +2929,7 @@

Procs

  Source   Edit @@ -2942,7 +2942,7 @@

Procs

  Source   Edit @@ -2955,7 +2955,7 @@

Procs

  Source   Edit @@ -2968,7 +2968,7 @@

Procs

  Source   Edit @@ -2981,7 +2981,7 @@

Procs

  Source   Edit @@ -2994,7 +2994,7 @@

Procs

  Source   Edit @@ -3008,7 +3008,7 @@

Procs

  Source   Edit @@ -3023,7 +3023,7 @@

Procs

  Source   Edit @@ -3037,7 +3037,7 @@

Procs

  Source   Edit @@ -3051,7 +3051,7 @@

Procs

  Source   Edit @@ -3065,7 +3065,7 @@

Procs

  Source   Edit @@ -3078,7 +3078,7 @@

Procs

  Source   Edit @@ -3093,7 +3093,7 @@

Procs

  Source   Edit @@ -3107,7 +3107,7 @@

Procs

  Source   Edit @@ -3120,7 +3120,7 @@

Procs

  Source   Edit @@ -3134,7 +3134,7 @@

Procs

  Source   Edit @@ -3147,7 +3147,7 @@

Procs

  Source   Edit @@ -3160,7 +3160,7 @@

Procs

  Source   Edit @@ -3176,7 +3176,7 @@

Procs

  Source   Edit @@ -3189,7 +3189,7 @@

Procs

  Source   Edit @@ -3202,7 +3202,7 @@

Procs

  Source   Edit @@ -3215,7 +3215,7 @@

Procs

  Source   Edit @@ -3228,7 +3228,7 @@

Procs

  Source   Edit @@ -3241,7 +3241,7 @@

Procs

  Source   Edit @@ -3255,7 +3255,7 @@

Procs

  Source   Edit @@ -3268,7 +3268,7 @@

Procs

  Source   Edit @@ -3281,7 +3281,7 @@

Procs

  Source   Edit @@ -3294,7 +3294,7 @@

Procs

  Source   Edit @@ -3307,7 +3307,7 @@

Procs

  Source   Edit @@ -3320,7 +3320,7 @@

Procs

  Source   Edit @@ -3334,7 +3334,7 @@

Procs

  Source   Edit @@ -3347,7 +3347,7 @@

Procs

  Source   Edit diff --git a/ssl_certs.html b/ssl_certs.html index b12c0c33e19..377f321425a 100644 --- a/ssl_certs.html +++ b/ssl_certs.html @@ -117,7 +117,7 @@

pure/ssl_certs

  Source   Edit @@ -142,7 +142,7 @@

Iterators

if useEnvVars is true, the SSL_CERT_FILE and SSL_CERT_DIR environment variables can be used to override the certificate directories to scan or specify a CA certificate file.

  Source   Edit diff --git a/ssl_config.html b/ssl_config.html index 0af3fb43143..abf37e03523 100644 --- a/ssl_config.html +++ b/ssl_config.html @@ -112,7 +112,7 @@

pure/ssl_config

  Source   Edit @@ -143,7 +143,7 @@

Consts

  Source   Edit @@ -166,7 +166,7 @@

Consts

  Source   Edit @@ -190,7 +190,7 @@

Consts

  Source   Edit diff --git a/stackframes.html b/stackframes.html index d72708f6468..5b05c3f1bc2 100644 --- a/stackframes.html +++ b/stackframes.html @@ -121,7 +121,7 @@

std/stackframes

  Source   Edit @@ -138,7 +138,7 @@

Templates

avoids a function call (unlike getFrame())   Source   Edit @@ -150,7 +150,7 @@

Templates

returns current C function name   Source   Edit @@ -162,7 +162,7 @@

Templates

attach a msg to current PFrame. This can be called multiple times in a given PFrame. Noop unless passing --stacktraceMsgs and --stacktrace   Source   Edit diff --git a/stats.html b/stats.html index 86908f81dce..662d98ccdd2 100644 --- a/stats.html +++ b/stats.html @@ -248,7 +248,7 @@

pure/stats

  Source   Edit @@ -313,7 +313,7 @@

Types

An accumulator for regression calculations.   Source   Edit @@ -329,7 +329,7 @@

Types

An accumulator for statistical data.   Source   Edit @@ -350,7 +350,7 @@

Procs

  Source   Edit @@ -362,7 +362,7 @@

Procs

Adds the RunningRegress b to a.   Source   Edit @@ -374,7 +374,7 @@

Procs

Adds the RunningStat b to a.   Source   Edit @@ -388,7 +388,7 @@

Procs

Useful when performing parallel analysis of data series and needing to re-combine parallel result sets

  Source   Edit @@ -402,7 +402,7 @@

Procs

Useful when performing parallel analysis of data series and needing to re-combine parallel result sets.

  Source   Edit @@ -414,7 +414,7 @@

Procs

Resets r.   Source   Edit @@ -426,7 +426,7 @@

Procs

Resets s.   Source   Edit @@ -438,7 +438,7 @@

Procs

Computes the current correlation of the two data sets pushed into r.   Source   Edit @@ -450,7 +450,7 @@

Procs

Computes the current intercept of r.   Source   Edit @@ -462,7 +462,7 @@

Procs

Computes the current population kurtosis of s.   Source   Edit @@ -474,7 +474,7 @@

Procs

Computes the population kurtosis of x.   Source   Edit @@ -486,7 +486,7 @@

Procs

Computes the current sample kurtosis of s.   Source   Edit @@ -498,7 +498,7 @@

Procs

Computes the sample kurtosis of x.   Source   Edit @@ -510,7 +510,7 @@

Procs

Computes the current mean of s.   Source   Edit @@ -522,7 +522,7 @@

Procs

Computes the mean of x.   Source   Edit @@ -534,7 +534,7 @@

Procs

Pushes two values x and y for processing.   Source   Edit @@ -548,7 +548,7 @@

Procs

x and y are converted to float and the other push operation is called.

  Source   Edit @@ -560,7 +560,7 @@

Procs

Pushes two sets of values x and y for processing.   Source   Edit @@ -572,7 +572,7 @@

Procs

Pushes a value x for processing.   Source   Edit @@ -586,7 +586,7 @@

Procs

x is simply converted to float and the other push operation is called.

  Source   Edit @@ -600,7 +600,7 @@

Procs

Int values of x are simply converted to float and the other push operation is called.

  Source   Edit @@ -612,7 +612,7 @@

Procs

Computes the current population skewness of s.   Source   Edit @@ -624,7 +624,7 @@

Procs

Computes the population skewness of x.   Source   Edit @@ -636,7 +636,7 @@

Procs

Computes the current sample skewness of s.   Source   Edit @@ -648,7 +648,7 @@

Procs

Computes the sample skewness of x.   Source   Edit @@ -660,7 +660,7 @@

Procs

Computes the current slope of r.   Source   Edit @@ -672,7 +672,7 @@

Procs

Computes the current population standard deviation of s.   Source   Edit @@ -684,7 +684,7 @@

Procs

Computes the population standard deviation of x.   Source   Edit @@ -696,7 +696,7 @@

Procs

Computes the current sample standard deviation of s.   Source   Edit @@ -708,7 +708,7 @@

Procs

Computes the sample standard deviation of x.   Source   Edit @@ -720,7 +720,7 @@

Procs

Computes the current population variance of s.   Source   Edit @@ -732,7 +732,7 @@

Procs

Computes the population variance of x.   Source   Edit @@ -744,7 +744,7 @@

Procs

Computes the current sample variance of s.   Source   Edit @@ -756,7 +756,7 @@

Procs

Computes the sample variance of x.   Source   Edit diff --git a/strbasics.html b/strbasics.html index 6f015eefc84..1be125d4c41 100644 --- a/strbasics.html +++ b/strbasics.html @@ -123,7 +123,7 @@

std/strbasics

  Source   Edit @@ -142,7 +142,7 @@

Procs

Concatenates x and y in place. y must not overlap with x to allow future memcpy optimizations.   Source   Edit @@ -171,7 +171,7 @@

Procs

doAssertRaises(AssertionDefect): discard a.dup(setSlice(1 .. 11))   Source   Edit @@ -205,7 +205,7 @@

Procs

c.strip(chars = {'b', 'a', 'l'}) assert c == "X"   Source   Edit diff --git a/streams.html b/streams.html index b89fe94d1aa..4828bfdee38 100644 --- a/streams.html +++ b/streams.html @@ -413,7 +413,7 @@

pure/streams

  Source   Edit @@ -496,7 +496,7 @@

Types

Note: Not available for JS backend.

  Source   Edit @@ -512,7 +512,7 @@

Types

Note: Not available for JS backend.

  Source   Edit @@ -524,7 +524,7 @@

Types

All procedures of this module use this type. Procedures don't directly use StreamObj.   Source   Edit @@ -562,7 +562,7 @@

Types

  Source   Edit @@ -574,7 +574,7 @@

Types

A stream that encapsulates a string.   Source   Edit @@ -590,7 +590,7 @@

Types

A string stream object.   Source   Edit @@ -615,7 +615,7 @@

Procs

doAssert strm.atEnd() == true strm.close()   Source   Edit @@ -636,7 +636,7 @@

Procs

## do something... strm.close()   Source   Edit @@ -671,7 +671,7 @@

Procs

doAssert "After close:" & readFile("somefile.txt") == "After close:helloHELLO" removeFile("somefile.txt")   Source   Edit @@ -689,7 +689,7 @@

Procs

doAssert strm.getPosition() == 15 strm.close()   Source   Edit @@ -724,7 +724,7 @@

Procs

## the third line strm.close()   Source   Edit @@ -761,7 +761,7 @@

Procs

## the third line removeFile("somefile.txt")   Source   Edit @@ -786,7 +786,7 @@

Procs

doAssert strm.readLine() == "the third line" strm.close()   Source   Edit @@ -819,7 +819,7 @@

Procs

except: stderr.write getCurrentExceptionMsg()   Source   Edit @@ -844,7 +844,7 @@

Procs

doAssert buffer == ['0', '1'] strm.close()   Source   Edit @@ -874,7 +874,7 @@

Procs

doAssert strm.peekBool() == false strm.close()   Source   Edit @@ -894,7 +894,7 @@

Procs

doAssert strm.peekChar() == '\x00' strm.close()   Source   Edit @@ -916,7 +916,7 @@

Procs

doAssert strm.atEnd() == false strm.close()   Source   Edit @@ -945,7 +945,7 @@

Procs

doAssert strm.peekFloat32() == 2'f32 strm.close()   Source   Edit @@ -974,7 +974,7 @@

Procs

doAssert strm.peekFloat64() == 2'f64 strm.close()   Source   Edit @@ -1003,7 +1003,7 @@

Procs

doAssert strm.peekInt8() == 2'i8 strm.close()   Source   Edit @@ -1032,7 +1032,7 @@

Procs

doAssert strm.peekInt16() == 2'i16 strm.close()   Source   Edit @@ -1061,7 +1061,7 @@

Procs

doAssert strm.peekInt32() == 2'i32 strm.close()   Source   Edit @@ -1090,7 +1090,7 @@

Procs

doAssert strm.peekInt64() == 2'i64 strm.close()   Source   Edit @@ -1118,7 +1118,7 @@

Procs

doAssert strm.peekLine() == "the second line" strm.close()   Source   Edit @@ -1151,7 +1151,7 @@

Procs

doAssert line == "the second line" strm.close()   Source   Edit @@ -1172,7 +1172,7 @@

Procs

doAssert strm.peekStr(2) == "cd" strm.close()   Source   Edit @@ -1185,7 +1185,7 @@

Procs

Peeks a string of length length from the stream s. Raises IOError if an error occurred.   Source   Edit @@ -1214,7 +1214,7 @@

Procs

doAssert strm.peekUint8() == 2'u8 strm.close()   Source   Edit @@ -1243,7 +1243,7 @@

Procs

doAssert strm.peekUint16() == 2'u16 strm.close()   Source   Edit @@ -1272,7 +1272,7 @@

Procs

doAssert strm.peekUint32() == 2'u32 strm.close()   Source   Edit @@ -1301,7 +1301,7 @@

Procs

doAssert strm.peekUint64() == 2'u64 strm.close()   Source   Edit @@ -1326,7 +1326,7 @@

Procs

doAssert buffer == ['1', '2'] strm.close()   Source   Edit @@ -1344,7 +1344,7 @@

Procs

doAssert strm.atEnd() == true strm.close()   Source   Edit @@ -1372,7 +1372,7 @@

Procs

doAssertRaises(IOError): discard strm.readBool() strm.close()   Source   Edit @@ -1395,7 +1395,7 @@

Procs

doAssert strm.readChar() == '\x00' strm.close()   Source   Edit @@ -1417,7 +1417,7 @@

Procs

doAssert strm.atEnd() == true strm.close()   Source   Edit @@ -1436,7 +1436,7 @@

Procs

doAssert buffer == "abcd5" strm.close()   Source   Edit @@ -1463,7 +1463,7 @@

Procs

doAssertRaises(IOError): discard strm.readFloat32() strm.close()   Source   Edit @@ -1490,7 +1490,7 @@

Procs

doAssertRaises(IOError): discard strm.readFloat64() strm.close()   Source   Edit @@ -1517,7 +1517,7 @@

Procs

doAssertRaises(IOError): discard strm.readInt8() strm.close()   Source   Edit @@ -1544,7 +1544,7 @@

Procs

doAssertRaises(IOError): discard strm.readInt16() strm.close()   Source   Edit @@ -1571,7 +1571,7 @@

Procs

doAssertRaises(IOError): discard strm.readInt32() strm.close()   Source   Edit @@ -1598,7 +1598,7 @@

Procs

doAssertRaises(IOError): discard strm.readInt64() strm.close()   Source   Edit @@ -1625,7 +1625,7 @@

Procs

doAssertRaises(IOError): discard strm.readLine() strm.close()   Source   Edit @@ -1657,7 +1657,7 @@

Procs

doAssert line == "" strm.close()   Source   Edit @@ -1677,7 +1677,7 @@

Procs

doAssert strm.readStr(2) == "" strm.close()   Source   Edit @@ -1690,7 +1690,7 @@

Procs

Reads a string of length length from the stream s. Raises IOError if an error occurred.   Source   Edit @@ -1717,7 +1717,7 @@

Procs

doAssertRaises(IOError): discard strm.readUint8() strm.close()   Source   Edit @@ -1744,7 +1744,7 @@

Procs

doAssertRaises(IOError): discard strm.readUint16() strm.close()   Source   Edit @@ -1772,7 +1772,7 @@

Procs

doAssertRaises(IOError): discard strm.readUint32() strm.close()   Source   Edit @@ -1799,7 +1799,7 @@

Procs

doAssertRaises(IOError): discard strm.readUint64() strm.close()   Source   Edit @@ -1818,7 +1818,7 @@

Procs

doAssert strm.readLine() == "The first line" strm.close()   Source   Edit @@ -1837,7 +1837,7 @@

Procs

doAssert strm.readLine() == "1234" strm.close()   Source   Edit @@ -1856,7 +1856,7 @@

Procs

doAssert strm.readLine() == "THE FIRST LINE" strm.close()   Source   Edit @@ -1876,7 +1876,7 @@

Procs

doAssert strm.readAll() == "abcde" strm.close()   Source   Edit @@ -1903,7 +1903,7 @@

Procs

doAssert buffer2 == ['a', 'b', 'c', 'd', 'e', '\x00'] strm.close()   Source   Edit @@ -1923,7 +1923,7 @@

Procs

doAssert strm.readAll() == "12\n34\n" strm.close()   Source   Edit @@ -1953,7 +1953,7 @@

Iterators

doAssert lines == @["The first line", "the second line", "the third line"] strm.close()   Source   Edit diff --git a/streamwrapper.html b/streamwrapper.html index 89f97212257..2371748856d 100644 --- a/streamwrapper.html +++ b/streamwrapper.html @@ -128,7 +128,7 @@

pure/streamwrapper

  Source   Edit @@ -156,7 +156,7 @@

Types

  Source   Edit @@ -180,7 +180,7 @@

Procs

echo outStream.peekChar p.close()   Source   Edit diff --git a/strformat.html b/strformat.html index 4f0cb3fb82f..fe52e98586e 100644 --- a/strformat.html +++ b/strformat.html @@ -184,7 +184,7 @@

pure/strformat

  Source   Edit @@ -378,7 +378,7 @@

Types

Type that describes "standard format specifiers".   Source   Edit @@ -396,7 +396,7 @@

Procs

Aligns s using the fill char. This is only of interest if you want to write a custom format proc that should support the standard format specifiers.   Source   Edit @@ -408,7 +408,7 @@

Procs

Standard format implementation for SomeFloat. It makes little sense to call this directly, but it is required to exist by the & macro.   Source   Edit @@ -421,7 +421,7 @@

Procs

Standard format implementation for string. It makes little sense to call this directly, but it is required to exist by the & macro.   Source   Edit @@ -433,7 +433,7 @@

Procs

Standard format implementation for SomeInteger. It makes little sense to call this directly, but it is required to exist by the & macro.   Source   Edit @@ -450,7 +450,7 @@

Procs

This is only of interest if you want to write a custom format proc that should support the standard format specifiers. If ignoreUnknownSuffix is true, an unknown suffix after the type field is not an error.

  Source   Edit @@ -472,7 +472,7 @@

Macros

assert &"{x}\n" == "7\n".fmt # `fmt` can be used instead assert &"{x}\n" != fmt"7\n" # see `fmt` docs, this would use a raw string literal   Source   Edit @@ -499,7 +499,7 @@

Macros

assert "<<<x>>>".fmt('<', '>') == "<7>" assert "`x`".fmt('`', '`') == "7"   Source   Edit @@ -516,7 +516,7 @@

Templates

Alias for fmt(pattern, '{', '}').   Source   Edit diff --git a/strimpl.html b/strimpl.html index a4b33a3fae2..986780b0804 100644 --- a/strimpl.html +++ b/strimpl.html @@ -146,7 +146,7 @@

std/private/strimpl

  Source   Edit @@ -163,7 +163,7 @@

Procs

  Source   Edit @@ -175,7 +175,7 @@

Procs

  Source   Edit @@ -193,7 +193,7 @@

Templates

  Source   Edit @@ -206,7 +206,7 @@

Templates

  Source   Edit @@ -218,7 +218,7 @@

Templates

  Source   Edit @@ -230,7 +230,7 @@

Templates

  Source   Edit diff --git a/strmisc.html b/strmisc.html index 6ec3f35fce5..7a0323edeb1 100644 --- a/strmisc.html +++ b/strmisc.html @@ -127,7 +127,7 @@

pure/strmisc

  Source   Edit @@ -155,7 +155,7 @@

Procs

doAssert expandTabs("\tfoo\t", 4) == " foo " doAssert expandTabs("a\tb\n\txy\t", 3) == "a b\n xy "   Source   Edit @@ -178,7 +178,7 @@

Procs

doAssert partition("foobar", ":") == ("foobar", "", "") doAssert partition("foobar", ":", right = true) == ("", "", "foobar")   Source   Edit @@ -199,7 +199,7 @@

Procs

doAssert rpartition("foo:bar:baz", ":") == ("foo:bar", ":", "baz")
 doAssert rpartition("foobar", ":") == ("", "", "foobar")
  Source   Edit diff --git a/strscans.html b/strscans.html index dbe83d6913f..d8df30f6fa2 100644 --- a/strscans.html +++ b/strscans.html @@ -160,7 +160,7 @@

pure/strscans

  Source   Edit @@ -362,7 +362,7 @@

Macros

See top level documentation of this module about how scanf works.   Source   Edit @@ -374,7 +374,7 @@

Macros

See top level documentation of this module about how scanp works.   Source   Edit @@ -394,7 +394,7 @@

Macros

assert day == 1 assert time == "00:00:00"   Source   Edit @@ -411,7 +411,7 @@

Templates

Used in scanp for the matching of atoms (usually chars). EOF is matched as '\0'.   Source   Edit @@ -423,7 +423,7 @@

Templates

  Source   Edit @@ -435,7 +435,7 @@

Templates

  Source   Edit @@ -447,7 +447,7 @@

Templates

  Source   Edit @@ -459,7 +459,7 @@

Templates

  Source   Edit diff --git a/strtabs.html b/strtabs.html index a21112623ad..a9625857ec2 100644 --- a/strtabs.html +++ b/strtabs.html @@ -232,7 +232,7 @@

pure/strtabs

  Source   Edit @@ -290,7 +290,7 @@

Types

Flags for the % operator.   Source   Edit @@ -305,7 +305,7 @@

Types

Describes the tables operation mode.   Source   Edit @@ -321,7 +321,7 @@

Types

  Source   Edit @@ -333,7 +333,7 @@

Types

  Source   Edit @@ -351,7 +351,7 @@

Procs

The $ operator for string tables. Used internally when calling echo on a table.   Source   Edit @@ -367,7 +367,7 @@

Procs

var t = {"name": "John", "city": "Monaco"}.newStringTable
 doAssert "${name} lives in ${city}" % t == "John lives in Monaco"
  Source   Edit @@ -389,7 +389,7 @@

Procs

t["occupation"] = "teacher" doAssert t.hasKey("occupation")   Source   Edit @@ -414,7 +414,7 @@

Procs

doAssertRaises(KeyError): echo t["occupation"]   Source   Edit @@ -426,7 +426,7 @@

Procs

Resets a string table to be empty again without changing the mode.   Source   Edit @@ -449,7 +449,7 @@

Procs

doAssert "name" notin t doAssert "city" notin t   Source   Edit @@ -465,7 +465,7 @@

Procs

doAssert "name" in t doAssert "occupation" notin t   Source   Edit @@ -488,7 +488,7 @@

Procs

doAssert "name" notin t doAssert "city" in t   Source   Edit @@ -514,7 +514,7 @@

Procs

doAssert t.getOrDefault("occupation", "teacher") == "teacher" doAssert t.getOrDefault("name", "Paul") == "John"   Source   Edit @@ -536,7 +536,7 @@

Procs

doAssert t.hasKey("name") doAssert not t.hasKey("occupation")   Source   Edit @@ -548,7 +548,7 @@

Procs

Returns the number of keys in t.   Source   Edit @@ -560,7 +560,7 @@

Procs

  Source   Edit @@ -579,7 +579,7 @@

Procs

var mytab = newStringTable("key1", "val1", "key2", "val2",
                            modeCaseInsensitive)
  Source   Edit @@ -600,7 +600,7 @@

Procs

mytab1 = newStringTable({"key1": "val1", "key2": "val2"}, modeCaseInsensitive) mytab2 = newStringTable([("key3", "val3"), ("key4", "val4")])   Source   Edit @@ -617,7 +617,7 @@

Procs

  Source   Edit @@ -634,7 +634,7 @@

Iterators

Iterates over every key in the table t.   Source   Edit @@ -647,7 +647,7 @@

Iterators

Iterates over every (key, value) pair in the table t.   Source   Edit @@ -659,7 +659,7 @@

Iterators

Iterates over every value in the table t.   Source   Edit diff --git a/strutils.html b/strutils.html index 84b96c6c35b..03d13dec054 100644 --- a/strutils.html +++ b/strutils.html @@ -679,7 +679,7 @@

pure/strutils

  Source   Edit @@ -757,7 +757,7 @@

Types

addf format string fragment - can be used to write your own text interpolation logic.   Source   Edit @@ -776,7 +776,7 @@

Types

Kind of the addf interpolation fragment   Source   Edit @@ -789,7 +789,7 @@

Types

The different names for binary prefixes.   Source   Edit @@ -804,7 +804,7 @@

Types

The different modes of floating point formatting.   Source   Edit @@ -816,7 +816,7 @@

Types

  Source   Edit @@ -837,7 +837,7 @@

Consts

doAssert "01234".find(invalid) == -1 doAssert "01A34".find(invalid) == 2   Source   Edit @@ -849,7 +849,7 @@

Consts

The set of digits.   Source   Edit @@ -861,7 +861,7 @@

Consts

The set of hexadecimal digits.   Source   Edit @@ -873,7 +873,7 @@

Consts

The set of characters an identifier can consist of.   Source   Edit @@ -885,7 +885,7 @@

Consts

The set of characters an identifier can start with.   Source   Edit @@ -897,7 +897,7 @@

Consts

The set of letters.   Source   Edit @@ -909,7 +909,7 @@

Consts

The set of characters a newline terminator can start with (carriage return, line feed).   Source   Edit @@ -921,7 +921,7 @@

Consts

All the characters that count as whitespace (space, tab, vertical tab, carriage return, new line, form feed).   Source   Edit @@ -939,7 +939,7 @@

Procs

This is the same as formatstr % [a] (see % func).   Source   Edit @@ -963,7 +963,7 @@

Procs

  Source   Edit @@ -983,7 +983,7 @@

Procs

doAssert abbrev("fac", ["college", "faculty", "faculties"]) == -2 # Ambiguous doAssert abbrev("college", ["college", "colleges", "industry"]) == 0   Source   Edit @@ -996,7 +996,7 @@

Procs

The same as add(s, formatstr % a), but more efficient.   Source   Edit @@ -1019,7 +1019,7 @@

Procs

add(arr, "]") doAssert arr == "[2, 3, 5, 7, 11]"   Source   Edit @@ -1045,7 +1045,7 @@

Procs

assert align("1232", 6) == " 1232" assert align("1232", 6, '#') == "##1232"   Source   Edit @@ -1071,7 +1071,7 @@

Procs

assert alignLeft("1232", 6) == "1232 " assert alignLeft("1232", 6, '#') == "1232##"   Source   Edit @@ -1086,7 +1086,7 @@

Procs

doAssert allCharsInSet("aeea", {'a', 'e'}) == true
 doAssert allCharsInSet("", {'a', 'e'}) == true
  Source   Edit @@ -1107,7 +1107,7 @@

Procs

doAssert capitalizeAscii("foo") == "Foo"
 doAssert capitalizeAscii("-bar") == "-bar"
  Source   Edit @@ -1133,7 +1133,7 @@

Procs

doAssert a.center(5) == " foo " doAssert a.center(6) == " foo "   Source   Edit @@ -1150,7 +1150,7 @@

Procs

doAssert cmpIgnoreCase("bar", "Foo") < 0 doAssert cmpIgnoreCase("Foo5", "foo4") > 0   Source   Edit @@ -1168,7 +1168,7 @@

Procs

doAssert cmpIgnoreStyle("foo_bar", "FooBar") == 0
 doAssert cmpIgnoreStyle("foo_bar_5", "FooBar4") > 0
  Source   Edit @@ -1184,7 +1184,7 @@

Procs

  Source   Edit @@ -1200,7 +1200,7 @@

Procs

  Source   Edit @@ -1224,7 +1224,7 @@

Procs

doAssert a.continuesWith("ca", 5) == false doAssert a.continuesWith("dab", 6) == true   Source   Edit @@ -1241,7 +1241,7 @@

Procs

  Source   Edit @@ -1258,7 +1258,7 @@

Procs

  Source   Edit @@ -1275,7 +1275,7 @@

Procs

  Source   Edit @@ -1296,7 +1296,7 @@

Procs

Example:

doAssert countLines("First line\l and second line.") == 2
  Source   Edit @@ -1325,7 +1325,7 @@

Procs

doAssert x == "Hello\n There\n"   Source   Edit @@ -1349,7 +1349,7 @@

Procs

a.delete(1..<1) # empty slice assert a == "ad"   Source   Edit @@ -1373,7 +1373,7 @@

Procs

doAssert a.endsWith("abra") == true doAssert a.endsWith("dab") == false   Source   Edit @@ -1395,7 +1395,7 @@

Procs

doAssert a.endsWith('a') == true doAssert a.endsWith('b') == false   Source   Edit @@ -1420,7 +1420,7 @@

Procs

  Source   Edit @@ -1435,7 +1435,7 @@

Procs

Searching is case-sensitive. If sub is not in s, -1 is returned.

  Source   Edit @@ -1454,7 +1454,7 @@

Procs

  Source   Edit @@ -1473,7 +1473,7 @@

Procs

  Source   Edit @@ -1492,7 +1492,7 @@

Procs

  Source   Edit @@ -1509,7 +1509,7 @@

Procs

  Source   Edit @@ -1531,7 +1531,7 @@

Procs

doAssert x.formatBiggestFloat(ffDecimal, 4) == "123.4560" doAssert x.formatBiggestFloat(ffScientific, 2) == "1.23e+02"   Source   Edit @@ -1569,7 +1569,7 @@

Procs

  Source   Edit @@ -1591,7 +1591,7 @@

Procs

doAssert x.formatFloat(ffDecimal, 4) == "123.4560" doAssert x.formatFloat(ffScientific, 2) == "1.23e+02"   Source   Edit @@ -1617,7 +1617,7 @@

Procs

doAssert formatSize(4096) == "4KiB" doAssert formatSize(5_378_934, prefix = bpColloquial, decimalSep = ',') == "5,13MB"   Source   Edit @@ -1640,7 +1640,7 @@

Procs

doAssert s.fromBin[:int16] == 0b1110_1110_1001_1001'i16 doAssert s.fromBin[:uint64] == 1216933529'u64   Source   Edit @@ -1663,7 +1663,7 @@

Procs

doAssert s.fromHex[:int16] == -29194'i16 doAssert s.fromHex[:uint64] == 305499638'u64   Source   Edit @@ -1686,7 +1686,7 @@

Procs

doAssert s.fromOct[:int16] == 24063'i16 doAssert s.fromOct[:uint64] == 21913087'u64   Source   Edit @@ -1711,7 +1711,7 @@

Procs

doAssert indent("First line\c\l and second line.", 2) ==
          "  First line\l   and second line."
  Source   Edit @@ -1723,7 +1723,7 @@

Procs

Returns the amount of indentation all lines of s have in common, ignoring lines that consist only of whitespace.   Source   Edit @@ -1736,7 +1736,7 @@

Procs

Preprocess table a for sub.   Source   Edit @@ -1753,7 +1753,7 @@

Procs

Example:

doAssert insertSep("1000000") == "1_000_000"
  Source   Edit @@ -1771,7 +1771,7 @@

Procs

doAssert intToStr(1984) == "1984"
 doAssert intToStr(1984, 6) == "001984"
  Source   Edit @@ -1790,7 +1790,7 @@

Procs

doAssert isAlphaAscii('E') == true doAssert isAlphaAscii('8') == false   Source   Edit @@ -1809,7 +1809,7 @@

Procs

doAssert isAlphaNumeric('8') == true doAssert isAlphaNumeric(' ') == false   Source   Edit @@ -1827,7 +1827,7 @@

Procs

doAssert isDigit('n') == false
 doAssert isDigit('8') == true
  Source   Edit @@ -1840,7 +1840,7 @@

Procs

Checks if s is empty or consists entirely of whitespace characters.   Source   Edit @@ -1862,7 +1862,7 @@

Procs

doAssert isLowerAscii('E') == false doAssert isLowerAscii('7') == false   Source   Edit @@ -1879,7 +1879,7 @@

Procs

doAssert isSpaceAscii(' ') == true doAssert isSpaceAscii('\t') == true   Source   Edit @@ -1901,7 +1901,7 @@

Procs

doAssert isUpperAscii('E') == true doAssert isUpperAscii('7') == false   Source   Edit @@ -1916,7 +1916,7 @@

Procs

Example:

doAssert join(["A", "B", "Conclusion"], " -> ") == "A -> B -> Conclusion"
  Source   Edit @@ -1930,7 +1930,7 @@

Procs

Example:

doAssert join([1, 2, 3], " -> ") == "1 -> 2 -> 3"
  Source   Edit @@ -1947,7 +1947,7 @@

Procs

The order of the replacements does matter. Earlier replacements are preferred over later replacements in the argument list.

  Source   Edit @@ -1963,7 +1963,7 @@

Procs

Example:

doAssert nimIdentNormalize("Foo_bar") == "Foobar"
  Source   Edit @@ -1984,7 +1984,7 @@

Procs

doAssert normalize("Foo_bar") == "foobar"
 doAssert normalize("Foo Bar") == "foo bar"
  Source   Edit @@ -1999,7 +1999,7 @@

Procs

If s is not a valid integer, ValueError is raised.

  Source   Edit @@ -2014,7 +2014,7 @@

Procs

If s is not a valid integer, ValueError is raised.

  Source   Edit @@ -2035,7 +2035,7 @@

Procs

doAssert a.parseBinInt() == 53 doAssert b.parseBinInt() == 7   Source   Edit @@ -2052,7 +2052,7 @@

Procs

let a = "n"
 doAssert parseBool(a) == false
  Source   Edit @@ -2077,7 +2077,7 @@

Procs

doAssertRaises(ValueError): echo parseEnum[MyEnum]("third")   Source   Edit @@ -2101,7 +2101,7 @@

Procs

doAssert parseEnum[MyEnum]("second") == second doAssert parseEnum[MyEnum]("last", third) == third   Source   Edit @@ -2119,7 +2119,7 @@

Procs

doAssert parseFloat("3.14") == 3.14
 doAssert parseFloat("inf") == 1.0/0
  Source   Edit @@ -2134,7 +2134,7 @@

Procs

If s is not a valid hex integer, ValueError is raised. s can have one of the following optional prefixes: 0x, 0X, #. Underscores within s are ignored.

  Source   Edit @@ -2160,7 +2160,7 @@

Procs

doAssert parseHexStr(b) == "1a" doAssert parseHexStr(c) == "\0\255"   Source   Edit @@ -2177,7 +2177,7 @@

Procs

Example:

doAssert parseInt("-0042") == -42
  Source   Edit @@ -2192,7 +2192,7 @@

Procs

If s is not a valid oct integer, ValueError is raised. s can have one of the following optional prefixes: 0o, 0O. Underscores within s are ignored.

  Source   Edit @@ -2207,7 +2207,7 @@

Procs

If s is not a valid integer, ValueError is raised.

  Source   Edit @@ -2229,7 +2229,7 @@

Procs

ident.removePrefix('p') doAssert ident == "Control"   Source   Edit @@ -2256,7 +2256,7 @@

Procs

otherInput.removePrefix({'!', '?'}) doAssert otherInput == "Hello!?!"   Source   Edit @@ -2278,7 +2278,7 @@

Procs

answers.removePrefix("yes") doAssert answers == "yes"   Source   Edit @@ -2304,7 +2304,7 @@

Procs

dots.removeSuffix('.') doAssert dots == "Trailing dots"   Source   Edit @@ -2331,7 +2331,7 @@

Procs

otherInput.removeSuffix({'!', '?'}) doAssert otherInput == "Hello"   Source   Edit @@ -2353,7 +2353,7 @@

Procs

answers.removeSuffix("es") doAssert answers == "yes"   Source   Edit @@ -2369,7 +2369,7 @@

Procs

let a = 'z'
 doAssert a.repeat(5) == "zzzzz"
  Source   Edit @@ -2384,7 +2384,7 @@

Procs

Example:

doAssert "+ foo +".repeat(3) == "+ foo ++ foo ++ foo +"
  Source   Edit @@ -2404,7 +2404,7 @@

Procs

  Source   Edit @@ -2424,7 +2424,7 @@

Procs

  Source   Edit @@ -2439,7 +2439,7 @@

Procs

Each occurrence of sub has to be surrounded by word boundaries (comparable to \b in regular expressions), otherwise it is not replaced.

  Source   Edit @@ -2457,7 +2457,7 @@

Procs

  Source   Edit @@ -2475,7 +2475,7 @@

Procs

  Source   Edit @@ -2493,7 +2493,7 @@

Procs

  Source   Edit @@ -2516,7 +2516,7 @@

Procs

  Source   Edit @@ -2548,7 +2548,7 @@

Procs

doAssert "a largely spaced sentence".rsplit(" ") == @["a", "", "largely", "", "", "", "spaced", "sentence"]   Source   Edit @@ -2571,7 +2571,7 @@

Procs

  Source   Edit @@ -2599,7 +2599,7 @@

Procs

doAssert text2 & spaces(max(0, width - text2.len)) & "|" == "This is a very long string|"   Source   Edit @@ -2622,7 +2622,7 @@

Procs

doAssert "a,b,c".split(',') == @["a", "b", "c"]
 doAssert "".split(' ') == @[""]
  Source   Edit @@ -2650,7 +2650,7 @@

Procs

"", "", "", "spaced", "sentence"] doAssert "a largely spaced sentence".split(" ", maxsplit = 1) == @["a", " largely spaced sentence"]   Source   Edit @@ -2673,7 +2673,7 @@

Procs

doAssert "a,b;c".split({',', ';'}) == @["a", "b", "c"]
 doAssert "".split({' '}) == @[""]
  Source   Edit @@ -2692,7 +2692,7 @@

Procs

  Source   Edit @@ -2710,7 +2710,7 @@

Procs

  Source   Edit @@ -2734,7 +2734,7 @@

Procs

doAssert a.startsWith("abra") == true doAssert a.startsWith("bra") == false   Source   Edit @@ -2756,7 +2756,7 @@

Procs

doAssert a.startsWith('a') == true doAssert a.startsWith('b') == false   Source   Edit @@ -2790,7 +2790,7 @@

Procs

doAssert c.strip(chars = {'b', 'a'}) == "laXbl" doAssert c.strip(chars = {'b', 'a', 'l'}) == "X"   Source   Edit @@ -2809,7 +2809,7 @@

Procs

s.stripLineEnd doAssert s == "foo"   Source   Edit @@ -2831,7 +2831,7 @@

Procs

doAssert b.toBin(8) == "00000001" doAssert b.toBin(9) == "100000001"   Source   Edit @@ -2856,7 +2856,7 @@

Procs

doAssert b.toHex() == "41" doAssert c.toHex() == "00FF"   Source   Edit @@ -2871,7 +2871,7 @@

Procs

doAssert toHex(1984'i64) == "00000000000007C0"
 doAssert toHex(1984'i16) == "07C0"
  Source   Edit @@ -2894,7 +2894,7 @@

Procs

doAssert toHex(62, 3) == "03E" doAssert toHex(-8, 6) == "FFFFF8"   Source   Edit @@ -2916,7 +2916,7 @@

Procs

doAssert toLowerAscii('A') == 'a'
 doAssert toLowerAscii('e') == 'e'
  Source   Edit @@ -2936,7 +2936,7 @@

Procs

Example:

doAssert toLowerAscii("FooBar!") == "foobar!"
  Source   Edit @@ -2959,7 +2959,7 @@

Procs

doAssert b.toOct(3) == "001" doAssert b.toOct(5) == "01001"   Source   Edit @@ -2980,7 +2980,7 @@

Procs

doAssert toOctal('a') == "141" doAssert toOctal('!') == "041"   Source   Edit @@ -3003,7 +3003,7 @@

Procs

doAssert toUpperAscii('a') == 'A'
 doAssert toUpperAscii('E') == 'E'
  Source   Edit @@ -3023,7 +3023,7 @@

Procs

Example:

doAssert toUpperAscii("FooBar!") == "FOOBAR!"
  Source   Edit @@ -3041,7 +3041,7 @@

Procs

x.trimZeros() doAssert x == "123.456"   Source   Edit @@ -3057,7 +3057,7 @@

Procs

If s does not begin with prefix and end with suffix a ValueError exception will be raised.

  Source   Edit @@ -3086,7 +3086,7 @@

Procs

doAssert x == "Hello\nThere\n"   Source   Edit @@ -3103,7 +3103,7 @@

Procs

Example:

doAssert "abc_def08".validIdentifier
  Source   Edit @@ -3121,7 +3121,7 @@

Iterators

Iterate over interpolation fragments of the formatstr   Source   Edit @@ -3144,7 +3144,7 @@

Iterators

  Source   Edit @@ -3167,7 +3167,7 @@

Iterators

  Source   Edit @@ -3190,7 +3190,7 @@

Iterators

  Source   Edit @@ -3222,7 +3222,7 @@

Iterators

  Source   Edit @@ -3247,7 +3247,7 @@

Iterators

  Source   Edit @@ -3285,7 +3285,7 @@

Iterators

  Source   Edit @@ -3312,7 +3312,7 @@

Iterators

  Source   Edit @@ -3350,7 +3350,7 @@

Iterators

  Source   Edit @@ -3375,7 +3375,7 @@

Iterators

("example", false) (" ", true)   Source   Edit diff --git a/style_guide.html b/style_guide.html index f1b76070f45..1a68e34667c 100644 --- a/style_guide.html +++ b/style_guide.html @@ -125,7 +125,7 @@

Nimskull coding style

  Source   Edit diff --git a/sugar.html b/sugar.html index 3aea45a5ceb..e7182ec6576 100644 --- a/sugar.html +++ b/sugar.html @@ -149,7 +149,7 @@

pure/sugar

  Source   Edit @@ -185,7 +185,7 @@

Macros

assert passOne(x {.noSideEffect.} => x + 1) == 2   Source   Edit @@ -215,7 +215,7 @@

Macros

let f = () => (discard) # simplest proc that returns void f()   Source   Edit @@ -237,7 +237,7 @@

Macros

myClosure = () => fmt"{i} * {j} = 42" assert myClosure() == "6 * 7 = 42"   Source   Edit @@ -274,7 +274,7 @@

Macros

from std/sequtils import toSeq assert toSeq(1..3) == @[1, 2, 3] # simpler   Source   Edit @@ -314,7 +314,7 @@

Macros

for i, d in data.pairs: {i: d} assert z == {0: "bird", 1: "word"}.toTable   Source   Edit @@ -333,7 +333,7 @@

Macros

y = 20 dump(x + y) # prints: `x + y = 30`   Source   Edit @@ -355,7 +355,7 @@

Macros

import std/strutils assert "failedAssertImpl" in dumpToString(assert true) # example with a statement   Source   Edit @@ -402,7 +402,7 @@

Macros

makePalindrome # zyyxxxyyz assert d == "zyyxxxyyz"   Source   Edit diff --git a/sums.html b/sums.html index b179cfd5ccd..54d0b41cb63 100644 --- a/sums.html +++ b/sums.html @@ -117,7 +117,7 @@

std/sums

  Source   Edit @@ -160,7 +160,7 @@

Procs

  Source   Edit @@ -180,7 +180,7 @@

Procs

  Source   Edit diff --git a/sysrand.html b/sysrand.html index 6a4262e6fad..b92b5b6b71b 100644 --- a/sysrand.html +++ b/sysrand.html @@ -120,7 +120,7 @@

std/sysrand

  Source   Edit @@ -167,7 +167,7 @@

Procs

The code hasn't been audited by cryptography experts and is provided as-is without guarantees. Use at your own risks. For production systems we advise you to request an external audit.   Source   Edit @@ -181,7 +181,7 @@

Procs

The code hasn't been audited by cryptography experts and is provided as-is without guarantees. Use at your own risks. For production systems we advise you to request an external audit.   Source   Edit diff --git a/system.html b/system.html index bff068a89ac..ecbe32b6fba 100644 --- a/system.html +++ b/system.html @@ -2487,7 +2487,7 @@

system

  Source   Edit @@ -2615,7 +2615,7 @@

Types

Built-in generic untraced pointer type.   Source   Edit @@ -2627,7 +2627,7 @@

Types

Built-in generic traced pointer type.   Source   Edit @@ -2641,7 +2641,7 @@

Types

The type coercion static(x) can be used to force the compile-time evaluation of the given expression x.

  Source   Edit @@ -2655,7 +2655,7 @@

Types

The coercion type(x) can be used to obtain the type of the given expression x.

  Source   Edit @@ -2668,7 +2668,7 @@

Types

Raised for invalid memory access errors   Source   Edit @@ -2683,7 +2683,7 @@

Types

  Source   Edit @@ -2698,7 +2698,7 @@

Types

  Source   Edit @@ -2713,7 +2713,7 @@

Types

Deprecated; Use auto instead. See https://github.com/nim-lang/RFCs/issues/281   Source   Edit @@ -2726,7 +2726,7 @@

Types

Raised if any kind of arithmetic error occurred.   Source   Edit @@ -2741,7 +2741,7 @@

Types

  Source   Edit @@ -2753,7 +2753,7 @@

Types

Generic type to construct fixed-length arrays.   Source   Edit @@ -2768,7 +2768,7 @@

Types

Usually the result of using the assert() template.

  Source   Edit @@ -2783,7 +2783,7 @@

Types

  Source   Edit @@ -2795,7 +2795,7 @@

Types

  Source   Edit @@ -2807,7 +2807,7 @@

Types

Type Class representing valid types for use with atomic procs   Source   Edit @@ -2819,7 +2819,7 @@

Types

Meta type for automatic type determination.   Source   Edit @@ -2831,7 +2831,7 @@

Types

Type that is constructed by ^ for reversed array accesses. (See ^ template)   Source   Edit @@ -2843,7 +2843,7 @@

Types

is an alias for the biggest floating point type the Nim compiler supports. Currently this is float64, but it is platform-dependent in general.   Source   Edit @@ -2855,7 +2855,7 @@

Types

is an alias for the biggest signed integer type the Nim compiler supports. Currently this is int64, but it is platform-dependent in general.   Source   Edit @@ -2867,7 +2867,7 @@

Types

is an alias for the biggest unsigned integer type the Nim compiler supports. Currently this is uint32 for JS and uint64 for other targets.   Source   Edit @@ -2880,7 +2880,7 @@

Types

Built-in boolean type.   Source   Edit @@ -2892,7 +2892,7 @@

Types

This is an alias for uint8, that is an unsigned integer, 8 bits wide.   Source   Edit @@ -2904,7 +2904,7 @@

Types

is the signed integer type that should be used for converting pointers to integer addresses for readability.   Source   Edit @@ -2917,7 +2917,7 @@

Types

Abstract class for all exceptions that are catchable.   Source   Edit @@ -2929,7 +2929,7 @@

Types

This is the same as the type char in C.   Source   Edit @@ -2941,7 +2941,7 @@

Types

This is the same as the type double in C.   Source   Edit @@ -2953,7 +2953,7 @@

Types

This is the same as the type float in C.   Source   Edit @@ -2965,7 +2965,7 @@

Types

Built-in 8 bit character type (unsigned).   Source   Edit @@ -2977,7 +2977,7 @@

Types

This is the same as the type int in C.   Source   Edit @@ -2989,7 +2989,7 @@

Types

This is the same as the type long in C.   Source   Edit @@ -3001,7 +3001,7 @@

Types

This is the same as the type long double in C. This C type is not supported by Nim's code generator.   Source   Edit @@ -3013,7 +3013,7 @@

Types

This is the same as the type long long in C.   Source   Edit @@ -3025,7 +3025,7 @@

Types

This is the same as the type signed char in C.   Source   Edit @@ -3037,7 +3037,7 @@

Types

This is the same as the type short in C.   Source   Edit @@ -3052,7 +3052,7 @@

Types

This isn't the same as size_t in C. Don't use it.   Source   Edit @@ -3064,7 +3064,7 @@

Types

This is the same as the type size_t in C.   Source   Edit @@ -3076,7 +3076,7 @@

Types

Built-in cstring (compatible string) type.   Source   Edit @@ -3088,7 +3088,7 @@

Types

This is binary compatible to the type char** in C. The array's high value is large enough to disable bounds checking in practice. Use cstringArrayToSeq proc to convert it into a seq[string].   Source   Edit @@ -3104,7 +3104,7 @@

Types

Deprecated: Use uint8 instead.   Source   Edit @@ -3116,7 +3116,7 @@

Types

This is the same as the type unsigned int in C.   Source   Edit @@ -3128,7 +3128,7 @@

Types

This is the same as the type unsigned long in C.   Source   Edit @@ -3140,7 +3140,7 @@

Types

This is the same as the type unsigned long long in C.   Source   Edit @@ -3152,7 +3152,7 @@

Types

This is the same as the type unsigned short in C.   Source   Edit @@ -3165,7 +3165,7 @@

Types

Raised if it is attempted to send a message to a dead thread.   Source   Edit @@ -3180,7 +3180,7 @@

Types

  Source   Edit @@ -3193,7 +3193,7 @@

Types

Abstract base class for all exceptions that Nim's runtime raises but that are strictly uncatchable as they can also be mapped to a quit / trap / exit operation.   Source   Edit @@ -3206,7 +3206,7 @@

Types

Raised for runtime integer divide-by-zero errors.   Source   Edit @@ -3221,7 +3221,7 @@

Types

  Source   Edit @@ -3234,7 +3234,7 @@

Types

Type describing the endianness of a processor.   Source   Edit @@ -3247,7 +3247,7 @@

Types

Raised if an IO "end of file" error occurred.   Source   Edit @@ -3277,7 +3277,7 @@

Types

Each exception has to inherit from Exception. See the full exception hierarchy.

  Source   Edit @@ -3289,7 +3289,7 @@

Types

Effect describing an executing IO operation.   Source   Edit @@ -3302,7 +3302,7 @@

Types

Raised if a record field is not accessible because its discriminant's value does not fit.   Source   Edit @@ -3317,7 +3317,7 @@

Types

  Source   Edit @@ -3332,7 +3332,7 @@

Types

Position relative to which seek should happen.   Source   Edit @@ -3344,7 +3344,7 @@

Types

Default floating point type.   Source   Edit @@ -3356,7 +3356,7 @@

Types

32 bit floating point type.   Source   Edit @@ -3368,7 +3368,7 @@

Types

64 bit floating point type.   Source   Edit @@ -3383,7 +3383,7 @@

Types

Divisor is zero and dividend is a finite nonzero number.

  Source   Edit @@ -3398,7 +3398,7 @@

Types

  Source   Edit @@ -3414,7 +3414,7 @@

Types

Note: Nim currently does not detect these!

  Source   Edit @@ -3429,7 +3429,7 @@

Types

  Source   Edit @@ -3442,7 +3442,7 @@

Types

Base class for floating point exceptions.   Source   Edit @@ -3457,7 +3457,7 @@

Types

  Source   Edit @@ -3472,7 +3472,7 @@

Types

Raised by 0.0/0.0, for example.

  Source   Edit @@ -3487,7 +3487,7 @@

Types

  Source   Edit @@ -3502,7 +3502,7 @@

Types

The operation produced a result that exceeds the range of the exponent.

  Source   Edit @@ -3517,7 +3517,7 @@

Types

  Source   Edit @@ -3532,7 +3532,7 @@

Types

The operation produced a result that is too small to be represented as a normal number.

  Source   Edit @@ -3547,7 +3547,7 @@

Types

  Source   Edit @@ -3562,7 +3562,7 @@

Types

"Heterogeneous" slice type.   Source   Edit @@ -3575,7 +3575,7 @@

Types

Raised if an array index is out of bounds.   Source   Edit @@ -3590,7 +3590,7 @@

Types

  Source   Edit @@ -3602,7 +3602,7 @@

Types

Default integer type; bitwidth depends on architecture, but is always the same as a pointer.   Source   Edit @@ -3614,7 +3614,7 @@

Types

Signed 8 bit integer type.   Source   Edit @@ -3626,7 +3626,7 @@

Types

Signed 16 bit integer type.   Source   Edit @@ -3638,7 +3638,7 @@

Types

Signed 32 bit integer type.   Source   Edit @@ -3650,7 +3650,7 @@

Types

Signed 64 bit integer type.   Source   Edit @@ -3662,7 +3662,7 @@

Types

IO effect.   Source   Edit @@ -3675,7 +3675,7 @@

Types

Raised if an IO error occurred.   Source   Edit @@ -3688,7 +3688,7 @@

Types

Root type of the JavaScript object hierarchy   Source   Edit @@ -3703,7 +3703,7 @@

Types

Mostly used by the tables module, it can also be raised by other collection modules like sets or strtabs.

  Source   Edit @@ -3715,7 +3715,7 @@

Types

  Source   Edit @@ -3728,7 +3728,7 @@

Types

Raised if a dynamic library could not be loaded.   Source   Edit @@ -3740,7 +3740,7 @@

Types

is an int type ranging from zero to the maximum value of an int. This type is often useful for documentation and debugging.   Source   Edit @@ -3753,7 +3753,7 @@

Types

Raised on dereferences of nil pointers.   Source   Edit @@ -3768,7 +3768,7 @@

Types

  Source   Edit @@ -3780,7 +3780,7 @@

Types

Represents a Nim AST node. Macros operate on this type.   Source   Edit @@ -3795,7 +3795,7 @@

Types

  Source   Edit @@ -3808,7 +3808,7 @@

Types

Raised if an object gets assigned to its parent's object.   Source   Edit @@ -3823,7 +3823,7 @@

Types

  Source   Edit @@ -3836,7 +3836,7 @@

Types

Raised if an object is converted to an incompatible object type. You can use of operator to check if conversion will succeed.   Source   Edit @@ -3851,7 +3851,7 @@

Types

  Source   Edit @@ -3863,7 +3863,7 @@

Types

Generic type to construct open arrays. Open arrays are implemented as a pointer to the array data and a length field.   Source   Edit @@ -3875,7 +3875,7 @@

Types

Generic ordinal type. Includes integer, bool, character, and enumeration types as well as their subtypes. See also SomeOrdinal.   Source   Edit @@ -3890,7 +3890,7 @@

Types

Raised if an operating system service failed.   Source   Edit @@ -3903,7 +3903,7 @@

Types

Raised for unsuccessful attempts to allocate memory.   Source   Edit @@ -3918,7 +3918,7 @@

Types

  Source   Edit @@ -3933,7 +3933,7 @@

Types

This happens for calculations whose results are too large to fit in the provided bits.

  Source   Edit @@ -3948,7 +3948,7 @@

Types

  Source   Edit @@ -3960,7 +3960,7 @@

Types

An alias for ptr float32.   Source   Edit @@ -3972,7 +3972,7 @@

Types

An alias for ptr float64.   Source   Edit @@ -3984,7 +3984,7 @@

Types

Represents a runtime frame of the call stack; part of the debugger API.   Source   Edit @@ -3996,7 +3996,7 @@

Types

An alias for ptr int32.   Source   Edit @@ -4008,7 +4008,7 @@

Types

An alias for ptr int64.   Source   Edit @@ -4020,7 +4020,7 @@

Types

Built-in pointer type, use the addr operator to get a pointer to a variable.   Source   Edit @@ -4032,7 +4032,7 @@

Types

is an int type ranging from one to the maximum value of an int. This type is often useful for documentation and debugging.   Source   Edit @@ -4044,7 +4044,7 @@

Types

Generic type to construct range types.   Source   Edit @@ -4057,7 +4057,7 @@

Types

Raised if a range check error occurred.   Source   Edit @@ -4072,7 +4072,7 @@

Types

  Source   Edit @@ -4084,7 +4084,7 @@

Types

Effect describing a read IO operation.   Source   Edit @@ -4097,7 +4097,7 @@

Types

Raised if there is no exception to reraise.   Source   Edit @@ -4112,7 +4112,7 @@

Types

  Source   Edit @@ -4125,7 +4125,7 @@

Types

Raised if a resource request could not be fulfilled.   Source   Edit @@ -4140,7 +4140,7 @@

Types

Each effect should inherit from RootEffect unless you know what you're doing.

  Source   Edit @@ -4154,7 +4154,7 @@

Types

Objects should inherit from RootObj or one of its descendants. However, objects that have no ancestor are also allowed.

  Source   Edit @@ -4166,7 +4166,7 @@

Types

Reference to RootObj.   Source   Edit @@ -4178,7 +4178,7 @@

Types

Generic type to construct sequences.   Source   Edit @@ -4190,7 +4190,7 @@

Types

Generic type to construct bit sets.   Source   Edit @@ -4202,7 +4202,7 @@

Types

  Source   Edit @@ -4214,7 +4214,7 @@

Types

An alias for HSlice[T, T].   Source   Edit @@ -4226,7 +4226,7 @@

Types

Type class matching all floating point number types.   Source   Edit @@ -4238,7 +4238,7 @@

Types

Type class matching all integer types.   Source   Edit @@ -4250,7 +4250,7 @@

Types

Type class matching all number types.   Source   Edit @@ -4265,7 +4265,7 @@

Types

Type class matching all ordinal types; however this includes enums with holes. See also Ordinal   Source   Edit @@ -4277,7 +4277,7 @@

Types

Type class matching all signed integer types.   Source   Edit @@ -4289,7 +4289,7 @@

Types

Type class matching all unsigned integer types.   Source   Edit @@ -4302,7 +4302,7 @@

Types

Raised if the hardware stack used for subroutine calls overflowed.   Source   Edit @@ -4317,7 +4317,7 @@

Types

  Source   Edit @@ -4345,7 +4345,7 @@

Types

In debug mode exceptions store the stack trace that led to them. A StackTraceEntry is a single entry of the stack trace.   Source   Edit @@ -4357,7 +4357,7 @@

Types

Built-in string type.   Source   Edit @@ -4372,7 +4372,7 @@

Types

  Source   Edit @@ -4394,7 +4394,7 @@

Types

The frame itself.   Source   Edit @@ -4406,7 +4406,7 @@

Types

Time effect.   Source   Edit @@ -4418,7 +4418,7 @@

Types

Meta type to denote an expression that is resolved (for templates).   Source   Edit @@ -4430,7 +4430,7 @@

Types

Meta type to denote a type description.   Source   Edit @@ -4444,7 +4444,7 @@

Types

Possible modes of typeof.   Source   Edit @@ -4456,7 +4456,7 @@

Types

Unsigned default integer type.   Source   Edit @@ -4468,7 +4468,7 @@

Types

Unsigned 8 bit integer type.   Source   Edit @@ -4480,7 +4480,7 @@

Types

Unsigned 16 bit integer type.   Source   Edit @@ -4492,7 +4492,7 @@

Types

Unsigned 32 bit integer type.   Source   Edit @@ -4504,7 +4504,7 @@

Types

Unsigned 64 bit integer type.   Source   Edit @@ -4516,7 +4516,7 @@

Types

  Source   Edit @@ -4528,7 +4528,7 @@

Types

Meta type to denote an expression that is not resolved (for templates).   Source   Edit @@ -4541,7 +4541,7 @@

Types

Raised for string and object conversion errors.   Source   Edit @@ -4553,7 +4553,7 @@

Types

Generic type to construct a varargs type.   Source   Edit @@ -4565,7 +4565,7 @@

Types

Meta type to denote the absence of any type.   Source   Edit @@ -4577,7 +4577,7 @@

Types

Effect describing a write IO operation.   Source   Edit @@ -4595,7 +4595,7 @@

Vars

Function that will be called instead of stdmsg.write when printing stacktrace. Unstable API.   Source   Edit @@ -4610,7 +4610,7 @@

Vars

If globalRaiseHook returns false, the exception is caught and does not propagate further through the call stack.

  Source   Edit @@ -4625,7 +4625,7 @@

Vars

If localRaiseHook returns false, the exception is caught and does not propagate further through the call stack.

  Source   Edit @@ -4640,7 +4640,7 @@

Vars

The default is to write a stacktrace to stderr and then call quit(1). Unstable API.

  Source   Edit @@ -4662,7 +4662,7 @@

Vars

system.outOfMemHook = handleOOM

If the handler does not raise an exception, ordinary control flow continues and the program is terminated.

  Source   Edit @@ -4674,7 +4674,7 @@

Vars

deprecated, prefer quit or exitprocs.getProgramResult, exitprocs.setProgramResult.   Source   Edit @@ -4687,7 +4687,7 @@

Vars

Set this variable to provide a procedure that should be called in case of an unhandle exception event. The standard handler writes an error message and terminates the program, except when using --os:any   Source   Edit @@ -4704,7 +4704,7 @@

Lets

May be used only in when expression. It is true in Nim VM context and false otherwise.   Source   Edit @@ -4721,7 +4721,7 @@

Consts

A string that describes the application type. Possible values: "console", "gui", "lib".   Source   Edit @@ -4733,7 +4733,7 @@

Consts

  Source   Edit @@ -4745,7 +4745,7 @@

Consts

  Source   Edit @@ -4757,7 +4757,7 @@

Consts

  Source   Edit @@ -4769,7 +4769,7 @@

Consts

  Source   Edit @@ -4781,7 +4781,7 @@

Consts

  Source   Edit @@ -4793,7 +4793,7 @@

Consts

  Source   Edit @@ -4805,7 +4805,7 @@

Consts

The date (in UTC) of compilation as a string of the form YYYY-MM-DD. This works thanks to compiler magic.   Source   Edit @@ -4817,7 +4817,7 @@

Consts

major version number for the current compiler. TODO: change to 0 in next csources
when CompilerVersionMajor > 0: echo "stability cargo culting"
  Source   Edit @@ -4829,7 +4829,7 @@

Consts

minor version number for the current compiler. TODO: change to 1 in next csources   Source   Edit @@ -4841,7 +4841,7 @@

Consts

patch version number for the current compiler. TODO: change to 0 in next csources   Source   Edit @@ -4853,7 +4853,7 @@

Consts

The time (in UTC) of compilation as a string of the form HH:MM:SS. This works thanks to compiler magic.   Source   Edit @@ -4865,7 +4865,7 @@

Consts

The endianness of the target CPU. This is a valuable piece of information for low-level code only. This works thanks to compiler magic.   Source   Edit @@ -4879,7 +4879,7 @@

Consts

Possible values: "i386", "alpha", "powerpc", "powerpc64", "powerpc64el", "sparc", "amd64", "mips", "mipsel", "arm", "arm64", "mips64", "mips64el", "riscv32", "riscv64", '"loongarch64"'.

  Source   Edit @@ -4893,7 +4893,7 @@

Consts

Possible values: "windows", "macosx", "linux", "netbsd", "freebsd", "openbsd", "solaris", "aix", "haiku", "standalone".

  Source   Edit @@ -4905,7 +4905,7 @@

Consts

Contains the IEEE floating point value of positive infinity.   Source   Edit @@ -4917,7 +4917,7 @@

Consts

True only when accessed in the main module. This works thanks to compiler magic. It is useful to embed testing code in a module.   Source   Edit @@ -4931,7 +4931,7 @@

Consts

Note that you cannot compare a floating point value to this value and expect a reasonable result - use the isNaN or classify procedure in the math module for checking for NaN.

  Source   Edit @@ -4943,7 +4943,7 @@

Consts

Contains the IEEE floating point value of negative infinity.   Source   Edit @@ -4956,7 +4956,7 @@

Consts

is the major number of Nim's version. Example: TODO: remove in next csources .. code-block:: Nim

when (NimMajor, NimMinor, NimPatch) >= (1, 3, 1): discard

  Source   Edit @@ -4968,7 +4968,7 @@

Consts

is the minor number of Nim's version. TODO: remove in next csources   Source   Edit @@ -4980,7 +4980,7 @@

Consts

is the patch number of Nim's version. TODO: remove in next csources   Source   Edit @@ -4992,7 +4992,7 @@

Consts

the compiler version as a string.   Source   Edit @@ -5004,7 +5004,7 @@

Consts

Alias for false.   Source   Edit @@ -5016,7 +5016,7 @@

Consts

Alias for true.   Source   Edit @@ -5028,7 +5028,7 @@

Consts

is the value that should be passed to quit to indicate failure.   Source   Edit @@ -5040,7 +5040,7 @@

Consts

is the value that should be passed to quit to indicate success.   Source   Edit @@ -5054,7 +5054,7 @@

Consts

Example:

when (StdlibMajor, StdlibMinor, StdlibPatch) >= (1, 3, 1): discard
  Source   Edit @@ -5066,7 +5066,7 @@

Consts

standard library minor version TODO: change to 1 in next csources   Source   Edit @@ -5078,7 +5078,7 @@

Consts

standard library patch version TODO: change to 0 in next csources   Source   Edit @@ -5090,7 +5090,7 @@

Consts

the standard library version   Source   Edit @@ -5109,7 +5109,7 @@

Procs

The result is truncated to fit into the result. This implements modulo arithmetic. No overflow errors are possible.

  Source   Edit @@ -5121,7 +5121,7 @@

Procs

  Source   Edit @@ -5133,7 +5133,7 @@

Procs

  Source   Edit @@ -5145,7 +5145,7 @@

Procs

  Source   Edit @@ -5157,7 +5157,7 @@

Procs

  Source   Edit @@ -5171,7 +5171,7 @@

Procs

Appends in place to a string.
var a = "abc"
 a &= "de" # a <- "abcde"
  Source   Edit @@ -5184,7 +5184,7 @@

Procs

Concatenates characters x and y into a string.
assert('a' & 'b' == "ab")
  Source   Edit @@ -5197,7 +5197,7 @@

Procs

Concatenates strings x and y.
assert("ab" & "cd" == "abcd")
  Source   Edit @@ -5210,7 +5210,7 @@

Procs

Concatenates x with y.
assert('a' & "bc" == "abc")
  Source   Edit @@ -5223,7 +5223,7 @@

Procs

Concatenates x with y.
assert("ab" & 'c' == "abc")
  Source   Edit @@ -5240,7 +5240,7 @@

Procs

assert(@[1, 2, 3, 4] & @[5, 6] == @[1, 2, 3, 4, 5, 6])
  Source   Edit @@ -5257,7 +5257,7 @@

Procs

assert(@[1, 2, 3] & 4 == @[1, 2, 3, 4])
  Source   Edit @@ -5271,7 +5271,7 @@

Procs

Requires copying of the sequence.

assert(1 & @[2, 3, 4] == @[1, 2, 3, 4])
  Source   Edit @@ -5285,7 +5285,7 @@

Procs

The result is truncated to fit into the result. This implements modulo arithmetic. No overflow errors are possible.

  Source   Edit @@ -5297,7 +5297,7 @@

Procs

  Source   Edit @@ -5309,7 +5309,7 @@

Procs

  Source   Edit @@ -5321,7 +5321,7 @@

Procs

  Source   Edit @@ -5333,7 +5333,7 @@

Procs

  Source   Edit @@ -5345,7 +5345,7 @@

Procs

Multiplies in place a floating point number.   Source   Edit @@ -5357,7 +5357,7 @@

Procs

Binary *= operator for integers.   Source   Edit @@ -5370,7 +5370,7 @@

Procs

  Source   Edit @@ -5383,7 +5383,7 @@

Procs

  Source   Edit @@ -5395,7 +5395,7 @@

Procs

Binary * operator for an integer.   Source   Edit @@ -5407,7 +5407,7 @@

Procs

  Source   Edit @@ -5419,7 +5419,7 @@

Procs

  Source   Edit @@ -5431,7 +5431,7 @@

Procs

  Source   Edit @@ -5443,7 +5443,7 @@

Procs

  Source   Edit @@ -5455,7 +5455,7 @@

Procs

Binary * operator for unsigned integers.   Source   Edit @@ -5467,7 +5467,7 @@

Procs

  Source   Edit @@ -5480,7 +5480,7 @@

Procs

  Source   Edit @@ -5493,7 +5493,7 @@

Procs

  Source   Edit @@ -5506,7 +5506,7 @@

Procs

  Source   Edit @@ -5520,7 +5520,7 @@

Procs

Example:

assert {1, 2, 3} * {2, 3, 4} == {2, 3}
  Source   Edit @@ -5534,7 +5534,7 @@

Procs

The result is truncated to fit into the result. This implements modulo arithmetic. No overflow errors are possible.

  Source   Edit @@ -5546,7 +5546,7 @@

Procs

  Source   Edit @@ -5558,7 +5558,7 @@

Procs

  Source   Edit @@ -5570,7 +5570,7 @@

Procs

  Source   Edit @@ -5582,7 +5582,7 @@

Procs

  Source   Edit @@ -5594,7 +5594,7 @@

Procs

Increments in place a floating point number.   Source   Edit @@ -5607,7 +5607,7 @@

Procs

Increments an integer.   Source   Edit @@ -5620,7 +5620,7 @@

Procs

  Source   Edit @@ -5633,7 +5633,7 @@

Procs

  Source   Edit @@ -5645,7 +5645,7 @@

Procs

Binary + operator for an integer.   Source   Edit @@ -5657,7 +5657,7 @@

Procs

  Source   Edit @@ -5669,7 +5669,7 @@

Procs

  Source   Edit @@ -5681,7 +5681,7 @@

Procs

  Source   Edit @@ -5693,7 +5693,7 @@

Procs

  Source   Edit @@ -5705,7 +5705,7 @@

Procs

Binary + operator for unsigned integers.   Source   Edit @@ -5717,7 +5717,7 @@

Procs

  Source   Edit @@ -5730,7 +5730,7 @@

Procs

  Source   Edit @@ -5743,7 +5743,7 @@

Procs

  Source   Edit @@ -5756,7 +5756,7 @@

Procs

  Source   Edit @@ -5769,7 +5769,7 @@

Procs

  Source   Edit @@ -5782,7 +5782,7 @@

Procs

  Source   Edit @@ -5794,7 +5794,7 @@

Procs

Unary + operator for an integer. Has no effect.   Source   Edit @@ -5807,7 +5807,7 @@

Procs

  Source   Edit @@ -5820,7 +5820,7 @@

Procs

  Source   Edit @@ -5833,7 +5833,7 @@

Procs

  Source   Edit @@ -5846,7 +5846,7 @@

Procs

  Source   Edit @@ -5860,7 +5860,7 @@

Procs

Example:

assert {1, 2, 3} + {2, 3, 4} == {1, 2, 3, 4}
  Source   Edit @@ -5874,7 +5874,7 @@

Procs

Example:

assert {1, 2, 3} + 4 == {1, 2, 3, 4}
  Source   Edit @@ -5888,7 +5888,7 @@

Procs

The result is truncated to fit into the result. This implements modulo arithmetic. No overflow errors are possible.

  Source   Edit @@ -5900,7 +5900,7 @@

Procs

  Source   Edit @@ -5912,7 +5912,7 @@

Procs

  Source   Edit @@ -5924,7 +5924,7 @@

Procs

  Source   Edit @@ -5936,7 +5936,7 @@

Procs

  Source   Edit @@ -5948,7 +5948,7 @@

Procs

Decrements in place a floating point number.   Source   Edit @@ -5961,7 +5961,7 @@

Procs

Decrements an integer.   Source   Edit @@ -5973,7 +5973,7 @@

Procs

  Source   Edit @@ -5986,7 +5986,7 @@

Procs

  Source   Edit @@ -5999,7 +5999,7 @@

Procs

  Source   Edit @@ -6011,7 +6011,7 @@

Procs

Binary - operator for an integer.   Source   Edit @@ -6023,7 +6023,7 @@

Procs

  Source   Edit @@ -6035,7 +6035,7 @@

Procs

  Source   Edit @@ -6047,7 +6047,7 @@

Procs

  Source   Edit @@ -6059,7 +6059,7 @@

Procs

  Source   Edit @@ -6071,7 +6071,7 @@

Procs

Binary - operator for unsigned integers.   Source   Edit @@ -6083,7 +6083,7 @@

Procs

  Source   Edit @@ -6096,7 +6096,7 @@

Procs

  Source   Edit @@ -6109,7 +6109,7 @@

Procs

  Source   Edit @@ -6122,7 +6122,7 @@

Procs

  Source   Edit @@ -6135,7 +6135,7 @@

Procs

  Source   Edit @@ -6148,7 +6148,7 @@

Procs

  Source   Edit @@ -6160,7 +6160,7 @@

Procs

Unary - operator for an integer. Negates x.   Source   Edit @@ -6173,7 +6173,7 @@

Procs

  Source   Edit @@ -6186,7 +6186,7 @@

Procs

  Source   Edit @@ -6199,7 +6199,7 @@

Procs

  Source   Edit @@ -6212,7 +6212,7 @@

Procs

  Source   Edit @@ -6226,7 +6226,7 @@

Procs

Example:

assert {1, 2, 3} - {2, 3, 4} == {1}
  Source   Edit @@ -6240,7 +6240,7 @@

Procs

Example:

assert {1, 2} - 2 == {1}
  Source   Edit @@ -6256,7 +6256,7 @@

Procs

let a = [10, 20, 30, 40, 50]
 echo a[2 .. 3] # @[30, 40]
  Source   Edit @@ -6273,7 +6273,7 @@

Procs

Unary slice operator that constructs an interval [default(int), b].
let a = [10, 20, 30, 40, 50]
 echo a[.. 2] # @[10, 20, 30]
  Source   Edit @@ -6287,7 +6287,7 @@

Procs

The result is truncated to fit into the result. This implements modulo arithmetic. No overflow errors are possible.

  Source   Edit @@ -6299,7 +6299,7 @@

Procs

  Source   Edit @@ -6311,7 +6311,7 @@

Procs

  Source   Edit @@ -6323,7 +6323,7 @@

Procs

  Source   Edit @@ -6335,7 +6335,7 @@

Procs

  Source   Edit @@ -6348,7 +6348,7 @@

Procs

Divides in place a floating point number.   Source   Edit @@ -6360,7 +6360,7 @@

Procs

Divides in place a floating point number.   Source   Edit @@ -6373,7 +6373,7 @@

Procs

  Source   Edit @@ -6386,7 +6386,7 @@

Procs

  Source   Edit @@ -6403,7 +6403,7 @@

Procs

echo 7 / 5 # => 1.4
  Source   Edit @@ -6415,7 +6415,7 @@

Procs

Treats x and y as unsigned and compares them. Returns true if unsigned(x) < unsigned(y).   Source   Edit @@ -6427,7 +6427,7 @@

Procs

  Source   Edit @@ -6439,7 +6439,7 @@

Procs

  Source   Edit @@ -6451,7 +6451,7 @@

Procs

  Source   Edit @@ -6463,7 +6463,7 @@

Procs

  Source   Edit @@ -6475,7 +6475,7 @@

Procs

Treats x and y as unsigned and compares them. Returns true if unsigned(x) <= unsigned(y).   Source   Edit @@ -6487,7 +6487,7 @@

Procs

  Source   Edit @@ -6499,7 +6499,7 @@

Procs

  Source   Edit @@ -6511,7 +6511,7 @@

Procs

  Source   Edit @@ -6523,7 +6523,7 @@

Procs

  Source   Edit @@ -6535,7 +6535,7 @@

Procs

  Source   Edit @@ -6555,7 +6555,7 @@

Procs

assert a <= a assert not (a <= c)   Source   Edit @@ -6568,7 +6568,7 @@

Procs

  Source   Edit @@ -6581,7 +6581,7 @@

Procs

  Source   Edit @@ -6593,7 +6593,7 @@

Procs

Returns true if x is less than or equal to y.   Source   Edit @@ -6605,7 +6605,7 @@

Procs

  Source   Edit @@ -6617,7 +6617,7 @@

Procs

  Source   Edit @@ -6629,7 +6629,7 @@

Procs

  Source   Edit @@ -6641,7 +6641,7 @@

Procs

  Source   Edit @@ -6654,7 +6654,7 @@

Procs

  Source   Edit @@ -6675,7 +6675,7 @@

Procs

assert a <= a assert not (a <= c)   Source   Edit @@ -6687,7 +6687,7 @@

Procs

Returns true if x <= y.   Source   Edit @@ -6699,7 +6699,7 @@

Procs

  Source   Edit @@ -6711,7 +6711,7 @@

Procs

  Source   Edit @@ -6723,7 +6723,7 @@

Procs

  Source   Edit @@ -6735,7 +6735,7 @@

Procs

  Source   Edit @@ -6748,7 +6748,7 @@

Procs

  Source   Edit @@ -6760,7 +6760,7 @@

Procs

Generic lexicographic <= operator for tuples that is lifted from the components of x and y. This implementation uses cmp.   Source   Edit @@ -6773,7 +6773,7 @@

Procs

  Source   Edit @@ -6796,7 +6796,7 @@

Procs

assert a <= a assert not (a <= c)   Source   Edit @@ -6808,7 +6808,7 @@

Procs

  Source   Edit @@ -6828,7 +6828,7 @@

Procs

assert not (a < a) assert not (a < c)   Source   Edit @@ -6840,7 +6840,7 @@

Procs

  Source   Edit @@ -6853,7 +6853,7 @@

Procs

  Source   Edit @@ -6865,7 +6865,7 @@

Procs

Returns true if x is less than y.   Source   Edit @@ -6877,7 +6877,7 @@

Procs

  Source   Edit @@ -6889,7 +6889,7 @@

Procs

  Source   Edit @@ -6901,7 +6901,7 @@

Procs

  Source   Edit @@ -6913,7 +6913,7 @@

Procs

  Source   Edit @@ -6926,7 +6926,7 @@

Procs

  Source   Edit @@ -6947,7 +6947,7 @@

Procs

assert not (a < a) assert not (a < c)   Source   Edit @@ -6959,7 +6959,7 @@

Procs

Returns true if x < y.   Source   Edit @@ -6971,7 +6971,7 @@

Procs

  Source   Edit @@ -6983,7 +6983,7 @@

Procs

  Source   Edit @@ -6995,7 +6995,7 @@

Procs

  Source   Edit @@ -7007,7 +7007,7 @@

Procs

  Source   Edit @@ -7020,7 +7020,7 @@

Procs

  Source   Edit @@ -7032,7 +7032,7 @@

Procs

Generic lexicographic < operator for tuples that is lifted from the components of x and y. This implementation uses cmp.   Source   Edit @@ -7045,7 +7045,7 @@

Procs

  Source   Edit @@ -7058,7 +7058,7 @@

Procs

  Source   Edit @@ -7081,7 +7081,7 @@

Procs

assert not (a < a) assert not (a < c)   Source   Edit @@ -7093,7 +7093,7 @@

Procs

Checks for equality between two bool variables.   Source   Edit @@ -7105,7 +7105,7 @@

Procs

Checks for equality between two char variables.   Source   Edit @@ -7118,7 +7118,7 @@

Procs

Checks for equality between two cstring variables.   Source   Edit @@ -7131,7 +7131,7 @@

Procs

  Source   Edit @@ -7144,7 +7144,7 @@

Procs

  Source   Edit @@ -7156,7 +7156,7 @@

Procs

Compares two integers for equality.   Source   Edit @@ -7168,7 +7168,7 @@

Procs

  Source   Edit @@ -7180,7 +7180,7 @@

Procs

  Source   Edit @@ -7192,7 +7192,7 @@

Procs

  Source   Edit @@ -7204,7 +7204,7 @@

Procs

  Source   Edit @@ -7222,7 +7222,7 @@

Procs

b = cast[pointer](nil) assert a == b # true due to the special meaning of `nil`/0 as a pointer   Source   Edit @@ -7235,7 +7235,7 @@

Procs

Checks for equality between two string variables.   Source   Edit @@ -7247,7 +7247,7 @@

Procs

Compares two unsigned integers for equality.   Source   Edit @@ -7259,7 +7259,7 @@

Procs

  Source   Edit @@ -7271,7 +7271,7 @@

Procs

  Source   Edit @@ -7283,7 +7283,7 @@

Procs

  Source   Edit @@ -7295,7 +7295,7 @@

Procs

  Source   Edit @@ -7308,7 +7308,7 @@

Procs

  Source   Edit @@ -7321,7 +7321,7 @@

Procs

  Source   Edit @@ -7345,7 +7345,7 @@

Procs

assert e1 == e2 assert not compiles(e1 == place2) # raises error   Source   Edit @@ -7357,7 +7357,7 @@

Procs

  Source   Edit @@ -7370,7 +7370,7 @@

Procs

Checks that two proc variables refer to the same procedure.   Source   Edit @@ -7382,7 +7382,7 @@

Procs

Generic == operator for tuples that is lifted from the components. of x and y.   Source   Edit @@ -7394,7 +7394,7 @@

Procs

  Source   Edit @@ -7407,7 +7407,7 @@

Procs

Checks that two ptr variables refer to the same item.   Source   Edit @@ -7420,7 +7420,7 @@

Procs

Checks that two ref variables refer to the same item.   Source   Edit @@ -7432,7 +7432,7 @@

Procs

Generic equals operator for sequences: relies on a equals operator for the element type T.   Source   Edit @@ -7447,7 +7447,7 @@

Procs

Example:

assert {1, 2, 2, 3} == {1, 2, 3} # duplication in sets is ignored
  Source   Edit @@ -7460,7 +7460,7 @@

Procs

  Source   Edit @@ -7473,7 +7473,7 @@

Procs

  Source   Edit @@ -7485,7 +7485,7 @@

Procs

Generic destructor implementation that can be overridden.   Source   Edit @@ -7497,7 +7497,7 @@

Procs

Generic sink implementation that can be overridden.   Source   Edit @@ -7510,7 +7510,7 @@

Procs

Generic trace implementation that can be overridden.   Source   Edit @@ -7530,7 +7530,7 @@

Procs

echo @a # => @[1, 3, 5] echo @b # => @['f', 'o', 'o']   Source   Edit @@ -7544,7 +7544,7 @@

Procs

This is not as efficient as turning a fixed length array into a sequence as it always copies every element of a.

  Source   Edit @@ -7557,7 +7557,7 @@

Procs

  Source   Edit @@ -7570,7 +7570,7 @@

Procs

  Source   Edit @@ -7585,7 +7585,7 @@

Procs

a[1..2] = @[99, 88] assert a == [10, 99, 88, 40, 50]   Source   Edit @@ -7597,7 +7597,7 @@

Procs

  Source   Edit @@ -7615,7 +7615,7 @@

Procs

s[1 .. ^2] = "xyz" assert s == "axyzh"   Source   Edit @@ -7633,7 +7633,7 @@

Procs

s[1 .. ^2] = @"xyz" assert s == @"axyzh"   Source   Edit @@ -7645,7 +7645,7 @@

Procs

  Source   Edit @@ -7657,7 +7657,7 @@

Procs

  Source   Edit @@ -7670,7 +7670,7 @@

Procs

  Source   Edit @@ -7683,7 +7683,7 @@

Procs

  Source   Edit @@ -7696,7 +7696,7 @@

Procs

Slice operation for arrays. Returns the inclusive range [a[x.a], a[x.b]]:
var a = [1, 2, 3, 4]
 assert a[0..2] == @[1, 2, 3]
  Source   Edit @@ -7708,7 +7708,7 @@

Procs

  Source   Edit @@ -7720,7 +7720,7 @@

Procs

  Source   Edit @@ -7733,7 +7733,7 @@

Procs

Slice operation for strings. Returns the inclusive range [s[x.a], s[x.b]]:
var s = "abcdef"
 assert s[1..3] == "bcd"
  Source   Edit @@ -7746,7 +7746,7 @@

Procs

Slice operation for sequences. Returns the inclusive range [s[x.a], s[x.b]]:
var s = @[1, 2, 3, 4]
 assert s[0..2] == @[1, 2, 3]
  Source   Edit @@ -7758,7 +7758,7 @@

Procs

  Source   Edit @@ -7770,7 +7770,7 @@

Procs

  Source   Edit @@ -7792,7 +7792,7 @@

Procs

echo p.repr # ref 0x7faa35c40059 --> 'b' echo p[] # b   Source   Edit @@ -7805,7 +7805,7 @@

Procs

Constructs an and meta class.   Source   Edit @@ -7819,7 +7819,7 @@

Procs

Evaluation is lazy: if x is false, y will not even be evaluated.

  Source   Edit @@ -7835,7 +7835,7 @@

Procs

assert (0b0011 and 0b0101) == 0b0001
 assert (0b0111 and 0b1100) == 0b0100
  Source   Edit @@ -7848,7 +7848,7 @@

Procs

  Source   Edit @@ -7861,7 +7861,7 @@

Procs

  Source   Edit @@ -7874,7 +7874,7 @@

Procs

  Source   Edit @@ -7887,7 +7887,7 @@

Procs

  Source   Edit @@ -7900,7 +7900,7 @@

Procs

Computes the bitwise and of numbers x and y.   Source   Edit @@ -7913,7 +7913,7 @@

Procs

  Source   Edit @@ -7926,7 +7926,7 @@

Procs

  Source   Edit @@ -7939,7 +7939,7 @@

Procs

  Source   Edit @@ -7952,7 +7952,7 @@

Procs

  Source   Edit @@ -7974,7 +7974,7 @@

Procs

assert (7 div -3) == -2 assert (-7 div -3) == 2   Source   Edit @@ -7986,7 +7986,7 @@

Procs

  Source   Edit @@ -7999,7 +7999,7 @@

Procs

  Source   Edit @@ -8012,7 +8012,7 @@

Procs

  Source   Edit @@ -8025,7 +8025,7 @@

Procs

  Source   Edit @@ -8037,7 +8037,7 @@

Procs

Computes the integer division for unsigned integers. This is roughly the same as trunc(x/y).   Source   Edit @@ -8050,7 +8050,7 @@

Procs

  Source   Edit @@ -8063,7 +8063,7 @@

Procs

  Source   Edit @@ -8076,7 +8076,7 @@

Procs

  Source   Edit @@ -8089,7 +8089,7 @@

Procs

  Source   Edit @@ -8114,7 +8114,7 @@

Procs

assert(test[int](3) == 3) assert(test[string]("xyz") == 0)   Source   Edit @@ -8133,7 +8133,7 @@

Procs

assert (7 mod -5) == 2 assert (-7 mod -5) == -2   Source   Edit @@ -8145,7 +8145,7 @@

Procs

  Source   Edit @@ -8158,7 +8158,7 @@

Procs

  Source   Edit @@ -8171,7 +8171,7 @@

Procs

  Source   Edit @@ -8184,7 +8184,7 @@

Procs

  Source   Edit @@ -8196,7 +8196,7 @@

Procs

Computes the integer modulo operation (remainder) for unsigned integers. This is the same as x - (x div y) * y.   Source   Edit @@ -8209,7 +8209,7 @@

Procs

  Source   Edit @@ -8222,7 +8222,7 @@

Procs

  Source   Edit @@ -8235,7 +8235,7 @@

Procs

  Source   Edit @@ -8248,7 +8248,7 @@

Procs

  Source   Edit @@ -8261,7 +8261,7 @@

Procs

Constructs an not meta class.   Source   Edit @@ -8273,7 +8273,7 @@

Procs

Boolean not; returns true if x == false.   Source   Edit @@ -8290,7 +8290,7 @@

Procs

assert not 1000'u16 == 64535 assert not 1000'i16 == -1001   Source   Edit @@ -8302,7 +8302,7 @@

Procs

  Source   Edit @@ -8315,7 +8315,7 @@

Procs

  Source   Edit @@ -8328,7 +8328,7 @@

Procs

  Source   Edit @@ -8341,7 +8341,7 @@

Procs

  Source   Edit @@ -8353,7 +8353,7 @@

Procs

Computes the bitwise complement of the integer x.   Source   Edit @@ -8366,7 +8366,7 @@

Procs

  Source   Edit @@ -8379,7 +8379,7 @@

Procs

  Source   Edit @@ -8392,7 +8392,7 @@

Procs

  Source   Edit @@ -8405,7 +8405,7 @@

Procs

  Source   Edit @@ -8441,7 +8441,7 @@

Procs

doAssert not compiles(base of Unrelated)   Source   Edit @@ -8454,7 +8454,7 @@

Procs

Constructs an or meta class.   Source   Edit @@ -8468,7 +8468,7 @@

Procs

Evaluation is lazy: if x is true, y will not even be evaluated.

  Source   Edit @@ -8483,7 +8483,7 @@

Procs

assert (0b0011 or 0b0101) == 0b0111
 assert (0b0111 or 0b1100) == 0b1111
  Source   Edit @@ -8496,7 +8496,7 @@

Procs

  Source   Edit @@ -8509,7 +8509,7 @@

Procs

  Source   Edit @@ -8522,7 +8522,7 @@

Procs

  Source   Edit @@ -8535,7 +8535,7 @@

Procs

  Source   Edit @@ -8548,7 +8548,7 @@

Procs

Computes the bitwise or of numbers x and y.   Source   Edit @@ -8561,7 +8561,7 @@

Procs

  Source   Edit @@ -8574,7 +8574,7 @@

Procs

  Source   Edit @@ -8587,7 +8587,7 @@

Procs

  Source   Edit @@ -8600,7 +8600,7 @@

Procs

  Source   Edit @@ -8613,7 +8613,7 @@

Procs

  Source   Edit @@ -8626,7 +8626,7 @@

Procs

  Source   Edit @@ -8639,7 +8639,7 @@

Procs

  Source   Edit @@ -8652,7 +8652,7 @@

Procs

  Source   Edit @@ -8670,7 +8670,7 @@

Procs

assert 1'i32 shl 4 == 0x0000_0010
 assert 1'i64 shl 4 == 0x0000_0000_0000_0010
  Source   Edit @@ -8683,7 +8683,7 @@

Procs

  Source   Edit @@ -8696,7 +8696,7 @@

Procs

  Source   Edit @@ -8709,7 +8709,7 @@

Procs

  Source   Edit @@ -8722,7 +8722,7 @@

Procs

  Source   Edit @@ -8735,7 +8735,7 @@

Procs

Computes the shift left operation of x and y.   Source   Edit @@ -8748,7 +8748,7 @@

Procs

  Source   Edit @@ -8761,7 +8761,7 @@

Procs

  Source   Edit @@ -8774,7 +8774,7 @@

Procs

  Source   Edit @@ -8787,7 +8787,7 @@

Procs

  Source   Edit @@ -8813,7 +8813,7 @@

Procs

assert 16 shr 2 == 4 assert -16 shr 2 == -4   Source   Edit @@ -8826,7 +8826,7 @@

Procs

  Source   Edit @@ -8839,7 +8839,7 @@

Procs

  Source   Edit @@ -8852,7 +8852,7 @@

Procs

  Source   Edit @@ -8865,7 +8865,7 @@

Procs

  Source   Edit @@ -8878,7 +8878,7 @@

Procs

Computes the shift right operation of x and y.   Source   Edit @@ -8890,7 +8890,7 @@

Procs

Boolean exclusive or; returns true if x != y (if either argument is true while the other is false).   Source   Edit @@ -8906,7 +8906,7 @@

Procs

assert (0b0011 xor 0b0101) == 0b0110
 assert (0b0111 xor 0b1100) == 0b1011
  Source   Edit @@ -8919,7 +8919,7 @@

Procs

  Source   Edit @@ -8932,7 +8932,7 @@

Procs

  Source   Edit @@ -8945,7 +8945,7 @@

Procs

  Source   Edit @@ -8958,7 +8958,7 @@

Procs

  Source   Edit @@ -8971,7 +8971,7 @@

Procs

Computes the bitwise xor of numbers x and y.   Source   Edit @@ -8984,7 +8984,7 @@

Procs

  Source   Edit @@ -8997,7 +8997,7 @@

Procs

  Source   Edit @@ -9010,7 +9010,7 @@

Procs

  Source   Edit @@ -9023,7 +9023,7 @@

Procs

  Source   Edit @@ -9035,7 +9035,7 @@

Procs

  Source   Edit @@ -9047,7 +9047,7 @@

Procs

  Source   Edit @@ -9059,7 +9059,7 @@

Procs

  Source   Edit @@ -9071,7 +9071,7 @@

Procs

  Source   Edit @@ -9083,7 +9083,7 @@

Procs

  Source   Edit @@ -9097,7 +9097,7 @@

Procs

If x is low(x) (that is -MININT for its type), an overflow exception is thrown (if overflow checking is turned on).

  Source   Edit @@ -9109,7 +9109,7 @@

Procs

  Source   Edit @@ -9128,7 +9128,7 @@

Procs

tmp.add(cstring("cd")) doAssert tmp == cstring("abcd")   Source   Edit @@ -9144,7 +9144,7 @@

Procs

tmp.add('b') assert(tmp == "ab")   Source   Edit @@ -9161,7 +9161,7 @@

Procs

tmp.add(cstring("cd")) doAssert tmp == "abcd"   Source   Edit @@ -9181,7 +9181,7 @@

Procs

tmp.add("cd") assert tmp == "abcd"   Source   Edit @@ -9196,7 +9196,7 @@

Procs

For containers that have an order, add means append. New generic containers should also call their adding proc add for consistency. Generic code becomes much easier to write if the Nim naming scheme is respected.

  Source   Edit @@ -9214,7 +9214,7 @@

Procs

var s: seq[string] = @["test2","test2"]
 s.add("test") # s <- @[test2, test2, test]
  Source   Edit @@ -9226,7 +9226,7 @@

Procs

  Source   Edit @@ -9255,7 +9255,7 @@

Procs

This is not correct for producing ANSI C code!   Source   Edit @@ -9274,7 +9274,7 @@

Procs

Each call to addQuitProc registers another quit procedure. Up to 30 procedures can be registered. They are executed on a last-in, first-out basis (that is, the last function registered is the first to be executed). addQuitProc raises an EOutOfIndex exception if quitProc cannot be registered.

  Source   Edit @@ -9295,7 +9295,7 @@

Procs

tmp.addQuoted('c') assert(tmp == """1, "string", 'c'""")   Source   Edit @@ -9308,7 +9308,7 @@

Procs

  Source   Edit @@ -9321,7 +9321,7 @@

Procs

  Source   Edit @@ -9334,7 +9334,7 @@

Procs

  Source   Edit @@ -9347,7 +9347,7 @@

Procs

Creates a NULL terminated cstringArray from a. The result has to be freed with deallocCStringArray after it's not needed anymore.   Source   Edit @@ -9360,7 +9360,7 @@

Procs

  Source   Edit @@ -9373,7 +9373,7 @@

Procs

  Source   Edit @@ -9386,7 +9386,7 @@

Procs

  Source   Edit @@ -9399,7 +9399,7 @@

Procs

  Source   Edit @@ -9412,7 +9412,7 @@

Procs

  Source   Edit @@ -9425,7 +9425,7 @@

Procs

  Source   Edit @@ -9438,7 +9438,7 @@

Procs

  Source   Edit @@ -9460,7 +9460,7 @@

Procs

assert ashr(0b1000_0000'i8, 8) == 0b1111_1111'i8 assert ashr(0b1000_0000'i8, 1) == 0b1100_0000'i8   Source   Edit @@ -9473,7 +9473,7 @@

Procs

Converts the AST of x into a string representation. This is very useful for debugging.   Source   Edit @@ -9486,7 +9486,7 @@

Procs

Atomic decrement of memLoc. Returns the value after the operation.   Source   Edit @@ -9499,7 +9499,7 @@

Procs

Atomic increment of memLoc. Returns the value after the operation.   Source   Edit @@ -9516,7 +9516,7 @@

Procs

var b = {1, 3, 5, 7, 5} assert card(b) == 4 # repeated 5 doesn't count   Source   Edit @@ -9529,7 +9529,7 @@

Procs

  Source   Edit @@ -9550,7 +9550,7 @@

Procs

doAssertRaises(RangeDefect): discard chr(x) doAssertRaises(RangeDefect): discard char(x)   Source   Edit @@ -9569,7 +9569,7 @@

Procs

assert (0.5).clamp(0.0, 1.0) == 0.5 assert 4.clamp(1, 3) == max(1, min(3, 4))   Source   Edit @@ -9583,7 +9583,7 @@

Procs

Note: The precise result values depend on the used C runtime library and can differ between operating systems!

  Source   Edit @@ -9603,7 +9603,7 @@

Procs

import std/algorithm
 echo sorted(@[4, 2, 6, 5, 8, 7], cmp[int])
  Source   Edit @@ -9623,7 +9623,7 @@

Procs

Like any procedure dealing with raw memory this is unsafe.

  Source   Edit @@ -9645,7 +9645,7 @@

Procs

when compileOption("opt", "size") and compileOption("gc", "boehm"):
   discard "compiled with optimization for size and uses Boehm's GC"
  Source   Edit @@ -9670,7 +9670,7 @@

Procs

# floating point NaN and Inf checks enabled in this scope {.pop.}   Source   Edit @@ -9684,7 +9684,7 @@

Procs

Special compile-time procedure that checks whether x can be compiled without any semantic error. This can be used to check whether a type supports some operation:
when compiles(3 + 4):
   echo "'+' for integers is available"
  Source   Edit @@ -9701,7 +9701,7 @@

Procs

assert 3 in a assert 99 notin a   Source   Edit @@ -9721,7 +9721,7 @@

Procs

assert 'd' notin s assert set['a'..'z'] is set[range['a'..'z']]If in had been declared as [T](elem: T, s: set[T]) then T would have been bound to char. But s is not compatible to type set[char]! The solution is to bind T to range['a'..'z']. This is achieved by reversing the parameters for contains; in then passes its arguments in reverse order.   Source   Edit @@ -9735,7 +9735,7 @@

Procs

assert((1..3).contains(2) == true) assert((1..3).contains(4) == false)   Source   Edit @@ -9748,7 +9748,7 @@

Procs

Copies the contents from the memory at source to the memory at dest. Exactly size bytes will be copied. The memory regions may not overlap. Like any procedure dealing with raw memory this is unsafe.   Source   Edit @@ -9760,7 +9760,7 @@

Procs

  Source   Edit @@ -9776,7 +9776,7 @@

Procs

The allocated memory belongs to its allocating thread! Use createShared to allocate from a shared heap.

  Source   Edit @@ -9791,7 +9791,7 @@

Procs

The block is initialized with all bytes containing zero, so it is somewhat safer than createSharedU.

  Source   Edit @@ -9810,7 +9810,7 @@

Procs

  Source   Edit @@ -9829,7 +9829,7 @@

Procs

  Source   Edit @@ -9841,7 +9841,7 @@

Procs

Converts a cstringArray to a seq[string]. a is supposed to be terminated by nil.   Source   Edit @@ -9854,7 +9854,7 @@

Procs

Converts a cstringArray to a seq[string]. a is supposed to be of length len.   Source   Edit @@ -9870,7 +9870,7 @@

Procs

The freed memory must belong to its allocating thread! Use deallocShared to deallocate from a shared heap.

  Source   Edit @@ -9882,7 +9882,7 @@

Procs

Frees a NULL terminated cstringArray.   Source   Edit @@ -9895,7 +9895,7 @@

Procs

  Source   Edit @@ -9910,7 +9910,7 @@

Procs

This procedure is dangerous! If one forgets to free the memory a leak occurs; if one tries to access freed memory (or just freeing it twice!) a core dump may happen or other memory may be corrupted.

  Source   Edit @@ -9923,7 +9923,7 @@

Procs

  Source   Edit @@ -9936,7 +9936,7 @@

Procs

Same as echo, but as a special semantic rule, debugEcho pretends to be free of side effects, so that it can be used for debugging routines marked as noSideEffect.   Source   Edit @@ -9957,7 +9957,7 @@

Procs

dec(i, 3) assert i == -2   Source   Edit @@ -9977,7 +9977,7 @@

Procs

# provide our own toUpper proc here, because strutils is # missing it.   Source   Edit @@ -9990,7 +9990,7 @@

Procs

Special compile-time procedure that checks whether x is declared in the current scope. x has to be an identifier.   Source   Edit @@ -10006,7 +10006,7 @@

Procs

For --gc:arc or --gc:orc deepcopy support has to be enabled via --deepcopy:on.

  Source   Edit @@ -10018,7 +10018,7 @@

Procs

Convenience wrapper around deepCopy overload.   Source   Edit @@ -10044,7 +10044,7 @@

Procs

# var a3 = Foo() # ditto var a3 = Foo.default # this works, but generates a `UnsafeDefault` warning.   Source   Edit @@ -10066,7 +10066,7 @@

Procs

# Do here programmer friendly expensive sanity checks. # Put here the normal code   Source   Edit @@ -10087,7 +10087,7 @@

Procs

a.del(2) assert a == @[10, 11, 14, 13]   Source   Edit @@ -10110,7 +10110,7 @@

Procs

s.delete(2) doAssert s == @[1, 2, 4, 5]   Source   Edit @@ -10126,7 +10126,7 @@

Procs

Unlike other IO operations this is guaranteed to be thread-safe as echo is very often used for debugging convenience. If you want to use echo inside a proc without side effects you can use debugEcho instead.

  Source   Edit @@ -10141,7 +10141,7 @@

Procs

If the blocks are equal, true is returned, false otherwise. Like any procedure dealing with raw memory this is unsafe.

  Source   Edit @@ -10159,7 +10159,7 @@

Procs

b.excl(5) assert b == {2, 3, 6, 12, 545}   Source   Edit @@ -10171,7 +10171,7 @@

Procs

Returns the first index of item in a or -1 if not found. This requires appropriate items and == operations to work.   Source   Edit @@ -10184,7 +10184,7 @@

Procs

Tests if the given closure iterator x has finished iterating.   Source   Edit @@ -10196,7 +10196,7 @@

Procs

  Source   Edit @@ -10210,7 +10210,7 @@

Procs

This procedure is dangerous! If one forgets to free the memory a leak occurs; if one tries to access freed memory (or just freeing it twice!) a core dump may happen or other memory may be corrupted.

  Source   Edit @@ -10222,7 +10222,7 @@

Procs

For --gc:orc an alias for GC_disableOrc.   Source   Edit @@ -10234,7 +10234,7 @@

Procs

Disables the cycle collector subsystem of --gc:orc. This is a --gc:orc specific API. Check with when defined(gcOrc) for its existence.   Source   Edit @@ -10246,7 +10246,7 @@

Procs

For --gc:orc an alias for GC_enableOrc.   Source   Edit @@ -10258,7 +10258,7 @@

Procs

Enables the cycle collector subsystem of --gc:orc. This is a --gc:orc specific API. Check with when defined(gcOrc) for its existence.   Source   Edit @@ -10270,7 +10270,7 @@

Procs

Forces a full garbage collection pass. With --gc:orc triggers the cycle collector. This is an alias for GC_runOrc.   Source   Edit @@ -10282,7 +10282,7 @@

Procs

  Source   Edit @@ -10294,7 +10294,7 @@

Procs

  Source   Edit @@ -10306,7 +10306,7 @@

Procs

  Source   Edit @@ -10318,7 +10318,7 @@

Procs

New runtime only supports this operation for 'ref T'.   Source   Edit @@ -10330,7 +10330,7 @@

Procs

Forces a cycle collection pass.   Source   Edit @@ -10342,7 +10342,7 @@

Procs

New runtime only supports this operation for 'ref T'.   Source   Edit @@ -10354,7 +10354,7 @@

Procs

  Source   Edit @@ -10367,7 +10367,7 @@

Procs

Retrieves the current exception; if there is none, nil is returned.   Source   Edit @@ -10380,7 +10380,7 @@

Procs

Retrieves the error message that was attached to the current exception; if there is none, "" is returned.   Source   Edit @@ -10392,7 +10392,7 @@

Procs

  Source   Edit @@ -10404,7 +10404,7 @@

Procs

  Source   Edit @@ -10416,7 +10416,7 @@

Procs

Returns the number of bytes that are owned by the process, but do not hold any meaningful data.   Source   Edit @@ -10428,7 +10428,7 @@

Procs

  Source   Edit @@ -10440,7 +10440,7 @@

Procs

  Source   Edit @@ -10452,7 +10452,7 @@

Procs

Returns the number of bytes that are owned by the process and hold data.   Source   Edit @@ -10464,7 +10464,7 @@

Procs

Gets the current stack trace. This only works for debug builds.   Source   Edit @@ -10476,7 +10476,7 @@

Procs

Gets the stack trace associated with e, which is the stack that lead to the raise statement. This only works for debug builds.   Source   Edit @@ -10488,7 +10488,7 @@

Procs

Returns the stack trace entries for the current stack trace. This is not yet available for the JS backend.   Source   Edit @@ -10501,7 +10501,7 @@

Procs

  Source   Edit @@ -10513,7 +10513,7 @@

Procs

Gets the ID of the currently running thread.   Source   Edit @@ -10525,7 +10525,7 @@

Procs

Returns the number of bytes that are owned by the process.   Source   Edit @@ -10540,7 +10540,7 @@

Procs

Ordinary code should not use this, but the typeinfo module instead.

  Source   Edit @@ -10553,7 +10553,7 @@

Procs

This is an alias for staticExec.   Source   Edit @@ -10566,7 +10566,7 @@

Procs

Similar to gorge but also returns the precious exit code.   Source   Edit @@ -10578,7 +10578,7 @@

Procs

  Source   Edit @@ -10590,7 +10590,7 @@

Procs

  Source   Edit @@ -10606,7 +10606,7 @@

Procs

  Source   Edit @@ -10623,7 +10623,7 @@

Procs

var str = "Hello world!"
 high(str) # => 11
  Source   Edit @@ -10644,7 +10644,7 @@

Procs

for i in low(arr)..high(arr): echo arr[i]   Source   Edit @@ -10662,7 +10662,7 @@

Procs

high(array[7, int]) # => 6
  Source   Edit @@ -10683,7 +10683,7 @@

Procs

high(2) # => 9223372036854775807
  Source   Edit @@ -10701,7 +10701,7 @@

Procs

high(int) # => 9223372036854775807
  Source   Edit @@ -10721,7 +10721,7 @@

Procs

for i in low(s)..high(s): echo s[i]   Source   Edit @@ -10742,7 +10742,7 @@

Procs

inc(i, 3) assert i == 6   Source   Edit @@ -10762,7 +10762,7 @@

Procs

a.incl(4) assert a == {1, 2, 3, 4, 5}   Source   Edit @@ -10776,7 +10776,7 @@

Procs

Inserts item into x at position i.
var a = "abc"
 a.insert("zz", 0) # a <- "zzabc"
  Source   Edit @@ -10789,7 +10789,7 @@

Procs

Inserts item into x at position i.
var i = @[1, 3, 5]
 i.insert(99, 0) # i <- @[99, 1, 3, 5]
  Source   Edit @@ -10826,7 +10826,7 @@

Procs

testException(IndexDefect, tester(1)) # --> Test failure at example.nim:20 with 'tester(1)'   Source   Edit @@ -10839,7 +10839,7 @@

Procs

  Source   Edit @@ -10852,7 +10852,7 @@

Procs

  Source   Edit @@ -10867,7 +10867,7 @@

Procs

  Source   Edit @@ -10880,7 +10880,7 @@

Procs

Fast check whether x is nil. This is sometimes more efficient than == nil.   Source   Edit @@ -10893,7 +10893,7 @@

Procs

  Source   Edit @@ -10906,7 +10906,7 @@

Procs

  Source   Edit @@ -10923,7 +10923,7 @@

Procs

  Source   Edit @@ -10936,7 +10936,7 @@

Procs

  Source   Edit @@ -10954,7 +10954,7 @@

Procs

assert array[0, float].len == 0 static: assert array[-2..2, float].len == 5   Source   Edit @@ -10979,7 +10979,7 @@

Procs

var a2: cstring = "ab\0c" doAssert a2.len == 2 # \0 is a null terminator, even in js vm   Source   Edit @@ -10995,7 +10995,7 @@

Procs

assert "".len == 0 assert string.default.len == 0   Source   Edit @@ -11013,7 +11013,7 @@

Procs

let s = newSeqOfCap[int](3) assert s.len == 0   Source   Edit @@ -11025,7 +11025,7 @@

Procs

An alias for card(x).   Source   Edit @@ -11042,7 +11042,7 @@

Procs

assert bar([1,2]) == 2 assert [1,2].len == 2   Source   Edit @@ -11055,7 +11055,7 @@

Procs

Length of ordinal slice. When x.b < x.a returns zero length.
assert((0..5).len == 6)
 assert((5..2).len == 0)
  Source   Edit @@ -11082,7 +11082,7 @@

Procs

# -> name b with value 4 # -> B is 1   Source   Edit @@ -11094,7 +11094,7 @@

Procs

  Source   Edit @@ -11110,7 +11110,7 @@

Procs

  Source   Edit @@ -11127,7 +11127,7 @@

Procs

var str = "Hello world!"
 low(str) # => 0
  Source   Edit @@ -11148,7 +11148,7 @@

Procs

for i in low(arr)..high(arr): echo arr[i]   Source   Edit @@ -11166,7 +11166,7 @@

Procs

low(array[7, int]) # => 0
  Source   Edit @@ -11186,7 +11186,7 @@

Procs

low(2) # => -9223372036854775808
  Source   Edit @@ -11204,7 +11204,7 @@

Procs

low(int) # => -9223372036854775808
  Source   Edit @@ -11224,7 +11224,7 @@

Procs

for i in low(s)..high(s): echo s[i]   Source   Edit @@ -11236,7 +11236,7 @@

Procs

  Source   Edit @@ -11248,7 +11248,7 @@

Procs

  Source   Edit @@ -11260,7 +11260,7 @@

Procs

  Source   Edit @@ -11272,7 +11272,7 @@

Procs

  Source   Edit @@ -11284,7 +11284,7 @@

Procs

  Source   Edit @@ -11296,7 +11296,7 @@

Procs

  Source   Edit @@ -11308,7 +11308,7 @@

Procs

The maximum value of two integers.   Source   Edit @@ -11320,7 +11320,7 @@

Procs

  Source   Edit @@ -11332,7 +11332,7 @@

Procs

The maximum value of x. T needs to have a < operator.   Source   Edit @@ -11344,7 +11344,7 @@

Procs

  Source   Edit @@ -11356,7 +11356,7 @@

Procs

  Source   Edit @@ -11368,7 +11368,7 @@

Procs

  Source   Edit @@ -11380,7 +11380,7 @@

Procs

  Source   Edit @@ -11392,7 +11392,7 @@

Procs

  Source   Edit @@ -11404,7 +11404,7 @@

Procs

  Source   Edit @@ -11416,7 +11416,7 @@

Procs

The minimum value of two integers.   Source   Edit @@ -11428,7 +11428,7 @@

Procs

  Source   Edit @@ -11440,7 +11440,7 @@

Procs

The minimum value of x. T needs to have a < operator.   Source   Edit @@ -11452,7 +11452,7 @@

Procs

  Source   Edit @@ -11467,7 +11467,7 @@

Procs

Exactly size bytes will be copied. The memory regions may overlap, moveMem handles this case appropriately and is thus somewhat more safe than copyMem. Like any procedure dealing with raw memory this is still unsafe, though.

  Source   Edit @@ -11481,7 +11481,7 @@

Procs

When T is a ref type then the resulting type will be T, otherwise it will be ref T.

  Source   Edit @@ -11493,7 +11493,7 @@

Procs

Creates a new object of type T and returns a safe (traced) reference to it in a.   Source   Edit @@ -11516,7 +11516,7 @@

Procs

inputStrings[2] = "would crash" #inputStrings[3] = "out of bounds"   Source   Edit @@ -11538,7 +11538,7 @@

Procs

inputStrings[2] = "would crash" #inputStrings[3] = "out of bounds"   Source   Edit @@ -11554,7 +11554,7 @@

Procs

x.add(10) assert len(x) == 1   Source   Edit @@ -11570,7 +11570,7 @@

Procs

assert len(x) == 3 x[0] = 10   Source   Edit @@ -11586,7 +11586,7 @@

Procs

This procedure exists only for optimization purposes; the same effect can be achieved with the & operator or with add.

  Source   Edit @@ -11601,7 +11601,7 @@

Procs

This procedure exists only for optimization purposes; the same effect can be achieved with the & operator or with add.

  Source   Edit @@ -11620,7 +11620,7 @@

Procs

type Bar = distinct int assert 3.Bar.ord == 3   Source   Edit @@ -11637,7 +11637,7 @@

Procs

assert b == 7 assert a == @[1, 3, 5]   Source   Edit @@ -11649,7 +11649,7 @@

Procs

  Source   Edit @@ -11667,7 +11667,7 @@

Procs

assert pred(5) == 4
 assert pred(5, 3) == 2
  Source   Edit @@ -11679,7 +11679,7 @@

Procs

  Source   Edit @@ -11692,7 +11692,7 @@

Procs

Special magic to prohibit dynamic binding for method calls. This is similar to super in ordinary OO languages.
# 'someMethod' will be resolved fully statically:
 procCall someMethod(a, b)
  Source   Edit @@ -11704,7 +11704,7 @@

Procs

  Source   Edit @@ -11723,7 +11723,7 @@

Procs

In almost all cases, in particular in library code, prefer alternatives, e.g. doAssert false or raise a Defect. quit bypasses regular control flow in particular defer, try, catch, finally and destructors, and exceptions that may have been raised by an addExitProc proc, as well as cleanup code in other threads. It does not call the garbage collector to free all the memory, unless an addExitProc proc calls GC_fullCollect.   Source   Edit @@ -11736,7 +11736,7 @@

Procs

A shorthand for echo(errormsg); quit(errorcode).   Source   Edit @@ -11748,7 +11748,7 @@

Procs

Retrieves the raw environment pointer of the closure x. See also rawProc.   Source   Edit @@ -11760,7 +11760,7 @@

Procs

Retrieves the raw proc pointer of the closure x. This is useful for interfacing closures with C, hash compuations, etc.   Source   Edit @@ -11773,7 +11773,7 @@

Procs

  Source   Edit @@ -11786,7 +11786,7 @@

Procs

  Source   Edit @@ -11799,7 +11799,7 @@

Procs

  Source   Edit @@ -11812,7 +11812,7 @@

Procs

  Source   Edit @@ -11824,7 +11824,7 @@

Procs

Resets an object obj to its default value.   Source   Edit @@ -11840,7 +11840,7 @@

Procs

The allocated memory belongs to its allocating thread! Use resizeShared to reallocate from a shared heap.

  Source   Edit @@ -11854,7 +11854,7 @@

Procs

If p is nil then a new memory block is returned. In either way the block has at least T.sizeof * newSize bytes. If newSize == 0 and p is not nil resizeShared calls freeShared(p). In other cases the block has to be freed with freeShared.

  Source   Edit @@ -11887,7 +11887,7 @@

Procs

openDefaultBrowser "https://forum.nim-lang.org/" 2 * x   Source   Edit @@ -11904,7 +11904,7 @@

Procs

setControlCHook(ctrlc)   Source   Edit @@ -11919,7 +11919,7 @@

Procs

Only use this if you know what you are doing.   Source   Edit @@ -11931,7 +11931,7 @@

Procs

  Source   Edit @@ -11944,7 +11944,7 @@

Procs

  Source   Edit @@ -11956,7 +11956,7 @@

Procs

  Source   Edit @@ -11973,7 +11973,7 @@

Procs

myS.setLen(3) # myS <- "Nim" echo myS, " is fantastic!!"   Source   Edit @@ -11993,7 +11993,7 @@

Procs

x.setLen(1) assert x == @[10]   Source   Edit @@ -12009,7 +12009,7 @@

Procs

Be careful with the changed semantics though! There is a reason why the default assignment does a deep copy of sequences and strings.

  Source   Edit @@ -12021,7 +12021,7 @@

Procs

  Source   Edit @@ -12034,7 +12034,7 @@

Procs

  Source   Edit @@ -12051,7 +12051,7 @@

Procs

sizeof('A') # => 1
 sizeof(2) # => 8
  Source   Edit @@ -12063,7 +12063,7 @@

Procs

This is an alias for staticRead.   Source   Edit @@ -12075,7 +12075,7 @@

Procs

  Source   Edit @@ -12094,7 +12094,7 @@

Procs

If cache is not empty, the results of staticExec are cached within the nimcache directory. Use --forceBuild to get rid of this caching behaviour then. command & input & cache (the concatenated string) is used to determine whether the entry in the cache is still valid. You can use versioning information for cache:

const stateMachine = staticExec("dfaoptimizer", "input", "0.8.0")
  Source   Edit @@ -12109,7 +12109,7 @@

Procs

const myResource = staticRead"mydatafile.bin"

slurp is an alias for staticRead.

  Source   Edit @@ -12121,7 +12121,7 @@

Procs

  Source   Edit @@ -12140,7 +12140,7 @@

Procs

assert a.substr(2) == "cdefgh" assert a.substr(5, 99) == "fgh"   Source   Edit @@ -12158,7 +12158,7 @@

Procs

assert succ(5) == 6
 assert succ(5, 3) == 8
  Source   Edit @@ -12179,7 +12179,7 @@

Procs

assert a == 9 assert b == 5   Source   Edit @@ -12192,7 +12192,7 @@

Procs

Same as toFloat but for BiggestInt to BiggestFloat.   Source   Edit @@ -12205,7 +12205,7 @@

Procs

Same as toInt but for BiggestFloat to BiggestInt.   Source   Edit @@ -12223,7 +12223,7 @@

Procs

echo a.toFloat + b # => 5.7   Source   Edit @@ -12240,7 +12240,7 @@

Procs

doAssert toInt(0.5) == 1 doAssert toInt(-0.5) == -1 # rounding is symmetrical   Source   Edit @@ -12253,7 +12253,7 @@

Procs

  Source   Edit @@ -12266,7 +12266,7 @@

Procs

  Source   Edit @@ -12279,7 +12279,7 @@

Procs

  Source   Edit @@ -12292,7 +12292,7 @@

Procs

  Source   Edit @@ -12305,7 +12305,7 @@

Procs

  Source   Edit @@ -12318,7 +12318,7 @@

Procs

  Source   Edit @@ -12331,7 +12331,7 @@

Procs

  Source   Edit @@ -12344,7 +12344,7 @@

Procs

  Source   Edit @@ -12357,7 +12357,7 @@

Procs

  Source   Edit @@ -12370,7 +12370,7 @@

Procs

  Source   Edit @@ -12385,7 +12385,7 @@

Procs

treats x as unsigned and converts it to a byte by taking the last 8 bits from x. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12400,7 +12400,7 @@

Procs

treats x as unsigned and converts it to an int16 by taking the last 16 bits from x. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12415,7 +12415,7 @@

Procs

treats x as unsigned and converts it to an int32 by taking the last 32 bits from x. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12445,7 +12445,7 @@

Procs

# since `typeOfProc` expects a typed expression and `myFoo2()` can # only be used in a `for` context.   Source   Edit @@ -12461,7 +12461,7 @@

Procs

Cannot be overloaded.

  Source   Edit @@ -12479,7 +12479,7 @@

Procs

  Source   Edit @@ -12492,7 +12492,7 @@

Procs

Reverts a call to setControlCHook.   Source   Edit @@ -12505,7 +12505,7 @@

Procs

Resets an object obj to its initial (binary zero) value to signify it was "moved" and to signify its destructor should do nothing and ideally be optimized away.   Source   Edit @@ -12517,7 +12517,7 @@

Procs

Writes the current stack trace to stderr. This is only works for debug builds. Since it's usually used for debugging, this is proclaimed to have no IO effect!   Source   Edit @@ -12532,7 +12532,7 @@

Procs

zero extends a smaller integer type to int. This treats x as unsigned. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12547,7 +12547,7 @@

Procs

zero extends a smaller integer type to int. This treats x as unsigned. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12562,7 +12562,7 @@

Procs

zero extends a smaller integer type to int64. This treats x as unsigned. Does nothing if the size of an int is the same as int64. (This is the case on 64 bit processors.) Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12577,7 +12577,7 @@

Procs

zero extends a smaller integer type to int64. This treats x as unsigned. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12592,7 +12592,7 @@

Procs

zero extends a smaller integer type to int64. This treats x as unsigned. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12607,7 +12607,7 @@

Procs

zero extends a smaller integer type to int64. This treats x as unsigned. Deprecated since version 0.19.9: Use unsigned integers instead.   Source   Edit @@ -12622,7 +12622,7 @@

Procs

Exactly size bytes will be overwritten. Like any procedure dealing with raw memory this is unsafe.

  Source   Edit @@ -12639,7 +12639,7 @@

Iterators

A type specialized version of ..< for convenience so that mixing integer types works better.   Source   Edit @@ -12651,7 +12651,7 @@

Iterators

A type specialized version of ..< for convenience so that mixing integer types works better.   Source   Edit @@ -12663,7 +12663,7 @@

Iterators

A type specialized version of ..< for convenience so that mixing integer types works better.   Source   Edit @@ -12675,7 +12675,7 @@

Iterators

A type specialized version of ..< for convenience so that mixing integer types works better.   Source   Edit @@ -12687,7 +12687,7 @@

Iterators

  Source   Edit @@ -12703,7 +12703,7 @@

Iterators

  Source   Edit @@ -12719,7 +12719,7 @@

Iterators

  Source   Edit @@ -12735,7 +12735,7 @@

Iterators

  Source   Edit @@ -12751,7 +12751,7 @@

Iterators

  Source   Edit @@ -12775,7 +12775,7 @@

Iterators

assert x == @[3, 4, 5, 6, 7]   Source   Edit @@ -12802,7 +12802,7 @@

Iterators

i assert y == @[9, 6, 3]   Source   Edit @@ -12829,7 +12829,7 @@

Iterators

i assert y == @[2, 5, 8]   Source   Edit @@ -12846,7 +12846,7 @@

Templates

Unequals operator. This is a shorthand for not (x == y).   Source   Edit @@ -12860,7 +12860,7 @@

Templates

For files an alias for write. If not specialized further, an alias for add.

  Source   Edit @@ -12873,7 +12873,7 @@

Templates

A shortcut for a .. pred(b).
for i in 5 ..< 9:
   echo i # => 5; 6; 7; 8
  Source   Edit @@ -12885,7 +12885,7 @@

Templates

A shortcut for .. ^ to avoid the common gotcha that a space between '..' and '^' is required.   Source   Edit @@ -12897,7 +12897,7 @@

Templates

  Source   Edit @@ -12909,7 +12909,7 @@

Templates

Treats x and y as unsigned and compares them. Returns true if unsigned(x) > unsigned(y).   Source   Edit @@ -12921,7 +12921,7 @@

Templates

Treats x and y as unsigned and compares them. Returns true if unsigned(x) >= unsigned(y).   Source   Edit @@ -12933,7 +12933,7 @@

Templates

"is greater or equals" operator. This is the same as y <= x.   Source   Edit @@ -12945,7 +12945,7 @@

Templates

"is greater" operator. This is the same as y < x.   Source   Edit @@ -12957,7 +12957,7 @@

Templates

  Source   Edit @@ -12969,7 +12969,7 @@

Templates

  Source   Edit @@ -12986,7 +12986,7 @@

Templates

echo a[^1] # => 9 echo b[^2] # => g   Source   Edit @@ -12999,7 +12999,7 @@

Templates

Sugar for contains.
assert(1 in (1..3) == true)
 assert(5 in (1..3) == false)
  Source   Edit @@ -13012,7 +13012,7 @@

Templates

Negated version of is. Equivalent to not(x is y).
assert 42 isnot float
 assert @[1, 2] isnot enum
  Source   Edit @@ -13025,7 +13025,7 @@

Templates

Sugar for not contains.
assert(1 notin (1..3) == false)
 assert(5 notin (1..3) == true)
  Source   Edit @@ -13043,7 +13043,7 @@

Templates

  Source   Edit @@ -13058,7 +13058,7 @@

Templates

The allocated memory belongs to its allocating thread! Use allocShared0 to allocate from a shared heap.

  Source   Edit @@ -13076,7 +13076,7 @@

Templates

  Source   Edit @@ -13091,7 +13091,7 @@

Templates

The block is initialized with all bytes containing zero, so it is somewhat safer than allocShared.

  Source   Edit @@ -13119,7 +13119,7 @@

Templates

myClosure = proc() = echo j myClosure() # outputs 3   Source   Edit @@ -13138,7 +13138,7 @@

Templates

  Source   Edit @@ -13150,7 +13150,7 @@

Templates

Useful for disarming dangling pointers explicitly for --newruntime. Regardless of whether --newruntime is used or not this sets the pointer or callback x to nil. This is an experimental API!   Source   Edit @@ -13162,7 +13162,7 @@

Templates

  Source   Edit @@ -13179,7 +13179,7 @@

Templates

a.excl(b) assert a == {1, 7}   Source   Edit @@ -13191,7 +13191,7 @@

Templates

  Source   Edit @@ -13203,7 +13203,7 @@

Templates

  Source   Edit @@ -13220,7 +13220,7 @@

Templates

a.incl(b) assert a == {1, 3, 4, 5, 6, 7}   Source   Edit @@ -13239,7 +13239,7 @@

Templates

echo "Value too big!"

On backends without branch prediction (JS and the nimscript VM), this template will not affect code execution.

  Source   Edit @@ -13252,7 +13252,7 @@

Templates

Creates an exception object of type exceptn, initializes it's name and sets its msg field to message. Returns the new exception object.   Source   Edit @@ -13264,7 +13264,7 @@

Templates

  Source   Edit @@ -13276,7 +13276,7 @@

Templates

  Source   Edit @@ -13293,7 +13293,7 @@

Templates

line(t.p2, t.p3) line(t.p3, t.p1)   Source   Edit @@ -13308,7 +13308,7 @@

Templates

  Source   Edit @@ -13320,7 +13320,7 @@

Templates

Helper for performing user-defined range checks. Such checks will be performed only when the rangechecks compile-time option is enabled.   Source   Edit @@ -13335,7 +13335,7 @@

Templates

The allocated memory belongs to its allocating thread! Use reallocShared to reallocate from a shared heap.

  Source   Edit @@ -13351,7 +13351,7 @@

Templates

The allocated memory belongs to its allocating thread! Use reallocShared to reallocate from a shared heap.

  Source   Edit @@ -13365,7 +13365,7 @@

Templates

If p is nil then a new memory block is returned. In either way the block has at least newSize bytes. If newSize == 0 and p is not nil reallocShared calls deallocShared(p). In other cases the block has to be freed with deallocShared.

  Source   Edit @@ -13380,7 +13380,7 @@

Templates

If p is nil then a new memory block is returned. In either way the block has at least newSize bytes. If newSize == 0 and p is not nil reallocShared calls deallocShared(p). In other cases the block has to be freed with deallocShared.

  Source   Edit @@ -13392,7 +13392,7 @@

Templates

With --gc:arc a nop.   Source   Edit @@ -13404,7 +13404,7 @@

Templates

With --gc:arc a nop.   Source   Edit @@ -13423,7 +13423,7 @@

Templates

process(value)

On backends without branch prediction (JS and the nimscript VM), this template will not affect code execution.

  Source   Edit @@ -13438,7 +13438,7 @@

Templates

  Source   Edit diff --git a/tables.html b/tables.html index af1cb794241..45905a33b35 100644 --- a/tables.html +++ b/tables.html @@ -560,7 +560,7 @@

pure/collections/tables

  Source   Edit @@ -718,7 +718,7 @@

Types

For creating an empty CountTable, use initCountTable proc.

  Source   Edit @@ -732,7 +732,7 @@

Types

For creating a new empty CountTableRef, use newCountTable proc.

  Source   Edit @@ -749,7 +749,7 @@

Types

For creating an empty OrderedTable, use initOrderedTable proc.

  Source   Edit @@ -763,7 +763,7 @@

Types

For creating a new empty OrderedTableRef, use newOrderedTable proc.

  Source   Edit @@ -781,7 +781,7 @@

Types

For creating an empty Table, use initTable proc.

  Source   Edit @@ -795,7 +795,7 @@

Types

For creating a new empty TableRef, use newTable proc.

  Source   Edit @@ -812,7 +812,7 @@

Consts

  Source   Edit @@ -829,7 +829,7 @@

Procs

The $ operator for ordered hash tables. Used internally when calling echo on a table.   Source   Edit @@ -841,7 +841,7 @@

Procs

The $ operator for hash tables. Used internally when calling echo on a table.   Source   Edit @@ -853,7 +853,7 @@

Procs

The $ operator for hash tables. Used internally when calling echo on a table.   Source   Edit @@ -865,7 +865,7 @@

Procs

The $ operator for hash tables. Used internally when calling echo on a table.   Source   Edit @@ -877,7 +877,7 @@

Procs

The $ operator for count tables. Used internally when calling echo on a table.   Source   Edit @@ -889,7 +889,7 @@

Procs

The $ operator for count tables. Used internally when calling echo on a table.   Source   Edit @@ -906,7 +906,7 @@

Procs

b = {'b': 9, 'c': 13, 'a': 5}.toOrderedTable doAssert a != b   Source   Edit @@ -923,7 +923,7 @@

Procs

b = {'b': 9, 'c': 13, 'a': 5}.newOrderedTable doAssert a != b   Source   Edit @@ -940,7 +940,7 @@

Procs

b = {'b': 9, 'c': 13, 'a': 5}.toTable doAssert a == b   Source   Edit @@ -957,7 +957,7 @@

Procs

b = {'b': 9, 'c': 13, 'a': 5}.newTable doAssert a == b   Source   Edit @@ -969,7 +969,7 @@

Procs

The == operator for count tables. Returns true if both tables contain the same keys with the same count. Insert order does not matter.   Source   Edit @@ -981,7 +981,7 @@

Procs

The == operator for count tables. Returns true if either both tables are nil, or neither is nil and both contain the same keys with the same count. Insert order does not matter.   Source   Edit @@ -1005,7 +1005,7 @@

Procs

a['y'] = 33 doAssert a == {'x': 7, 'y': 33}.newOrderedTable   Source   Edit @@ -1029,7 +1029,7 @@

Procs

a['y'] = 33 doAssert a == {'x': 7, 'y': 33}.newTable   Source   Edit @@ -1053,7 +1053,7 @@

Procs

a['y'] = 33 doAssert a == {'x': 7, 'y': 33}.toOrderedTable   Source   Edit @@ -1077,7 +1077,7 @@

Procs

a['y'] = 33 doAssert a == {'x': 7, 'y': 33}.toTable   Source   Edit @@ -1094,7 +1094,7 @@

Procs

  Source   Edit @@ -1111,7 +1111,7 @@

Procs

  Source   Edit @@ -1136,7 +1136,7 @@

Procs

doAssertRaises(KeyError): echo a['z']   Source   Edit @@ -1161,7 +1161,7 @@

Procs

doAssertRaises(KeyError): echo a['z']   Source   Edit @@ -1186,7 +1186,7 @@

Procs

doAssertRaises(KeyError): echo a['z']   Source   Edit @@ -1211,7 +1211,7 @@

Procs

doAssertRaises(KeyError): echo a['z']   Source   Edit @@ -1231,7 +1231,7 @@

Procs

  Source   Edit @@ -1251,7 +1251,7 @@

Procs

  Source   Edit @@ -1269,7 +1269,7 @@

Procs

  Source   Edit @@ -1288,7 +1288,7 @@

Procs

  Source   Edit @@ -1309,7 +1309,7 @@

Procs

clear(a) doAssert len(a) == 0   Source   Edit @@ -1331,7 +1331,7 @@

Procs

clear(a) doAssert len(a) == 0   Source   Edit @@ -1353,7 +1353,7 @@

Procs

clear(a) doAssert len(a) == 0   Source   Edit @@ -1375,7 +1375,7 @@

Procs

clear(a) doAssert len(a) == 0   Source   Edit @@ -1392,7 +1392,7 @@

Procs

  Source   Edit @@ -1409,7 +1409,7 @@

Procs

  Source   Edit @@ -1425,7 +1425,7 @@

Procs

doAssert 'b' in a == true doAssert a.contains('z') == false   Source   Edit @@ -1441,7 +1441,7 @@

Procs

doAssert 'b' in a == true doAssert a.contains('z') == false   Source   Edit @@ -1457,7 +1457,7 @@

Procs

doAssert 'b' in a == true doAssert a.contains('z') == false   Source   Edit @@ -1473,7 +1473,7 @@

Procs

doAssert 'b' in a == true doAssert a.contains('z') == false   Source   Edit @@ -1485,7 +1485,7 @@

Procs

Alias of hasKey proc for use with the in operator.   Source   Edit @@ -1497,7 +1497,7 @@

Procs

Alias of hasKey proc for use with the in operator.   Source   Edit @@ -1519,7 +1519,7 @@

Procs

a.del('z') doAssert a == {'b': 9, 'c': 13}.newOrderedTable   Source   Edit @@ -1542,7 +1542,7 @@

Procs

a.del('z') doAssert a == {'b': 9, 'c': 13}.newTable   Source   Edit @@ -1566,7 +1566,7 @@

Procs

a.del('z') doAssert a == {'b': 9, 'c': 13}.toOrderedTable   Source   Edit @@ -1589,7 +1589,7 @@

Procs

a.del('z') doAssert a == {'b': 9, 'c': 13}.toTable   Source   Edit @@ -1606,7 +1606,7 @@

Procs

  Source   Edit @@ -1631,7 +1631,7 @@

Procs

a.del('c') assert a == toCountTable("aa")   Source   Edit @@ -1655,7 +1655,7 @@

Procs

doAssert a.getOrDefault('a') == 5 doAssert a.getOrDefault('z') == 0   Source   Edit @@ -1679,7 +1679,7 @@

Procs

doAssert a.getOrDefault('a', 99) == 5 doAssert a.getOrDefault('z', 99) == 99   Source   Edit @@ -1703,7 +1703,7 @@

Procs

doAssert a.getOrDefault('a') == 5 doAssert a.getOrDefault('z') == 0   Source   Edit @@ -1727,7 +1727,7 @@

Procs

doAssert a.getOrDefault('a', 99) == 5 doAssert a.getOrDefault('z', 99) == 99   Source   Edit @@ -1751,7 +1751,7 @@

Procs

doAssert a.getOrDefault('a') == 5 doAssert a.getOrDefault('z') == 0   Source   Edit @@ -1775,7 +1775,7 @@

Procs

doAssert a.getOrDefault('a', 99) == 5 doAssert a.getOrDefault('z', 99) == 99   Source   Edit @@ -1799,7 +1799,7 @@

Procs

doAssert a.getOrDefault('a') == 5 doAssert a.getOrDefault('z') == 0   Source   Edit @@ -1823,7 +1823,7 @@

Procs

doAssert a.getOrDefault('a', 99) == 5 doAssert a.getOrDefault('z', 99) == 99   Source   Edit @@ -1840,7 +1840,7 @@

Procs

  Source   Edit @@ -1857,7 +1857,7 @@

Procs

  Source   Edit @@ -1880,7 +1880,7 @@

Procs

doAssert a.hasKey('a') == true doAssert a.hasKey('z') == false   Source   Edit @@ -1903,7 +1903,7 @@

Procs

doAssert a.hasKey('a') == true doAssert a.hasKey('z') == false   Source   Edit @@ -1926,7 +1926,7 @@

Procs

doAssert a.hasKey('a') == true doAssert a.hasKey('z') == false   Source   Edit @@ -1949,7 +1949,7 @@

Procs

doAssert a.hasKey('a') == true doAssert a.hasKey('z') == false   Source   Edit @@ -1967,7 +1967,7 @@

Procs

  Source   Edit @@ -1985,7 +1985,7 @@

Procs

  Source   Edit @@ -2011,7 +2011,7 @@

Procs

a['z'] = 99 doAssert a == {'a': 99, 'b': 9, 'z': 50}.toOrderedTable   Source   Edit @@ -2037,7 +2037,7 @@

Procs

a['z'] = 99 doAssert a == {'a': 99, 'b': 9, 'z': 50}.newOrderedTable   Source   Edit @@ -2063,7 +2063,7 @@

Procs

a['z'] = 99 doAssert a == {'a': 99, 'b': 9, 'z': 50}.toTable   Source   Edit @@ -2089,7 +2089,7 @@

Procs

a['z'] = 99 doAssert a == {'a': 99, 'b': 9, 'z': 50}.newTable   Source   Edit @@ -2106,7 +2106,7 @@

Procs

a.inc('b', 10) doAssert a == newCountTable("aaabbbbbbbbbbb")   Source   Edit @@ -2123,7 +2123,7 @@

Procs

a.inc('b', 10) doAssert a == toCountTable("aaabbbbbbbbbbb")   Source   Edit @@ -2135,7 +2135,7 @@

Procs

Index the collection with the proc provided.   Source   Edit @@ -2153,7 +2153,7 @@

Procs

  Source   Edit @@ -2175,7 +2175,7 @@

Procs

a = initOrderedTable[int, string]() b = initOrderedTable[char, seq[int]]()   Source   Edit @@ -2197,7 +2197,7 @@

Procs

a = initTable[int, string]() b = initTable[char, seq[int]]()   Source   Edit @@ -2213,7 +2213,7 @@

Procs

  Source   Edit @@ -2229,7 +2229,7 @@

Procs

  Source   Edit @@ -2244,7 +2244,7 @@

Procs

let a = {'a': 5, 'b': 9}.toOrderedTable
 doAssert len(a) == 2
  Source   Edit @@ -2259,7 +2259,7 @@

Procs

let a = {'a': 5, 'b': 9}.newOrderedTable
 doAssert len(a) == 2
  Source   Edit @@ -2274,7 +2274,7 @@

Procs

let a = {'a': 5, 'b': 9}.toTable
 doAssert len(a) == 2
  Source   Edit @@ -2289,7 +2289,7 @@

Procs

let a = {'a': 5, 'b': 9}.newTable
 doAssert len(a) == 2
  Source   Edit @@ -2301,7 +2301,7 @@

Procs

Returns the number of keys in t.   Source   Edit @@ -2313,7 +2313,7 @@

Procs

Returns the number of keys in t.   Source   Edit @@ -2331,7 +2331,7 @@

Procs

a.merge(b) doAssert a == newCountTable("aaabbbccc")   Source   Edit @@ -2348,7 +2348,7 @@

Procs

a.merge(b) doAssert a == toCountTable("aaabbbccc")   Source   Edit @@ -2373,7 +2373,7 @@

Procs

doAssert a.mgetOrPut('z', 99) == 99 doAssert a == {'a': 5, 'b': 9, 'z': 99}.newOrderedTable   Source   Edit @@ -2410,7 +2410,7 @@

Procs

t.mgetOrPut(25, @[25]).add(35) doAssert t[25] == @[25, 35]   Source   Edit @@ -2435,7 +2435,7 @@

Procs

doAssert a.mgetOrPut('z', 99) == 99 doAssert a == {'a': 5, 'b': 9, 'z': 99}.toOrderedTable   Source   Edit @@ -2472,7 +2472,7 @@

Procs

t.mgetOrPut(25, @[25]).add(35) doAssert t[25] == @[25, 35]   Source   Edit @@ -2489,7 +2489,7 @@

Procs

  Source   Edit @@ -2501,7 +2501,7 @@

Procs

Creates a new ref count table with every member of a container keys having a count of how many times it occurs in that container.   Source   Edit @@ -2523,7 +2523,7 @@

Procs

a = newOrderedTable[int, string]() b = newOrderedTable[char, seq[int]]()   Source   Edit @@ -2545,7 +2545,7 @@

Procs

let b = newOrderedTable(a) assert b == {'a': 5, 'b': 9}.newOrderedTable   Source   Edit @@ -2566,7 +2566,7 @@

Procs

a = newTable[int, string]() b = newTable[char, seq[int]]()   Source   Edit @@ -2588,7 +2588,7 @@

Procs

let b = newTable(a) assert b == {'a': 5, 'b': 9}.newTable   Source   Edit @@ -2600,7 +2600,7 @@

Procs

Index the collection with the proc provided.   Source   Edit @@ -2628,7 +2628,7 @@

Procs

doAssert a == {'c': 5, 'a': 13}.newOrderedTable doAssert i == 0   Source   Edit @@ -2656,7 +2656,7 @@

Procs

doAssert a == {'a': 5, 'c': 13}.newTable doAssert i == 0   Source   Edit @@ -2685,7 +2685,7 @@

Procs

doAssert a == {'c': 5, 'a': 13}.toOrderedTable doAssert i == 0   Source   Edit @@ -2713,7 +2713,7 @@

Procs

doAssert a == {'a': 5, 'c': 13}.toTable doAssert i == 0   Source   Edit @@ -2730,7 +2730,7 @@

Procs

  Source   Edit @@ -2755,7 +2755,7 @@

Procs

assert not a.pop('b', i) assert i == 99   Source   Edit @@ -2775,7 +2775,7 @@

Procs

If more items are expected to be added, simply add that expected extra amount to the parameter before calling this.

  Source   Edit @@ -2791,7 +2791,7 @@

Procs

  Source   Edit @@ -2807,7 +2807,7 @@

Procs

  Source   Edit @@ -2832,7 +2832,7 @@

Procs

a.sort(system.cmp, order = SortOrder.Descending) doAssert a == {'c': 0, 'b': 20, 'a': 10}.newOrderedTable   Source   Edit @@ -2857,7 +2857,7 @@

Procs

a.sort(system.cmp, order = SortOrder.Descending) doAssert a == {'c': 0, 'b': 20, 'a': 10}.toOrderedTable   Source   Edit @@ -2872,7 +2872,7 @@

Procs

You can use the iterators pairs, keys, and values to iterate over t in the sorted order.

  Source   Edit @@ -2895,7 +2895,7 @@

Procs

a.sort(SortOrder.Ascending) doAssert toSeq(a.values) == @[1, 1, 2, 2, 5]   Source   Edit @@ -2909,7 +2909,7 @@

Procs

  Source   Edit @@ -2923,7 +2923,7 @@

Procs

  Source   Edit @@ -2935,7 +2935,7 @@

Procs

Creates a new count table with every member of a container keys having a count of how many times it occurs in that container.   Source   Edit @@ -2957,7 +2957,7 @@

Procs

let b = toOrderedTable(a) assert b == {'a': 5, 'b': 9}.toOrderedTable   Source   Edit @@ -2979,7 +2979,7 @@

Procs

let b = toTable(a) assert b == {'a': 5, 'b': 9}.toTable   Source   Edit @@ -3010,7 +3010,7 @@

Iterators

doAssert a == {'o': @[1, 5, 7, 9, 99], 'e': @[2, 4, 6, 8, 99]}.toOrderedTable   Source   Edit @@ -3036,7 +3036,7 @@

Iterators

doAssert a == {'o': @[1, 5, 7, 9, 99], 'e': @[2, 4, 6, 8, 99]}.newOrderedTable   Source   Edit @@ -3061,7 +3061,7 @@

Iterators

a[k].add(99) doAssert a == {'e': @[2, 4, 6, 8, 99], 'o': @[1, 5, 7, 9, 99]}.toTable   Source   Edit @@ -3086,7 +3086,7 @@

Iterators

a[k].add(99) doAssert a == {'e': @[2, 4, 6, 8, 99], 'o': @[1, 5, 7, 9, 99]}.newTable   Source   Edit @@ -3108,7 +3108,7 @@

Iterators

a[k] = 2 doAssert a == toCountTable("aabbccddrr")   Source   Edit @@ -3130,7 +3130,7 @@

Iterators

a[k] = 2 doAssert a == newCountTable("aabbccddrr")   Source   Edit @@ -3156,7 +3156,7 @@

Iterators

doAssert a == {'o': @[1, 5, 7, 9, 11], 'e': @[2, 4, 6, 8, 12]}.newOrderedTable   Source   Edit @@ -3181,7 +3181,7 @@

Iterators

v.add(v[0] + 10) doAssert a == {'e': @[2, 4, 6, 8, 12], 'o': @[1, 5, 7, 9, 11]}.newTable   Source   Edit @@ -3207,7 +3207,7 @@

Iterators

doAssert a == {'o': @[1, 5, 7, 9, 11], 'e': @[2, 4, 6, 8, 12]}.toOrderedTable   Source   Edit @@ -3232,7 +3232,7 @@

Iterators

v.add(v[0] + 10) doAssert a == {'e': @[2, 4, 6, 8, 12], 'o': @[1, 5, 7, 9, 11]}.toTable   Source   Edit @@ -3254,7 +3254,7 @@

Iterators

v = 2 doAssert a == newCountTable("aabbccddrr")   Source   Edit @@ -3276,7 +3276,7 @@

Iterators

v = 2 doAssert a == toCountTable("aabbccddrr")   Source   Edit @@ -3302,7 +3302,7 @@

Iterators

doAssert a == {'o': @[1, 5, 7, 9, 99], 'e': @[2, 4, 6, 8, 99]}.newOrderedTable   Source   Edit @@ -3327,7 +3327,7 @@

Iterators

v.add(99) doAssert a == {'e': @[2, 4, 6, 8, 99], 'o': @[1, 5, 7, 9, 99]}.newTable   Source   Edit @@ -3353,7 +3353,7 @@

Iterators

doAssert a == {'o': @[1, 5, 7, 9, 99], 'e': @[2, 4, 6, 8, 99]}.toOrderedTable   Source   Edit @@ -3378,7 +3378,7 @@

Iterators

v.add(99) doAssert a == {'e': @[2, 4, 6, 8, 99], 'o': @[1, 5, 7, 9, 99]}.toTable   Source   Edit @@ -3400,7 +3400,7 @@

Iterators

v = 2 doAssert a == newCountTable("aabbccddrr")   Source   Edit @@ -3422,7 +3422,7 @@

Iterators

v = 2 doAssert a == toCountTable("aabbccddrr")   Source   Edit @@ -3453,7 +3453,7 @@

Iterators

# key: e # value: [2, 4, 6, 8]   Source   Edit @@ -3484,7 +3484,7 @@

Iterators

# key: e # value: [2, 4, 6, 8]   Source   Edit @@ -3515,7 +3515,7 @@

Iterators

# key: o # value: [1, 5, 7, 9]   Source   Edit @@ -3546,7 +3546,7 @@

Iterators

# key: o # value: [1, 5, 7, 9]   Source   Edit @@ -3580,7 +3580,7 @@

Iterators

# key: r # value: 2   Source   Edit @@ -3614,7 +3614,7 @@

Iterators

# key: r # value: 2   Source   Edit @@ -3639,7 +3639,7 @@

Iterators

for v in a.values: doAssert v.len == 4   Source   Edit @@ -3664,7 +3664,7 @@

Iterators

for v in a.values: doAssert v.len == 4   Source   Edit @@ -3689,7 +3689,7 @@

Iterators

for v in a.values: doAssert v.len == 4   Source   Edit @@ -3714,7 +3714,7 @@

Iterators

for v in a.values: doAssert v.len == 4   Source   Edit @@ -3736,7 +3736,7 @@

Iterators

for v in values(a): assert v < 10   Source   Edit @@ -3758,7 +3758,7 @@

Iterators

for v in values(a): assert v < 10   Source   Edit @@ -3803,7 +3803,7 @@

Templates

assert t[1314].name == "exist" assert t[1314].uid == 521   Source   Edit @@ -3838,7 +3838,7 @@

Templates

assert t[1].name == "Nim" assert t[1].uid == 1314   Source   Edit diff --git a/tasks.html b/tasks.html index a6d825c4d95..4422e76c75b 100644 --- a/tasks.html +++ b/tasks.html @@ -157,7 +157,7 @@

std/tasks

  Source   Edit @@ -218,7 +218,7 @@

Types

Task contains the callback and its arguments.   Source   Edit @@ -235,7 +235,7 @@

Procs

  Source   Edit @@ -248,7 +248,7 @@

Procs

Frees the resources allocated for a Task.   Source   Edit @@ -261,7 +261,7 @@

Procs

Invokes the task.   Source   Edit @@ -284,7 +284,7 @@

Macros

let b = toTask hello(13) assert b is Task   Source   Edit diff --git a/tempfiles.html b/tempfiles.html index 21efe5f050b..112f43d479c 100644 --- a/tempfiles.html +++ b/tempfiles.html @@ -129,7 +129,7 @@

std/tempfiles

  Source   Edit @@ -169,7 +169,7 @@

Procs

assert dirExists(dir) removeDir(dir)   Source   Edit @@ -200,7 +200,7 @@

Procs

assert readFile(path) == "foo" removeFile(path)   Source   Edit @@ -217,7 +217,7 @@

Procs

dir must exist (empty dir will resolve to getTempDir).   Source   Edit diff --git a/terminal.html b/terminal.html index c64b300b0fa..59c775fb433 100644 --- a/terminal.html +++ b/terminal.html @@ -440,7 +440,7 @@

pure/terminal

  Source   Edit @@ -503,7 +503,7 @@

Types

Terminal's background colors.   Source   Edit @@ -525,7 +525,7 @@

Types

Terminal's foreground colors.   Source   Edit @@ -546,7 +546,7 @@

Types

Different styles for text output.   Source   Edit @@ -561,7 +561,7 @@

Types

commands that can be expressed as arguments   Source   Edit @@ -578,7 +578,7 @@

Consts

  Source   Edit @@ -596,7 +596,7 @@

Procs

  Source   Edit @@ -609,7 +609,7 @@

Procs

  Source   Edit @@ -622,7 +622,7 @@

Procs

  Source   Edit @@ -634,7 +634,7 @@

Procs

  Source   Edit @@ -650,7 +650,7 @@

Procs

stdout.cursorBackward(2)
 write(stdout, "Hello World!") # anything written at that location will be erased/replaced with this
  Source   Edit @@ -666,7 +666,7 @@

Procs

stdout.cursorDown(2)
 write(stdout, "Hello World!") # anything written at that location will be erased/replaced with this
  Source   Edit @@ -682,7 +682,7 @@

Procs

stdout.cursorForward(2)
 write(stdout, "Hello World!") # anything written at that location will be erased/replaced with this
  Source   Edit @@ -697,7 +697,7 @@

Procs

stdout.cursorUp(2)
 write(stdout, "Hello World!") # anything written at that location will be erased/replaced with this
  Source   Edit @@ -709,7 +709,7 @@

Procs

Disables true color.   Source   Edit @@ -721,7 +721,7 @@

Procs

Enables true color.   Source   Edit @@ -736,7 +736,7 @@

Procs

write(stdout, "never mind")
 stdout.eraseLine() # nothing will be printed on the screen
  Source   Edit @@ -748,7 +748,7 @@

Procs

Erases the screen with the background colour and moves the cursor to home.   Source   Edit @@ -760,7 +760,7 @@

Procs

Reads a single character from the terminal, blocking until it is entered. The character is not printed to the terminal.   Source   Edit @@ -772,7 +772,7 @@

Procs

Hides the cursor.   Source   Edit @@ -784,7 +784,7 @@

Procs

Returns true if f is associated with a terminal device.   Source   Edit @@ -796,7 +796,7 @@

Procs

Returns true if a terminal supports true color.   Source   Edit @@ -809,7 +809,7 @@

Procs

Reads a password from stdin without printing it.   Source   Edit @@ -822,7 +822,7 @@

Procs

  Source   Edit @@ -834,7 +834,7 @@

Procs

Resets all attributes on stdout. It is advisable to register this as a quit proc with exitprocs.addExitProc(resetAttributes).   Source   Edit @@ -846,7 +846,7 @@

Procs

Resets all attributes.   Source   Edit @@ -859,7 +859,7 @@

Procs

Sets the terminal's background color.   Source   Edit @@ -872,7 +872,7 @@

Procs

Sets the terminal's background true color.   Source   Edit @@ -885,7 +885,7 @@

Procs

Sets the terminal's cursor to the (x,y) position. (0,0) is the upper left of the screen.   Source   Edit @@ -898,7 +898,7 @@

Procs

Sets the terminal's cursor to the x position. The y position is not changed.   Source   Edit @@ -911,7 +911,7 @@

Procs

Sets the terminal's foreground true color.   Source   Edit @@ -924,7 +924,7 @@

Procs

Sets the terminal's foreground color.   Source   Edit @@ -937,7 +937,7 @@

Procs

Sets the terminal style.   Source   Edit @@ -949,7 +949,7 @@

Procs

Shows the cursor.   Source   Edit @@ -961,7 +961,7 @@

Procs

Returns some reasonable terminal height from either standard file descriptors, controlling terminal, environment variables or tradition. Zero is returned if the height could not be determined.   Source   Edit @@ -973,7 +973,7 @@

Procs

Returns terminal height from first fd that supports the ioctl.   Source   Edit @@ -986,7 +986,7 @@

Procs

Returns the terminal width and height as a tuple. Internally calls terminalWidth and terminalHeight, so the same assumptions apply.   Source   Edit @@ -998,7 +998,7 @@

Procs

Returns some reasonable terminal width from either standard file descriptors, controlling terminal, environment variables or tradition.   Source   Edit @@ -1010,7 +1010,7 @@

Procs

Returns terminal width from first fd that supports the ioctl.   Source   Edit @@ -1023,7 +1023,7 @@

Procs

Writes the text txt in a given style to stdout.   Source   Edit @@ -1043,7 +1043,7 @@

Macros

stdout.styledWrite(fgRed, "red text ")
 stdout.styledWrite(fgGreen, "green text")
  Source   Edit @@ -1060,7 +1060,7 @@

Templates

  Source   Edit @@ -1072,7 +1072,7 @@

Templates

  Source   Edit @@ -1085,7 +1085,7 @@

Templates

  Source   Edit @@ -1097,7 +1097,7 @@

Templates

  Source   Edit @@ -1109,7 +1109,7 @@

Templates

  Source   Edit @@ -1121,7 +1121,7 @@

Templates

  Source   Edit @@ -1133,7 +1133,7 @@

Templates

  Source   Edit @@ -1145,7 +1145,7 @@

Templates

  Source   Edit @@ -1157,7 +1157,7 @@

Templates

  Source   Edit @@ -1169,7 +1169,7 @@

Templates

  Source   Edit @@ -1181,7 +1181,7 @@

Templates

  Source   Edit @@ -1193,7 +1193,7 @@

Templates

  Source   Edit @@ -1205,7 +1205,7 @@

Templates

  Source   Edit @@ -1217,7 +1217,7 @@

Templates

  Source   Edit @@ -1229,7 +1229,7 @@

Templates

  Source   Edit @@ -1241,7 +1241,7 @@

Templates

  Source   Edit @@ -1253,7 +1253,7 @@

Templates

  Source   Edit @@ -1265,7 +1265,7 @@

Templates

  Source   Edit @@ -1277,7 +1277,7 @@

Templates

  Source   Edit @@ -1289,7 +1289,7 @@

Templates

  Source   Edit @@ -1301,7 +1301,7 @@

Templates

Echoes styles arguments to stdout using styledWriteLine.   Source   Edit @@ -1316,7 +1316,7 @@

Templates

proc error(msg: string) =
   styledWriteLine(stderr, fgRed, "Error: ", resetStyle, msg)
  Source   Edit diff --git a/termios.html b/termios.html index 28da40dcae8..5959c524caf 100644 --- a/termios.html +++ b/termios.html @@ -449,7 +449,7 @@

posix/termios

  Source   Edit @@ -471,7 +471,7 @@

Types

  Source   Edit @@ -485,7 +485,7 @@

Types

  Source   Edit @@ -497,7 +497,7 @@

Types

  Source   Edit @@ -518,7 +518,7 @@

Types

  Source   Edit @@ -535,7 +535,7 @@

Vars

  Source   Edit @@ -547,7 +547,7 @@

Vars

  Source   Edit @@ -559,7 +559,7 @@

Vars

  Source   Edit @@ -571,7 +571,7 @@

Vars

  Source   Edit @@ -583,7 +583,7 @@

Vars

  Source   Edit @@ -595,7 +595,7 @@

Vars

  Source   Edit @@ -607,7 +607,7 @@

Vars

  Source   Edit @@ -619,7 +619,7 @@

Vars

  Source   Edit @@ -631,7 +631,7 @@

Vars

  Source   Edit @@ -643,7 +643,7 @@

Vars

  Source   Edit @@ -655,7 +655,7 @@

Vars

  Source   Edit @@ -667,7 +667,7 @@

Vars

  Source   Edit @@ -679,7 +679,7 @@

Vars

  Source   Edit @@ -691,7 +691,7 @@

Vars

  Source   Edit @@ -703,7 +703,7 @@

Vars

  Source   Edit @@ -715,7 +715,7 @@

Vars

  Source   Edit @@ -727,7 +727,7 @@

Vars

  Source   Edit @@ -739,7 +739,7 @@

Vars

  Source   Edit @@ -751,7 +751,7 @@

Vars

  Source   Edit @@ -763,7 +763,7 @@

Vars

  Source   Edit @@ -775,7 +775,7 @@

Vars

  Source   Edit @@ -787,7 +787,7 @@

Vars

  Source   Edit @@ -799,7 +799,7 @@

Vars

  Source   Edit @@ -811,7 +811,7 @@

Vars

  Source   Edit @@ -823,7 +823,7 @@

Vars

  Source   Edit @@ -835,7 +835,7 @@

Vars

  Source   Edit @@ -847,7 +847,7 @@

Vars

  Source   Edit @@ -859,7 +859,7 @@

Vars

  Source   Edit @@ -871,7 +871,7 @@

Vars

  Source   Edit @@ -883,7 +883,7 @@

Vars

  Source   Edit @@ -895,7 +895,7 @@

Vars

  Source   Edit @@ -907,7 +907,7 @@

Vars

  Source   Edit @@ -919,7 +919,7 @@

Vars

  Source   Edit @@ -931,7 +931,7 @@

Vars

  Source   Edit @@ -943,7 +943,7 @@

Vars

  Source   Edit @@ -955,7 +955,7 @@

Vars

  Source   Edit @@ -967,7 +967,7 @@

Vars

  Source   Edit @@ -979,7 +979,7 @@

Vars

  Source   Edit @@ -991,7 +991,7 @@

Vars

  Source   Edit @@ -1003,7 +1003,7 @@

Vars

  Source   Edit @@ -1015,7 +1015,7 @@

Vars

  Source   Edit @@ -1027,7 +1027,7 @@

Vars

  Source   Edit @@ -1039,7 +1039,7 @@

Vars

  Source   Edit @@ -1051,7 +1051,7 @@

Vars

  Source   Edit @@ -1063,7 +1063,7 @@

Vars

  Source   Edit @@ -1075,7 +1075,7 @@

Vars

  Source   Edit @@ -1087,7 +1087,7 @@

Vars

  Source   Edit @@ -1099,7 +1099,7 @@

Vars

  Source   Edit @@ -1111,7 +1111,7 @@

Vars

  Source   Edit @@ -1123,7 +1123,7 @@

Vars

  Source   Edit @@ -1135,7 +1135,7 @@

Vars

  Source   Edit @@ -1147,7 +1147,7 @@

Vars

  Source   Edit @@ -1159,7 +1159,7 @@

Vars

  Source   Edit @@ -1171,7 +1171,7 @@

Vars

  Source   Edit @@ -1183,7 +1183,7 @@

Vars

  Source   Edit @@ -1195,7 +1195,7 @@

Vars

  Source   Edit @@ -1207,7 +1207,7 @@

Vars

  Source   Edit @@ -1219,7 +1219,7 @@

Vars

  Source   Edit @@ -1231,7 +1231,7 @@

Vars

  Source   Edit @@ -1243,7 +1243,7 @@

Vars

  Source   Edit @@ -1255,7 +1255,7 @@

Vars

  Source   Edit @@ -1267,7 +1267,7 @@

Vars

  Source   Edit @@ -1279,7 +1279,7 @@

Vars

  Source   Edit @@ -1291,7 +1291,7 @@

Vars

  Source   Edit @@ -1303,7 +1303,7 @@

Vars

  Source   Edit @@ -1315,7 +1315,7 @@

Vars

  Source   Edit @@ -1327,7 +1327,7 @@

Vars

  Source   Edit @@ -1339,7 +1339,7 @@

Vars

  Source   Edit @@ -1351,7 +1351,7 @@

Vars

  Source   Edit @@ -1363,7 +1363,7 @@

Vars

  Source   Edit @@ -1375,7 +1375,7 @@

Vars

  Source   Edit @@ -1387,7 +1387,7 @@

Vars

  Source   Edit @@ -1399,7 +1399,7 @@

Vars

  Source   Edit @@ -1411,7 +1411,7 @@

Vars

  Source   Edit @@ -1423,7 +1423,7 @@

Vars

  Source   Edit @@ -1435,7 +1435,7 @@

Vars

  Source   Edit @@ -1447,7 +1447,7 @@

Vars

  Source   Edit @@ -1459,7 +1459,7 @@

Vars

  Source   Edit @@ -1471,7 +1471,7 @@

Vars

  Source   Edit @@ -1483,7 +1483,7 @@

Vars

  Source   Edit @@ -1495,7 +1495,7 @@

Vars

  Source   Edit @@ -1507,7 +1507,7 @@

Vars

  Source   Edit @@ -1519,7 +1519,7 @@

Vars

  Source   Edit @@ -1531,7 +1531,7 @@

Vars

  Source   Edit @@ -1543,7 +1543,7 @@

Vars

  Source   Edit @@ -1555,7 +1555,7 @@

Vars

  Source   Edit @@ -1567,7 +1567,7 @@

Vars

  Source   Edit @@ -1579,7 +1579,7 @@

Vars

  Source   Edit @@ -1591,7 +1591,7 @@

Vars

  Source   Edit @@ -1603,7 +1603,7 @@

Vars

  Source   Edit @@ -1615,7 +1615,7 @@

Vars

  Source   Edit @@ -1627,7 +1627,7 @@

Vars

  Source   Edit @@ -1639,7 +1639,7 @@

Vars

  Source   Edit @@ -1651,7 +1651,7 @@

Vars

  Source   Edit @@ -1663,7 +1663,7 @@

Vars

  Source   Edit @@ -1675,7 +1675,7 @@

Vars

  Source   Edit @@ -1687,7 +1687,7 @@

Vars

  Source   Edit @@ -1699,7 +1699,7 @@

Vars

  Source   Edit @@ -1711,7 +1711,7 @@

Vars

  Source   Edit @@ -1723,7 +1723,7 @@

Vars

  Source   Edit @@ -1735,7 +1735,7 @@

Vars

  Source   Edit @@ -1747,7 +1747,7 @@

Vars

  Source   Edit @@ -1759,7 +1759,7 @@

Vars

  Source   Edit @@ -1771,7 +1771,7 @@

Vars

  Source   Edit @@ -1783,7 +1783,7 @@

Vars

  Source   Edit @@ -1795,7 +1795,7 @@

Vars

  Source   Edit @@ -1807,7 +1807,7 @@

Vars

  Source   Edit @@ -1819,7 +1819,7 @@

Vars

  Source   Edit @@ -1831,7 +1831,7 @@

Vars

  Source   Edit @@ -1843,7 +1843,7 @@

Vars

  Source   Edit @@ -1855,7 +1855,7 @@

Vars

  Source   Edit @@ -1867,7 +1867,7 @@

Vars

  Source   Edit @@ -1879,7 +1879,7 @@

Vars

  Source   Edit @@ -1891,7 +1891,7 @@

Vars

  Source   Edit @@ -1903,7 +1903,7 @@

Vars

  Source   Edit @@ -1915,7 +1915,7 @@

Vars

  Source   Edit @@ -1927,7 +1927,7 @@

Vars

  Source   Edit @@ -1944,7 +1944,7 @@

Consts

  Source   Edit @@ -1962,7 +1962,7 @@

Procs

  Source   Edit @@ -1975,7 +1975,7 @@

Procs

  Source   Edit @@ -1988,7 +1988,7 @@

Procs

  Source   Edit @@ -2001,7 +2001,7 @@

Procs

  Source   Edit @@ -2014,7 +2014,7 @@

Procs

  Source   Edit @@ -2027,7 +2027,7 @@

Procs

  Source   Edit @@ -2040,7 +2040,7 @@

Procs

  Source   Edit @@ -2053,7 +2053,7 @@

Procs

  Source   Edit @@ -2066,7 +2066,7 @@

Procs

  Source   Edit @@ -2079,7 +2079,7 @@

Procs

  Source   Edit @@ -2092,7 +2092,7 @@

Procs

  Source   Edit @@ -2109,7 +2109,7 @@

Templates

  Source   Edit diff --git a/testament.html b/testament.html index d0709d5ee82..1041084e099 100644 --- a/testament.html +++ b/testament.html @@ -121,7 +121,7 @@

Testament

  Source   Edit diff --git a/text_layouter.html b/text_layouter.html index ec8f4033dc4..e9f463279d8 100644 --- a/text_layouter.html +++ b/text_layouter.html @@ -528,7 +528,7 @@

experimental/text_layouter

  Source   Edit @@ -552,7 +552,7 @@

Types

An object containing a sequence of directives to the console.   Source   Edit @@ -565,7 +565,7 @@

Types

  Source   Edit @@ -602,7 +602,7 @@

Types

  Source   Edit @@ -621,7 +621,7 @@

Types

  Source   Edit @@ -644,7 +644,7 @@

Types

  Source   Edit @@ -657,7 +657,7 @@

Types

  Source   Edit @@ -683,7 +683,7 @@

Types

  Source   Edit @@ -699,7 +699,7 @@

Types

Single layout string object. It contains all the information required to perform the layout and refer back to the original string piece if needed.   Source   Edit @@ -711,7 +711,7 @@

Types

  Source   Edit @@ -723,7 +723,7 @@

Types

  Source   Edit @@ -738,7 +738,7 @@

Types

Span of multiple layout strings   Source   Edit @@ -755,7 +755,7 @@

Types

  Source   Edit @@ -772,7 +772,7 @@

Consts

  Source   Edit @@ -784,7 +784,7 @@

Consts

  Source   Edit @@ -796,7 +796,7 @@

Consts

  Source   Edit @@ -813,7 +813,7 @@

Procs

  Source   Edit @@ -825,7 +825,7 @@

Procs

  Source   Edit @@ -837,7 +837,7 @@

Procs

  Source   Edit @@ -849,7 +849,7 @@

Procs

  Source   Edit @@ -861,7 +861,7 @@

Procs

  Source   Edit @@ -873,7 +873,7 @@

Procs

  Source   Edit @@ -886,7 +886,7 @@

Procs

  Source   Edit @@ -898,7 +898,7 @@

Procs

  Source   Edit @@ -910,7 +910,7 @@

Procs

  Source   Edit @@ -922,7 +922,7 @@

Procs

  Source   Edit @@ -935,7 +935,7 @@

Procs

  Source   Edit @@ -948,7 +948,7 @@

Procs

  Source   Edit @@ -962,7 +962,7 @@

Procs

  Source   Edit @@ -974,7 +974,7 @@

Procs

  Source   Edit @@ -987,7 +987,7 @@

Procs

  Source   Edit @@ -1000,7 +1000,7 @@

Procs

  Source   Edit @@ -1012,7 +1012,7 @@

Procs

  Source   Edit @@ -1026,7 +1026,7 @@

Procs

  Source   Edit @@ -1040,7 +1040,7 @@

Procs

  Source   Edit @@ -1053,7 +1053,7 @@

Procs

  Source   Edit @@ -1066,7 +1066,7 @@

Procs

  Source   Edit @@ -1078,7 +1078,7 @@

Procs

  Source   Edit @@ -1091,7 +1091,7 @@

Procs

  Source   Edit @@ -1104,7 +1104,7 @@

Procs

  Source   Edit @@ -1117,7 +1117,7 @@

Procs

  Source   Edit @@ -1129,7 +1129,7 @@

Procs

  Source   Edit @@ -1142,7 +1142,7 @@

Procs

  Source   Edit @@ -1155,7 +1155,7 @@

Procs

  Source   Edit @@ -1168,7 +1168,7 @@

Procs

  Source   Edit @@ -1181,7 +1181,7 @@

Procs

  Source   Edit @@ -1195,7 +1195,7 @@

Procs

  Source   Edit @@ -1208,7 +1208,7 @@

Procs

  Source   Edit @@ -1221,7 +1221,7 @@

Procs

  Source   Edit @@ -1233,7 +1233,7 @@

Procs

  Source   Edit @@ -1245,7 +1245,7 @@

Procs

  Source   Edit @@ -1257,7 +1257,7 @@

Procs

  Source   Edit @@ -1269,7 +1269,7 @@

Procs

  Source   Edit @@ -1282,7 +1282,7 @@

Procs

  Source   Edit @@ -1295,7 +1295,7 @@

Procs

  Source   Edit @@ -1307,7 +1307,7 @@

Procs

  Source   Edit @@ -1319,7 +1319,7 @@

Procs

  Source   Edit @@ -1331,7 +1331,7 @@

Procs

Create layout string object from the element index   Source   Edit @@ -1343,7 +1343,7 @@

Procs

Construct layout string span with single element   Source   Edit @@ -1355,7 +1355,7 @@

Procs

Construct layout string span from multiple elements   Source   Edit @@ -1367,7 +1367,7 @@

Procs

  Source   Edit @@ -1380,7 +1380,7 @@

Procs

  Source   Edit @@ -1392,7 +1392,7 @@

Procs

  Source   Edit @@ -1405,7 +1405,7 @@

Procs

Return first best formatting layout for a given block. This is the procedure you should be using unless you need to have access to all the possible layouts.   Source   Edit @@ -1418,7 +1418,7 @@

Procs

Return all possible formatting layouts for a given block with provided options. The best layout will be the first in the returned sequence.   Source   Edit @@ -1430,7 +1430,7 @@

Procs

  Source   Edit @@ -1443,7 +1443,7 @@

Procs

  Source   Edit @@ -1457,7 +1457,7 @@

Procs

  Source   Edit @@ -1471,7 +1471,7 @@

Procs

  Source   Edit @@ -1488,7 +1488,7 @@

Iterators

Generate formatting events for the given layout. The events are backend-agnostic and can be interpreted further by the user depending on their needs.   Source   Edit @@ -1500,7 +1500,7 @@

Iterators

  Source   Edit @@ -1512,7 +1512,7 @@

Iterators

  Source   Edit @@ -1524,7 +1524,7 @@

Iterators

  Source   Edit @@ -1536,7 +1536,7 @@

Iterators

  Source   Edit @@ -1548,7 +1548,7 @@

Iterators

Iterate over mutable sequence starting from the right   Source   Edit @@ -1562,7 +1562,7 @@

Iterators

  Source   Edit @@ -1579,7 +1579,7 @@

Templates

  Source   Edit @@ -1591,7 +1591,7 @@

Templates

  Source   Edit @@ -1603,7 +1603,7 @@

Templates

  Source   Edit @@ -1616,7 +1616,7 @@

Templates

  Source   Edit @@ -1628,7 +1628,7 @@

Templates

  Source   Edit diff --git a/threadpool.html b/threadpool.html index 170a0cdaff0..ac99da5d2bf 100644 --- a/threadpool.html +++ b/threadpool.html @@ -196,7 +196,7 @@

pure/concurrency/threadpool

  Source   Edit @@ -226,7 +226,7 @@

Types

A data flow variable.   Source   Edit @@ -238,7 +238,7 @@

Types

Untyped base class for FlowVar[T].   Source   Edit @@ -250,7 +250,7 @@

Types

A thread identifier.   Source   Edit @@ -267,7 +267,7 @@

Consts

Maximum number of "distinguished" threads.   Source   Edit @@ -279,7 +279,7 @@

Consts

Maximum size of the thread pool. 256 threads should be good enough for anybody ;-)   Source   Edit @@ -296,7 +296,7 @@

Procs

Blocks until the value is available and then returns this value.   Source   Edit @@ -310,7 +310,7 @@

Procs

Note that due to Nim's parameter passing semantics, this means that T doesn't need to be copied, so awaitAndThen can sometimes be more efficient than the ^ proc.

  Source   Edit @@ -324,7 +324,7 @@

Procs

Usually it is not necessary to call this explicitly.

  Source   Edit @@ -339,7 +339,7 @@

Procs

Note: This results in non-deterministic behaviour and should be avoided.

  Source   Edit @@ -353,7 +353,7 @@

Procs

If true, awaiting fv will not block.

  Source   Edit @@ -367,7 +367,7 @@

Procs

If it returns true, a spawn may make sense. In general it is not necessary to call this directly; use the spawnX template instead.

  Source   Edit @@ -379,7 +379,7 @@

Procs

Sets the maximum thread pool size. The default value of this is MaxThreadPoolSize.   Source   Edit @@ -391,7 +391,7 @@

Procs

Sets the minimum thread pool size. The default value of this is 4.   Source   Edit @@ -405,7 +405,7 @@

Procs

If you need more elaborate waiting, you have to use an explicit barrier.

  Source   Edit @@ -417,7 +417,7 @@

Procs

Blocks until the value is available and then returns this value.   Source   Edit @@ -437,7 +437,7 @@

Templates

call has to be a proc call p(...) where p is gcsafe and has a return type that is either 'void' or compatible with FlowVar[T].

  Source   Edit diff --git a/time_t.html b/time_t.html index 67ef27ca4f2..9961ea48dda 100644 --- a/time_t.html +++ b/time_t.html @@ -108,7 +108,7 @@

std/time_t

  Source   Edit @@ -126,7 +126,7 @@

Types

Wrapper for time_t. On posix, this is an alias to posix.Time.   Source   Edit diff --git a/times.html b/times.html index 4ec206bc41a..cce456537f9 100644 --- a/times.html +++ b/times.html @@ -789,7 +789,7 @@

pure/times

  Source   Edit @@ -904,7 +904,7 @@

Types

Represents a time in different parts. Although this type can represent leap seconds, they are generally not supported in this module. They are not ignored, but the DateTime's returned by procedures in this module will never have a leap second.   Source   Edit @@ -921,7 +921,7 @@

Types

  Source   Edit @@ -938,7 +938,7 @@

Types

To create a new Duration, use initDuration. Instead of trying to access the private attributes, use inSeconds for converting to seconds and inNanoseconds for converting to nanoseconds.

  Source   Edit @@ -950,7 +950,7 @@

Types

  Source   Edit @@ -963,7 +963,7 @@

Types

Subrange of TimeUnit that only includes units of fixed duration. These are the units that can be represented by a Duration.   Source   Edit @@ -975,7 +975,7 @@

Types

  Source   Edit @@ -987,7 +987,7 @@

Types

  Source   Edit @@ -1002,7 +1002,7 @@

Types

Represents a month. Note that the enum starts at 1, so ord(month) will give the month number in the range 1..12.   Source   Edit @@ -1014,7 +1014,7 @@

Types

  Source   Edit @@ -1026,7 +1026,7 @@

Types

  Source   Edit @@ -1039,7 +1039,7 @@

Types

Includes the value 60 to allow for a leap second. Note however that the second of a DateTime will never be a leap second.   Source   Edit @@ -1054,7 +1054,7 @@

Types

Represents a point in time.   Source   Edit @@ -1076,7 +1076,7 @@

Types

To create a new TimeFormat use initTimeFormat proc.

  Source   Edit @@ -1089,7 +1089,7 @@

Types

Raised when parsing a TimeFormat string fails.   Source   Edit @@ -1117,7 +1117,7 @@

Types

Note that TimeInterval's returned from the times module are never normalized. If you want to normalize a time unit, Duration should be used instead.

  Source   Edit @@ -1129,7 +1129,7 @@

Types

  Source   Edit @@ -1142,7 +1142,7 @@

Types

Raised when parsing input using a TimeFormat fails.   Source   Edit @@ -1156,7 +1156,7 @@

Types

Different units of time.   Source   Edit @@ -1175,7 +1175,7 @@

Types

Timezone interface for supporting DateTimes of arbitrary timezones. The times module only supplies implementations for the system's local time and UTC.   Source   Edit @@ -1189,7 +1189,7 @@

Types

Represents a weekday.   Source   Edit @@ -1201,7 +1201,7 @@

Types

  Source   Edit @@ -1218,7 +1218,7 @@

Types

Represents a point in time with an associated UTC offset and DST flag. This type is only used for implementing timezones.   Source   Edit @@ -1240,7 +1240,7 @@

Consts

  Source   Edit @@ -1254,7 +1254,7 @@

Consts

Zero value for durations. Useful for comparisons.
doAssert initDuration(seconds = 1) > DurationZero
 doAssert initDuration(seconds = 0) == DurationZero
  Source   Edit @@ -1275,7 +1275,7 @@

Procs

doAssert $dt == "2000-01-01T12:00:00Z" doAssert $default(DateTime) == "Uninitialized DateTime"   Source   Edit @@ -1294,7 +1294,7 @@

Procs

doAssert $initDuration(milliseconds = -1500) == "-1 second and -500 milliseconds"   Source   Edit @@ -1309,7 +1309,7 @@

Procs

let f = initTimeFormat("yyyy-MM-dd")
 doAssert $f == "yyyy-MM-dd"
  Source   Edit @@ -1325,7 +1325,7 @@

Procs

"1 year and 123 nanoseconds" doAssert $initTimeInterval() == "0 nanoseconds"   Source   Edit @@ -1341,7 +1341,7 @@

Procs

let tm = dt.toTime() doAssert $tm == "1970-01-01T00:00:00" & format(dt, "zzz")   Source   Edit @@ -1353,7 +1353,7 @@

Procs

Returns the name of the timezone.   Source   Edit @@ -1365,7 +1365,7 @@

Procs

  Source   Edit @@ -1381,7 +1381,7 @@

Procs

doAssert initDuration(seconds = 1) * 5 == initDuration(seconds = 5)
 doAssert initDuration(minutes = 45) * 3 == initDuration(hours = 2, minutes = 15)
  Source   Edit @@ -1397,7 +1397,7 @@

Procs

doAssert 5 * initDuration(seconds = 1) == initDuration(seconds = 5)
 doAssert 3 * initDuration(minutes = 45) == initDuration(hours = 2, minutes = 15)
  Source   Edit @@ -1409,7 +1409,7 @@

Procs

  Source   Edit @@ -1421,7 +1421,7 @@

Procs

  Source   Edit @@ -1433,7 +1433,7 @@

Procs

  Source   Edit @@ -1445,7 +1445,7 @@

Procs

  Source   Edit @@ -1457,7 +1457,7 @@

Procs

  Source   Edit @@ -1469,7 +1469,7 @@

Procs

  Source   Edit @@ -1486,7 +1486,7 @@

Procs

doAssert initDuration(seconds = 1) + initDuration(days = 1) ==
   initDuration(seconds = 1, days = 1)
  Source   Edit @@ -1501,7 +1501,7 @@

Procs

Example:

doAssert (fromUnix(0) + initDuration(seconds = 1)) == fromUnix(1)
  Source   Edit @@ -1517,7 +1517,7 @@

Procs

let dur = initDuration(hours = 5) doAssert $(dt + dur) == "2017-03-30T05:00:00Z"   Source   Edit @@ -1536,7 +1536,7 @@

Procs

# This is correct and happens due to monthday overflow. doAssert $(dt - 1.months) == "2017-03-02T00:00:00Z"   Source   Edit @@ -1548,7 +1548,7 @@

Procs

Adds two TimeInterval objects together.   Source   Edit @@ -1563,7 +1563,7 @@

Procs

let tm = fromUnix(0)
 doAssert tm + 5.seconds == fromUnix(5)
  Source   Edit @@ -1575,7 +1575,7 @@

Procs

  Source   Edit @@ -1587,7 +1587,7 @@

Procs

  Source   Edit @@ -1599,7 +1599,7 @@

Procs

  Source   Edit @@ -1611,7 +1611,7 @@

Procs

  Source   Edit @@ -1623,7 +1623,7 @@

Procs

  Source   Edit @@ -1635,7 +1635,7 @@

Procs

  Source   Edit @@ -1652,7 +1652,7 @@

Procs

doAssert initDuration(seconds = 1, days = 1) - initDuration(seconds = 1) ==
   initDuration(days = 1)
  Source   Edit @@ -1668,7 +1668,7 @@

Procs

doAssert initTime(1000, 100) - initTime(500, 20) ==
   initDuration(minutes = 8, seconds = 20, nanoseconds = 80)
  Source   Edit @@ -1684,7 +1684,7 @@

Procs

Example:

doAssert -initDuration(seconds = 1) == initDuration(seconds = -1)
  Source   Edit @@ -1699,7 +1699,7 @@

Procs

Example:

doAssert (fromUnix(0) - initDuration(seconds = 1)) == fromUnix(-1)
  Source   Edit @@ -1716,7 +1716,7 @@

Procs

doAssert dt1 - dt2 == initDuration(days = 5)   Source   Edit @@ -1732,7 +1732,7 @@

Procs

let dur = initDuration(days = 5) doAssert $(dt - dur) == "2017-03-25T00:00:00Z"   Source   Edit @@ -1747,7 +1747,7 @@

Procs

let dt = dateTime(2017, mMar, 30, 00, 00, 00, 00, utc())
 doAssert $(dt - 5.days) == "2017-03-25T00:00:00Z"
  Source   Edit @@ -1765,7 +1765,7 @@

Procs

let ti2 = initTimeInterval(hours = 4) doAssert (ti1 - ti2) == initTimeInterval(hours = 20)   Source   Edit @@ -1780,7 +1780,7 @@

Procs

let day = -initTimeInterval(hours = 24)
 doAssert day.hours == -24
  Source   Edit @@ -1795,7 +1795,7 @@

Procs

let tm = fromUnix(5)
 doAssert tm - 5.seconds == fromUnix(0)
  Source   Edit @@ -1807,7 +1807,7 @@

Procs

Returns true if a happened before or at the same time as b.   Source   Edit @@ -1820,7 +1820,7 @@

Procs

  Source   Edit @@ -1833,7 +1833,7 @@

Procs

Returns true if a <= b.   Source   Edit @@ -1845,7 +1845,7 @@

Procs

Returns true if a happened before b.   Source   Edit @@ -1862,7 +1862,7 @@

Procs

doAssert initDuration(seconds = -2) < initDuration(seconds = 1) doAssert initDuration(seconds = -2).abs < initDuration(seconds = 1).abs == false   Source   Edit @@ -1877,7 +1877,7 @@

Procs

Example:

doAssert initTime(50, 0) < initTime(99, 0)
  Source   Edit @@ -1889,7 +1889,7 @@

Procs

Returns true if a and b represent the same point in time.   Source   Edit @@ -1907,7 +1907,7 @@

Procs

d2 = initDuration(days = 7) doAssert d1 == d2   Source   Edit @@ -1920,7 +1920,7 @@

Procs

Returns true if a == b, that is if both times represent the same point in time.   Source   Edit @@ -1935,7 +1935,7 @@

Procs

doAssert local() == local()
 doAssert local() != utc()
  Source   Edit @@ -1955,7 +1955,7 @@

Procs

doAssert initDuration(nanoseconds = 3) div 2 == initDuration(nanoseconds = 1)   Source   Edit @@ -1970,7 +1970,7 @@

Procs

doAssert initDuration(milliseconds = -1500).abs ==
   initDuration(milliseconds = 1500)
  Source   Edit @@ -1992,7 +1992,7 @@

Procs

doAssert between(a, b) == ti doAssert between(a, b) == -between(b, a)   Source   Edit @@ -2009,7 +2009,7 @@

Procs

doAssert convert(Days, Weeks, 13) == 1 # Truncated doAssert convert(Seconds, Milliseconds, -1) == -1000   Source   Edit @@ -2029,7 +2029,7 @@

Procs

echo "CPU time [s] ", cpuTime() - t0 echo "Fib is [s] ", fibWhen the flag --benchmarkVM is passed to the compiler, this proc is also available at compile time   Source   Edit @@ -2046,7 +2046,7 @@

Procs

Example:

assert $dateTime(2017, mMar, 30, zone = utc()) == "2017-03-30T00:00:00Z"
  Source   Edit @@ -2060,7 +2060,7 @@

Procs

echo getTime() + 2.days

  Source   Edit @@ -2076,7 +2076,7 @@

Procs

Unsuitable for benchmarking (but still better than now), use monotimes.getMonoTime or cpuTime instead, depending on the use case.   Source   Edit @@ -2088,7 +2088,7 @@

Procs

Overload that validates format at compile time.   Source   Edit @@ -2106,7 +2106,7 @@

Procs

let dt = dateTime(2000, mJan, 01, 00, 00, 00, 00, utc())
 doAssert "2000-01-01" == format(dt, "yyyy-MM-dd")
  Source   Edit @@ -2123,7 +2123,7 @@

Procs

let dt = dateTime(2000, mJan, 01, 00, 00, 00, 00, utc()) doAssert "2000-01-01" == dt.format(f)   Source   Edit @@ -2136,7 +2136,7 @@

Procs

Overload that validates f at compile time.   Source   Edit @@ -2155,7 +2155,7 @@

Procs

var tm = dt.toTime() doAssert format(tm, "yyyy-MM-dd'T'HH:mm:ss", utc()) == "1970-01-01T00:00:00"   Source   Edit @@ -2168,7 +2168,7 @@

Procs

adapter for strformat. Not intended to be called directly.   Source   Edit @@ -2183,7 +2183,7 @@

Procs

Example:

doAssert $fromUnix(0).utc == "1970-01-01T00:00:00Z"
  Source   Edit @@ -2199,7 +2199,7 @@

Procs

doAssert fromUnixFloat(123456.0) == fromUnixFloat(123456)
 doAssert fromUnixFloat(-123456.0) == fromUnixFloat(-123456)
  Source   Edit @@ -2211,7 +2211,7 @@

Procs

Convert a Windows file time (100-nanosecond intervals since 1601-01-01T00:00:00Z) to a Time.   Source   Edit @@ -2226,7 +2226,7 @@

Procs

Example:

echo getClockStr(now() - 1.hours)
  Source   Edit @@ -2241,7 +2241,7 @@

Procs

Example:

echo getDateStr(now() - 1.months)
  Source   Edit @@ -2257,7 +2257,7 @@

Procs

doAssert getDayOfWeek(13, mJun, 1990) == dWed
 doAssert $getDayOfWeek(13, mJun, 1990) == "Wednesday"
  Source   Edit @@ -2274,7 +2274,7 @@

Procs

doAssert getDayOfYear(10, mJan, 2000) == 9 doAssert getDayOfYear(10, mFeb, 2000) == 40   Source   Edit @@ -2289,7 +2289,7 @@

Procs

doAssert getDaysInMonth(mFeb, 2000) == 29
 doAssert getDaysInMonth(mFeb, 2001) == 28
  Source   Edit @@ -2304,7 +2304,7 @@

Procs

doAssert getDaysInYear(2000) == 366
 doAssert getDaysInYear(2001) == 365
  Source   Edit @@ -2316,7 +2316,7 @@

Procs

Gets the current time as a Time with up to nanosecond resolution.   Source   Edit @@ -2328,7 +2328,7 @@

Procs

Get the longest representable duration.   Source   Edit @@ -2340,7 +2340,7 @@

Procs

  Source   Edit @@ -2352,7 +2352,7 @@

Procs

The number of hours past midnight, in the range 0 to 23.   Source   Edit @@ -2366,7 +2366,7 @@

Procs

echo getTime() + 2.hours

  Source   Edit @@ -2381,7 +2381,7 @@

Procs

let dur = initDuration(hours = -50)
 doAssert dur.inDays == -2
  Source   Edit @@ -2396,7 +2396,7 @@

Procs

let dur = initDuration(minutes = 60, days = 2)
 doAssert dur.inHours == 49
  Source   Edit @@ -2414,7 +2414,7 @@

Procs

doAssert dur.inMilliseconds == 1001 doAssert dur.inSeconds == 1   Source   Edit @@ -2427,7 +2427,7 @@

Procs

Create a Time from a unix timestamp and a nanosecond part.   Source   Edit @@ -2445,7 +2445,7 @@

Procs

let f = initTimeFormat("yyyy-MM-dd")
 doAssert "2000-01-01" == "2000-01-01".parse(f).format(f)
  Source   Edit @@ -2467,7 +2467,7 @@

Procs

doAssert $(dt + day) == "2000-01-02T12:00:00Z" doAssert initTimeInterval(hours = 24) != initTimeInterval(days = 1)   Source   Edit @@ -2482,7 +2482,7 @@

Procs

let dur = initDuration(seconds = -2)
 doAssert dur.inMicroseconds == -2000000
  Source   Edit @@ -2497,7 +2497,7 @@

Procs

let dur = initDuration(seconds = -2)
 doAssert dur.inMilliseconds == -2000
  Source   Edit @@ -2512,7 +2512,7 @@

Procs

let dur = initDuration(hours = 2, seconds = 10)
 doAssert dur.inMinutes == 120
  Source   Edit @@ -2527,7 +2527,7 @@

Procs

let dur = initDuration(seconds = -2)
 doAssert dur.inNanoseconds == -2000000000
  Source   Edit @@ -2542,7 +2542,7 @@

Procs

let dur = initDuration(hours = 2, milliseconds = 10)
 doAssert dur.inSeconds == 2 * 60 * 60
  Source   Edit @@ -2557,7 +2557,7 @@

Procs

let dur = initDuration(days = 8)
 doAssert dur.inWeeks == 1
  Source   Edit @@ -2570,7 +2570,7 @@

Procs

Returns a DateTime representing the same point in time as dt but using zone as the timezone.   Source   Edit @@ -2583,7 +2583,7 @@

Procs

Convert time into a DateTime using zone as the timezone.   Source   Edit @@ -2595,7 +2595,7 @@

Procs

Determines whether DST is in effect. Always false for the JavaScript backend.   Source   Edit @@ -2610,7 +2610,7 @@

Procs

doAssert now().isInitialized
 doAssert not default(DateTime).isInitialized
  Source   Edit @@ -2630,7 +2630,7 @@

Procs

doAssert dt2+1.years-1.years == dt2 doAssertRaises(Exception): discard dateTime(2021, mFeb, 29, 00, 00, 00, 00, utc())   Source   Edit @@ -2645,7 +2645,7 @@

Procs

doAssert isLeapYear(2000)
 doAssert not isLeapYear(1900)
  Source   Edit @@ -2660,7 +2660,7 @@

Procs

doAssert now().timezone == local()
 doAssert local().name == "LOCAL"
  Source   Edit @@ -2672,7 +2672,7 @@

Procs

Shorthand for dt.inZone(local()).   Source   Edit @@ -2684,7 +2684,7 @@

Procs

Shorthand for t.inZone(local()).   Source   Edit @@ -2696,7 +2696,7 @@

Procs

Get the longest representable duration of negative direction.   Source   Edit @@ -2708,7 +2708,7 @@

Procs

  Source   Edit @@ -2720,7 +2720,7 @@

Procs

TimeInterval of micros microseconds.   Source   Edit @@ -2732,7 +2732,7 @@

Procs

TimeInterval of ms milliseconds.   Source   Edit @@ -2744,7 +2744,7 @@

Procs

The number of minutes after the hour, in the range 0 to 59.   Source   Edit @@ -2758,7 +2758,7 @@

Procs

echo getTime() + 5.minutes

  Source   Edit @@ -2770,7 +2770,7 @@

Procs

The month as an enum, the ordinal value is in the range 1 to 12.   Source   Edit @@ -2782,7 +2782,7 @@

Procs

The day of the month, in the range 1 to 31.   Source   Edit @@ -2796,7 +2796,7 @@

Procs

echo getTime() + 2.months

  Source   Edit @@ -2811,7 +2811,7 @@

Procs

See also: https://en.wikipedia.org/wiki/Tz_database

  Source   Edit @@ -2823,7 +2823,7 @@

Procs

The number of nanoseconds after the second, in the range 0 to 999_999_999.   Source   Edit @@ -2835,7 +2835,7 @@

Procs

Get the fractional part of a Time as the number of nanoseconds of the second.   Source   Edit @@ -2847,7 +2847,7 @@

Procs

TimeInterval of nanos nanoseconds.   Source   Edit @@ -2869,7 +2869,7 @@

Procs

ZonedTime(utcOffset: 0, isDst: false, time: time) let utc = newTimezone("Etc/UTC", utcTzInfo, utcTzInfo)   Source   Edit @@ -2883,7 +2883,7 @@

Procs

Unsuitable for benchmarking, use monotimes.getMonoTime or cpuTime instead, depending on the use case.   Source   Edit @@ -2902,7 +2902,7 @@

Procs

let dt = dateTime(2000, mJan, 01, 00, 00, 00, 00, utc())
 doAssert dt == parse("2000-01-01", "yyyy-MM-dd", utc())
  Source   Edit @@ -2916,7 +2916,7 @@

Procs

Overload that validates f at compile time.   Source   Edit @@ -2936,7 +2936,7 @@

Procs

let dt = dateTime(2000, mJan, 01, 00, 00, 00, 00, utc()) doAssert dt == "2000-01-01".parse(f, utc())   Source   Edit @@ -2954,7 +2954,7 @@

Procs

let tStr = "1970-01-01T00:00:00+00:00"
 doAssert parseTime(tStr, "yyyy-MM-dd'T'HH:mm:sszzz", utc()) == fromUnix(0)
  Source   Edit @@ -2967,7 +2967,7 @@

Procs

Overload that validates format at compile time.   Source   Edit @@ -2979,7 +2979,7 @@

Procs

The number of seconds after the minute, in the range 0 to 59.   Source   Edit @@ -2993,7 +2993,7 @@

Procs

echo getTime() + 5.seconds

  Source   Edit @@ -3005,7 +3005,7 @@

Procs

The timezone represented as an implementation of Timezone.   Source   Edit @@ -3027,7 +3027,7 @@

Procs

dp = toParts(initDuration(days = -1)) doAssert dp[Days] == -1   Source   Edit @@ -3045,7 +3045,7 @@

Procs

doAssert tp[Years] == 1 doAssert tp[Nanoseconds] == 123   Source   Edit @@ -3057,7 +3057,7 @@

Procs

Converts a DateTime to a Time representing the same point in time.   Source   Edit @@ -3072,7 +3072,7 @@

Procs

Example:

doAssert fromUnix(0).toUnix() == 0
  Source   Edit @@ -3088,7 +3088,7 @@

Procs

# `<` because of rounding errors doAssert abs(t.toUnixFloat().fromUnixFloat - t) < initDuration(nanoseconds = 1000)   Source   Edit @@ -3100,7 +3100,7 @@

Procs

Convert t to a Windows file time (100-nanosecond intervals since 1601-01-01T00:00:00Z).   Source   Edit @@ -3115,7 +3115,7 @@

Procs

doAssert now().utc.timezone == utc()
 doAssert utc().name == "Etc/UTC"
  Source   Edit @@ -3127,7 +3127,7 @@

Procs

Shorthand for dt.inZone(utc()).   Source   Edit @@ -3139,7 +3139,7 @@

Procs

Shorthand for t.inZone(utc()).   Source   Edit @@ -3151,7 +3151,7 @@

Procs

The offset in seconds west of UTC, including any offset due to DST. Note that the sign of this number is the opposite of the one in a formatted offset string like +01:00 (which would be equivalent to the UTC offset -3600).   Source   Edit @@ -3163,7 +3163,7 @@

Procs

The day of the week as an enum, the ordinal value is in the range 0 (monday) to 6 (sunday).   Source   Edit @@ -3177,7 +3177,7 @@

Procs

echo getTime() + 2.weeks

  Source   Edit @@ -3189,7 +3189,7 @@

Procs

The year, using astronomical year numbering (meaning that before year 1 is year 0, then year -1 and so on).   Source   Edit @@ -3201,7 +3201,7 @@

Procs

The number of days since January 1, in the range 0 to 365.   Source   Edit @@ -3215,7 +3215,7 @@

Procs

echo getTime() + 2.years

  Source   Edit @@ -3230,7 +3230,7 @@

Procs

Note that the Time argument does not represent a point in time, it represent a local time! E.g if adjTime is fromUnix(0), it should be interpreted as 1970-01-01T00:00:00 in the zone timezone, not in UTC.

  Source   Edit @@ -3243,7 +3243,7 @@

Procs

Returns the ZonedTime for some point in time.   Source   Edit @@ -3260,7 +3260,7 @@

Templates

adapter for strformat. Not intended to be called directly.   Source   Edit diff --git a/tinyc.html b/tinyc.html index 375e1a8ebcc..7ec1ad2f027 100644 --- a/tinyc.html +++ b/tinyc.html @@ -227,7 +227,7 @@

wrappers/tinyc

  Source   Edit @@ -244,7 +244,7 @@

Types

  Source   Edit @@ -256,7 +256,7 @@

Types

  Source   Edit @@ -273,7 +273,7 @@

Consts

dynamic library   Source   Edit @@ -285,7 +285,7 @@

Consts

executable file   Source   Edit @@ -297,7 +297,7 @@

Consts

output will be ran in memory (no output file) (default)   Source   Edit @@ -309,7 +309,7 @@

Consts

object file   Source   Edit @@ -321,7 +321,7 @@

Consts

preprocessed file (used internally)   Source   Edit @@ -339,7 +339,7 @@

Procs

add a file (either a C file, dll, an object, a library or an ld script). Return -1 if error.   Source   Edit @@ -352,7 +352,7 @@

Procs

add include path   Source   Edit @@ -365,7 +365,7 @@

Procs

the library name is the same as the argument of the '-l' option   Source   Edit @@ -378,7 +378,7 @@

Procs

equivalent to -Lpath option   Source   Edit @@ -391,7 +391,7 @@

Procs

add a symbol to the compiled program   Source   Edit @@ -404,7 +404,7 @@

Procs

add in system include path   Source   Edit @@ -417,7 +417,7 @@

Procs

free a TCC compilation context   Source   Edit @@ -430,7 +430,7 @@

Procs

compile a string containing a C source. Return non zero if error.   Source   Edit @@ -443,7 +443,7 @@

Procs

define preprocessor symbol 'sym'. Can put optional value   Source   Edit @@ -456,7 +456,7 @@

Procs

return symbol value or NULL if not found   Source   Edit @@ -468,7 +468,7 @@

Procs

create a new TCC compilation context   Source   Edit @@ -481,7 +481,7 @@

Procs

output an executable, library or object file. DO NOT call tcc_relocate() before.   Source   Edit @@ -494,7 +494,7 @@

Procs

copy code into memory passed in by the caller and do all relocations (needed before using tcc_get_symbol()). returns -1 on error and required size if ptr is NULL   Source   Edit @@ -507,7 +507,7 @@

Procs

link and run main() function and return its value. DO NOT call tcc_relocate() before.   Source   Edit @@ -520,7 +520,7 @@

Procs

set error/warning display callback   Source   Edit @@ -533,7 +533,7 @@

Procs

set CONFIG_TCCDIR at runtime   Source   Edit @@ -546,7 +546,7 @@

Procs

set a options   Source   Edit @@ -559,7 +559,7 @@

Procs

set output type. MUST BE CALLED before any compilation   Source   Edit @@ -572,7 +572,7 @@

Procs

undefine preprocess symbol 'sym'   Source   Edit diff --git a/tut1.html b/tut1.html index 9fe352b9e85..9d4fb199a6f 100644 --- a/tut1.html +++ b/tut1.html @@ -167,7 +167,7 @@

Nim Tutorial (Part I)

  Source   Edit @@ -175,7 +175,7 @@

Nim Tutorial (Part I)

- +
Author:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Introduction

"Der Mensch ist doch ein Augentier -- schöne Dinge wünsch ich mir." diff --git a/tut2.html b/tut2.html index fb4e8b7d75f..bb288528005 100644 --- a/tut2.html +++ b/tut2.html @@ -126,7 +126,7 @@

Nim Tutorial (Part II)

  Source   Edit @@ -134,7 +134,7 @@

Nim Tutorial (Part II)

- +
Author:Andreas Rumpf
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Introduction

"Repetition renders the ridiculous reasonable." -- Norman Wildberger

This document is a tutorial for the advanced constructs of the Nim programming language. Note that this document is somewhat obsolete as the manual contains many more examples of the advanced language features.

diff --git a/tut3.html b/tut3.html index 9636721b086..21e8efad5e2 100644 --- a/tut3.html +++ b/tut3.html @@ -123,7 +123,7 @@

Nim Tutorial (Part III)

  Source   Edit @@ -131,7 +131,7 @@

Nim Tutorial (Part III)

- +
Author:Arne Döring
Version:0.1.0-dev.20886
Version:0.1.0-dev.20887

Introduction

"With Great Power Comes Great Responsibility." -- Spider Man's Uncle

This document is a tutorial about Nim's macro system. A macro is a function that is executed at compile-time and transforms a Nim syntax tree into a different tree.

diff --git a/typeinfo.html b/typeinfo.html index 9b016a645c2..7739a14cf19 100644 --- a/typeinfo.html +++ b/typeinfo.html @@ -409,7 +409,7 @@

core/typeinfo

  Source   Edit @@ -456,7 +456,7 @@

Types

The wrapped value can be modified with its wrapper! This means that Any keeps a non-traced pointer to its wrapped value and must not live longer than its wrapped value.   Source   Edit @@ -498,7 +498,7 @@

Types

The kind of Any.   Source   Edit @@ -515,7 +515,7 @@

Procs

Dereference operator for Any. x needs to represent a ptr or a ref.   Source   Edit @@ -528,7 +528,7 @@

Procs

Sets a field of x. x needs to represent an object or a tuple.   Source   Edit @@ -540,7 +540,7 @@

Procs

Accessor for an any x that represents an array or a sequence.   Source   Edit @@ -552,7 +552,7 @@

Procs

Dereference operator for Any. x needs to represent a ptr or a ref.   Source   Edit @@ -564,7 +564,7 @@

Procs

Gets a field of x. x needs to represent an object or a tuple.   Source   Edit @@ -576,7 +576,7 @@

Procs

Accessor for an any x that represents an array or a sequence.   Source   Edit @@ -588,7 +588,7 @@

Procs

Copies the value of y to x. The assignment operator for Any does NOT do this; it performs a shallow copy instead!   Source   Edit @@ -600,7 +600,7 @@

Procs

Returns the base type of x (useful for inherited object types).   Source   Edit @@ -612,7 +612,7 @@

Procs

Gets the base type's kind. If x has no base type, akNone is returned.   Source   Edit @@ -624,7 +624,7 @@

Procs

Returns the size of x's base type. If x has no base type, 0 is returned.   Source   Edit @@ -636,7 +636,7 @@

Procs

Performs setLen(x, x.len+1). x needs to represent a seq.   Source   Edit @@ -648,7 +648,7 @@

Procs

Retrieves the float value out of x. x needs to represent some float. The value is extended to BiggestFloat.   Source   Edit @@ -660,7 +660,7 @@

Procs

Retrieves the integer value out of x. x needs to represent some integer, a bool, a char, an enum or a small enough bit set. The value might be sign-extended to BiggestInt.   Source   Edit @@ -672,7 +672,7 @@

Procs

Retrieves the unsigned integer value out of x. x needs to represent an unsigned integer.   Source   Edit @@ -684,7 +684,7 @@

Procs

Retrieves the bool value out of x. x needs to represent a bool.   Source   Edit @@ -696,7 +696,7 @@

Procs

Retrieves the char value out of x. x needs to represent a char.   Source   Edit @@ -708,7 +708,7 @@

Procs

Retrieves the cstring value out of x. x needs to represent a cstring.   Source   Edit @@ -720,7 +720,7 @@

Procs

Gets the enum field name as a string. x needs to represent an enum.   Source   Edit @@ -732,7 +732,7 @@

Procs

Gets the enum field name as a string. x needs to represent an enum but is only used to access the type information. The field name of ordinalValue is returned.   Source   Edit @@ -744,7 +744,7 @@

Procs

Gets the enum field ordinal from name. x needs to represent an enum but is only used to access the type information. In case of an error low(int) is returned.   Source   Edit @@ -756,7 +756,7 @@

Procs

Retrieves the float value out of x. x needs to represent a float.   Source   Edit @@ -768,7 +768,7 @@

Procs

Retrieves the float32 value out of x. x needs to represent a float32.   Source   Edit @@ -780,7 +780,7 @@

Procs

Retrieves the float64 value out of x. x needs to represent a float64.   Source   Edit @@ -792,7 +792,7 @@

Procs

Retrieves the int value out of x. x needs to represent an int.   Source   Edit @@ -804,7 +804,7 @@

Procs

Retrieves the int8 value out of x. x needs to represent an int8.   Source   Edit @@ -816,7 +816,7 @@

Procs

Retrieves the int16 value out of x. x needs to represent an int16.   Source   Edit @@ -828,7 +828,7 @@

Procs

Retrieves the int32 value out of x. x needs to represent an int32.   Source   Edit @@ -840,7 +840,7 @@

Procs

Retrieves the int64 value out of x. x needs to represent an int64.   Source   Edit @@ -852,7 +852,7 @@

Procs

Retrieves the pointer value out of x. x needs to be of kind akString, akCString, akProc, akRef, akPtr, akPointer or akSequence.   Source   Edit @@ -864,7 +864,7 @@

Procs

Retrieves the string value out of x. x needs to represent a string.   Source   Edit @@ -876,7 +876,7 @@

Procs

Retrieves the uint value out of x. x needs to represent a uint.   Source   Edit @@ -888,7 +888,7 @@

Procs

Retrieves the uint8 value out of x. x needs to represent a uint8.   Source   Edit @@ -900,7 +900,7 @@

Procs

Retrieves the uint16 value out of x. x needs to represent a uint16.   Source   Edit @@ -912,7 +912,7 @@

Procs

Retrieves the uint32 value out of x. x needs to represent a uint32.   Source   Edit @@ -924,7 +924,7 @@

Procs

Retrieves the uint64 value out of x. x needs to represent a uint64.   Source   Edit @@ -936,7 +936,7 @@

Procs

Includes an element elem in x. x needs to represent a Nim bitset.   Source   Edit @@ -948,7 +948,7 @@

Procs

Performs new(x). x needs to represent a ref.   Source   Edit @@ -960,7 +960,7 @@

Procs

Performs newSeq(x, len). x needs to represent a seq.   Source   Edit @@ -972,7 +972,7 @@

Procs

isNil for an x that represents a cstring, proc or some pointer type.   Source   Edit @@ -984,7 +984,7 @@

Procs

Gets the type kind.   Source   Edit @@ -996,7 +996,7 @@

Procs

len for an any x that represents an array or a sequence.   Source   Edit @@ -1008,7 +1008,7 @@

Procs

Sets the float value of x. x needs to represent some float.   Source   Edit @@ -1020,7 +1020,7 @@

Procs

Sets the integer value of x. x needs to represent some integer, a bool, a char, an enum or a small enough bit set.   Source   Edit @@ -1032,7 +1032,7 @@

Procs

Sets the unsigned integer value of x. x needs to represent an unsigned integer.   Source   Edit @@ -1044,7 +1044,7 @@

Procs

This needs to be called to set x's runtime object type field.   Source   Edit @@ -1056,7 +1056,7 @@

Procs

Sets the pointer value of x. x needs to be of kind akString, akCString, akProc, akRef, akPtr, akPointer or akSequence.   Source   Edit @@ -1068,7 +1068,7 @@

Procs

Sets the string value of x. x needs to represent a string.   Source   Edit @@ -1080,7 +1080,7 @@

Procs

Returns the size of x's type.   Source   Edit @@ -1092,7 +1092,7 @@

Procs

Skips the range information of x.   Source   Edit @@ -1104,7 +1104,7 @@

Procs

Constructs an Any object from x. This captures x's address, so x can be modified with its Any wrapper! The caller needs to ensure that the wrapper does not live longer than x!   Source   Edit @@ -1121,7 +1121,7 @@

Iterators

Iterates over every element of x. x needs to represent a set.   Source   Edit @@ -1133,7 +1133,7 @@

Iterators

Iterates over every active field of x. x needs to represent an object or a tuple.   Source   Edit diff --git a/typetraits.html b/typetraits.html index 15beee4ed43..0c17a792240 100644 --- a/typetraits.html +++ b/typetraits.html @@ -232,7 +232,7 @@

pure/typetraits

  Source   Edit @@ -268,7 +268,7 @@

Types

Enum with holes.   Source   Edit @@ -280,7 +280,7 @@

Types

Enum without holes.   Source   Edit @@ -293,7 +293,7 @@

Types

Used to wrap a static value in genericParams.   Source   Edit @@ -315,7 +315,7 @@

Procs

doAssert arity(array[3, int]) == 2 doAssert arity((int, int, float, string)) == 4   Source   Edit @@ -339,7 +339,7 @@

Procs

doAssert distinctBase(MyOtherInt, false) is MyInt doAssert distinctBase(int) is int   Source   Edit @@ -377,7 +377,7 @@

Procs

doAssert genericHead(Foo[int])[float] is Foo[float] doAssert seq[int].genericHead is seq   Source   Edit @@ -389,7 +389,7 @@

Procs

Return true if the func/proc/etc fn has closure. fn has to be a resolved symbol of kind nnkSym. This implies that the macro that calls this proc should accept typed arguments and not untyped arguments.   Source   Edit @@ -413,7 +413,7 @@

Procs

doAssert not isCyclical(NoCycle2) doAssert isCyclical(Cycle)   Source   Edit @@ -429,7 +429,7 @@

Procs

doAssert not isNamedTuple((string, int)) doAssert isNamedTuple(tuple[name: string, age: int])   Source   Edit @@ -446,7 +446,7 @@

Procs

doAssert name(int) == "int"
 doAssert name(seq[string]) == "seq[string]"
  Source   Edit @@ -466,7 +466,7 @@

Procs

doAssert rangeBase(Range) isnot range doAssert rangeBase(Nested) is Range   Source   Edit @@ -484,7 +484,7 @@

Procs

doAssert stripGenericParams(Foo[string]) is Foo doAssert stripGenericParams(int) is int   Source   Edit @@ -499,7 +499,7 @@

Procs

Other languages name a type like these blob.

  Source   Edit @@ -519,7 +519,7 @@

Procs

doAssert tupleLen((int, int, float, string)) == 4
 doAssert tupleLen(tuple[name: string, age: int]) == 2
  Source   Edit @@ -542,7 +542,7 @@

Macros

doAssert Foo.enumLen == 2   Source   Edit @@ -566,7 +566,7 @@

Templates

doAssert 12.MyOtherInt.distinctBase(false) is MyInt doAssert 12.distinctBase == 12   Source   Edit @@ -586,7 +586,7 @@

Templates

doAssert elementType("asdf") is char doAssert elementType(myiter(3)) is int   Source   Edit @@ -616,7 +616,7 @@

Templates

var a: array[10, int] doAssert genericParams(typeof(a)) is (range[0..9], int)   Source   Edit @@ -630,7 +630,7 @@

Templates

Example:

doAssert get((int, int, float, string), 2) is float
  Source   Edit @@ -648,7 +648,7 @@

Templates

assert (ref A).pointerBase is A # not seq[float] assert (var s = "abc"; s[0].addr).typeof.pointerBase is char   Source   Edit @@ -666,7 +666,7 @@

Templates

Example:

doAssert tupleLen((1, 2)) == 2
  Source   Edit diff --git a/underscored_calls.html b/underscored_calls.html index 9da71c52650..4872be98cf9 100644 --- a/underscored_calls.html +++ b/underscored_calls.html @@ -117,7 +117,7 @@

std/private/underscored_calls

  Source   Edit @@ -139,7 +139,7 @@

Procs

  Source   Edit diff --git a/unicode.html b/unicode.html index 1fb8c1a274c..250fd1268ad 100644 --- a/unicode.html +++ b/unicode.html @@ -377,7 +377,7 @@

pure/unicode

  Source   Edit @@ -405,7 +405,7 @@

Types

A Rune may be composed with other Runes to a character on the screen. RuneImpl is the underlying type used to store Runes, currently int32.

  Source   Edit @@ -427,7 +427,7 @@

Procs

  Source   Edit @@ -448,7 +448,7 @@

Procs

someRunes = toRunes(someString) doAssert $someRunes == someString   Source   Edit @@ -465,7 +465,7 @@

Procs

b = "ü".runeAt(0) doAssert a <% b   Source   Edit @@ -482,7 +482,7 @@

Procs

b = "ü".runeAt(0) doAssert a <=% b   Source   Edit @@ -494,7 +494,7 @@

Procs

Checks if two runes are equal.   Source   Edit @@ -511,7 +511,7 @@

Procs

s.add(c) doAssert s == "abcä"   Source   Edit @@ -533,7 +533,7 @@

Procs

assert align("Åge", 5) == " Åge" assert align("×", 4, '_'.Rune) == "___×"   Source   Edit @@ -555,7 +555,7 @@

Procs

assert alignLeft("Åge", 5) == "Åge " assert alignLeft("×", 4, '_'.Rune) == "×___"   Source   Edit @@ -570,7 +570,7 @@

Procs

Example:

doAssert capitalize("βeta") == "Βeta"
  Source   Edit @@ -583,7 +583,7 @@

Procs

Compares two UTF-8 strings and ignores the case. Returns:

0 if a == b
< 0 if a < b
> 0 if a > b

  Source   Edit @@ -600,7 +600,7 @@

Procs

doAssert a.graphemeLen(2) == 1 doAssert a.graphemeLen(4) == 2 ## ó   Source   Edit @@ -620,7 +620,7 @@

Procs

  Source   Edit @@ -636,7 +636,7 @@

Procs

let a = "añyóng"
 doAssert a.isAlpha
  Source   Edit @@ -655,7 +655,7 @@

Procs

  Source   Edit @@ -674,7 +674,7 @@

Procs

  Source   Edit @@ -690,7 +690,7 @@

Procs

let a = "\t\l \v\r\f"
 doAssert a.isSpace
  Source   Edit @@ -710,7 +710,7 @@

Procs

  Source   Edit @@ -731,7 +731,7 @@

Procs

  Source   Edit @@ -750,7 +750,7 @@

Procs

  Source   Edit @@ -762,7 +762,7 @@

Procs

Length of the last rune in s[0..last]. Returns the rune and its length in bytes.   Source   Edit @@ -780,7 +780,7 @@

Procs

let a = "ñ".runeAt(0)
 doAssert a.repeat(5) == "ñññññ"
  Source   Edit @@ -799,7 +799,7 @@

Procs

assert reversed("as⃝df̅") == "f̅ds⃝a" assert reversed("a⃞b⃞c⃞") == "c⃞b⃞a⃞"   Source   Edit @@ -822,7 +822,7 @@

Procs

doAssert a.runeAt(2) == "ñ".runeAt(1) doAssert a.runeAt(3) == "y".runeAt(0)   Source   Edit @@ -841,7 +841,7 @@

Procs

  Source   Edit @@ -857,7 +857,7 @@

Procs

doAssert a.runeLen == 6 ## note: a.len == 8   Source   Edit @@ -877,7 +877,7 @@

Procs

doAssert a.runeLenAt(0) == 1 doAssert a.runeLenAt(1) == 2   Source   Edit @@ -900,7 +900,7 @@

Procs

doAssert a.runeOffset(3) == 4 doAssert a.runeOffset(4) == 6   Source   Edit @@ -919,7 +919,7 @@

Procs

  Source   Edit @@ -938,7 +938,7 @@

Procs

  Source   Edit @@ -961,7 +961,7 @@

Procs

doAssert(runeSubStr(s, 12, 5) == "10,00") doAssert(runeSubStr(s, -6, 3) == "10,")   Source   Edit @@ -977,7 +977,7 @@

Procs

doAssert size(a[0]) == 1 doAssert size(a[1]) == 2   Source   Edit @@ -990,7 +990,7 @@

Procs

The same as the split iterator, but is a proc that returns a sequence of substrings.   Source   Edit @@ -1004,7 +1004,7 @@

Procs

The same as the split iterator, but is a proc that returns a sequence of substrings.   Source   Edit @@ -1017,7 +1017,7 @@

Procs

The same as the splitWhitespace iterator, but is a proc that returns a sequence of substrings.   Source   Edit @@ -1038,7 +1038,7 @@

Procs

doAssert a.strip(leading = false) == "\táñyóng" doAssert a.strip(trailing = false) == "áñyóng "   Source   Edit @@ -1055,7 +1055,7 @@

Procs

Example:

doAssert swapCase("Αlpha Βeta Γamma") == "αLPHA βETA γAMMA"
  Source   Edit @@ -1072,7 +1072,7 @@

Procs

Example:

doAssert title("αlpha βeta γamma") == "Αlpha Βeta Γamma"
  Source   Edit @@ -1091,7 +1091,7 @@

Procs

  Source   Edit @@ -1106,7 +1106,7 @@

Procs

Example:

doAssert toLower("ABΓ") == "abγ"
  Source   Edit @@ -1125,7 +1125,7 @@

Procs

let a = toRunes("aáä")
 doAssert a == @["a".runeAt(0), "á".runeAt(0), "ä".runeAt(0)]
  Source   Edit @@ -1143,7 +1143,7 @@

Procs

  Source   Edit @@ -1162,7 +1162,7 @@

Procs

  Source   Edit @@ -1177,7 +1177,7 @@

Procs

Example:

doAssert toUpper("abγ") == "ABΓ"
  Source   Edit @@ -1199,7 +1199,7 @@

Procs

let a = "añyóng"
 doAssert a.runeAt(1).toUTF8 == "ñ"
  Source   Edit @@ -1222,7 +1222,7 @@

Procs

let a = "one two three four" doAssert a.translate(wordToNumber) == "1 2 three four"   Source   Edit @@ -1240,7 +1240,7 @@

Procs

  Source   Edit @@ -1257,7 +1257,7 @@

Iterators

Iterates over any rune of the string s returning runes.   Source   Edit @@ -1275,7 +1275,7 @@

Iterators

assert toSeq(split(";;hÃllo;this;is;an;;example;;;是", ";".runeAt(0))) == @["", "", "hÃllo", "this", "is", "an", "", "example", "", "", "是"]   Source   Edit @@ -1308,7 +1308,7 @@

Iterators

assert toSeq(split(date, " -:T".toRunes)) == @["2012", "11", "20", "22", "08", "08.398990"]   Source   Edit @@ -1320,7 +1320,7 @@

Iterators

Splits a unicode string at whitespace runes.   Source   Edit @@ -1339,7 +1339,7 @@

Iterators

  Source   Edit @@ -1358,7 +1358,7 @@

Templates

If doInc == true (default), i is incremented by the number of bytes that have been processed.

  Source   Edit @@ -1378,7 +1378,7 @@

Templates

  Source   Edit diff --git a/unidecode.html b/unidecode.html index 3deab1d9d02..8e9805841d3 100644 --- a/unidecode.html +++ b/unidecode.html @@ -122,7 +122,7 @@

pure/unidecode/unidecode

  Source   Edit @@ -148,7 +148,7 @@

Procs

Loads the datafile that unidecode needs to work. This is only required if the module was compiled with the --define:noUnidecodeTable switch. This needs to be called by the main thread before any thread can make a call to unidecode.   Source   Edit @@ -163,7 +163,7 @@

Procs

doAssert unidecode("北京") == "Bei Jing "
 doAssert unidecode("Äußerst") == "Ausserst"
  Source   Edit diff --git a/unittest.html b/unittest.html index 362c7abbecf..5f2293bb962 100644 --- a/unittest.html +++ b/unittest.html @@ -321,7 +321,7 @@

pure/unittest

  Source   Edit @@ -404,7 +404,7 @@

Types

  Source   Edit @@ -421,7 +421,7 @@

Types

  Source   Edit @@ -433,7 +433,7 @@

Types

  Source   Edit @@ -448,7 +448,7 @@

Types

The output verbosity of the tests.   Source   Edit @@ -465,7 +465,7 @@

Types

  Source   Edit @@ -478,7 +478,7 @@

Types

The status of a test when it is done.   Source   Edit @@ -497,7 +497,7 @@

Vars

Deprecated: can also override depending on whether NIMTEST_ABORT_ON_ERROR environment variable is set.

  Source   Edit @@ -514,7 +514,7 @@

Procs

  Source   Edit @@ -529,7 +529,7 @@

Procs

checkpoint("Checkpoint B")

outputs "Checkpoint A" once it fails.

  Source   Edit @@ -542,7 +542,7 @@

Procs

Completes the report and closes the underlying stream.   Source   Edit @@ -555,7 +555,7 @@

Procs

  Source   Edit @@ -567,7 +567,7 @@

Procs

  Source   Edit @@ -579,7 +579,7 @@

Procs

disables filtering tests with the command line params   Source   Edit @@ -593,7 +593,7 @@

Procs

  Source   Edit @@ -606,7 +606,7 @@

Procs

Creates a formatter that writes report to the specified stream in JUnit format. The stream is NOT closed automatically when the test are finished, because the formatter has no way to know when all tests are finished. You should invoke formatter.close() to finalize the report.   Source   Edit @@ -618,7 +618,7 @@

Procs

  Source   Edit @@ -637,7 +637,7 @@

Methods

  Source   Edit @@ -651,7 +651,7 @@

Methods

stackTrace is provided only if the failure occurred due to an exception. checkpoints is never nil.   Source   Edit @@ -664,7 +664,7 @@

Methods

stackTrace is provided only if the failure occurred due to an exception. checkpoints is never nil.   Source   Edit @@ -676,7 +676,7 @@

Methods

  Source   Edit @@ -689,7 +689,7 @@

Methods

  Source   Edit @@ -702,7 +702,7 @@

Methods

  Source   Edit @@ -715,7 +715,7 @@

Methods

  Source   Edit @@ -728,7 +728,7 @@

Methods

  Source   Edit @@ -741,7 +741,7 @@

Methods

  Source   Edit @@ -754,7 +754,7 @@

Methods

  Source   Edit @@ -767,7 +767,7 @@

Methods

  Source   Edit @@ -780,7 +780,7 @@

Methods

  Source   Edit @@ -793,7 +793,7 @@

Methods

  Source   Edit @@ -806,7 +806,7 @@

Methods

  Source   Edit @@ -819,7 +819,7 @@

Methods

  Source   Edit @@ -846,7 +846,7 @@

Macros

"AKB48".toLowerAscii() == "akb48" 'C' notin teams   Source   Edit @@ -870,7 +870,7 @@

Macros

expect IOError, OSError, ValueError, AssertionDefect: defectiveRobot()   Source   Edit @@ -897,7 +897,7 @@

Macros

[OK] 2 + 2 = 4 [OK] (2 + -2) != 4   Source   Edit @@ -917,7 +917,7 @@

Templates

fail()

outputs "Checkpoint A" before quitting.

  Source   Edit @@ -929,7 +929,7 @@

Templates

Same as check except any failed test causes the program to quit immediately. Any teardown statements are not executed and the failed test output is not generated.   Source   Edit @@ -942,7 +942,7 @@

Templates

Mark the test as skipped. Should be used directly in case when it is not possible to perform test for reasons depending on outer environment, or certain application logic conditions or configurations. The test code is still executed.
if not isGLContextCreated():
   skip()
  Source   Edit @@ -957,7 +957,7 @@

Templates

check(roses == "red")

The above code outputs:

[OK] roses are red
  Source   Edit diff --git a/uri.html b/uri.html index c29636040a5..998a1780011 100644 --- a/uri.html +++ b/uri.html @@ -207,7 +207,7 @@

pure/uri

  Source   Edit @@ -255,7 +255,7 @@

Types

  Source   Edit @@ -267,7 +267,7 @@

Types

  Source   Edit @@ -279,7 +279,7 @@

Types

  Source   Edit @@ -298,7 +298,7 @@

Procs

Example:

assert $parseUri("https://nim-lang.org") == "https://nim-lang.org"
  Source   Edit @@ -322,7 +322,7 @@

Procs

let qux = parseUri("https://nim-lang.org/foo/bar/") / "baz" assert qux.path == "/foo/bar/baz"   Source   Edit @@ -337,7 +337,7 @@

Procs

let foo = parseUri("https://example.com") / "foo" ? {"bar": "qux"}
 assert $foo == "https://example.com/foo?bar=qux"
  Source   Edit @@ -362,7 +362,7 @@

Procs

let qux = combine(parseUri("https://nim-lang.org/foo/bar/"), parseUri("baz")) assert qux.path == "/foo/bar/baz"   Source   Edit @@ -383,7 +383,7 @@

Procs

assert foo.hostname == "nim-lang.org" assert foo.path == "/docs/manual.html"   Source   Edit @@ -407,7 +407,7 @@

Procs

false) == "https://nim-lang.org/this is a test" assert decodeUrl("abc%xyz") == "abc%xyz"   Source   Edit @@ -430,7 +430,7 @@

Procs

assert encodeQuery({"a": "1", "b": "2"}) == "a=1&b=2" assert encodeQuery({"a": "1", "b": ""}) == "a=1&b"   Source   Edit @@ -452,7 +452,7 @@

Procs

assert encodeUrl("https://nim-lang.org/this is a test") == "https%3A%2F%2Fnim-lang.org%2Fthis+is+a+test" assert encodeUrl("https://nim-lang.org/this is a test", false) == "https%3A%2F%2Fnim-lang.org%2Fthis%20is%20a%20test"   Source   Edit @@ -473,7 +473,7 @@

Procs

Example:

static: assert getDataUri("Nim", "text/plain") == "data:text/plain;charset=utf-8;base64,Tmlt"
  Source   Edit @@ -495,7 +495,7 @@

Procs

uri2.port = "8080" assert $uri2 == "tcp://[2001:0db8:85a3:0000:0000:8a2e:0370:7334]:8080"   Source   Edit @@ -510,7 +510,7 @@

Procs

assert parseUri("https://nim-lang.org").isAbsolute
 assert not parseUri("nim-lang").isAbsolute
  Source   Edit @@ -531,7 +531,7 @@

Procs

assert res.password == "Password" assert res.scheme == "ftp"   Source   Edit @@ -554,7 +554,7 @@

Procs

assert res.hostname == "nim-lang.org" assert res.path == "/docs/manual.html"   Source   Edit @@ -566,7 +566,7 @@

Procs

Raises a UriParseError exception with message msg.   Source   Edit @@ -588,7 +588,7 @@

Iterators

assert toSeq(decodeQuery("foo=1&bar=2=3")) == @[("foo", "1"), ("bar", "2=3")] assert toSeq(decodeQuery("&a&=b&=&&")) == @[("", ""), ("a", ""), ("", "b"), ("", ""), ("", "")]   Source   Edit diff --git a/util.html b/util.html index 340ac6f8880..0c16cca581b 100644 --- a/util.html +++ b/util.html @@ -117,7 +117,7 @@

impure/nre/private/util

  Source   Edit @@ -139,7 +139,7 @@

Templates

  Source   Edit diff --git a/varints.html b/varints.html index 8ab6ff84014..50c2b5eecb4 100644 --- a/varints.html +++ b/varints.html @@ -134,7 +134,7 @@

std/varints

  Source   Edit @@ -153,7 +153,7 @@

Consts

the maximal number of bytes a varint can take   Source   Edit @@ -170,7 +170,7 @@

Procs

  Source   Edit @@ -182,7 +182,7 @@

Procs

  Source   Edit @@ -195,7 +195,7 @@

Procs

  Source   Edit @@ -207,7 +207,7 @@

Procs

Write a varint into z. The buffer z must be at least 9 characters long to accommodate the largest possible varint. Returns the number of bytes used.   Source   Edit diff --git a/vmutils.html b/vmutils.html index 3b5bb845cf9..442f5690b48 100644 --- a/vmutils.html +++ b/vmutils.html @@ -111,7 +111,7 @@

std/vmutils

  Source   Edit @@ -134,7 +134,7 @@

Procs

vmTrace(false) static: fn()   Source   Edit diff --git a/volatile.html b/volatile.html index 45c3b56c917..f4f190c1f05 100644 --- a/volatile.html +++ b/volatile.html @@ -116,7 +116,7 @@

pure/volatile

  Source   Edit @@ -133,7 +133,7 @@

Templates

Generates a volatile load of the value stored in the container src. Note that this only effects code generation on C like backends.   Source   Edit @@ -145,7 +145,7 @@

Templates

Generates a volatile store into the container dest of the value val. Note that this only effects code generation on C like backends.   Source   Edit diff --git a/widestrs.html b/widestrs.html index 3ff4d1027e2..ed3165ea681 100644 --- a/widestrs.html +++ b/widestrs.html @@ -175,7 +175,7 @@

system/widestrs

  Source   Edit @@ -192,7 +192,7 @@

Types

  Source   Edit @@ -204,7 +204,7 @@

Types

  Source   Edit @@ -220,7 +220,7 @@

Types

  Source   Edit @@ -237,7 +237,7 @@

Procs

  Source   Edit @@ -249,7 +249,7 @@

Procs

  Source   Edit @@ -262,7 +262,7 @@

Procs

  Source   Edit @@ -275,7 +275,7 @@

Procs

  Source   Edit @@ -287,7 +287,7 @@

Procs

returns the length of a widestring. This traverses the whole string to find the binary zero end marker!   Source   Edit @@ -299,7 +299,7 @@

Procs

  Source   Edit @@ -311,7 +311,7 @@

Procs

  Source   Edit @@ -323,7 +323,7 @@

Procs

  Source   Edit @@ -336,7 +336,7 @@

Procs

  Source   Edit @@ -354,7 +354,7 @@

Converters

  Source   Edit @@ -371,7 +371,7 @@

Templates

  Source   Edit @@ -383,7 +383,7 @@

Templates

  Source   Edit diff --git a/win_getsysteminfo.html b/win_getsysteminfo.html index a972475c157..97e239476f8 100644 --- a/win_getsysteminfo.html +++ b/win_getsysteminfo.html @@ -129,7 +129,7 @@

std/private/win_getsysteminfo

  Source   Edit @@ -157,7 +157,7 @@

Types

  Source   Edit @@ -175,7 +175,7 @@

Procs

  Source   Edit diff --git a/win_setenv.html b/win_setenv.html index 8482c2c9021..938a3de2ed4 100644 --- a/win_setenv.html +++ b/win_setenv.html @@ -97,7 +97,7 @@

std/private/win_setenv

  Source   Edit diff --git a/winlean.html b/winlean.html index 2b4c02c229b..5580c90dcc9 100644 --- a/winlean.html +++ b/winlean.html @@ -1603,7 +1603,7 @@

windows/winlean

  Source   Edit @@ -1634,7 +1634,7 @@

Types

  Source   Edit @@ -1657,7 +1657,7 @@

Types

  Source   Edit @@ -1669,7 +1669,7 @@

Types

  Source   Edit @@ -1681,7 +1681,7 @@

Types

  Source   Edit @@ -1696,7 +1696,7 @@

Types

CANNOT BE int64 BECAUSE OF ALIGNMENT   Source   Edit @@ -1713,7 +1713,7 @@

Types

  Source   Edit @@ -1725,7 +1725,7 @@

Types

  Source   Edit @@ -1737,7 +1737,7 @@

Types

  Source   Edit @@ -1749,7 +1749,7 @@

Types

  Source   Edit @@ -1767,7 +1767,7 @@

Types

  Source   Edit @@ -1781,7 +1781,7 @@

Types

  Source   Edit @@ -1795,7 +1795,7 @@

Types

  Source   Edit @@ -1815,7 +1815,7 @@

Types

  Source   Edit @@ -1827,7 +1827,7 @@

Types

  Source   Edit @@ -1839,7 +1839,7 @@

Types

  Source   Edit @@ -1851,7 +1851,7 @@

Types

  Source   Edit @@ -1863,7 +1863,7 @@

Types

  Source   Edit @@ -1882,7 +1882,7 @@

Types

  Source   Edit @@ -1900,7 +1900,7 @@

Types

  Source   Edit @@ -1912,7 +1912,7 @@

Types

  Source   Edit @@ -1924,7 +1924,7 @@

Types

  Source   Edit @@ -1936,7 +1936,7 @@

Types

  Source   Edit @@ -1949,7 +1949,7 @@

Types

  Source   Edit @@ -1966,7 +1966,7 @@

Types

  Source   Edit @@ -1982,7 +1982,7 @@

Types

  Source   Edit @@ -1994,7 +1994,7 @@

Types

  Source   Edit @@ -2006,7 +2006,7 @@

Types

  Source   Edit @@ -2018,7 +2018,7 @@

Types

  Source   Edit @@ -2030,7 +2030,7 @@

Types

  Source   Edit @@ -2046,7 +2046,7 @@

Types

  Source   Edit @@ -2069,7 +2069,7 @@

Types

  Source   Edit @@ -2086,7 +2086,7 @@

Types

  Source   Edit @@ -2100,7 +2100,7 @@

Types

  Source   Edit @@ -2115,7 +2115,7 @@

Types

  Source   Edit @@ -2132,7 +2132,7 @@

Types

  Source   Edit @@ -2150,7 +2150,7 @@

Types

  Source   Edit @@ -2167,7 +2167,7 @@

Types

  Source   Edit @@ -2179,7 +2179,7 @@

Types

  Source   Edit @@ -2191,7 +2191,7 @@

Types

  Source   Edit @@ -2222,7 +2222,7 @@

Types

  Source   Edit @@ -2237,7 +2237,7 @@

Types

  Source   Edit @@ -2251,7 +2251,7 @@

Types

  Source   Edit @@ -2266,7 +2266,7 @@

Types

  Source   Edit @@ -2278,7 +2278,7 @@

Types

  Source   Edit @@ -2290,7 +2290,7 @@

Types

  Source   Edit @@ -2302,7 +2302,7 @@

Types

  Source   Edit @@ -2325,7 +2325,7 @@

Types

  Source   Edit @@ -2337,7 +2337,7 @@

Types

WINBOOL uses opposite convention as posix, !=0 meaning success.   Source   Edit @@ -2349,7 +2349,7 @@

Types

  Source   Edit @@ -2361,7 +2361,7 @@

Types

  Source   Edit @@ -2373,7 +2373,7 @@

Types

  Source   Edit @@ -2391,7 +2391,7 @@

Types

  Source   Edit @@ -2409,7 +2409,7 @@

Types

  Source   Edit @@ -2424,7 +2424,7 @@

Types

  Source   Edit @@ -2444,7 +2444,7 @@

Types

  Source   Edit @@ -2461,7 +2461,7 @@

Vars

  Source   Edit @@ -2473,7 +2473,7 @@

Vars

  Source   Edit @@ -2485,7 +2485,7 @@

Vars

  Source   Edit @@ -2497,7 +2497,7 @@

Vars

turn on debugging info recording   Source   Edit @@ -2509,7 +2509,7 @@

Vars

  Source   Edit @@ -2521,7 +2521,7 @@

Vars

  Source   Edit @@ -2533,7 +2533,7 @@

Vars

  Source   Edit @@ -2545,7 +2545,7 @@

Vars

  Source   Edit @@ -2557,7 +2557,7 @@

Vars

  Source   Edit @@ -2569,7 +2569,7 @@

Vars

  Source   Edit @@ -2581,7 +2581,7 @@

Vars

  Source   Edit @@ -2593,7 +2593,7 @@

Vars

  Source   Edit @@ -2605,7 +2605,7 @@

Vars

  Source   Edit @@ -2617,7 +2617,7 @@

Vars

  Source   Edit @@ -2629,7 +2629,7 @@

Vars

  Source   Edit @@ -2641,7 +2641,7 @@

Vars

  Source   Edit @@ -2653,7 +2653,7 @@

Vars

  Source   Edit @@ -2666,7 +2666,7 @@

Vars

  Source   Edit @@ -2679,7 +2679,7 @@

Vars

  Source   Edit @@ -2693,7 +2693,7 @@

Vars

  Source   Edit @@ -2710,7 +2710,7 @@

Consts

  Source   Edit @@ -2722,7 +2722,7 @@

Consts

  Source   Edit @@ -2734,7 +2734,7 @@

Consts

  Source   Edit @@ -2746,7 +2746,7 @@

Consts

  Source   Edit @@ -2758,7 +2758,7 @@

Consts

  Source   Edit @@ -2770,7 +2770,7 @@

Consts

  Source   Edit @@ -2782,7 +2782,7 @@

Consts

  Source   Edit @@ -2794,7 +2794,7 @@

Consts

  Source   Edit @@ -2806,7 +2806,7 @@

Consts

  Source   Edit @@ -2818,7 +2818,7 @@

Consts

  Source   Edit @@ -2830,7 +2830,7 @@

Consts

  Source   Edit @@ -2842,7 +2842,7 @@

Consts

  Source   Edit @@ -2854,7 +2854,7 @@

Consts

  Source   Edit @@ -2866,7 +2866,7 @@

Consts

  Source   Edit @@ -2878,7 +2878,7 @@

Consts

https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-   Source   Edit @@ -2890,7 +2890,7 @@

Consts

  Source   Edit @@ -2902,7 +2902,7 @@

Consts

  Source   Edit @@ -2914,7 +2914,7 @@

Consts

  Source   Edit @@ -2926,7 +2926,7 @@

Consts

  Source   Edit @@ -2938,7 +2938,7 @@

Consts

  Source   Edit @@ -2950,7 +2950,7 @@

Consts

  Source   Edit @@ -2962,7 +2962,7 @@

Consts

  Source   Edit @@ -2974,7 +2974,7 @@

Consts

  Source   Edit @@ -2986,7 +2986,7 @@

Consts

  Source   Edit @@ -2998,7 +2998,7 @@

Consts

  Source   Edit @@ -3010,7 +3010,7 @@

Consts

  Source   Edit @@ -3022,7 +3022,7 @@

Consts

  Source   Edit @@ -3034,7 +3034,7 @@

Consts

  Source   Edit @@ -3046,7 +3046,7 @@

Consts

  Source   Edit @@ -3058,7 +3058,7 @@

Consts

  Source   Edit @@ -3070,7 +3070,7 @@

Consts

  Source   Edit @@ -3082,7 +3082,7 @@

Consts

  Source   Edit @@ -3094,7 +3094,7 @@

Consts

  Source   Edit @@ -3106,7 +3106,7 @@

Consts

  Source   Edit @@ -3118,7 +3118,7 @@

Consts

  Source   Edit @@ -3130,7 +3130,7 @@

Consts

  Source   Edit @@ -3142,7 +3142,7 @@

Consts

  Source   Edit @@ -3154,7 +3154,7 @@

Consts

  Source   Edit @@ -3166,7 +3166,7 @@

Consts

  Source   Edit @@ -3178,7 +3178,7 @@

Consts

  Source   Edit @@ -3190,7 +3190,7 @@

Consts

  Source   Edit @@ -3202,7 +3202,7 @@

Consts

  Source   Edit @@ -3214,7 +3214,7 @@

Consts

  Source   Edit @@ -3226,7 +3226,7 @@

Consts

  Source   Edit @@ -3238,7 +3238,7 @@

Consts

  Source   Edit @@ -3250,7 +3250,7 @@

Consts

  Source   Edit @@ -3262,7 +3262,7 @@

Consts

  Source   Edit @@ -3274,7 +3274,7 @@

Consts

  Source   Edit @@ -3286,7 +3286,7 @@

Consts

  Source   Edit @@ -3298,7 +3298,7 @@

Consts

  Source   Edit @@ -3310,7 +3310,7 @@

Consts

  Source   Edit @@ -3322,7 +3322,7 @@

Consts

  Source   Edit @@ -3334,7 +3334,7 @@

Consts

  Source   Edit @@ -3346,7 +3346,7 @@

Consts

  Source   Edit @@ -3358,7 +3358,7 @@

Consts

  Source   Edit @@ -3370,7 +3370,7 @@

Consts

  Source   Edit @@ -3382,7 +3382,7 @@

Consts

  Source   Edit @@ -3394,7 +3394,7 @@

Consts

  Source   Edit @@ -3406,7 +3406,7 @@

Consts

  Source   Edit @@ -3418,7 +3418,7 @@

Consts

  Source   Edit @@ -3430,7 +3430,7 @@

Consts

  Source   Edit @@ -3442,7 +3442,7 @@

Consts

  Source   Edit @@ -3454,7 +3454,7 @@

Consts

  Source   Edit @@ -3466,7 +3466,7 @@

Consts

  Source   Edit @@ -3478,7 +3478,7 @@

Consts

  Source   Edit @@ -3490,7 +3490,7 @@

Consts

  Source   Edit @@ -3502,7 +3502,7 @@

Consts

  Source   Edit @@ -3514,7 +3514,7 @@

Consts

  Source   Edit @@ -3526,7 +3526,7 @@

Consts

  Source   Edit @@ -3538,7 +3538,7 @@

Consts

  Source   Edit @@ -3550,7 +3550,7 @@

Consts

  Source   Edit @@ -3562,7 +3562,7 @@

Consts

  Source   Edit @@ -3574,7 +3574,7 @@

Consts

  Source   Edit @@ -3586,7 +3586,7 @@

Consts

  Source   Edit @@ -3598,7 +3598,7 @@

Consts

  Source   Edit @@ -3610,7 +3610,7 @@

Consts

  Source   Edit @@ -3622,7 +3622,7 @@

Consts

  Source   Edit @@ -3634,7 +3634,7 @@

Consts

  Source   Edit @@ -3646,7 +3646,7 @@

Consts

  Source   Edit @@ -3658,7 +3658,7 @@

Consts

  Source   Edit @@ -3670,7 +3670,7 @@

Consts

  Source   Edit @@ -3682,7 +3682,7 @@

Consts

  Source   Edit @@ -3694,7 +3694,7 @@

Consts

  Source   Edit @@ -3706,7 +3706,7 @@

Consts

  Source   Edit @@ -3718,7 +3718,7 @@

Consts

  Source   Edit @@ -3730,7 +3730,7 @@

Consts

  Source   Edit @@ -3742,7 +3742,7 @@

Consts

  Source   Edit @@ -3754,7 +3754,7 @@

Consts

  Source   Edit @@ -3766,7 +3766,7 @@

Consts

  Source   Edit @@ -3778,7 +3778,7 @@

Consts

  Source   Edit @@ -3790,7 +3790,7 @@

Consts

  Source   Edit @@ -3802,7 +3802,7 @@

Consts

  Source   Edit @@ -3814,7 +3814,7 @@

Consts

  Source   Edit @@ -3826,7 +3826,7 @@

Consts

  Source   Edit @@ -3838,7 +3838,7 @@

Consts

  Source   Edit @@ -3850,7 +3850,7 @@

Consts

  Source   Edit @@ -3862,7 +3862,7 @@

Consts

  Source   Edit @@ -3874,7 +3874,7 @@

Consts

  Source   Edit @@ -3886,7 +3886,7 @@

Consts

  Source   Edit @@ -3898,7 +3898,7 @@

Consts

  Source   Edit @@ -3910,7 +3910,7 @@

Consts

  Source   Edit @@ -3922,7 +3922,7 @@

Consts

  Source   Edit @@ -3934,7 +3934,7 @@

Consts

  Source   Edit @@ -3946,7 +3946,7 @@

Consts

  Source   Edit @@ -3958,7 +3958,7 @@

Consts

  Source   Edit @@ -3970,7 +3970,7 @@

Consts

  Source   Edit @@ -3982,7 +3982,7 @@

Consts

  Source   Edit @@ -3994,7 +3994,7 @@

Consts

  Source   Edit @@ -4006,7 +4006,7 @@

Consts

  Source   Edit @@ -4018,7 +4018,7 @@

Consts

  Source   Edit @@ -4030,7 +4030,7 @@

Consts

  Source   Edit @@ -4042,7 +4042,7 @@

Consts

  Source   Edit @@ -4054,7 +4054,7 @@

Consts

  Source   Edit @@ -4066,7 +4066,7 @@

Consts

  Source   Edit @@ -4078,7 +4078,7 @@

Consts

  Source   Edit @@ -4090,7 +4090,7 @@

Consts

  Source   Edit @@ -4102,7 +4102,7 @@

Consts

  Source   Edit @@ -4114,7 +4114,7 @@

Consts

  Source   Edit @@ -4126,7 +4126,7 @@

Consts

  Source   Edit @@ -4138,7 +4138,7 @@

Consts

  Source   Edit @@ -4150,7 +4150,7 @@

Consts

  Source   Edit @@ -4162,7 +4162,7 @@

Consts

  Source   Edit @@ -4174,7 +4174,7 @@

Consts

  Source   Edit @@ -4186,7 +4186,7 @@

Consts

  Source   Edit @@ -4198,7 +4198,7 @@

Consts

  Source   Edit @@ -4210,7 +4210,7 @@

Consts

  Source   Edit @@ -4222,7 +4222,7 @@

Consts

  Source   Edit @@ -4234,7 +4234,7 @@

Consts

  Source   Edit @@ -4246,7 +4246,7 @@

Consts

  Source   Edit @@ -4258,7 +4258,7 @@

Consts

  Source   Edit @@ -4270,7 +4270,7 @@

Consts

  Source   Edit @@ -4282,7 +4282,7 @@

Consts

  Source   Edit @@ -4294,7 +4294,7 @@

Consts

  Source   Edit @@ -4306,7 +4306,7 @@

Consts

  Source   Edit @@ -4318,7 +4318,7 @@

Consts

  Source   Edit @@ -4330,7 +4330,7 @@

Consts

  Source   Edit @@ -4342,7 +4342,7 @@

Consts

  Source   Edit @@ -4354,7 +4354,7 @@

Consts

  Source   Edit @@ -4366,7 +4366,7 @@

Consts

  Source   Edit @@ -4378,7 +4378,7 @@

Consts

  Source   Edit @@ -4390,7 +4390,7 @@

Consts

  Source   Edit @@ -4402,7 +4402,7 @@

Consts

  Source   Edit @@ -4414,7 +4414,7 @@

Consts

  Source   Edit @@ -4426,7 +4426,7 @@

Consts

  Source   Edit @@ -4438,7 +4438,7 @@

Consts

  Source   Edit @@ -4450,7 +4450,7 @@

Consts

  Source   Edit @@ -4462,7 +4462,7 @@

Consts

  Source   Edit @@ -4474,7 +4474,7 @@

Consts

  Source   Edit @@ -4486,7 +4486,7 @@

Consts

  Source   Edit @@ -4498,7 +4498,7 @@

Consts

  Source   Edit @@ -4510,7 +4510,7 @@

Consts

  Source   Edit @@ -4522,7 +4522,7 @@

Consts

  Source   Edit @@ -4534,7 +4534,7 @@

Consts

  Source   Edit @@ -4546,7 +4546,7 @@

Consts

  Source   Edit @@ -4558,7 +4558,7 @@

Consts

  Source   Edit @@ -4570,7 +4570,7 @@

Consts

  Source   Edit @@ -4582,7 +4582,7 @@

Consts

  Source   Edit @@ -4594,7 +4594,7 @@

Consts

  Source   Edit @@ -4606,7 +4606,7 @@

Consts

  Source   Edit @@ -4618,7 +4618,7 @@

Consts

  Source   Edit @@ -4630,7 +4630,7 @@

Consts

  Source   Edit @@ -4642,7 +4642,7 @@

Consts

  Source   Edit @@ -4654,7 +4654,7 @@

Consts

  Source   Edit @@ -4671,7 +4671,7 @@

Procs

  Source   Edit @@ -4684,7 +4684,7 @@

Procs

  Source   Edit @@ -4703,7 +4703,7 @@

Procs

  Source   Edit @@ -4716,7 +4716,7 @@

Procs

  Source   Edit @@ -4730,7 +4730,7 @@

Procs

  Source   Edit @@ -4743,7 +4743,7 @@

Procs

  Source   Edit @@ -4756,7 +4756,7 @@

Procs

  Source   Edit @@ -4769,7 +4769,7 @@

Procs

  Source   Edit @@ -4782,7 +4782,7 @@

Procs

  Source   Edit @@ -4795,7 +4795,7 @@

Procs

  Source   Edit @@ -4809,7 +4809,7 @@

Procs

  Source   Edit @@ -4823,7 +4823,7 @@

Procs

  Source   Edit @@ -4838,7 +4838,7 @@

Procs

  Source   Edit @@ -4851,7 +4851,7 @@

Procs

  Source   Edit @@ -4865,7 +4865,7 @@

Procs

  Source   Edit @@ -4881,7 +4881,7 @@

Procs

  Source   Edit @@ -4897,7 +4897,7 @@

Procs

  Source   Edit @@ -4913,7 +4913,7 @@

Procs

  Source   Edit @@ -4928,7 +4928,7 @@

Procs

  Source   Edit @@ -4943,7 +4943,7 @@

Procs

  Source   Edit @@ -4959,7 +4959,7 @@

Procs

  Source   Edit @@ -4974,7 +4974,7 @@

Procs

  Source   Edit @@ -4994,7 +4994,7 @@

Procs

  Source   Edit @@ -5008,7 +5008,7 @@

Procs

  Source   Edit @@ -5021,7 +5021,7 @@

Procs

  Source   Edit @@ -5034,7 +5034,7 @@

Procs

  Source   Edit @@ -5047,7 +5047,7 @@

Procs

  Source   Edit @@ -5063,7 +5063,7 @@

Procs

  Source   Edit @@ -5076,7 +5076,7 @@

Procs

  Source   Edit @@ -5088,7 +5088,7 @@

Procs

  Source   Edit @@ -5100,7 +5100,7 @@

Procs

  Source   Edit @@ -5113,7 +5113,7 @@

Procs

  Source   Edit @@ -5127,7 +5127,7 @@

Procs

  Source   Edit @@ -5141,7 +5141,7 @@

Procs

  Source   Edit @@ -5154,7 +5154,7 @@

Procs

  Source   Edit @@ -5168,7 +5168,7 @@

Procs

  Source   Edit @@ -5183,7 +5183,7 @@

Procs

  Source   Edit @@ -5196,7 +5196,7 @@

Procs

  Source   Edit @@ -5210,7 +5210,7 @@

Procs

  Source   Edit @@ -5223,7 +5223,7 @@

Procs

  Source   Edit @@ -5236,7 +5236,7 @@

Procs

  Source   Edit @@ -5250,7 +5250,7 @@

Procs

  Source   Edit @@ -5264,7 +5264,7 @@

Procs

  Source   Edit @@ -5278,7 +5278,7 @@

Procs

  Source   Edit @@ -5291,7 +5291,7 @@

Procs

  Source   Edit @@ -5305,7 +5305,7 @@

Procs

  Source   Edit @@ -5318,7 +5318,7 @@

Procs

  Source   Edit @@ -5332,7 +5332,7 @@

Procs

  Source   Edit @@ -5346,7 +5346,7 @@

Procs

  Source   Edit @@ -5360,7 +5360,7 @@

Procs

  Source   Edit @@ -5373,7 +5373,7 @@

Procs

  Source   Edit @@ -5388,7 +5388,7 @@

Procs

  Source   Edit @@ -5402,7 +5402,7 @@

Procs

  Source   Edit @@ -5416,7 +5416,7 @@

Procs

  Source   Edit @@ -5429,7 +5429,7 @@

Procs

  Source   Edit @@ -5442,7 +5442,7 @@

Procs

  Source   Edit @@ -5456,7 +5456,7 @@

Procs

  Source   Edit @@ -5470,7 +5470,7 @@

Procs

  Source   Edit @@ -5484,7 +5484,7 @@

Procs

  Source   Edit @@ -5499,7 +5499,7 @@

Procs

  Source   Edit @@ -5512,7 +5512,7 @@

Procs

  Source   Edit @@ -5527,7 +5527,7 @@

Procs

  Source   Edit @@ -5540,7 +5540,7 @@

Procs

  Source   Edit @@ -5554,7 +5554,7 @@

Procs

  Source   Edit @@ -5572,7 +5572,7 @@

Procs

  Source   Edit @@ -5585,7 +5585,7 @@

Procs

  Source   Edit @@ -5598,7 +5598,7 @@

Procs

  Source   Edit @@ -5611,7 +5611,7 @@

Procs

  Source   Edit @@ -5625,7 +5625,7 @@

Procs

  Source   Edit @@ -5638,7 +5638,7 @@

Procs

  Source   Edit @@ -5652,7 +5652,7 @@

Procs

  Source   Edit @@ -5666,7 +5666,7 @@

Procs

  Source   Edit @@ -5679,7 +5679,7 @@

Procs

  Source   Edit @@ -5692,7 +5692,7 @@

Procs

  Source   Edit @@ -5706,7 +5706,7 @@

Procs

  Source   Edit @@ -5720,7 +5720,7 @@

Procs

  Source   Edit @@ -5733,7 +5733,7 @@

Procs

  Source   Edit @@ -5746,7 +5746,7 @@

Procs

  Source   Edit @@ -5760,7 +5760,7 @@

Procs

  Source   Edit @@ -5772,7 +5772,7 @@

Procs

Returns true if a != 0. Windows uses a different convention than POSIX, where a == 0 is commonly used on success.   Source   Edit @@ -5785,7 +5785,7 @@

Procs

  Source   Edit @@ -5798,7 +5798,7 @@

Procs

  Source   Edit @@ -5814,7 +5814,7 @@

Procs

  Source   Edit @@ -5828,7 +5828,7 @@

Procs

  Source   Edit @@ -5842,7 +5842,7 @@

Procs

  Source   Edit @@ -5856,7 +5856,7 @@

Procs

  Source   Edit @@ -5872,7 +5872,7 @@

Procs

  Source   Edit @@ -5889,7 +5889,7 @@

Procs

  Source   Edit @@ -5901,7 +5901,7 @@

Procs

  Source   Edit @@ -5913,7 +5913,7 @@

Procs

  Source   Edit @@ -5927,7 +5927,7 @@

Procs

  Source   Edit @@ -5942,7 +5942,7 @@

Procs

  Source   Edit @@ -5955,7 +5955,7 @@

Procs

  Source   Edit @@ -5969,7 +5969,7 @@

Procs

  Source   Edit @@ -5986,7 +5986,7 @@

Procs

  Source   Edit @@ -6000,7 +6000,7 @@

Procs

  Source   Edit @@ -6013,7 +6013,7 @@

Procs

  Source   Edit @@ -6027,7 +6027,7 @@

Procs

  Source   Edit @@ -6040,7 +6040,7 @@

Procs

  Source   Edit @@ -6054,7 +6054,7 @@

Procs

  Source   Edit @@ -6068,7 +6068,7 @@

Procs

  Source   Edit @@ -6081,7 +6081,7 @@

Procs

  Source   Edit @@ -6095,7 +6095,7 @@

Procs

  Source   Edit @@ -6108,7 +6108,7 @@

Procs

  Source   Edit @@ -6122,7 +6122,7 @@

Procs

  Source   Edit @@ -6136,7 +6136,7 @@

Procs

  Source   Edit @@ -6150,7 +6150,7 @@

Procs

  Source   Edit @@ -6164,7 +6164,7 @@

Procs

  Source   Edit @@ -6178,7 +6178,7 @@

Procs

  Source   Edit @@ -6192,7 +6192,7 @@

Procs

  Source   Edit @@ -6206,7 +6206,7 @@

Procs

  Source   Edit @@ -6221,7 +6221,7 @@

Procs

  Source   Edit @@ -6234,7 +6234,7 @@

Procs

  Source   Edit @@ -6248,7 +6248,7 @@

Procs

  Source   Edit @@ -6261,7 +6261,7 @@

Procs

  Source   Edit @@ -6274,7 +6274,7 @@

Procs

  Source   Edit @@ -6287,7 +6287,7 @@

Procs

  Source   Edit @@ -6301,7 +6301,7 @@

Procs

  Source   Edit @@ -6313,7 +6313,7 @@

Procs

Convert the Windows file time timestamp t to FILETIME.   Source   Edit @@ -6326,7 +6326,7 @@

Procs

  Source   Edit @@ -6339,7 +6339,7 @@

Procs

  Source   Edit @@ -6354,7 +6354,7 @@

Procs

  Source   Edit @@ -6368,7 +6368,7 @@

Procs

  Source   Edit @@ -6383,7 +6383,7 @@

Procs

  Source   Edit @@ -6396,7 +6396,7 @@

Procs

  Source   Edit @@ -6409,7 +6409,7 @@

Procs

  Source   Edit @@ -6423,7 +6423,7 @@

Procs

  Source   Edit @@ -6436,7 +6436,7 @@

Procs

  Source   Edit @@ -6452,7 +6452,7 @@

Procs

  Source   Edit @@ -6467,7 +6467,7 @@

Procs

  Source   Edit @@ -6483,7 +6483,7 @@

Procs

  Source   Edit @@ -6496,7 +6496,7 @@

Procs

  Source   Edit @@ -6511,7 +6511,7 @@

Procs

  Source   Edit @@ -6527,7 +6527,7 @@

Procs

  Source   Edit @@ -6540,7 +6540,7 @@

Procs

  Source   Edit @@ -6557,7 +6557,7 @@

Templates

  Source   Edit @@ -6569,7 +6569,7 @@

Templates

  Source   Edit diff --git a/with.html b/with.html index bef1621886a..79285e82b1d 100644 --- a/with.html +++ b/with.html @@ -117,7 +117,7 @@

std/with

  Source   Edit @@ -155,7 +155,7 @@

Macros

-= 5 doAssert a == 43   Source   Edit diff --git a/wordwrap.html b/wordwrap.html index ccdd4683c9e..74a9bd1d1be 100644 --- a/wordwrap.html +++ b/wordwrap.html @@ -119,7 +119,7 @@

std/wordwrap

  Source   Edit @@ -148,7 +148,7 @@

Procs

doAssert "Hello Bob. Hello John.".wrapWords(13, false) == "Hello Bob.\nHello John." doAssert "Hello Bob. Hello John.".wrapWords(13, true, {';'}) == "Hello Bob. He\nllo John."   Source   Edit diff --git a/wrapnils.html b/wrapnils.html index 9560784861a..ac52e59b02a 100644 --- a/wrapnils.html +++ b/wrapnils.html @@ -146,7 +146,7 @@

std/wrapnils

  Source   Edit @@ -212,7 +212,7 @@

Procs

See top-level example.   Source   Edit @@ -224,7 +224,7 @@

Procs

See top-level example.   Source   Edit @@ -241,7 +241,7 @@

Macros

Transforms a into an expression that can be safely evaluated even in presence of intermediate nil pointers/references, in which case a default value is produced.   Source   Edit @@ -269,7 +269,7 @@

Macros

doAssertRaises(UnpackDefect): discard (??.f2.x1[]).get doAssert ?.f2.x1[] == 0 # in contrast, this returns default(int)   Source   Edit @@ -286,7 +286,7 @@

Templates

See top-level example.   Source   Edit diff --git a/xmlparser.html b/xmlparser.html index 10c560754d6..405bc1929e5 100644 --- a/xmlparser.html +++ b/xmlparser.html @@ -141,7 +141,7 @@

pure/xmlparser

  Source   Edit @@ -165,7 +165,7 @@

Types

Exception that is raised for invalid XML.   Source   Edit @@ -185,7 +185,7 @@

Procs

Loads and parses XML from file specified by path, and returns a XmlNode. Every occurred parsing error is added to the errors sequence.   Source   Edit @@ -199,7 +199,7 @@

Procs

Loads and parses XML from file specified by path, and returns a XmlNode. All parsing errors are turned into an XmlError exception.   Source   Edit @@ -214,7 +214,7 @@

Procs

Parses the XML from stream s and returns a XmlNode. Every occurred parsing error is added to the errors sequence.   Source   Edit @@ -228,7 +228,7 @@

Procs

Parses the XML from stream s and returns a XmlNode. All parsing errors are turned into an XmlError exception.   Source   Edit @@ -242,7 +242,7 @@

Procs

Parses the XML from string str and returns a XmlNode. All parsing errors are turned into an XmlError exception.   Source   Edit diff --git a/xmltree.html b/xmltree.html index 34a92fc8099..2c181699032 100644 --- a/xmltree.html +++ b/xmltree.html @@ -339,7 +339,7 @@

pure/xmltree

  Source   Edit @@ -383,7 +383,7 @@

Types

Use toXmlAttributes proc to create XmlAttributes.

  Source   Edit @@ -397,7 +397,7 @@

Types

Use newXmlTree proc for creating a new tree.

  Source   Edit @@ -414,7 +414,7 @@

Types

Different kinds of XML nodes.   Source   Edit @@ -431,7 +431,7 @@

Consts

Header to use for complete XML output.   Source   Edit @@ -450,7 +450,7 @@

Procs

No <$xml ...$> declaration is produced, so that the produced XML fragments are composable.

  Source   Edit @@ -462,7 +462,7 @@

Procs

Returns the i'th child of n so that it can be modified.   Source   Edit @@ -480,7 +480,7 @@

Procs

assert $f[1] == "<first />" assert $f[0] == "<second />"   Source   Edit @@ -503,7 +503,7 @@

Procs

f.add newEntity("my entity") assert $f == "<myTag>my text<sonTag />&my entity;</myTag>"   Source   Edit @@ -526,7 +526,7 @@

Procs

s.add(b) assert s == "<!-- my comment --><firstTag />my text"   Source   Edit @@ -538,7 +538,7 @@

Procs

The same as result.add(escape(s)), but more efficient.   Source   Edit @@ -562,7 +562,7 @@

Procs

assert j.attr("key1") == "first value" assert j.attr("key2") == "second value"   Source   Edit @@ -587,7 +587,7 @@

Procs

j.attrs = att assert j.attrs == att   Source   Edit @@ -611,7 +611,7 @@

Procs

j.attrs = att assert j.attrs == att   Source   Edit @@ -635,7 +635,7 @@

Procs

j.attrs = att assert j.attrsLen == 2   Source   Edit @@ -653,7 +653,7 @@

Procs

f.add newElement("thirdSon") assert $(f.child("secondSon")) == "<secondSon />"   Source   Edit @@ -683,7 +683,7 @@

Procs

clear(k) doAssert $k == """<treeTag key1="first value" key2="second value" />"""   Source   Edit @@ -697,7 +697,7 @@

Procs

The client data field is used by the HTML parser and generator.

  Source   Edit @@ -711,7 +711,7 @@

Procs

The client data field is used by the HTML parser and generator.

  Source   Edit @@ -736,7 +736,7 @@

Procs

<first /> </myTag>"""   Source   Edit @@ -757,7 +757,7 @@

Procs

You can also use addEscaped proc.

  Source   Edit @@ -785,7 +785,7 @@

Procs

assert $(a.findAll("good", caseInsensitive = true)) == "@[<good>b text</good>, <GOOD>e text</GOOD>]" assert $(a.findAll("BAD", caseInsensitive = true)) == "@[<bad>c text</bad>, <BAD>d text</BAD>]"   Source   Edit @@ -823,7 +823,7 @@

Procs

a.findAll("BAD", s, caseInsensitive = true) assert $s == "@[<bad>c text</bad>, <BAD>d text</BAD>]"   Source   Edit @@ -849,7 +849,7 @@

Procs

assert $f == "<myTag>my text<!-- my comment -->&my entity;</myTag>" assert innerText(f) == "my textmy entity"   Source   Edit @@ -875,7 +875,7 @@

Procs

<first /> </myTag>"""   Source   Edit @@ -892,7 +892,7 @@

Procs

var b = newText("my text") assert b.kind == xnText   Source   Edit @@ -909,7 +909,7 @@

Procs

f.insert(newElement("second"), 0) assert len(f) == 2   Source   Edit @@ -925,7 +925,7 @@

Procs

assert d.kind == xnCData assert $d == "<![CDATA[my cdata]]>"   Source   Edit @@ -941,7 +941,7 @@

Procs

assert c.kind == xnComment assert $c == "<!-- my comment -->"   Source   Edit @@ -965,7 +965,7 @@

Procs

<childTag /> </firstTag>"""   Source   Edit @@ -981,7 +981,7 @@

Procs

assert e.kind == xnEntity assert $e == "&my entity;"   Source   Edit @@ -997,7 +997,7 @@

Procs

assert b.kind == xnText assert $b == "my text"   Source   Edit @@ -1009,7 +1009,7 @@

Procs

Creates a new XmlNode of kind xnVerbatimText with the text text. Since: Version 1.3.   Source   Edit @@ -1040,7 +1040,7 @@

Procs

<secondTag>&some entity;</secondTag> </treeTag>"""   Source   Edit @@ -1054,7 +1054,7 @@

Procs

This is only used for speed hacks.

  Source   Edit @@ -1068,7 +1068,7 @@

Procs

This is only used for speed hacks.

  Source   Edit @@ -1095,7 +1095,7 @@

Procs

</firstTag>""" assert a.tag == "firstTag"   Source   Edit @@ -1124,7 +1124,7 @@

Procs

<childTag /> </newTag>"""   Source   Edit @@ -1148,7 +1148,7 @@

Procs

assert $c == "<!-- my comment -->" assert c.text == "my comment"   Source   Edit @@ -1172,7 +1172,7 @@

Procs

e.text = "a new entity text" assert $e == "&a new entity text;"   Source   Edit @@ -1191,7 +1191,7 @@

Procs

doAssert $j == """<myTag key1="first value" key2="second value" />"""   Source   Edit @@ -1225,7 +1225,7 @@

Iterators

# <!-- this is comment --> # <secondTag>&some entity;<![CDATA[some cdata]]></secondTag>   Source   Edit @@ -1237,7 +1237,7 @@

Iterators

Iterates over all direct children of n so that they can be modified.   Source   Edit @@ -1256,7 +1256,7 @@

Macros

  Source   Edit