Diff
Not logged in

Differences From Artifact [34785dddb366db48]:

To Artifact [c36eaebf49fd7834]:


104 104 <dd>Context (variable environment) 105 105 Simlar to prototype chain of ECMAScript etc. 106 106 But extended with the notion of "Layer"<br><br> 107 107 108 108 109 109 <script>explorer.outline.incSymbolLevel();</script> 110 110 <dl> 111 +<script>explorer.outline.writeEnabled = true;</script> 112 +<dt><span class="decl">void 113 +<span class="currsymbol">set</span> 114 +<script>explorer.outline.addDecl('set');</script> 115 + 116 +(string <span class="funcparam">i</span>, Layer <span class="funcparam">lay</span>, Value <span class="funcparam">v</span>); 117 +</span></dt> 118 +<script>explorer.outline.writeEnabled = false;</script> 119 + 120 + 121 +<dd>Set the value <span class="funcparam">v</span> to the index <span class="funcparam">i</span> of layer <span class="funcparam">lay</span><br><br> 122 + 123 +</dd> 124 + 125 +<script>explorer.outline.writeEnabled = true;</script> 126 +<dt><span class="decl">const bool 127 +<span class="currsymbol">has</span> 128 +<script>explorer.outline.addDecl('has');</script> 129 + 130 +(string <span class="funcparam">i</span>, Layer <span class="funcparam">lay</span>); 131 +</span></dt> 132 +<script>explorer.outline.writeEnabled = false;</script> 133 + 134 + 135 +<dd>True if index <span class="funcparam">i</span> 136 +<span class="currsymbol">has</span> 137 +<script>explorer.outline.addDecl('has');</script> 138 + 139 + value in layer <span class="funcparam">lay</span><br><br> 140 + 141 +</dd> 142 + 143 +<script>explorer.outline.writeEnabled = true;</script> 144 +<dt><span class="decl">Value 145 +<span class="currsymbol">get</span> 146 +<script>explorer.outline.addDecl('get');</script> 147 + 148 +(string <span class="funcparam">i</span>, Layer <span class="funcparam">lay</span>, LexPosition <span class="funcparam">pos</span> = null); 149 +</span></dt> 150 +<script>explorer.outline.writeEnabled = false;</script> 151 + 152 + 153 +<dd>Return the value of index <span class="funcparam">i</span> at layer <span class="funcparam">lay</span>. Throws if it is not set<br><br> 154 + 155 +</dd> 156 + 157 +<script>explorer.outline.writeEnabled = true;</script> 158 +<dt><span class="decl">T 159 +<span class="currsymbol">access</span> 160 +<script>explorer.outline.addDecl('access');</script> 161 + 162 +(T, S...)(Layer <span class="funcparam">lay</span>, string <span class="funcparam">path</span>, S <span class="funcparam">rest</span>); 163 +</span></dt> 164 +<script>explorer.outline.writeEnabled = false;</script> 165 + 166 + 167 +<dd>t. 168 +<span class="currsymbol">access</span> 169 +<script>explorer.outline.addDecl('access');</script> 170 + 171 +!T(lay,a,b,...) returns t.get(a,lay).get(b,lay).... if exists 172 + and has type T. Returns <b>null</b> otherwise<br><br> 173 + 174 +</dd> 175 + 111 176 <script>explorer.outline.writeEnabled = true;</script> 112 177 <dt><span class="decl">bool 113 178 <span class="currsymbol">empty</span> 114 179 <script>explorer.outline.addDecl('empty');</script> 115 180 116 181 (); 117 182 </span></dt> ................................................................................ 148 213 (); 149 214 </span></dt> 150 215 <script>explorer.outline.writeEnabled = false;</script> 151 216 152 217 153 218 <dd>Regard table as a cons-list and convert to an array<br><br> 154 219 220 +</dd> 221 + 222 +<script>explorer.outline.writeEnabled = true;</script> 223 +<dt><span class="decl">Tuple!(string,string,Value)[] 224 +<span class="currsymbol">direct_entries</span> 225 +<script>explorer.outline.addDecl('direct_entries');</script> 226 + 227 +(); 228 +</span></dt> 229 +<script>explorer.outline.writeEnabled = false;</script> 230 + 231 + 232 +<dd>Get the list of direct entries ignoring prototypes in sorted order<br><br> 233 + 234 +</dd> 235 + 236 +<script>explorer.outline.writeEnabled = true;</script> 237 +<dt><span class="decl">Tuple!(string,string,Value)[] 238 +<span class="currsymbol">entries</span> 239 +<script>explorer.outline.addDecl('entries');</script> 240 + 241 +(); 242 +</span></dt> 243 +<script>explorer.outline.writeEnabled = false;</script> 244 + 245 + 246 +<dd>Get the whole list of observable 247 +<span class="currsymbol">entries</span> 248 +<script>explorer.outline.addDecl('entries');</script> 249 + 250 + in unspecified order<br><br> 251 + 155 252 </dd> 156 253 </dl> 157 254 <script>explorer.outline.decSymbolLevel();</script> 158 255 159 256 160 257 </dd> 161 258 </dl> ................................................................................ 162 259 <script>explorer.outline.decSymbolLevel();</script> 163 260 164 261 165 262 </td></tr> 166 263 <tr><td id="docfooter"> 167 264 Page was generated with 168 265 <img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px"> 169 - on Wed Nov 24 21:12:49 2010 266 + on Thu Nov 25 12:15:07 2010 170 267 171 268 </td></tr> 172 269 </table> 173 270 </div> 174 271 <script> 175 272 explorer.packageExplorer.addModule("index"); 176 273 explorer.packageExplorer.addModule("main");