syntax tree

The compiler's structured representation of source code as a tree of statements and expressions; the semantic model adds what every name and type means.

In more detail

Together they describe both the shape and the meaning of a program. Roslyn exposes both, which is what analyzers and source generators inspect.

Related terms

Taught in

References