prepare 0.2.0
[awesomized/ext-ion] / docs / v0.2 / ion / Symbol / Table.html
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>
6 Table -
7 mdref
8 </title>
9 <meta property="og:title" content="ion\Symbol\Table">
10 <meta name="viewport" content="width=1200, initial-scale=0.5">
11 <base href="/ext-ion/v0.2/">
12 <meta http-equiv="Content-Location" content="/ext-ion/v0.2/ion/Symbol/Table">
13 <link rel="stylesheet" href="index.css">
14
15 <link rel="shortcut icon" href="/ext-ion/v0.2/favicon.ico">
16 </head>
17 <body>
18 <div class="page">
19
20 <div class="sidebar">
21
22 <div class="edit">
23 <a href="https://github.com/awesomized/ext-ion/edit/master/ion.stub.php">Edit</a>
24 </div>
25
26
27 <ul>
28 <li>&lsh; <a href="./">Home</a>
29
30 <ul>
31 <li>
32
33 &uarr; <a href="./ion">
34 ion
35 </a>
36 <ul>
37 <li>
38
39 &uarr; <a href="./ion/Symbol">
40 Symbol
41 </a>
42 <ul>
43 <li>
44
45 &circlearrowright; <strong><a href="./ion/Symbol/Table">Table</a></strong>
46
47
48 <ul>
49
50 <li>
51 &rdsh; <a href="./ion/Symbol/Table/Local">Local</a>
52
53 </li>
54
55 <li>
56 &rdsh; <a href="./ion/Symbol/Table/Shared">Shared</a>
57
58 </li>
59
60 <li>
61 &rdsh; <a href="./ion/Symbol/Table/add">Table::add</a>
62
63 </li>
64
65 <li>
66 &rdsh; <a href="./ion/Symbol/Table/find">Table::find</a>
67
68 </li>
69
70 <li>
71 &rdsh; <a href="./ion/Symbol/Table/findLocal">Table::findLocal</a>
72
73 </li>
74
75 <li>
76 &rdsh; <a href="./ion/Symbol/Table/getMaxId">Table::getMaxId</a>
77
78 </li>
79
80 </ul>
81
82
83 </ul>
84
85 <li>&ldsh; <a href="./ion/Symbol/Enum">Enum</a></li>
86
87 <li>&ldsh; <a href="./ion/Symbol/ImportLocation">ImportLocation</a></li>
88
89 <li>&ldsh; <a href="./ion/Symbol/PHP">PHP</a></li>
90
91 <li>&ldsh; <a href="./ion/Symbol/System">System</a></li>
92
93 <li>&ldsh; <a href="./ion/Symbol/__construct">Symbol::__construct</a></li>
94
95 <li>&ldsh; <a href="./ion/Symbol/equals">Symbol::equals</a></li>
96
97 <li>&ldsh; <a href="./ion/Symbol/toString">Symbol::toString</a></li>
98
99 </ul>
100
101 </li>
102 </ul>
103
104 </li>
105 </ul>
106 </div>
107 <meta charset="utf-8"><h1>
108 <a class="permalink" href="ion/Symbol/Table#">#</a><em>interface</em> <a href="ion/Symbol/Table">ion\Symbol\Table</a>
109 </h1><p>Base <em>interface</em> of an ION symbol table.</p><h2 id="Constants:">Constants:<a class="permalink" href="ion/Symbol/Table#Constants:">#</a>
110 </h2><p>None.</p><h2 id="Properties:">Properties:<a class="permalink" href="ion/Symbol/Table#Properties:">#</a>
111 </h2><p>None.</p><h2 id="Functions:">Functions:<a class="permalink" href="ion/Symbol/Table#Functions:">#</a>
112 </h2><ul class="sub-entries sub-functions">
113
114 <li>
115 <h3 id="Table::add">
116 <a href="ion/Symbol/Table/add">Table::add</a><a class="permalink" href="ion/Symbol/Table#Table::add">#</a>
117 </h3>
118 <p>Add a symbol to the table.</p>
119
120 <p><code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <a href="ion/Symbol/Table/add">ion\Symbol\Table::add</a>(<a href="ion/Symbol">ion\Symbol</a>|<code><a href="https://php.net/manual/en/language.types.string">string</a></code> <span class="var">$symbol</span>)</p>
121 </li>
122
123 <li>
124 <h3 id="Table::find">
125 <a href="ion/Symbol/Table/find">Table::find</a><a class="permalink" href="ion/Symbol/Table#Table::find">#</a>
126 </h3>
127 <p>Find a symbol within the symbol table, including imports.</p>
128
129 <p>?<a href="ion/Symbol">ion\Symbol</a> <a href="ion/Symbol/Table/find">ion\Symbol\Table::find</a>(<code><a href="https://php.net/manual/en/language.types.string">string</a></code>|<code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <span class="var">$id</span>)</p>
130 </li>
131
132 <li>
133 <h3 id="Table::findLocal">
134 <a href="ion/Symbol/Table/findLocal">Table::findLocal</a><a class="permalink" href="ion/Symbol/Table#Table::findLocal">#</a>
135 </h3>
136 <p>Find a symbol within <strong>only this</strong> symbol table, ignoring imports.</p>
137
138 <p>?<a href="ion/Symbol">ion\Symbol</a> <a href="ion/Symbol/Table/findLocal">ion\Symbol\Table::findLocal</a>(<code><a href="https://php.net/manual/en/language.types.string">string</a></code>|<code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <span class="var">$id</span>)</p>
139 </li>
140
141 <li>
142 <h3 id="Table::getMaxId">
143 <a href="ion/Symbol/Table/getMaxId">Table::getMaxId</a><a class="permalink" href="ion/Symbol/Table#Table::getMaxId">#</a>
144 </h3>
145 <p>Get the maximum symbol ID within the symbol table.</p>
146
147 <p><code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <a href="ion/Symbol/Table/getMaxId">ion\Symbol\Table::getMaxId</a>()</p>
148 </li>
149
150 </ul><h2 id="Namespaces.Interfaces.and.Classes:">Namespaces, Interfaces and Classes:<a class="permalink" href="ion/Symbol/Table#Namespaces.Interfaces.and.Classes:">#</a>
151 </h2><ul class="sub-entries sub-ns-classes">
152
153 <li>
154 <h3 id="Local">
155 <a href="ion/Symbol/Table/Local">Local</a><a class="permalink" href="ion/Symbol/Table#Local">#</a>
156 </h3>
157 <p>A local symbol table.</p>
158
159 <p><em>class</em> <a href="ion/Symbol/Table/Local">ion\Symbol\Table\Local</a> <em>implements</em> <a href="ion/Symbol/Table">ion\Symbol\Table</a></p>
160 </li>
161
162 <li>
163 <h3 id="Shared">
164 <a href="ion/Symbol/Table/Shared">Shared</a><a class="permalink" href="ion/Symbol/Table#Shared">#</a>
165 </h3>
166 <p>A shared symbol table.</p>
167
168 <p><em>class</em> <a href="ion/Symbol/Table/Shared">ion\Symbol\Table\Shared</a> <em>implements</em> <a href="ion/Symbol/Table">ion\Symbol\Table</a></p>
169 </li>
170
171 </ul>
172 <div class="comments">
173 <style>.giscus-frame {min-height: 16em;}</style>
174 <script>
175 function giscus_load(button) {
176 let script = document.createElement("script");
177 script.setAttribute("data-repo", 'awesomized/ext-ion');
178 script.setAttribute("data-category", 'Comments on Docs');
179 script.setAttribute("data-repo-id", 'R_kgDOGfXEXw');
180 script.setAttribute("data-category-id", 'DIC_kwDOGfXEX84CBHuf');
181 script.setAttribute("data-mapping", 'og:title');
182 script.setAttribute("data-input-position", 'bottom');
183 script.setAttribute("data-reactions-enabled", false);
184 script.setAttribute("data-theme", 'light');
185 script.setAttribute("data-lang", 'en');
186
187 script.src = "//giscus.app/client.js";
188 button.parentNode.replaceChild(script, button);
189 }
190 </script>
191 <button class="activator" onclick="giscus_load(this)">Show Comments from Github Discussions</button>
192
193 </div>
194
195 <footer>
196
197 <ul>
198 <li><a href="https://github.com/m6w6/mdref">mdref-v3.0
199 </a></li>
200 <li><a href="LICENSE">&copy; 2013-2022 All rights reserved.</a></li>
201 <li>
202 </li>
203 </ul>
204
205 </footer>
206
207 <script src="index.js" defer></script>
208
209 </div>
210 </body>
211 </html>