prepare 0.2.0
[awesomized/ext-ion] / docs / v0.2 / ion / Symbol / Table / Shared.html
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>
6 Shared -
7 mdref
8 </title>
9 <meta property="og:title" content="ion\Symbol\Table\Shared">
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/Shared">
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 &uarr; <a href="./ion/Symbol/Table">
46 Table
47 </a>
48 <ul>
49 <li>
50
51 &circlearrowright; <strong><a href="./ion/Symbol/Table/Shared">Shared</a></strong>
52
53
54 <ul>
55
56 <li>
57 &rdsh; <a href="./ion/Symbol/Table/Shared/__construct">Shared::__construct</a>
58
59 </li>
60
61 </ul>
62
63
64 </ul>
65
66 <li>&ldsh; <a href="./ion/Symbol/Table/Local">Local</a></li>
67
68 <li>&ldsh; <a href="./ion/Symbol/Table/add">Table::add</a></li>
69
70 <li>&ldsh; <a href="./ion/Symbol/Table/find">Table::find</a></li>
71
72 <li>&ldsh; <a href="./ion/Symbol/Table/findLocal">Table::findLocal</a></li>
73
74 <li>&ldsh; <a href="./ion/Symbol/Table/getMaxId">Table::getMaxId</a></li>
75
76 </ul>
77
78 </li>
79
80 </ul>
81
82 </li>
83 </ul>
84
85 </li>
86 </ul>
87 </div>
88 <meta charset="utf-8"><h1>
89 <a class="permalink" href="ion/Symbol/Table/Shared#">#</a><em>class</em> <a href="ion/Symbol/Table/Shared">ion\Symbol\Table\Shared</a> <br>&nbsp;<em>implements</em> <a href="ion/Symbol/Table">ion\Symbol\Table</a>
90 </h1><p>A shared symbol table.</p><p>See also <a href="https://amzn.github.io/ion-docs/guides/symbols-guide.html">the ION spec's symbol guide</a>, and <a href="https://amzn.github.io/ion-docs/guides/cookbook.html#using-a-shared-symbol-table">the ION doc's cookbook</a>.</p><h2 id="Constants:">Constants:<a class="permalink" href="ion/Symbol/Table/Shared#Constants:">#</a>
91 </h2><p>None.</p><h2 id="Properties:">Properties:<a class="permalink" href="ion/Symbol/Table/Shared#Properties:">#</a>
92 </h2><ul>
93 <li>
94 <em>public</em> <code><a href="https://php.net/manual/en/language.types.string">string</a></code> <span class="var" id="$name">$name<a class="permalink" href="ion/Symbol/Table/Shared#%24name">#</a></span><br>
95 The name of the shared symbol table.</li>
96 <li>
97 <em>public</em> <code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <span class="var" id="$version">$version<a class="permalink" href="ion/Symbol/Table/Shared#%24version">#</a></span> = 1<br>
98 The version of the shared symbol table.</li>
99 <li>
100 <em>private</em> <code><a href="https://php.net/manual/en/language.types.array">array</a></code> <span class="var" id="$symbols">$symbols<a class="permalink" href="ion/Symbol/Table/Shared#%24symbols">#</a></span> = <code><a href="https://php.net/manual/en/language.types.array">array</a></code> (
101 )<br>
102 Internal cache.</li>
103 </ul><h2 id="Functions:">Functions:<a class="permalink" href="ion/Symbol/Table/Shared#Functions:">#</a>
104 </h2><ul class="sub-entries sub-functions">
105
106 <li>
107 <h3 id="Shared::__construct">
108 <a href="ion/Symbol/Table/Shared/__construct">Shared::__construct</a><a class="permalink" href="ion/Symbol/Table/Shared#Shared::__construct">#</a>
109 </h3>
110 <p>Create a shared symbol table.</p>
111
112 <p><code><a href="https://php.net/manual/en/language.types.declarations#language.types.declarations.void">void</a></code> <a href="ion/Symbol/Table/Shared/__construct">ion\Symbol\Table\Shared::__construct</a>(<code><a href="https://php.net/manual/en/language.types.string">string</a></code> <span class="var">$name</span>, [<code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <span class="var">$version</span> = 1, [?<code><a href="https://php.net/manual/en/language.types.array">array</a></code> <span class="var">$symbols</span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code>]])</p>
113 </li>
114
115 </ul>
116 <div class="comments">
117 <style>.giscus-frame {min-height: 16em;}</style>
118 <script>
119 function giscus_load(button) {
120 let script = document.createElement("script");
121 script.setAttribute("data-repo", 'awesomized/ext-ion');
122 script.setAttribute("data-category", 'Comments on Docs');
123 script.setAttribute("data-repo-id", 'R_kgDOGfXEXw');
124 script.setAttribute("data-category-id", 'DIC_kwDOGfXEX84CBHuf');
125 script.setAttribute("data-mapping", 'og:title');
126 script.setAttribute("data-input-position", 'bottom');
127 script.setAttribute("data-reactions-enabled", false);
128 script.setAttribute("data-theme", 'light');
129 script.setAttribute("data-lang", 'en');
130
131 script.src = "//giscus.app/client.js";
132 button.parentNode.replaceChild(script, button);
133 }
134 </script>
135 <button class="activator" onclick="giscus_load(this)">Show Comments from Github Discussions</button>
136
137 </div>
138
139 <footer>
140
141 <ul>
142 <li><a href="https://github.com/m6w6/mdref">mdref-v3.0
143 </a></li>
144 <li><a href="LICENSE">&copy; 2013-2022 All rights reserved.</a></li>
145 <li>
146 </li>
147 </ul>
148
149 </footer>
150
151 <script src="index.js" defer></script>
152
153 </div>
154 </body>
155 </html>