Skip to content
software

AST

Abstract Syntax Tree

Definition

An AST is a tree representation of the structure of source code where each node represents a construct such as a variable declaration, function call, or expression. ASTs are the intermediate representation that compilers, transpilers, linters, and formatters operate on.

Tools like Babel and ESLint expose AST traversal APIs, enabling custom transformations and analysis rules.

Can this ship? Are we exposed? Can you prove it?

Every CISO is asking these three questions. We answer them with facts, not guesses, from repository to runtime.