Skip to content

feat(parser): Add property accessors to parseable objects #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

364 changes: 364 additions & 0 deletions docs/classes/accessordeclaration.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/allexport.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AllExport.ts#L10">exports/AllExport.ts:10</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AllExport.ts#L10">exports/AllExport.ts:10</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -159,7 +159,7 @@ <h3>end</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/export.html">Export</a>.<a href="../interfaces/export.html#end">end</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AllExport.ts#L11">exports/AllExport.ts:11</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AllExport.ts#L11">exports/AllExport.ts:11</a></li>
</ul>
</aside>
</section>
Expand All @@ -169,7 +169,7 @@ <h3>from</h3>
<div class="tsd-signature tsd-kind-icon">from<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AllExport.ts#L11">exports/AllExport.ts:11</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AllExport.ts#L11">exports/AllExport.ts:11</a></li>
</ul>
</aside>
</section>
Expand All @@ -180,7 +180,7 @@ <h3>start</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/export.html">Export</a>.<a href="../interfaces/export.html#start">start</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AllExport.ts#L11">exports/AllExport.ts:11</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AllExport.ts#L11">exports/AllExport.ts:11</a></li>
</ul>
</aside>
</section>
Expand Down
12 changes: 6 additions & 6 deletions docs/classes/assignedexport.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AssignedExport.ts#L33">exports/AssignedExport.ts:33</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AssignedExport.ts#L33">exports/AssignedExport.ts:33</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -168,7 +168,7 @@ <h3>declaration<wbr>Identifier</h3>
<div class="tsd-signature tsd-kind-icon">declaration<wbr>Identifier<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AssignedExport.ts#L38">exports/AssignedExport.ts:38</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AssignedExport.ts#L38">exports/AssignedExport.ts:38</a></li>
</ul>
</aside>
</section>
Expand All @@ -179,7 +179,7 @@ <h3>end</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/export.html">Export</a>.<a href="../interfaces/export.html#end">end</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AssignedExport.ts#L37">exports/AssignedExport.ts:37</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AssignedExport.ts#L37">exports/AssignedExport.ts:37</a></li>
</ul>
</aside>
</section>
Expand All @@ -189,7 +189,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> resource</h3>
<div class="tsd-signature tsd-kind-icon">resource<span class="tsd-signature-symbol">:</span> <a href="../interfaces/resource.html" class="tsd-signature-type">Resource</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AssignedExport.ts#L39">exports/AssignedExport.ts:39</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AssignedExport.ts#L39">exports/AssignedExport.ts:39</a></li>
</ul>
</aside>
</section>
Expand All @@ -200,7 +200,7 @@ <h3>start</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/export.html">Export</a>.<a href="../interfaces/export.html#start">start</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AssignedExport.ts#L36">exports/AssignedExport.ts:36</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AssignedExport.ts#L36">exports/AssignedExport.ts:36</a></li>
</ul>
</aside>
</section>
Expand All @@ -217,7 +217,7 @@ <h3>exported</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/exports/AssignedExport.ts#L24">exports/AssignedExport.ts:24</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/exports/AssignedExport.ts#L24">exports/AssignedExport.ts:24</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
33 changes: 24 additions & 9 deletions docs/classes/classdeclaration.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ <h3>Constructors</h3>
<section class="tsd-index-section ">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-class"><a href="classdeclaration.html#accessors" class="tsd-kind-icon">accessors</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="classdeclaration.html#ctor" class="tsd-kind-icon">ctor</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="classdeclaration.html#end" class="tsd-kind-icon">end</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="classdeclaration.html#isexported" class="tsd-kind-icon">is<wbr>Exported</a></li>
Expand All @@ -143,7 +144,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L19">declarations/ClassDeclaration.ts:19</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L21">declarations/ClassDeclaration.ts:21</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -168,13 +169,24 @@ <h4 class="tsd-returns-title">Returns <a href="classdeclaration.html" class="tsd
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="accessors" class="tsd-anchor"></a>
<h3>accessors</h3>
<div class="tsd-signature tsd-kind-icon">accessors<span class="tsd-signature-symbol">:</span> <a href="accessordeclaration.html" class="tsd-signature-type">AccessorDeclaration</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> =&nbsp;[]</span></div>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/classlikedeclaration.html">ClassLikeDeclaration</a>.<a href="../interfaces/classlikedeclaration.html#accessors">accessors</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L18">declarations/ClassDeclaration.ts:18</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="ctor" class="tsd-anchor"></a>
<h3>ctor</h3>
<div class="tsd-signature tsd-kind-icon">ctor<span class="tsd-signature-symbol">:</span> <a href="constructordeclaration.html" class="tsd-signature-type">ConstructorDeclaration</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L16">declarations/ClassDeclaration.ts:16</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L17">declarations/ClassDeclaration.ts:17</a></li>
</ul>
</aside>
</section>
Expand All @@ -185,7 +197,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> end</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/genericdeclaration.html">GenericDeclaration</a>.<a href="../interfaces/genericdeclaration.html#end">end</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L25">declarations/ClassDeclaration.ts:25</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L27">declarations/ClassDeclaration.ts:27</a></li>
</ul>
</aside>
</section>
Expand All @@ -196,7 +208,7 @@ <h3>is<wbr>Exported</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/exportabledeclaration.html">ExportableDeclaration</a>.<a href="../interfaces/exportabledeclaration.html#isexported">isExported</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L23">declarations/ClassDeclaration.ts:23</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L25">declarations/ClassDeclaration.ts:25</a></li>
</ul>
</aside>
</section>
Expand All @@ -207,7 +219,7 @@ <h3>methods</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/classlikedeclaration.html">ClassLikeDeclaration</a>.<a href="../interfaces/classlikedeclaration.html#methods">methods</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L18">declarations/ClassDeclaration.ts:18</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L20">declarations/ClassDeclaration.ts:20</a></li>
</ul>
</aside>
</section>
Expand All @@ -218,7 +230,7 @@ <h3>name</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/genericdeclaration.html">GenericDeclaration</a>.<a href="../interfaces/genericdeclaration.html#name">name</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L22">declarations/ClassDeclaration.ts:22</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L24">declarations/ClassDeclaration.ts:24</a></li>
</ul>
</aside>
</section>
Expand All @@ -229,7 +241,7 @@ <h3>properties</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/classlikedeclaration.html">ClassLikeDeclaration</a>.<a href="../interfaces/classlikedeclaration.html#properties">properties</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L17">declarations/ClassDeclaration.ts:17</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L19">declarations/ClassDeclaration.ts:19</a></li>
</ul>
</aside>
</section>
Expand All @@ -240,7 +252,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> start</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/genericdeclaration.html">GenericDeclaration</a>.<a href="../interfaces/genericdeclaration.html#start">start</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L24">declarations/ClassDeclaration.ts:24</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L26">declarations/ClassDeclaration.ts:26</a></li>
</ul>
</aside>
</section>
Expand All @@ -251,7 +263,7 @@ <h3>type<wbr>Parameters</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/genericdeclaration.html">GenericDeclaration</a>.<a href="../interfaces/genericdeclaration.html#typeparameters">typeParameters</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ClassDeclaration.ts#L19">declarations/ClassDeclaration.ts:19</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ClassDeclaration.ts#L21">declarations/ClassDeclaration.ts:21</a></li>
</ul>
</aside>
</section>
Expand All @@ -275,6 +287,9 @@ <h3>type<wbr>Parameters</h3>
<li class=" tsd-kind-constructor tsd-parent-kind-class">
<a href="classdeclaration.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="classdeclaration.html#accessors" class="tsd-kind-icon">accessors</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="classdeclaration.html#ctor" class="tsd-kind-icon">ctor</a>
</li>
Expand Down
12 changes: 6 additions & 6 deletions docs/classes/constructordeclaration.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ConstructorDeclaration.ts#L14">declarations/ConstructorDeclaration.ts:14</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ConstructorDeclaration.ts#L14">declarations/ConstructorDeclaration.ts:14</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -161,7 +161,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> end</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/callabledeclaration.html">CallableDeclaration</a>.<a href="../interfaces/callabledeclaration.html#end">end</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ConstructorDeclaration.ts#L19">declarations/ConstructorDeclaration.ts:19</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ConstructorDeclaration.ts#L19">declarations/ConstructorDeclaration.ts:19</a></li>
</ul>
</aside>
</section>
Expand All @@ -172,7 +172,7 @@ <h3>name</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/callabledeclaration.html">CallableDeclaration</a>.<a href="../interfaces/callabledeclaration.html#name">name</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ConstructorDeclaration.ts#L17">declarations/ConstructorDeclaration.ts:17</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ConstructorDeclaration.ts#L17">declarations/ConstructorDeclaration.ts:17</a></li>
</ul>
</aside>
</section>
Expand All @@ -183,7 +183,7 @@ <h3>parameters</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/callabledeclaration.html">CallableDeclaration</a>.<a href="../interfaces/callabledeclaration.html#parameters">parameters</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ConstructorDeclaration.ts#L13">declarations/ConstructorDeclaration.ts:13</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ConstructorDeclaration.ts#L13">declarations/ConstructorDeclaration.ts:13</a></li>
</ul>
</aside>
</section>
Expand All @@ -194,7 +194,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> start</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/callabledeclaration.html">CallableDeclaration</a>.<a href="../interfaces/callabledeclaration.html#start">start</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ConstructorDeclaration.ts#L18">declarations/ConstructorDeclaration.ts:18</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ConstructorDeclaration.ts#L18">declarations/ConstructorDeclaration.ts:18</a></li>
</ul>
</aside>
</section>
Expand All @@ -205,7 +205,7 @@ <h3>variables</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/callabledeclaration.html">CallableDeclaration</a>.<a href="../interfaces/callabledeclaration.html#variables">variables</a></p>
<ul>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/1623a6f/src/declarations/ConstructorDeclaration.ts#L14">declarations/ConstructorDeclaration.ts:14</a></li>
<li>Defined in <a href="https://github.com/TypeScript-Heroes/node-typescript-parser/blob/cfa7526/src/declarations/ConstructorDeclaration.ts#L14">declarations/ConstructorDeclaration.ts:14</a></li>
</ul>
</aside>
</section>
Expand Down
Loading