1 repositorio
Helper functions that ensure programmatically generated AST nodes are structurally valid.
Distinct from Tree Node Templates: Focuses on the structural validity of code nodes rather than visual rendering templates.
Explore 1 awesome GitHub repository matching software engineering & architecture · Safe AST Node Builders. Refine with filters or upvote what's useful.
jscodeshift is a JavaScript AST transformation toolkit and codemod engine designed for large-scale code refactoring and structural migrations. It provides a set of utilities to parse source code into abstract syntax trees, programmatically modify those trees, and convert them back into source text. The tool distinguishes itself by preserving original source formatting and stylistic properties during the transformation process. It utilizes a builder for generating structurally valid AST nodes and integrates interchangeable parsing engines to support different language standards and experimenta
Provides safe builder methods to programmatically generate structurally valid abstract syntax tree nodes.