Skip to content
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

Rename factory methods to be more consistent #39058

Merged
merged 1 commit into from
Jun 16, 2020
Merged

Conversation

rbuckton
Copy link
Member

This renames the various NodeFactory methods to be more consistent and less ambiguous.

@rbuckton
Copy link
Member Author

The change in names results in an additional 11k increase in the file size for tsc.js.

@rbuckton rbuckton force-pushed the nodeFactory-rename branch from 8eff227 to 417b0a6 Compare June 15, 2020 22:44
@rbuckton rbuckton merged commit 9821326 into nodeFactory Jun 16, 2020
rbuckton added a commit that referenced this pull request Jun 16, 2020
* Refactor node factory API, use node factory in parser

* Move UnparsedSource nodes to factory

* Make most Node properties read-only

* Make pos/end/parent and JSDoc 'comment' read-only

* Update function/constructor-type factories

* Remove treeStateObserver

* Simplify Debug.deprecate

* Remove unused factory methods, simplify lazy factory methods

* Fix base factory used for source file updates

* Update test baseline due to merge from master

* Rename factory methods to be more consistent (#39058)
@jakebailey jakebailey deleted the nodeFactory-rename branch November 7, 2022 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants