An abstract syntax tree (AST) is a data structure used in computer science to represent the syntactic structure of source code. It is a tree representation of the abstract syntactic structure of source code written in a programming language. ASTs are commonly used in compilers and static analysis tools to analyze and transform source code.
https://github.com/fkling/astexplorer