OLD | NEW |
1 ## Objects | 1 ## Objects |
2 <dl> | 2 <dl> |
3 <dt><a href="#hydrolysis">hydrolysis</a> : <code>object</code></dt> | 3 <dt><a href="#hydrolysis">hydrolysis</a> : <code>object</code></dt> |
4 <dd><p>Static analysis for Polymer.</p> | 4 <dd><p>Static analysis for Polymer.</p> |
5 </dd> | 5 </dd> |
6 </dl> | 6 </dl> |
7 ## Functions | 7 ## Functions |
8 <dl> | 8 <dl> |
9 <dt><a href="#isSiblingOrAunt">isSiblingOrAunt()</a> ⇒ <code>boolean</code></dt> | 9 <dt><a href="#isSiblingOrAunt">isSiblingOrAunt()</a> ⇒ <code>boolean</code></dt> |
10 <dd><p>Returns true if <code>patha</code> is a sibling or aunt of <code>pathb</c
ode>.</p> | 10 <dd><p>Returns true if <code>patha</code> is a sibling or aunt of <code>pathb</c
ode>.</p> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> | 169 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
170 | 170 |
171 | Param | Type | Description | | 171 | Param | Type | Description | |
172 | --- | --- | --- | | 172 | --- | --- | --- | |
173 | href | <code>string</code> | the import to get metadata for. | | 173 | href | <code>string</code> | the import to get metadata for. | |
174 | 174 |
175 <a name="hydrolysis.Analyzer+getLoadedAst"></a> | 175 <a name="hydrolysis.Analyzer+getLoadedAst"></a> |
176 #### analyzer.getLoadedAst(href, [loaded]) ⇒ <code>Promise.<DocumentAST></
code> | 176 #### analyzer.getLoadedAst(href, [loaded]) ⇒ <code>Promise.<DocumentAST></
code> |
177 Returns a promise resolving to a form of the AST with all links replaced | 177 Returns a promise resolving to a form of the AST with all links replaced |
178 with the document they link to. .css and .script files become <style> and | 178 with the document they link to. .css and .script files become <style> and |
179 <script>, respectively. | 179 <script>, respectively. |
180 | 180 |
181 The elements in the loaded document are unmodified from their original | 181 The elements in the loaded document are unmodified from their original |
182 documents. | 182 documents. |
183 | 183 |
184 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> | 184 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
185 | 185 |
186 | Param | Type | Description | | 186 | Param | Type | Description | |
187 | --- | --- | --- | | 187 | --- | --- | --- | |
188 | href | <code>string</code> | The document to load. | | 188 | href | <code>string</code> | The document to load. | |
189 | [loaded] | <code>Object.<string, boolean></code> | An object keyed by al
ready loaded documents. | | 189 | [loaded] | <code>Object.<string, boolean></code> | An object keyed by al
ready loaded documents. | |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 ## isSiblingOrAunt() ⇒ <code>boolean</code> | 423 ## isSiblingOrAunt() ⇒ <code>boolean</code> |
424 Returns true if `patha` is a sibling or aunt of `pathb`. | 424 Returns true if `patha` is a sibling or aunt of `pathb`. |
425 | 425 |
426 **Kind**: global function | 426 **Kind**: global function |
427 <a name="redirectSibling"></a> | 427 <a name="redirectSibling"></a> |
428 ## redirectSibling() ⇒ <code>string</code> | 428 ## redirectSibling() ⇒ <code>string</code> |
429 Change `localPath` from a sibling of `basePath` to be a child of | 429 Change `localPath` from a sibling of `basePath` to be a child of |
430 `basePath` joined with `redirect`. | 430 `basePath` joined with `redirect`. |
431 | 431 |
432 **Kind**: global function | 432 **Kind**: global function |
OLD | NEW |