From 2c678a4e1d7f97c862342ee19cf2d6ee6e901d85 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 29 May 2017 14:21:32 -0700 Subject: 3897 - various updates to documentation --- html/091socket.cc.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'html/091socket.cc.html') diff --git a/html/091socket.cc.html b/html/091socket.cc.html index ec2d9579..9f05bf17 100644 --- a/html/091socket.cc.html +++ b/html/091socket.cc.html @@ -75,10 +75,10 @@ if ('onhashchange' in window) { 13 :(before "End Primitive Recipe Declarations") 14 _OPEN_CLIENT_SOCKET, 15 :(before "End Primitive Recipe Numbers") - 16 put(Recipe_ordinal, "$open-client-socket", _OPEN_CLIENT_SOCKET); + 16 put(Recipe_ordinal, "$open-client-socket", _OPEN_CLIENT_SOCKET); 17 :(before "End Primitive Recipe Checks") 18 case _OPEN_CLIENT_SOCKET: { - 19 if (SIZE(inst.ingredients) != 2) { + 19 if (SIZE(inst.ingredients) != 2) { 20 ¦ raise << maybe(get(Recipe, r).name) << "'$open-client-socket' requires exactly two ingredients, but got '" << to_original_string(inst) << "'\n" << end(); 21 ¦ break; 22 } @@ -90,7 +90,7 @@ if ('onhashchange' in window) { 28 ¦ raise << maybe(get(Recipe, r).name) << "second ingredient of '$open-client-socket' should be a number (the port of the hostname to connect to), but got '" << to_string(inst.ingredients.at(1)) << "'\n" << end(); 29 ¦ break; 30 } - 31 if (SIZE(inst.products) != 1) { + 31 if (SIZE(inst.products) != 1) { 32 ¦ raise << maybe(get(Recipe, r).name) << "'$open-client-socket' requires exactly one product, but got '" << to_original_string(inst) << "'\n" << end(); 33 ¦ break; 34 } @@ -138,10 +138,10 @@ if ('onhashchange' in window) { 76 :(before "End Primitive Recipe Declarations") 77 _OPEN_SERVER_SOCKET, 78 :(before "End Primitive Recipe Numbers") - 79 put(Recipe_ordinal, "$open-server-socket", _OPEN_SERVER_SOCKET); + 79 put(Recipe_ordinal, "$open-server-socket", _OPEN_SERVER_SOCKET); 80 :(before "End Primitive Recipe Checks") 81 case _OPEN_SERVER_SOCKET: { - 82 if (SIZE(inst.ingredients) != 1) { + 82 if (SIZE(inst.ingredients) != 1) { 83 ¦ raise << maybe(get(Recipe, r).name) << "'$open-server-socket' requires exactly one ingredient (the port to listen for requests on), but got '" << to_original_string(inst) << "'\n" << end(); 84 ¦ break; 85 } @@ -149,7 +149,7 @@ if ('onhashchange' in window) { 87 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '$open-server-socket' should be a number, but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); 88 ¦ break; 89 } - 90 if (SIZE(inst.products) != 1) { + 90 if (SIZE(inst.products) != 1) { 91 ¦ raise << maybe(get(Recipe, r).name) << "'$open-server-socket' requires exactly one product, but got '" << to_original_string(inst) << "'\n" << end(); 92 ¦ break; 93 } @@ -200,10 +200,10 @@ if ('onhashchange' in window) { 138 :(before "End Primitive Recipe Declarations") 139 _ACCEPT, 140 :(before "End Primitive Recipe Numbers") -141 put(Recipe_ordinal, "$accept", _ACCEPT); +141 put(Recipe_ordinal, "$accept", _ACCEPT); 142 :(before "End Primitive Recipe Checks") 143 case _ACCEPT: { -144 if (SIZE(inst.ingredients) != 1) { +144 if (SIZE(inst.ingredients) != 1) { 145 ¦ raise << maybe(get(Recipe, r).name) << "'$accept' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 146 ¦ break; 147 } @@ -211,7 +211,7 @@ if ('onhashchange' in window) { 149 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '$accept' should be a number, but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); 150 ¦ break; 151 } -152 if (SIZE(inst.products) != 1) { +152 if (SIZE(inst.products) != 1) { 153 ¦ raise << maybe(get(Recipe, r).name) << "'$accept' requires exactly one product, but got '" << to_original_string(inst) << "'\n" << end(); 154 ¦ break; 155 } @@ -249,10 +249,10 @@ if ('onhashchange' in window) { 187 :(before "End Primitive Recipe Declarations") 188 _READ_FROM_SOCKET, 189 :(before "End Primitive Recipe Numbers") -190 put(Recipe_ordinal, "$read-from-socket", _READ_FROM_SOCKET); +190 put(Recipe_ordinal, "$read-from-socket", _READ_FROM_SOCKET); 191 :(before "End Primitive Recipe Checks") 192 case _READ_FROM_SOCKET: { -193 if (SIZE(inst.ingredients) != 1) { +193 if (SIZE(inst.ingredients) != 1) { 194 ¦ raise << maybe(get(Recipe, r).name) << "'$read-from-socket' requires exactly one ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 195 ¦ break; 196 } @@ -260,7 +260,7 @@ if ('onhashchange' in window) { 198 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '$read-from-socket' should be a number (socket), but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); 199 ¦ break; 200 } -201 int nprod = SIZE(inst.products); +201 int nprod = SIZE(inst.products); 202 if (nprod == 0 || nprod > 4) { 203 ¦ raise << maybe(get(Recipe, r).name) << "'$read-from-socket' requires 1-4 products, but got '" << to_original_string(inst) << "'\n" << end(); 204 ¦ break; @@ -342,10 +342,10 @@ if ('onhashchange' in window) { 280 :(before "End Primitive Recipe Declarations") 281 _WRITE_TO_SOCKET, 282 :(before "End Primitive Recipe Numbers") -283 put(Recipe_ordinal, "$write-to-socket", _WRITE_TO_SOCKET); +283 put(Recipe_ordinal, "$write-to-socket", _WRITE_TO_SOCKET); 284 :(before "End Primitive Recipe Checks") 285 case _WRITE_TO_SOCKET: { -286 if (SIZE(inst.ingredients) != 2) { +286 if (SIZE(inst.ingredients) != 2) { 287 ¦ raise << maybe(get(Recipe, r).name) << "'$write-to-socket' requires exactly two ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 288 ¦ break; 289 } @@ -370,10 +370,10 @@ if ('onhashchange' in window) { 308 :(before "End Primitive Recipe Declarations") 309 _CLOSE_SOCKET, 310 :(before "End Primitive Recipe Numbers") -311 put(Recipe_ordinal, "$close-socket", _CLOSE_SOCKET); +311 put(Recipe_ordinal, "$close-socket", _CLOSE_SOCKET); 312 :(before "End Primitive Recipe Checks") 313 case _CLOSE_SOCKET: { -314 if (SIZE(inst.ingredients) != 1) { +314 if (SIZE(inst.ingredients) != 1) { 315 ¦ raise << maybe(get(Recipe, r).name) << "'$close-socket' requires exactly two ingredient, but got '" << to_original_string(inst) << "'\n" << end(); 316 ¦ break; 317 } @@ -381,7 +381,7 @@ if ('onhashchange' in window) { 319 ¦ raise << maybe(get(Recipe, r).name) << "first ingredient of '$close-socket' should be a number, but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); 320 ¦ break; 321 } -322 if (SIZE(inst.products) != 1) { +322 if (SIZE(inst.products) != 1) { 323 ¦ raise << maybe(get(Recipe, r).name) << "'$close-socket' requires exactly one product, but got '" << to_original_string(inst) << "'\n" << end(); 324 ¦ break; 325 } -- cgit 1.4.1-2-gfad0